]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ESDCheck/AliEMCALQATask.h
AliSTART removed
[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 ConnectInputData(Option_t *);
27   virtual void CreateOutputObjects();
28   virtual void Terminate(Option_t * opt = "") ;
29
30 private:
31   TTree   * fChain ;            //!pointer to the analyzed TTree or TChain
32   AliESD  * fESD ;              //! Declaration of leave types
33
34   TObjArray * fOutputContainer ; //! output data container
35
36   // Histograms
37   TNtuple * fhEMCALPos ;
38   TNtuple * fhEMCAL ;
39   TH1D    * fhEMCALEnergy ;
40   TH1I    * fhEMCALDigits ;
41   TH1D    * fhEMCALRecParticles ;
42   TH1I    * fhEMCALPhotons ;
43   TH1D    * fhEMCALInvariantMass ;
44   TH1I    * fhEMCALDigitsEvent ;
45    
46   ClassDef(AliEMCALQATask, 0); // a EMCAL photon analysis task
47 };
48 #endif // ALIEMCALQATASK_H