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 // and if MC stack available, with pt of parent.
12 //*-- Yves Schutz (CERN) & Gustavo Conesa Balbastre (INFN-LNF)
13 //////////////////////////////////////////////////////////////////////////////
16 #include "AliAnalysisTaskSE.h"
21 class AliAnaCaloTrigger : public AliAnalysisTaskSE {
25 AliAnaCaloTrigger(const char *name) ;
26 AliAnaCaloTrigger(const AliAnaCaloTrigger & trig) ;
27 AliAnaCaloTrigger & operator=(const AliAnaCaloTrigger& source);
28 virtual ~AliAnaCaloTrigger() ;
30 virtual void UserExec(Option_t * opt = "") ;
31 virtual void UserCreateOutputObjects();
32 // virtual void Terminate(Option_t * opt = "") const ;
34 TString GetCalorimeter() const {return fCalorimeter ; }
35 void SetCalorimeter(TString calo) {fCalorimeter = calo ; }
39 TList * fOutputContainer ; //! output data container
40 TString fCalorimeter ; // "PHOS" or "EMCAL"
43 TNtuple * fNtTrigger22 ; //Ntuple with 2x2 max dig amplitude and cluster energy, and positions.
44 TNtuple * fNtTriggerNN ; //Ntuple with NxN max dig amplitude and cluster energy, and positions.
46 ClassDef(AliAnaCaloTrigger, 2); // a trigger analysis task
48 #endif // ALIANACALOTRIGGER_H