]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGGA/GammaConv/ConvCorrelations/AliAnaConvCorrPhoton.h
Coverity fix
[u/mrichter/AliRoot.git] / PWGGA / 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, TString title); \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   //void Process(const TClonesArray * photons, const TClonesArray * tracks, Bool_t isolated);\r
34 \r
35  private:\r
36 \r
37   \r
38   Bool_t fSkipDecayParticles; //Process particles identified as pion / eta decay particles\r
39   Bool_t fDecayOnly;  //Only process gamma from decay pion\r
40 \r
41   AliAnaConvCorrPhoton(const AliAnaConvCorrPhoton&); // not implemented\r
42   AliAnaConvCorrPhoton& operator=(const AliAnaConvCorrPhoton&); // not implemented\r
43   ClassDef(AliAnaConvCorrPhoton, 1); // example of analysis\r
44 \r
45 };\r
46 \r
47 #endif\r