]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG4/AliAnaCaloTrigger.h
Updated compilation options
[u/mrichter/AliRoot.git] / PWG4 / AliAnaCaloTrigger.h
1 #ifndef ALIANACALOTRIGGER_H
2 #define ALIANACALOTRIGGER_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 trigger data in ESD
7 // Creates an ntuple for 2x2 and NxN triggers
8 // Each ntuple connects the maximum trigger amplitudes 
9 // and its positions with reconstructed clusters
10 //
11 //*-- Yves Schutz (CERN) & Gustavo Conesa Balbastre (INFN-LNF)
12 //////////////////////////////////////////////////////////////////////////////
13
14
15 #include "AliAnalysisTask.h"  
16 class TFile ;
17 class TNtuple ;
18 class TH1D ; 
19 class TH1I ; 
20 class TChain;
21
22 class AliAnalysisManager ;
23 class AliESDEvent ; 
24
25 class AliAnaCaloTrigger : public AliAnalysisTask {
26
27 public:
28   AliAnaCaloTrigger() ;
29   AliAnaCaloTrigger(const char *name) ;
30   AliAnaCaloTrigger(const AliAnaCaloTrigger & trig) ;
31   AliAnaCaloTrigger & operator=(const AliAnaCaloTrigger& source);
32   virtual ~AliAnaCaloTrigger() ;
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
42 private:
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
51   TNtuple * fNtTrigger22 ; //Ntuple with 2x2 max dig amplitude and cluster energy, and positions.
52   TNtuple * fNtTriggerNN ; //Ntuple with NxN max dig amplitude and cluster energy, and positions.
53
54   ClassDef(AliAnaCaloTrigger, 1); // a photon analysis task 
55 };
56 #endif // ALIANACALOTRIGGER_H