ROOT logo
/* This file is property of and copyright                                 *
 * ALICE Experiment at CERN, All rights reserved.                         *
 * See cxx source for full Copyright notice                               */

/// @file   AliAnaConvCorrPhoton.h
/// @author Svein Lindal
/// @brief  Class used to find correlations between photons and charged tracks
 
#ifndef ALIANACONVCORRPHOTON_CXX
#define ALIANACONVCORRPHOTON_CXX

#include "AliAnaConvCorrBase.h"

class AliAODConversionPhoton;
class TClonesArray;

class AliAnaConvCorrPhoton : public AliAnaConvCorrBase {

public:

  AliAnaConvCorrPhoton(); 
  AliAnaConvCorrPhoton(TString name, TString title); 
  virtual ~AliAnaConvCorrPhoton();

  ///Correlation photon with tracks
  //virtual void CorrelateWithHadrons(const AliAODConversionPhoton * const photon, const TClonesArray * const tracks, const Bool_t isolated, const Bool_t decayParticle);

  //Process particles identified as pion / eta decay 
  void SkipDecayParticles() { fSkipDecayParticles = kTRUE; }
  void DoDecayParticles() { fSkipDecayParticles = kFALSE; }
  void DoDecayOnly() { fSkipDecayParticles = kFALSE; fDecayOnly = kTRUE; }

  //void Process(const TClonesArray * photons, const TClonesArray * tracks, Bool_t isolated);

 private:

  
  Bool_t fSkipDecayParticles; //Process particles identified as pion / eta decay particles
  Bool_t fDecayOnly;  //Only process gamma from decay pion

  AliAnaConvCorrPhoton(const AliAnaConvCorrPhoton&); // not implemented
  AliAnaConvCorrPhoton& operator=(const AliAnaConvCorrPhoton&); // not implemented
  ClassDef(AliAnaConvCorrPhoton, 1); // example of analysis

};

#endif
 AliAnaConvCorrPhoton.h:1
 AliAnaConvCorrPhoton.h:2
 AliAnaConvCorrPhoton.h:3
 AliAnaConvCorrPhoton.h:4
 AliAnaConvCorrPhoton.h:5
 AliAnaConvCorrPhoton.h:6
 AliAnaConvCorrPhoton.h:7
 AliAnaConvCorrPhoton.h:8
 AliAnaConvCorrPhoton.h:9
 AliAnaConvCorrPhoton.h:10
 AliAnaConvCorrPhoton.h:11
 AliAnaConvCorrPhoton.h:12
 AliAnaConvCorrPhoton.h:13
 AliAnaConvCorrPhoton.h:14
 AliAnaConvCorrPhoton.h:15
 AliAnaConvCorrPhoton.h:16
 AliAnaConvCorrPhoton.h:17
 AliAnaConvCorrPhoton.h:18
 AliAnaConvCorrPhoton.h:19
 AliAnaConvCorrPhoton.h:20
 AliAnaConvCorrPhoton.h:21
 AliAnaConvCorrPhoton.h:22
 AliAnaConvCorrPhoton.h:23
 AliAnaConvCorrPhoton.h:24
 AliAnaConvCorrPhoton.h:25
 AliAnaConvCorrPhoton.h:26
 AliAnaConvCorrPhoton.h:27
 AliAnaConvCorrPhoton.h:28
 AliAnaConvCorrPhoton.h:29
 AliAnaConvCorrPhoton.h:30
 AliAnaConvCorrPhoton.h:31
 AliAnaConvCorrPhoton.h:32
 AliAnaConvCorrPhoton.h:33
 AliAnaConvCorrPhoton.h:34
 AliAnaConvCorrPhoton.h:35
 AliAnaConvCorrPhoton.h:36
 AliAnaConvCorrPhoton.h:37
 AliAnaConvCorrPhoton.h:38
 AliAnaConvCorrPhoton.h:39
 AliAnaConvCorrPhoton.h:40
 AliAnaConvCorrPhoton.h:41
 AliAnaConvCorrPhoton.h:42
 AliAnaConvCorrPhoton.h:43
 AliAnaConvCorrPhoton.h:44
 AliAnaConvCorrPhoton.h:45
 AliAnaConvCorrPhoton.h:46
 AliAnaConvCorrPhoton.h:47