1 #ifndef ALIANACALOTRIGGERMC_H
2 #define ALIANACALOTRIGGERMC_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
9 //////////////////////////////////////////////////////////////////////////////
11 #include "AliAnalysisTask.h"
19 class AliAnaCaloTriggerMC : public AliAnalysisTask {
22 AliAnaCaloTriggerMC();
23 AliAnaCaloTriggerMC(const char *name) ;
24 AliAnaCaloTriggerMC(const AliAnaCaloTriggerMC & trig) ;
25 AliAnaCaloTriggerMC & operator=(const AliAnaCaloTriggerMC& source);
26 virtual ~AliAnaCaloTriggerMC() ;
28 virtual void Exec(Option_t * opt = "") ;
29 virtual void ConnectInputData(Option_t *);
30 virtual void CreateOutputObjects();
31 virtual void Terminate(Option_t * opt = "") ;
33 TString GetCalorimeter() const {return fCalorimeter ; }
34 void SetCalorimeter(TString calo) {fCalorimeter = calo ; }
37 TChain * fChain ; //!pointer to the analyzed TTree or TChain
38 AliESDEvent * fESD ; //! Declaration of leave types
40 TObjArray * fOutputContainer ; //! output data container
42 TString fCalorimeter ; // "PHOS" or "EMCAL"
45 TNtuple * fNtTrigger22 ;
46 TNtuple * fNtTriggerNN ;
48 ClassDef(AliAnaCaloTriggerMC, 1); // a photon analysis task
50 #endif // ALIANACALOTRIGGERMC_H