]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ESDCheck/AliEMCALQATask.h
Package for QA
[u/mrichter/AliRoot.git] / ESDCheck / AliEMCALQATask.h
1 #ifndef ALIEMCALQATASK_H
2 #define ALIEMCALQATASK_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice     */
5 //______________________________________________________________________________
6 // An analysis task to check the EMCAL photon data in simulated data
7 //
8 //*-- Yves Schutz 
9 //////////////////////////////////////////////////////////////////////////////
10
11 #include <TTree.h> 
12 #include "AliAnalysisTask.h"  
13
14 class AliESD ; 
15 class TNtuple ;
16 class TH1D ; 
17 class TH1I ; 
18
19 class AliEMCALQATask : public AliAnalysisTask {
20
21 public:
22   AliEMCALQATask(const char *name) ;
23   virtual ~AliEMCALQATask() ;
24    
25   virtual void Exec(Option_t * opt = "") ;
26   virtual void Init(Option_t * opt = "") ; 
27   virtual void Terminate(Option_t * opt = "") ;
28
29 private:
30   TTree   * fChain ;            //!pointer to the analyzed TTree or TChain
31   AliESD  * fESD ;              //! Declaration of leave types
32
33   TObjArray * fOutputContainer ; //! output data container
34
35   // Histograms
36   TNtuple * fhEMCALPos ;
37   TNtuple * fhEMCAL ;
38   TH1D    * fhEMCALEnergy ;
39   TH1I    * fhEMCALDigits ;
40   TH1D    * fhEMCALRecParticles ;
41   TH1I    * fhEMCALPhotons ;
42   TH1D    * fhEMCALInvariantMass ;
43   TH1I    * fhEMCALDigitsEvent ;
44    
45   ClassDef(AliEMCALQATask, 0); // a EMCAL photon analysis task
46 };
47 #endif // ALIEMCALQATASK_H