AliPhysics  59e0e03 (59e0e03)
AliAnalysisTaskEmcalRun2QA.h
Go to the documentation of this file.
1 
12 #ifndef AliAnalysisTaskEmcalRun2QA_H
13 #define AliAnalysisTaskEmcalRun2QA_H
14 
15 /* Copyright(c) 1998-2016, ALICE Experiment at CERN, All rights reserved. *
16  * See cxx source for full Copyright notice */
17 
18 class TH1;
19 class TH2;
20 class TH3;
21 class THnSparse;
22 class AliVVZERO;
23 
24 #include "THistManager.h"
25 #include "AliTLorentzVector.h"
27 #include "AliCalorimeterUtils.h"
28 
37 
38 public:
39 
40  struct EventQA_t {
41  EventQA_t() : fCent(0), fCent2(0), fCent3(0), fV0A(0), fV0C(0), fEP(0), fNCells(0), fMaxTrack() { fNClusters[0] = 0; fNClusters[1] = 0; }
42 
49 
52 
55  };
56 
58  AliAnalysisTaskEmcalRun2QA(const char *name);
60  void InitConstants();
61 
63 
64  void SetCellEnergyCut(Float_t cut) { fCellEnergyCut = cut ; }
66  void SetMC(Bool_t m) { fIsMC = m ; }
67  void SetAdditionalCentEst(const char* meth2, const char* meth3="") { fCentMethod2 = meth2; fCentMethod3 = meth3; }
68  void SetDoV0QA(Int_t b) { fDoV0QA = b ; }
69  void SetDoEPQA(Int_t b) { fDoEPQA = b ; }
73  void SetPtBin(Float_t w, Float_t max) { fPtBinWidth = w; fMaxPt = max ; }
74  void SetIsEmbedded(Bool_t i) { fIsEmbedded = i ; }
75 
76 protected:
77 
78  void ExecOnce() ;
80  void FillEventQAHisto(const EventQA_t& eventQA);
82  Int_t DoCellLoop() ;
83  void DoClusterLoop() ;
84 
85  //Lists and histograms
96 
97  // Analysis helper classes access pointers
98  // AliEMCALGeometry object fGeom is defined in base class
103 
121  AliVVZERO *fVZERO;
127 
129 
130 private:
131  AliAnalysisTaskEmcalRun2QA(const AliAnalysisTaskEmcalRun2QA&); // not implemented
133 
135  ClassDef(AliAnalysisTaskEmcalRun2QA, 2)
137 };
138 #endif
Float_t fPtBinWidth
Histogram pt bin width.
THistManager fHistManager
Histogram manager.
double Double_t
Definition: External.C:58
TList * fOutputList_Cell
Output list for Event QA histograms.
Definition: External.C:244
AliCalorimeterUtils * fCaloUtils
Cells in cluster per supermodule.
Int_t fNTotClusters[2]
!Total number of accepted clusters in current event (DCal/EMCal)
Bool_t fParticleLevel
Set particle level analysis.
Double_t fV0CTotMult
!Event V0C total multiplicity
TH2 ** fHistClusterEtaPhi
Cluster QA histogram.
Int_t fDoLeadingObjectPosition
Add axis for leading object position (eta-phi)
Float_t fMaxPt
Histogram pt limit.
TH2 ** fHistCellIDvsE
Output list for Cluster QA histograms.
Int_t fNMaxRowsAbs
Number of rows in one supermodule.
Declaration of class AliTLorentzVector.
AliVVZERO * fVZERO
!Event V0 object
TH2 ** fHistCellEtaPhi
Cell QA histogram.
Int_t fMaxCellsInCluster
Maximum number (approx) of cells in a cluster.
Int_t fDoV0QA
Add V0 QA histograms.
Float_t fCellEnergyCut
Energy cell cut.
int Int_t
Definition: External.C:63
Double_t fCent2
!Event centrality with method 2
float Float_t
Definition: External.C:68
TH1 ** fHistNrCellsInCluster
Cluster QA histogram.
Base task in the EMCAL framework (lighter version of AliAnalysisTaskEmcal)
Double_t fV0ATotMult
!Event V0A total multiplicity
Implementation of a task to perform basic QA on EMCal and DCal clusters and cells.
Int_t fNMaxColsAbs
Number of columns in one supermodule.
AliTLorentzVector fLeadingCluster[2]
!Leading cluster in current event (EMCal/DCal)
Float_t fRtoD
Transformation of rad to deg.
void SetAdditionalCentEst(const char *meth2, const char *meth3="")
TString fCentMethod2
Centrality method 2.
TH2 ** fHistClusterIDvsELow
Cluster QA histogram.
Bool_t fIsEmbedded
Embedded data present.
Definition: External.C:220
AliAnalysisTaskEmcalRun2QA & operator=(const AliAnalysisTaskEmcalRun2QA &)
void SetPtBin(Float_t w, Float_t max)
Container class for histograms.
Definition: THistManager.h:99
AliTLorentzVector fLeadingTrack
!Leading track in current event
Double_t fCent3
!Event centrality with method 3
TH2 ** fHistClusterIDvsE
Cell QA histogram.
Int_t fNumOfSuperMod
Number of supermodules.
TH2 ** fHistCellIDvsELow
Cell QA histogram.
TList * fOutputList_Cluster
Output list for Cell QA histograms.
TString fCentMethod3
Centrality method 3.
bool Bool_t
Definition: External.C:53
Class with utils specific to calorimeter clusters/cells.
Bool_t fSeparateEMCalDCal
Separate EMCal from DCal in QA plots.
Bool_t fDebug
Prints out some extra information.
Int_t fDoEPQA
Add event plane QA histograms.
Definition: External.C:196
void FillEventQAHisto(const EventQA_t &eventQA)