AliPhysics  63e47e1 (63e47e1)
AliAnalysisTaskMaterial.h
Go to the documentation of this file.
1 #ifndef AliAnalysisTaskMaterial_cxx
2 #define AliAnalysisTaskMaterial_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"
13 #include "AliConvEventCuts.h"
14 #include "TList.h"
15 #include "TClonesArray.h"
16 
17 
18 using namespace std;
19 
20 
22 
23  public:
24 
26  AliAnalysisTaskMaterial(const char *name);
27  virtual ~AliAnalysisTaskMaterial();
28 
29  virtual void UserCreateOutputObjects();
30  virtual Bool_t Notify ();
31  virtual void UserExec(Option_t *option);
32  virtual void Terminate(Option_t *);
33 
34  void SetIsMC(Bool_t isMC){fIsMC=isMC;}
35  void SetV0Reader(AliV0ReaderV1 *v0Reader){fV0Reader=v0Reader;}
36  void SetV0ReaderName(TString name){fV0ReaderName=name; return;}
37  void SetConversionCuts(AliConversionPhotonCuts* conversionCuts,Int_t IsHeavyIon ){
38  fConversionCuts=conversionCuts;
39  fIsHeavyIon = IsHeavyIon;
40  }
41  void SetEventCuts(AliConvEventCuts* conversionCuts,Int_t IsHeavyIon ){
42  fEventCuts=conversionCuts;
43  fIsHeavyIon = IsHeavyIon;
44  }
45 
46  private:
47 
48  void ProcessPhotons();
49  void ProcessMCPhotons();
50  void FillMCTree(Int_t eventPos);
51  Int_t CountTracks0914();
52  Int_t CountTracks09();
53 
56  TClonesArray *fConversionGammas; // Reconstructed Photons;
57  AliConversionPhotonCuts *fConversionCuts; // Cuts used by the V0Reader
58  AliConvEventCuts *fEventCuts; // Cuts used by the V0Reader
77  TVectorF fMCConvCords; //
78  TVectorF fMCConvDaughterProp; //
82  TVectorF fRecCords; //
83  TVectorF fDaughterProp; //
84  UChar_t fKind; //
88  AliMCEvent *fMCEvent; //
89 
90  AliAnalysisTaskMaterial(const AliAnalysisTaskMaterial&); // not implemented
91  AliAnalysisTaskMaterial& operator=(const AliAnalysisTaskMaterial&); // not implemented
92 
93 
94  ClassDef(AliAnalysisTaskMaterial, 3);
95 };
96 
97 #endif
AliConversionPhotonCuts * fConversionCuts
void SetEventCuts(AliConvEventCuts *conversionCuts, Int_t IsHeavyIon)
int Int_t
Definition: External.C:63
float Float_t
Definition: External.C:68
void SetV0Reader(AliV0ReaderV1 *v0Reader)
Class handling all kinds of selection cuts for Gamma Conversion analysis.
void SetConversionCuts(AliConversionPhotonCuts *conversionCuts, Int_t IsHeavyIon)
void SetV0ReaderName(TString name)
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