AliPhysics  2aaea23 (2aaea23)
AliAnalysisTaskGammaTriggerQA.h
Go to the documentation of this file.
1 #ifndef ALIANLYSISTASKGAMMATRIGGERQA_cxx
2 #define ALIANLYSISTASKGAMMATRIGGERQA_cxx
3 
4 #include "AliAnalysisTaskSE.h"
5 #include "AliESDtrack.h"
6 #include "AliV0ReaderV1.h"
10 #include "AliCaloPhotonCuts.h"
11 #include "AliConvEventCuts.h"
13 #include "AliConversionMesonCuts.h"
14 #include "AliAnalysisManager.h"
15 #include "TProfile2D.h"
16 #include "TH3.h"
17 #include "TH3F.h"
18 #include <vector>
19 #include <map>
20 
22  public:
23 
25  AliAnalysisTaskGammaTriggerQA(const char *name);
27 
28  virtual void UserCreateOutputObjects();
29  virtual Bool_t Notify();
30  virtual void UserExec(Option_t *);
31  virtual void Terminate(const Option_t*);
32  void InitBack();
33 
34  void SetV0ReaderName(TString name){fV0ReaderName=name; return;}
35  void SetIsHeavyIon(Int_t flag){
36  fIsHeavyIon = flag;
37  }
38 
39  // base functions for selecting photon and meson candidates in reconstructed data
40  void ProcessClusters();
41 
42  // MC functions
44 
45  // switches for additional analysis streams or outputs
46  void SetLightOutput(Bool_t flag){fDoLightOutput = flag;}
47 
48 
49  // Setting the cut lists for the conversion photons
50  void SetEventCutList(Int_t nCuts, TList *CutArray){
51  fnCuts = nCuts;
52  fEventCutArray = CutArray;
53  }
54 
55  // Setting the cut lists for the calo photons
56  void SetCaloCutList(Int_t nCuts, TList *CutArray){
57  fnCuts = nCuts;
58  fClusterCutArray = CutArray;
59  }
60 
61  // Function to set correction task setting
63 
64  protected:
65  AliV0ReaderV1* fV0Reader; // basic photon Selection Task
68  AliVEvent* fInputEvent; // current event
69  AliMCEvent* fMCEvent; // corresponding MC event
70  TList** fCutFolder; // Array of lists for containers belonging to cut
71  TList** fESDList; // Array of lists with histograms with reconstructed properties
72  TList* fOutputContainer; // Output container
74  TList* fEventCutArray; // List with Event Cuts
75  AliConvEventCuts* fEventCuts; // EventCutObject
76  TList* fClusterCutArray; // List with Cluster Cuts
77  AliCaloPhotonCuts* fCaloPhotonCuts; // CaloPhotonCutObject
78 
79  // histograms for rec photon clusters
82 
83  // event histograms
84  TH1F** fHistoNEvents;
87  TH1F** fHistoCent;
88  TH1F** fHistoVertexZ;
93  TH1F** fHistoNV0Tracks;
96  TProfile** fProfileEtaShift;
99 
100  // additional variables
101  Double_t fEventPlaneAngle; // EventPlaneAngle
102  TRandom3 fRandom; // random
103  Int_t fnCuts; // number of cuts to be analysed in parallel
104  Int_t fiCut; // current cut
105  Int_t fIsHeavyIon; // switch for pp = 0, PbPb = 1, pPb = 2
106  Bool_t fDoLightOutput; // switch for running light output, kFALSE -> normal mode, kTRUE -> light mode
107  Int_t fIsMC; // flag for MC information
108  Double_t fWeightJetJetMC; // weight for Jet-Jet MC
109  Int_t fNCurrentClusterBasic; // current number of cluster without minE
110 
111  private:
112  AliAnalysisTaskGammaTriggerQA(const AliAnalysisTaskGammaTriggerQA&); // Prevent copy-construction
114 
115  ClassDef(AliAnalysisTaskGammaTriggerQA, 2);
116 };
117 
118 #endif
TH1F ** fHistoNEventsWOWeight
array of histos with event information
double Double_t
Definition: External.C:58
TH1F ** fHistoNV0Trigger
array of histos with V0 counts
Definition: External.C:236
TH1F ** fHistoJetJetNTrials
array of profiles with xsection for jetjet
Double_t fEventPlaneAngle
array of histos with ntrials for jetjet
TH1F ** fHistoVertexZ
array of histos with centrality slices
AliAnalysisTaskGammaTriggerQA & operator=(const AliAnalysisTaskGammaTriggerQA &)
TH1F ** fHistoCent
array of histos with number of good tracks (2010 Standard track cuts)
int Int_t
Definition: External.C:63
Class handling all kinds of selection cuts for Gamma Calo analysis.
TH1F ** fHistoNGoodESDTracks
array of histos with event information without event weights
TH1F ** fHistoNEvents
array of histos with cluster, E
TH2F ** fHistoNV0TriggerTracks
array of histos with V0 trigger
TH1F ** fHistoClusGammaE
array of histos with cluster, pt
TH2F ** fHistoSPDClusterTrackletBackground
array of histos with number of good tracks vs gamma candidates
TProfile ** fProfileJetJetXSection
array of profiles with eta shift
TProfile ** fProfileEtaShift
array of histos with V0 trigger vs tracks
void SetCaloCutList(Int_t nCuts, TList *CutArray)
Bool_t isMC
TH1F ** fHistoNGammaCandidatesBasic
array of histos with number of gamma candidates per event
void SetEventCutList(Int_t nCuts, TList *CutArray)
TH2F ** fHistoNGoodESDTracksVsNGammaCandidates
array of histos with number of gamma candidates per event for basic cluster cut
virtual void Terminate(const Option_t *)
Class handling all kinds of selection cuts for Gamma Conversion analysis.
const char Option_t
Definition: External.C:48
bool Bool_t
Definition: External.C:53
TH1F ** fHistoNV0Tracks
array of histos with SPD tracklets vs SPD clusters for background rejection
TList * fEventCutArray
current list of cluster candidates
TH1F ** fHistoNGammaCandidates
array of histos with vertex z distribution for selected events