QA library for detector checks from ESD
[u/mrichter/AliRoot.git] / ESDCheck / AliTOFQATask.h
CommitLineData
1dfe075f 1#ifndef ALIPHOSQATASK_H
2#define ALIPHOSQATASK_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 PHOS 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 AliPHOSQATask : public AliAnalysisTask {
20
21public:
22 AliPHOSQATask(const char *name) ;
23 virtual ~AliPHOSQATask() ;
24
25 virtual void Exec(Option_t * opt = "") ;
26 virtual void Init(Option_t * opt = "") ;
27 virtual void Terminate(Option_t * opt = "") ;
28
29private:
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 * fhPHOSPos ;
37 TNtuple * fhPHOS ;
38 TH1D * fhPHOSEnergy ;
39 TH1I * fhPHOSDigits ;
40 TH1D * fhPHOSRecParticles ;
41 TH1I * fhPHOSPhotons ;
42 TH1D * fhPHOSInvariantMass ;
43 TH1I * fhPHOSDigitsEvent ;
44
45 ClassDef(AliPHOSQATask, 0); // a PHOS photon analysis task
46};
47#endif // ALIPHOSQATASK_H