Example train to produce HF candidates
[u/mrichter/AliRoot.git] / ESDCheck / AliPMDQATask.h
CommitLineData
1dfe075f 1#ifndef ALIPMDQATASK_H
2#define ALIPMDQATASK_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 PMD data in simulated data
da219175 7// An analysis task to check the PMD data in simulated data
8// An analysis task to check the PMD data in simulated data
1dfe075f 9//
10//*-- Yves Schutz
11//////////////////////////////////////////////////////////////////////////////
12
1dfe075f 13#include "AliAnalysisTask.h"
14
15class AliESD ;
16class TH2F ;
17class TH1F ;
da219175 18class TTree ;
1dfe075f 19
20class AliPMDQATask : public AliAnalysisTask {
21
22public:
23 AliPMDQATask(const char *name) ;
da219175 24 AliPMDQATask(const AliPMDQATask& ta) ;
25
1dfe075f 26 virtual ~AliPMDQATask() ;
8ddb41ca 27 AliPMDQATask& operator = (const AliPMDQATask& ap) ;
da219175 28
1dfe075f 29 virtual void Exec(Option_t * opt = "") ;
c52c2132 30 virtual void ConnectInputData(Option_t *);
31 virtual void CreateOutputObjects();
1dfe075f 32 virtual void Terminate(Option_t * opt = "") ;
33
34private:
da219175 35 void CalculateSMN( Float_t clsX, Float_t clsY, Int_t & smn) const ;
36 void DrawPMDBoundary() const ;
37 void DrawPMDBoundarySM1() const ;
38 void DrawPMDBoundarySM2() const ;
39 void DrawPMDBoundarySM3() const ;
40 void DrawPMDBoundarySM4() const ;
1dfe075f 41
42private:
43 TTree * fChain ; //!pointer to the analyzed TTree or TChain
44 AliESD * fESD ; //! Declaration of leave types
45
46 TObjArray * fOutputContainer ; //! output data container
47
48
49 // Histograms
50 TH2F * fhPMDP1 ; //!
51 TH1F * fhPMDC2 ; //!
52 TH1F * fhPMDP2 ; //!
53 TH1F * fhPMDC3 ; //!
54 TH1F * fhPMDP3 ; //!
55 TH1F * fhPMDP4 ; //!
56 TH1F * fhPMDC5 ; //!
57 TH1F * fhPMDP5 ; //!
58 TH2F * fhPMDCP0 ; //!
59 TH2F * fhPMDCP1 ; //!
60 TH2F * fhPMDCP2 ; //!
61 TH2F * fhPMDCP3 ; //!
62 TH2F * fhPMDCP4 ; //!
63
64 TH2F * fhPMDSM1 ; //!
65 TH2F * fhPMDSM2 ; //!
66 TH2F * fhPMDSM3 ; //!
67 TH2F * fhPMDSM4 ; //!
68 TH2F * fhPMDSM5 ; //!
69 TH2F * fhPMDSM6 ; //!
70 TH2F * fhPMDSM7 ; //!
71 TH2F * fhPMDSM8 ; //!
72 TH2F * fhPMDSM9 ; //!
73 TH2F * fhPMDSM10 ; //!
74 TH2F * fhPMDSM11 ; //!
75 TH2F * fhPMDSM12 ; //!
76 TH2F * fhPMDSM13 ; //!
77 TH2F * fhPMDSM14 ; //!
78 TH2F * fhPMDSM15 ; //!
79 TH2F * fhPMDSM16 ; //!
80 TH2F * fhPMDSM17 ; //!
81 TH2F * fhPMDSM18 ; //!
82 TH2F * fhPMDSM19 ; //!
83 TH2F * fhPMDSM20 ; //!
84 TH2F * fhPMDSM21 ; //!
85 TH2F * fhPMDSM22 ; //!
86 TH2F * fhPMDSM23 ; //!
87 TH2F * fhPMDSM24 ; //!
88 TH1F * fhPMDSM ; //!
89
90 ClassDef(AliPMDQATask, 0); //! // a PMD analysis task
91};
92#endif // ALIPMDQATASK_H