]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG4/AliAnaGammaPhos.h
Added a missing #include (Andrea)
[u/mrichter/AliRoot.git] / PWG4 / AliAnaGammaPhos.h
index 1133de216f0380dada687e22d48c75a879045407..b7c565e8d12f0ee1113a69a87d54907d1d4b9b65 100644 (file)
@@ -4,6 +4,8 @@
  * 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 
 //////////////////////////////////////////////////////////////////////////////
@@ -11,7 +13,7 @@
 #include <TTree.h> 
 #include "AliAnalysisTask.h"  
 
-class AliESD ; 
+class AliESDEvent ; 
 class AliAOD ; 
 class AliAODEvent ; 
 class TNtuple ;
@@ -24,6 +26,8 @@ class AliAnaGammaPhos : public AliAnalysisTask {
 public:
   AliAnaGammaPhos() ;
   AliAnaGammaPhos(const char *name) ;
+  AliAnaGammaPhos(const AliAnaGammaPhos& ap) ;   
+  AliAnaGammaPhos& operator = (const AliAnaGammaPhos& ap) ;
   virtual ~AliAnaGammaPhos() ;
    
   virtual void ConnectInputData(Option_t * = "");
@@ -32,7 +36,6 @@ public:
   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 = "") ;
@@ -41,25 +44,25 @@ private:
   // 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