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