AliPhysics  2c6b7ad (2c6b7ad)
AliPhotonIsolation.h
Go to the documentation of this file.
1 
2 #ifndef ALIPHOTONISOLATION_H
3 #define ALIPHOTONISOLATION_H
4 
5 #include "AliAnalysisTaskSE.h"
6 #include <vector>
7 #include <map>
8 #include <utility>
9 
10 using namespace std;
11 
12 //inherits properties of AliAnalysisTaskSE
14 
15  public:
16  AliPhotonIsolation(const char *name="PhotonIsolation_0", Int_t photonType=0);
17  //Uncopyable & operator=(const Uncopyable&);
18 
19  virtual ~AliPhotonIsolation(); //virtual destructor
20  void UserCreateOutputObjects();
21 
22  virtual void UserExec(Option_t *option);
23  virtual void Terminate(Option_t *);
24 
25  TList* GetPhotonIsolationHistograms() {return fListHistos;}
26 
27  Bool_t GetIsolation(Int_t clusterID, Float_t R, Float_t isoPt);
28 
29  private:
30 
31  AliPhotonIsolation (const AliPhotonIsolation&); // not implemented
32  AliPhotonIsolation & operator=(const AliPhotonIsolation&); // not implemented
33 
34  void SetV0ReaderName(TString name) {fV0ReaderName = name; return;}
35  void SetCorrectionTaskSetting(TString setting) {fCorrTaskSetting = setting; return;}
36 
37  // private methods
38  void Initialize();
39  void ProcessEvent(AliVEvent *event);
40 
41  // debug methods
42  void DebugIsolation();
43 
44  // basic variables/objects
46  TString fV0ReaderName; // Name of V0Reader
47  TString fCorrTaskSetting; // Name of Corr Task Setting
48  map<Int_t,Float_t> fMapClustertoPtR1; // Map cluster ID to pTsum in cone R=0.1
49  map<Int_t,Float_t> fMapClustertoPtR2; // Map cluster ID to pTsum in cone R=0.2
50  map<Int_t,Float_t> fMapClustertoPtR3; // Map cluster ID to pTsum in cone R=0.3
51  map<Int_t,Float_t> fMapClustertoPtR4; // Map cluster ID to pTsum in cone R=0.4
52 
53  //histos
54  TList* fListHistos; // list with histogram(s)
55  TH1F* fHistTest;
57  TH1F* fHistIso;
58 
59  ClassDef(AliPhotonIsolation,1)
60  };
61 
62 #endif
void SetV0ReaderName(TString name)
map< Int_t, Float_t > fMapClustertoPtR1
map< Int_t, Float_t > fMapClustertoPtR2
void SetCorrectionTaskSetting(TString setting)
int Int_t
Definition: External.C:63
float Float_t
Definition: External.C:68
map< Int_t, Float_t > fMapClustertoPtR3
map< Int_t, Float_t > fMapClustertoPtR4
const char Option_t
Definition: External.C:48
TList * GetPhotonIsolationHistograms()
bool Bool_t
Definition: External.C:53