]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSAnalyze.h
New data member (cerenkov angle) in Cerenkov data structure.
[u/mrichter/AliRoot.git] / PHOS / AliPHOSAnalyze.h
index 35cc8e9603cd4a3aeadbca1a3bc3c0f944548f71..2d4e9cd29334fc9f35ef9d24aed01a15ceee2b9d 100644 (file)
@@ -5,12 +5,9 @@
 
 /* $Id$ */
 
-////////////////////////////////////////////////
-//  Algorythm class to analyze PHOS events    //
-//  Yves Schutz            SUBATECH           //
-//                                            //  
-//                                            //
-////////////////////////////////////////////////
+//_________________________________________________________________________
+//  Algorithm class to analyze PHOSv0 events    
+//*-- Author : Yves Schutz (SUBATECH)
 
 // --- ROOT system ---
 
@@ -25,6 +22,7 @@
 #include "AliPHOSv0.h"
 #include "AliPHOSGeometry.h"
 #include "AliPHOSPID.h"
+#include "AliPHOSIndexToObject.h"
 
 class AliPHOSAnalyze : public TObject {
 
@@ -47,42 +45,43 @@ public:
  
 private:
   
-  AliPHOSClusterizer * fClu ;       // a clusterizer 
-  Int_t fEvt ;                      // the evt number being processed 
-  AliPHOSGeometry * fGeom;          // the PHOS Geometry object
-  AliPHOSv0 * fPHOS ;               // the PHOS object from the root file 
-  AliPHOSPID * fPID ;               // a particle identifier
-  AliPHOSReconstructioner * fRec ;  // a reconstructioner  
-  TFile * fRootFile ;               // the root file that contains the data
-  AliPHOSTrackSegmentMaker * fTrs ; // a tracksegmentmaker ;
-  TH1F * fhEmcDigit        ;   // Histo of digit energies in the Emc 
-  TH1F * fhVetoDigit       ;   // Histo of digit energies in the Veto 
-  TH1F * fhConvertorDigit  ;   // Histo of digit energies in the Convertor
-  TH1F * fhEmcCluster      ;   // Histo of Cluster energies in Emc
-  TH1F * fhVetoCluster     ;   // Histo of Cluster energies in Veto
-  TH1F * fhConvertorCluster;   // Histo of Cluster energies in Convertor
-  TH2F * fhConvertorEmc    ;   // 2d Convertor versus Emc energies
-  TH1F * fhPhotonEnergy    ;   // Spectrum of detected photons
-  TH1F * fhElectronEnergy  ;   // Spectrum of detected electrons
-  TH1F * fhNeutralHadronEnergy   ;   // Spectrum of detected neutral hadron
-  TH1F * fhNeutralEMEnergy   ;   // Spectrum of detected neutral EM
-  TH1F * fhChargedHadronEnergy   ;   // Spectrum of detected charged
-  TH1F * fhPhotonHadronEnergy  ; // Spectrum of detected Photon-Hadron
-  TH1F * fhPhotonPositionX ;   // X distribution of detected photons
-  TH1F * fhElectronPositionX ; // X distribution of detected electrons
-  TH1F * fhNeutralHadronPositionX  ; // X distribution of detected neutral hadron
-  TH1F * fhNeutralEMPositionX  ; // X distribution of detected neutral EM
-  TH1F * fhChargedHadronPositionX  ; // X distribution of detected charged
-  TH1F * fhPhotonHadronPositionX  ; // X distribution of detected Photon-Hadron
-  TH1F * fhPhotonPositionY   ; // Y distribution of detected photons
-  TH1F * fhElectronPositionY ; // Y distribution of detected electrons
-  TH1F * fhNeutralHadronPositionY  ; // Y distribution of detected neutral hadron
-  TH1F * fhNeutralEMPositionY  ; // Y distribution of detected neutral EM
-  TH1F * fhChargedHadronPositionY  ; // Y distribution of detected charged
-  TH1F * fhPhotonHadronPositionY  ; // Y distribution of detected Photon-Hadron
+  AliPHOSClusterizer * fClu ;         // a clusterizer 
+  Int_t fEvt ;                        // the evt number being processed 
+  AliPHOSGeometry * fGeom ;           // the PHOS Geometry object
+  AliPHOSIndexToObject * fObjGetter ; // provides methods to retrieve objects from their index in a list
+  AliPHOSv0 * fPHOS ;                 // the PHOS object from the root file 
+  AliPHOSPID * fPID ;                 // a particle identifier
+  AliPHOSReconstructioner * fRec ;    // a reconstructioner  
+  TFile * fRootFile ;                 // the root file that contains the data
+  AliPHOSTrackSegmentMaker * fTrs ;   // a tracksegmentmaker ;
+  TH1F * fhEmcDigit ;               // Histo of digit energies in the Emc 
+  TH1F * fhVetoDigit ;              // Histo of digit energies in the Veto 
+  TH1F * fhConvertorDigit ;         // Histo of digit energies in the Convertor
+  TH1F * fhEmcCluster ;             // Histo of Cluster energies in Emc
+  TH1F * fhVetoCluster ;            // Histo of Cluster energies in Veto
+  TH1F * fhConvertorCluster ;       // Histo of Cluster energies in Convertor
+  TH2F * fhConvertorEmc ;           // 2d Convertor versus Emc energies
+  TH1F * fhPhotonEnergy ;           // Spectrum of detected photons
+  TH1F * fhElectronEnergy ;         // Spectrum of detected electrons
+  TH1F * fhNeutralHadronEnergy ;    // Spectrum of detected neutral hadron
+  TH1F * fhNeutralEMEnergy ;        // Spectrum of detected neutral EM
+  TH1F * fhChargedHadronEnergy ;    // Spectrum of detected charged
+  TH1F * fhPhotonHadronEnergy ;     // Spectrum of detected Photon-Hadron
+  TH1F * fhPhotonPositionX ;        // X distribution of detected photons
+  TH1F * fhElectronPositionX ;      // X distribution of detected electrons
+  TH1F * fhNeutralHadronPositionX ; // X distribution of detected neutral hadron
+  TH1F * fhNeutralEMPositionX ;     // X distribution of detected neutral EM
+  TH1F * fhChargedHadronPositionX ; // X distribution of detected charged
+  TH1F * fhPhotonHadronPositionX ;  // X distribution of detected Photon-Hadron
+  TH1F * fhPhotonPositionY ;        // Y distribution of detected photons
+  TH1F * fhElectronPositionY ;      // Y distribution of detected electrons
+  TH1F * fhNeutralHadronPositionY ; // Y distribution of detected neutral hadron
+  TH1F * fhNeutralEMPositionY ;     // Y distribution of detected neutral EM
+  TH1F * fhChargedHadronPositionY ; // Y distribution of detected charged
+  TH1F * fhPhotonHadronPositionY ;  // Y distribution of detected Photon-Hadron
 
 
-ClassDef(AliPHOSAnalyze,1)  // PHOS event analyzis , version 1
+ClassDef(AliPHOSAnalyze,1)  // PHOSv0 event analyzis algorithm
 
 };