AliPhysics  9c66e61 (9c66e61)
AliAnalysisTaskResolution.h
Go to the documentation of this file.
1 #ifndef AliAnalysisTaskResolution_cxx
2 #define AliAnalysisTaskResolution_cxx
3 
4 #include "AliAnalysisTaskSE.h"
6 #include "TH1.h"
7 #include "TH2.h"
8 #include "TTreeStream.h"
9 #include "AliLog.h"
10 #include <vector>
11 #include "AliV0ReaderV1.h"
12 #include "AliConvEventCuts.h"
14 #include "TList.h"
15 #include "TClonesArray.h"
16 
17 
18 using namespace std;
19 
20 
22 
23  public:
25  AliAnalysisTaskResolution(const char *name);
26  virtual ~AliAnalysisTaskResolution();
27 
28  virtual void UserCreateOutputObjects();
29  virtual Bool_t Notify ();
30  virtual void UserExec(Option_t *option);
31  virtual void Terminate(Option_t *);
32 
33  void SetV0ReaderName(TString name){fV0ReaderName=name; return;}
34  void SetV0Reader(AliV0ReaderV1 *v0Reader){fV0Reader=v0Reader;}
35  void SetConversionCuts(AliConversionPhotonCuts* conversionCuts,Int_t IsHeavyIon ){
36  fConversionCuts=conversionCuts;
37  fIsHeavyIon = IsHeavyIon;
38  }
39  void SetEventCuts(AliConvEventCuts* conversionCuts,Int_t IsHeavyIon ){
40  fEventCuts=conversionCuts;
41  fIsHeavyIon = IsHeavyIon;
42  }
43  void SetIsMC(Bool_t isMC){fIsMC=isMC;}
44 
45  private:
46 
47  void ProcessPhotons();
48  Int_t CountTracks0914();
49  Int_t CountTracks09();
50 
53  TClonesArray *fConversionGammas; //Reconstructed Photons;
54  AliConvEventCuts *fEventCuts; // Cuts used by the V0Reader
55  AliConversionPhotonCuts *fConversionCuts; // Cuts used by the V0Reader
63  TVectorF fGammaRecCoords;
64  TVectorF fGammaMCCoords;
72  AliMCEvent *fMCEvent;
73 
74  AliAnalysisTaskResolution(const AliAnalysisTaskResolution&); // not implemented
75  AliAnalysisTaskResolution& operator=(const AliAnalysisTaskResolution&); // not implemented
76 
77 
78  ClassDef(AliAnalysisTaskResolution, 3);
79 };
80 
81 #endif
AliConversionPhotonCuts * fConversionCuts
void SetConversionCuts(AliConversionPhotonCuts *conversionCuts, Int_t IsHeavyIon)
void SetV0Reader(AliV0ReaderV1 *v0Reader)
int Int_t
Definition: External.C:63
float Float_t
Definition: External.C:68
Class handling all kinds of selection cuts for Gamma Conversion analysis.
Bool_t isMC
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
void SetEventCuts(AliConvEventCuts *conversionCuts, Int_t IsHeavyIon)