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