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