]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG4/AliAnaCaloTrigger.h
Adding job handler (Marian)
[u/mrichter/AliRoot.git] / PWG4 / AliAnaCaloTrigger.h
index 8437edb52dd7dfb910fc4cda683dd658688e09c1..8ad9f0dc6e1f29a7ff9bc6d15e35a6af2f81d02c 100644 (file)
@@ -3,22 +3,29 @@
 /* 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);
@@ -33,17 +40,17 @@ public:
   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