AliPhysics  db95e02 (db95e02)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliAnalysisTaskEmcalJetSpectraQA.h
Go to the documentation of this file.
1 
12 #ifndef ALIANALYSISTASKEMCALJETSPECTRAQA_H
13 #define ALIANALYSISTASKEMCALJETSPECTRAQA_H
14 
15 /* Copyright(c) 1998-2016, ALICE Experiment at CERN, All rights reserved. *
16  * See cxx source for full Copyright notice */
17 
18 #include "THistManager.h"
19 #include "AliTLorentzVector.h"
21 
30  public:
31 
39  public:
41  AliEmcalJetInfo(const AliEmcalJet& jet);
42 
52  };
53 
54  enum EHistoType_t {
58  };
59 
61  AliAnalysisTaskEmcalJetSpectraQA(const char *name);
63 
65 
67  void SetJetEPaxis(Bool_t b) { fJetEPaxis = b; }
68  void SetAreaAxis(Bool_t b) { fAreaAxis = b; }
69  void SetPtBin(Float_t w, Float_t max) { fPtBinWidth = w; fMaxPt = max ; }
70  void SetIsEmbedded(Bool_t i) { fIsEmbedded = i; }
71 
72  protected:
73  virtual void AllocateTHX(const AliJetContainer* jets);
74  virtual void AllocateTHnSparse(const AliJetContainer* jets);
75  virtual void AllocateTTree(const AliJetContainer* jets);
76 
77  virtual void FillTHX(const AliEmcalJetInfo& jetInfo, const AliJetContainer* jets);
78  virtual void FillTHnSparse(const AliEmcalJetInfo& jetInfo, const AliJetContainer* jets);
79  virtual void FillTTree(const AliEmcalJetInfo& jetInfo, const AliJetContainer* jets);
80 
82  void FillJetHisto(const AliEmcalJetInfo& jetInfo, const AliJetContainer* jets);
83 
91 
92  private:
95 
99 };
100 #endif
double Double_t
Definition: External.C:58
Float_t fPtBinWidth
Histogram pt bin width.
virtual void FillTHX(const AliEmcalJetInfo &jetInfo, const AliJetContainer *jets)
Declaration of class AliTLorentzVector.
virtual void FillTHnSparse(const AliEmcalJetInfo &jetInfo, const AliJetContainer *jets)
void UserCreateOutputObjects()
Overloads base class method. Creates output objects.
virtual void AllocateTTree(const AliJetContainer *jets)
void FillJetHisto(const AliEmcalJetInfo &jetInfo, const AliJetContainer *jets)
THistManager fHistManager
Histogram manager.
float Float_t
Definition: External.C:68
virtual void FillTTree(const AliEmcalJetInfo &jetInfo, const AliJetContainer *jets)
Base task in the EMCAL jet framework (lighter version of AliAnalysisTaskEmcalJet) ...
Bool_t fJetEPaxis
whether a EP-jet axis should be included in the THnSparse
Bool_t fAreaAxis
whether the area axis should be included
Represent a jet reconstructed using the EMCal jet framework.
Definition: AliEmcalJet.h:44
Container class for histograms.
Definition: THistManager.h:43
AliAnalysisTaskEmcalJetSpectraQA()
Default constructor for ROOT I/O purposes.
bool Bool_t
Definition: External.C:53
virtual void AllocateTHnSparse(const AliJetContainer *jets)
virtual void AllocateTHX(const AliJetContainer *jets)
AliAnalysisTaskEmcalJetSpectraQA & operator=(const AliAnalysisTaskEmcalJetSpectraQA &)
Container for jet within the EMCAL jet framework.
Implementation of a task to perform QA on jet spectra.