* See cxx source for full Copyright notice */
//______________________________________________________________________________
// A basic analysis task to analyse photon detected by PHOS
+// A basic analysis task to analyse photon detected by PHOS
+// A basic analysis task to analyse photon detected by PHOS
//
//*-- Yves Schutz
//////////////////////////////////////////////////////////////////////////////
#include <TTree.h>
#include "AliAnalysisTask.h"
-class AliESD ;
+class AliESDEvent ;
class AliAOD ;
class AliAODEvent ;
class TNtuple ;
public:
AliAnaGammaPhos() ;
AliAnaGammaPhos(const char *name) ;
+ AliAnaGammaPhos(const AliAnaGammaPhos& ap) ;
+ AliAnaGammaPhos& operator = (const AliAnaGammaPhos& ap) ;
virtual ~AliAnaGammaPhos() ;
virtual void ConnectInputData(Option_t * = "");
virtual void LocalInit() { Init() ; }
virtual void Exec(Option_t * opt = "") ;
const Float_t GetPhotonId() const { return fPhotonId ; }
- void Normalize(const Double_t norm = 1.0) ;
void SetDebugLevel(Int_t level) { fDebug = level ; }
void SetPhotonId(Float_t threshold) { fPhotonId = threshold ; }
virtual void Terminate(Option_t * opt = "") ;
// input and output
TTree * fChain ; //!pointer to the analyzed TTree or TChain
Int_t fDebug ; // Debug flag
- AliESD * fESD ; //! ESD
+ AliESDEvent * fESD ; //! ESD
AliAODEvent * fAOD ; //! AOD
TClonesArray * fAODPhotons ; //! reconstructed photons
Int_t fPhotonsInPhos ; //! number of photons found
- TTree * fTreeA ; // tree of identified photons
+ TTree * fTreeA ; // tree of identified photons
// task parameters
Float_t fPhotonId ; // threshold for photon identification
// Histograms
- TList * fOutputList ; //! output data list
- TNtuple * fhPHOSPos ;
- TNtuple * fhPHOS ;
- TH1D * fhPHOSEnergy ;
- TH1I * fhPHOSDigits ;
- TH1D * fhPHOSRecParticles ;
- TH1I * fhPHOSPhotons ;
- TH1D * fhPHOSInvariantMass ;
- TH1I * fhPHOSDigitsEvent ;
+ TList * fOutputList ; //! output data list
+ TNtuple * fhPHOSPos ; // PHOS (x,y)
+ TNtuple * fhPHOS ; // all PHOS parameters
+ TH1D * fhPHOSEnergy ; // PHOS energy
+ TH1I * fhPHOSDigits ; // PHOS numer of SDigits
+ TH1D * fhPHOSRecParticles ;// PHOS number of RecParticles
+ TH1I * fhPHOSPhotons ; // PHOS number of photons
+ TH1D * fhPHOSInvariantMass ;// PHOS invariant mass
+ TH1I * fhPHOSDigitsEvent ; //PHOS numbet of Sdigits per event
- ClassDef(AliAnaGammaPhos, 0); // a PHOS photon analysis task
+ ClassDef(AliAnaGammaPhos, 1); // a PHOS photon analysis task
};
#endif // ALIANAGAMMAPHOS_H