]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ESDCheck/AliEMCALQATask.h
Added protection and 2 levels for problems
[u/mrichter/AliRoot.git] / ESDCheck / AliEMCALQATask.h
CommitLineData
1dfe075f 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
14class AliESD ;
15class TNtuple ;
16class TH1D ;
17class TH1I ;
18
19class AliEMCALQATask : public AliAnalysisTask {
20
21public:
22 AliEMCALQATask(const char *name) ;
23 virtual ~AliEMCALQATask() ;
24
25 virtual void Exec(Option_t * opt = "") ;
c52c2132 26 virtual void ConnectInputData(Option_t *);
27 virtual void CreateOutputObjects();
1dfe075f 28 virtual void Terminate(Option_t * opt = "") ;
29
30private:
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