]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ESDCheck/AliEMCALQATask.h
a macro with TPC,ITS, ITSSPD vertex, global vertex and v0's
[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 // An analysis task to check the EMCAL photon data in simulated data
8 // An analysis task to check the EMCAL photon data in simulated data
9 //
10 //*-- Yves Schutz 
11 //////////////////////////////////////////////////////////////////////////////
12
13 #include "AliAnalysisTask.h"  
14
15 class AliESD ; 
16 class TNtuple ;
17 class TH1D ; 
18 class TH1I ; 
19 class TTree ; 
20
21 class AliEMCALQATask : public AliAnalysisTask {
22
23 public:
24   AliEMCALQATask(const char *name) ;
25   AliEMCALQATask(const AliEMCALQATask& ap) ;   
26   AliEMCALQATask& operator = (const AliEMCALQATask& ap) ;
27   virtual ~AliEMCALQATask() ;
28    
29   virtual void Exec(Option_t * opt = "") ;
30   virtual void ConnectInputData(Option_t *);
31   virtual void CreateOutputObjects();
32   virtual void Terminate(Option_t * opt = "") ;
33
34 private:
35   TTree   * fChain ;            //!pointer to the analyzed TTree or TChain
36   AliESD  * fESD ;              //! Declaration of leave types
37
38   TObjArray * fOutputContainer ; //! output data container
39
40   // Histograms
41   TNtuple * fhEMCALPos ; // x,y 
42   TNtuple * fhEMCAL ; // all parameters
43   TH1D    * fhEMCALEnergy ; // energy
44   TH1I    * fhEMCALDigits ; // digits
45   TH1D    * fhEMCALRecParticles ; //recparticles
46   TH1I    * fhEMCALPhotons ; // photons
47   TH1D    * fhEMCALInvariantMass ; // invariant mass
48   TH1I    * fhEMCALDigitsEvent ; // digits per event
49    
50   ClassDef(AliEMCALQATask, 0); // a EMCAL photon analysis task
51 };
52 #endif // ALIEMCALQATASK_H