/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* See cxx source for full Copyright notice */
//______________________________________________________________________________
-// An analysis task to check the PHOS photon data in simulated data
+// An analysis task to check the trigger data in ESD
+// Creates an ntuple for 2x2 and NxN triggers
+// Each ntuple connects the maximum trigger amplitudes
+// and its positions with reconstructed clusters
//
-//*-- Yves Schutz
+//*-- Yves Schutz (CERN) & Gustavo Conesa Balbastre (INFN-LNF)
//////////////////////////////////////////////////////////////////////////////
-#include <TTree.h>
-#include "AliAnalysisTask.h"
-class AliESD ;
+#include "AliAnalysisTask.h"
+class TFile ;
class TNtuple ;
class TH1D ;
class TH1I ;
+class TChain;
+
+class AliAnalysisManager ;
+class AliESDEvent ;
class AliAnaCaloTrigger : public AliAnalysisTask {
public:
+ AliAnaCaloTrigger() ;
AliAnaCaloTrigger(const char *name) ;
AliAnaCaloTrigger(const AliAnaCaloTrigger & trig) ;
AliAnaCaloTrigger & operator=(const AliAnaCaloTrigger& source);
void SetCalorimeter(TString calo) {fCalorimeter = calo ; }
private:
- TTree * fChain ; //!pointer to the analyzed TTree or TChain
- AliESD * fESD ; //! Declaration of leave types
+ TChain * fChain ; //!pointer to the analyzed TTree or TChain
+ AliESDEvent * fESD ; //! Declaration of leave types
TObjArray * fOutputContainer ; //! output data container
TString fCalorimeter ; // "PHOS" or "EMCAL"
// Histograms
- TNtuple * fNtTrigger22 ;
- TNtuple * fNtTriggerNN ;
+ TNtuple * fNtTrigger22 ; //Ntuple with 2x2 max dig amplitude and cluster energy, and positions.
+ TNtuple * fNtTriggerNN ; //Ntuple with NxN max dig amplitude and cluster energy, and positions.
- ClassDef(AliAnaCaloTrigger, 0); // a PHOS photon analysis task
+ ClassDef(AliAnaCaloTrigger, 1); // a photon analysis task
};
#endif // ALIANACALOTRIGGER_H