1 #ifndef AliEMCalpi0ClusterEvaluationTask_h
2 #define AliEMCalpi0ClusterEvaluationTask_h
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
9 /// \class AliEMCalpi0ClusterEvaluationTask
10 /// \Task to analyse ESDs for cluster studies
14 #include "AliAnalysisTaskSE.h"
24 class AliEMCalpi0ClusterEvaluationTask : public AliAnalysisTaskSE
27 AliEMCalpi0ClusterEvaluationTask(const char *name = "AliEMCalpi0ClusterEvaluationTask");
29 virtual ~AliEMCalpi0ClusterEvaluationTask();
31 // virtual void GetMom(TLorentzVector& p, const AliVCluster *c1, const AliVCluster *c2, Double_t *vertex);
32 virtual void UserCreateOutputObjects();
33 virtual void UserExec(Option_t *option);
34 virtual void Terminate(const Option_t*);
35 virtual void FillMixed(const TLorentzVector& p1, const TLorentzVector& p2);
36 virtual Double_t GetMaxCellEnergy(const AliVCluster *cluster, Int_t &id) const;
39 void InitHistPointers();
40 /// copy constructor (not implemented )
41 AliEMCalpi0ClusterEvaluationTask( const AliEMCalpi0ClusterEvaluationTask& );
43 /// assignment operator (not implemented )
44 AliEMCalpi0ClusterEvaluationTask& operator = ( const AliEMCalpi0ClusterEvaluationTask& );
47 TH2F * fMasspi0EGA[kNtype];
48 TH2F * fMasspi0MB[kNtype];
49 TH2F * fMasspi0AllMB[kNtype];
50 TH2F * fMasspi0Cent[kNtype];
51 TH2F * fMasspi0SemiCent[kNtype];
53 TH2F * fMassMixedEGA[kNtype];
54 TH2F * fMassMixedMB[kNtype];
55 TH2F * fMassMixedAllMB[kNtype];
56 TH2F * fMassMixedCent[kNtype];
57 TH2F * fMassMixedSemiCent[kNtype];
60 TH1F * fEventsEGA[kNtype];
61 TH1F * fEventsMB[kNtype];
62 TH1F * fEventsAllMB[kNtype];
63 TH1F * fEventsCent[kNtype];
64 TH1F * fEventsSemiCent[kNtype];
69 TH1F * fCentralityEGA;
70 TH1F * fCentralityCent;
71 TH1F * fCentralitySemiCent;
76 TH1F * fpTAllMB[kNtype];
77 TH1F * fpTEGA[kNtype];
78 TH1F * fpTkCent[kNtype];
79 TH1F * fpTkSemiCent[kNtype];
84 /// local event counter
86 Int_t ega0, ega1, ega2, ega3, ega4, ega5, ega6, ega7, ega8, ega9;
87 Int_t mb0, mb1, mb2, mb3, mb4, mb5, mb6, mb7, mb8, mb9;
88 Int_t allmb0, allmb1,allmb2,allmb3,allmb4,allmb5,allmb6, allmb7,allmb8, allmb9;
89 Int_t cent0, cent1, cent2, cent3, cent4, cent5, cent6, cent7, cent8, cent9;
90 Int_t semicent0, semicent1, semicent2, semicent3, semicent4, semicent5, semicent6, semicent7, semicent8, semicent9;
91 Int_t all, allmb, mb, central, semicentral, ega;
100 Bool_t isSemiCentral;
106 Bool_t isSemiCentralmx;
111 Float_t CentralityVZERO;
112 Float_t CentralitySPD;
115 Float_t vX; Float_t vY; Float_t vZ;
120 //characteristiques cluster
126 Bool_t isEMCALcluster;
127 Float_t dispersioncluster;
129 Double_t distBadChannelcluster;
133 Double_t crossEnergy;
134 //characteristics pion
146 TObjArray *fPool[kNtype];
148 ClassDef(AliEMCalpi0ClusterEvaluationTask,1)