Removal of warnings
[u/mrichter/AliRoot.git] / PWG4 / AliAnaCaloTriggerMC.h
CommitLineData
884e9012 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//______________________________________________________________________________
f38b754b 6// An analysis task to check the trigger data in ESD with MC data
7// Creates an ntuple for 2x2 and NxN triggers
8// Each ntuple connects the maximum trigger amplitudes
9// and its positions with reconstructed clusters and MC
884e9012 10//
f38b754b 11//*-- Yves Schutz (CERN) & Gustavo Conesa Balbastre (INFN-LNF)
884e9012 12//////////////////////////////////////////////////////////////////////////////
13
14#include "AliAnalysisTask.h"
15
f38b754b 16class TFile ;
884e9012 17class TNtuple ;
18class TH1D ;
19class TH1I ;
20class TChain;
21
f38b754b 22class AliMCEvent ;
23class AliESDEvent ;
24
884e9012 25class AliAnaCaloTriggerMC : public AliAnalysisTask {
26
27public:
28 AliAnaCaloTriggerMC();
29 AliAnaCaloTriggerMC(const char *name) ;
30 AliAnaCaloTriggerMC(const AliAnaCaloTriggerMC & trig) ;
31 AliAnaCaloTriggerMC & operator=(const AliAnaCaloTriggerMC& source);
32 virtual ~AliAnaCaloTriggerMC() ;
33
34 virtual void Exec(Option_t * opt = "") ;
35 virtual void ConnectInputData(Option_t *);
36 virtual void CreateOutputObjects();
37 virtual void Terminate(Option_t * opt = "") ;
38
39 TString GetCalorimeter() const {return fCalorimeter ; }
40 void SetCalorimeter(TString calo) {fCalorimeter = calo ; }
41
42private:
43 TChain * fChain ; //!pointer to the analyzed TTree or TChain
44 AliESDEvent * fESD ; //! Declaration of leave types
45
46 TObjArray * fOutputContainer ; //! output data container
47
48 TString fCalorimeter ; // "PHOS" or "EMCAL"
49
50 // Histograms
f38b754b 51 TNtuple * fNtTrigger22 ; //Ntuple with 2x2 max dig amplitude and MC particle and cluster energy, and positions.
52 TNtuple * fNtTriggerNN ; //Ntuple with NxN max dig amplitude and MC particle and cluster energy, and positions.
884e9012 53
4b707925 54 ClassDef(AliAnaCaloTriggerMC, 1); // a photon analysis task
884e9012 55};
56#endif // ALIANACALOTRIGGERMC_H