AliPhysics  84d6c4a (84d6c4a)
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  static AliAnalysisTaskEmcalJetSpectraQA* AddTaskEmcalJetSpectraQA(TString ntracks = "usedefault", TString nclusters = "usedefault", Double_t trackPtCut = 0.15, Double_t clusECut = 0.30, TString suffix = "");
73 
74  protected:
75  virtual void AllocateTHX(const AliJetContainer* jets);
76  virtual void AllocateTHnSparse(const AliJetContainer* jets);
77  virtual void AllocateTTree(const AliJetContainer* jets);
78 
79  virtual void FillTHX(const AliEmcalJetInfo& jetInfo, const AliJetContainer* jets);
80  virtual void FillTHnSparse(const AliEmcalJetInfo& jetInfo, const AliJetContainer* jets);
81  virtual void FillTTree(const AliEmcalJetInfo& jetInfo, const AliJetContainer* jets);
82 
84  void FillJetHisto(const AliEmcalJetInfo& jetInfo, const AliJetContainer* jets);
85 
93 
94  private:
97 
101 };
102 #endif
double Double_t
Definition: External.C:58
static AliAnalysisTaskEmcalJetSpectraQA * AddTaskEmcalJetSpectraQA(TString ntracks="usedefault", TString nclusters="usedefault", Double_t trackPtCut=0.15, Double_t clusECut=0.30, TString suffix="")
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:51
Container class for histograms.
Definition: THistManager.h:99
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.