]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGGA/GammaConv/AliAnaConvCorrPhoton.h
- changed order of filling validated histograms
[u/mrichter/AliRoot.git] / PWGGA / GammaConv / AliAnaConvCorrPhoton.h
1 /* This file is property of and copyright                                 *
2  * ALICE Experiment at CERN, All rights reserved.                         *
3  * See cxx source for full Copyright notice                               */
4
5 /// @file   AliAnaConvCorrPhoton.h
6 /// @author Svein Lindal
7 /// @brief  Class used to find correlations between photons and charged tracks
8  
9 #ifndef ALIANACONVCORRPHOTON_CXX
10 #define ALIANACONVCORRPHOTON_CXX
11
12 #include "AliAnaConvCorrBase.h"
13
14 class AliAODConversionPhoton;
15 class TClonesArray;
16
17 class AliAnaConvCorrPhoton : public AliAnaConvCorrBase {
18
19 public:
20
21   AliAnaConvCorrPhoton(); 
22   AliAnaConvCorrPhoton(TString name, TString title); 
23   virtual ~AliAnaConvCorrPhoton();
24
25   ///Correlation photon with tracks
26   //virtual void CorrelateWithHadrons(const AliAODConversionPhoton * const photon, const TClonesArray * const tracks, const Bool_t isolated, const Bool_t decayParticle);
27
28   //Process particles identified as pion / eta decay 
29   void SkipDecayParticles() { fSkipDecayParticles = kTRUE; }
30   void DoDecayParticles() { fSkipDecayParticles = kFALSE; }
31   void DoDecayOnly() { fSkipDecayParticles = kFALSE; fDecayOnly = kTRUE; }
32
33   //void Process(const TClonesArray * photons, const TClonesArray * tracks, Bool_t isolated);
34
35  private:
36
37   
38   Bool_t fSkipDecayParticles; //Process particles identified as pion / eta decay particles
39   Bool_t fDecayOnly;  //Only process gamma from decay pion
40
41   AliAnaConvCorrPhoton(const AliAnaConvCorrPhoton&); // not implemented
42   AliAnaConvCorrPhoton& operator=(const AliAnaConvCorrPhoton&); // not implemented
43   ClassDef(AliAnaConvCorrPhoton, 1); // example of analysis
44
45 };
46
47 #endif