1)Terminate() method implemented in the frame. Simple examples on what to do with...
[u/mrichter/AliRoot.git] / PWG4 / PartCorrDep / AliAnaCaloTrigger.h
CommitLineData
1c5acb87 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
6639984f 10// and if MC stack available, with pt of parent.
1c5acb87 11//
12//*-- Yves Schutz (CERN) & Gustavo Conesa Balbastre (INFN-LNF)
13//////////////////////////////////////////////////////////////////////////////
14
15
6639984f 16#include "AliAnalysisTaskSE.h"
1c5acb87 17class TNtuple ;
1c5acb87 18
1c5acb87 19class AliESDEvent ;
20
6639984f 21class AliAnaCaloTrigger : public AliAnalysisTaskSE {
1c5acb87 22
23public:
24 AliAnaCaloTrigger() ;
25 AliAnaCaloTrigger(const char *name) ;
26 AliAnaCaloTrigger(const AliAnaCaloTrigger & trig) ;
27 AliAnaCaloTrigger & operator=(const AliAnaCaloTrigger& source);
28 virtual ~AliAnaCaloTrigger() ;
29
6639984f 30 virtual void UserExec(Option_t * opt = "") ;
31 virtual void UserCreateOutputObjects();
1c5acb87 32// virtual void Terminate(Option_t * opt = "") const ;
33
34 TString GetCalorimeter() const {return fCalorimeter ; }
35 void SetCalorimeter(TString calo) {fCalorimeter = calo ; }
36
37private:
6639984f 38
39 TList * fOutputContainer ; //! output data container
1c5acb87 40 TString fCalorimeter ; // "PHOS" or "EMCAL"
41
42 // Histograms
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.
45
6639984f 46 ClassDef(AliAnaCaloTrigger, 2); // a trigger analysis task
1c5acb87 47};
48#endif // ALIANACALOTRIGGER_H