AliPhysics  9fe175b (9fe175b)
 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 
43  Double_t fArea;
44  Double_t fMCPt;
45  Double_t fNConstituents;
46  Double_t fNEF;
47  Double_t fCent;
48  Double_t fEP;
49  Double_t fCorrPt;
50  Double_t fZ;
51  Double_t fLeadingPt;
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 
81  Bool_t FillHistograms();
82  void FillJetHisto(const AliEmcalJetInfo& jetInfo, const AliJetContainer* jets);
83 
85  Bool_t fJetEPaxis;
86  Bool_t fAreaAxis;
87  Float_t fPtBinWidth;
88  Float_t fMaxPt;
89  Bool_t fIsEmbedded;
91 
92  private:
95 
99 };
100 #endif
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.
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 for the high- charged particle analysis.
Definition: THistManager.h:43
AliAnalysisTaskEmcalJetSpectraQA()
Default constructor for ROOT I/O purposes.
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.