]>
Commit | Line | Data |
---|---|---|
f3299f82 | 1 | #ifndef ALIANACALOTRIGGER_H |
2 | #define ALIANACALOTRIGGER_H | |
6c3efb37 | 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 | ||
9ea45617 | 11 | |
6c3efb37 | 12 | #include "AliAnalysisTask.h" |
13 | ||
9ea45617 | 14 | class AliESDEvent ; |
6c3efb37 | 15 | class TNtuple ; |
16 | class TH1D ; | |
17 | class TH1I ; | |
9ea45617 | 18 | class TChain; |
6c3efb37 | 19 | |
f3299f82 | 20 | class AliAnaCaloTrigger : public AliAnalysisTask { |
6c3efb37 | 21 | |
22 | public: | |
9ea45617 | 23 | AliAnaCaloTrigger() ; |
f3299f82 | 24 | AliAnaCaloTrigger(const char *name) ; |
463ee300 | 25 | AliAnaCaloTrigger(const AliAnaCaloTrigger & trig) ; |
26 | AliAnaCaloTrigger & operator=(const AliAnaCaloTrigger& source); | |
f3299f82 | 27 | virtual ~AliAnaCaloTrigger() ; |
6c3efb37 | 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 | ||
f3299f82 | 34 | TString GetCalorimeter() const {return fCalorimeter ; } |
35 | void SetCalorimeter(TString calo) {fCalorimeter = calo ; } | |
36 | ||
6c3efb37 | 37 | private: |
9ea45617 | 38 | TChain * fChain ; //!pointer to the analyzed TTree or TChain |
39 | AliESDEvent * fESD ; //! Declaration of leave types | |
6c3efb37 | 40 | |
41 | TObjArray * fOutputContainer ; //! output data container | |
42 | ||
f3299f82 | 43 | TString fCalorimeter ; // "PHOS" or "EMCAL" |
44 | ||
6c3efb37 | 45 | // Histograms |
46 | TNtuple * fNtTrigger22 ; | |
47 | TNtuple * fNtTriggerNN ; | |
48 | ||
f3299f82 | 49 | ClassDef(AliAnaCaloTrigger, 0); // a PHOS photon analysis task |
6c3efb37 | 50 | }; |
f3299f82 | 51 | #endif // ALIANACALOTRIGGER_H |