1 #ifndef ALIPHOSANALYZE_H
2 #define ALIPHOSANALYZE_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 ////////////////////////////////////////////////
9 // Algorythm class to analyze PHOS events //
10 // Yves Schutz SUBATECH //
13 ////////////////////////////////////////////////
15 // --- ROOT system ---
19 // --- Standard library ---
21 // --- AliRoot header files ---
23 #include "AliPHOSv0.h"
24 #include "AliPHOSGeometry.h"
26 class AliPHOSAnalyze : public TObject {
30 AliPHOSAnalyze() ; // ctor
31 AliPHOSAnalyze(Text_t * name) ; // ctor
32 virtual ~AliPHOSAnalyze() ; // dtor
34 void AnalyzeOneEvent(Int_t evt = -999) ; // analyzes a single event ;
35 Bool_t Init(Int_t evt) ; // does various initialisations
36 void DisplayKineEvent(Int_t evt = -999) ; // displays the Kine events in ALICE coordinate
37 void DisplayRecParticles() ; // displays RecParticles in ALICE coordinate
38 void DisplayRecPoints() ; // displays RecPoints in module coordinate
39 void DisplayTrackSegments() ; // displays TrackSegments in module coordinate
40 Bool_t OpenRootFile(Text_t * name) ; // opens the root file
44 AliPHOSClusterizer * fClu ; // a clusterizer
45 Int_t fEvt ; // the evt number being processed
46 AliPHOSGeometry * fGeom; // the PHOS Geometry object
47 AliPHOSv0 * fPHOS ; // the PHOS object from the root file
48 AliPHOSParticleGuesser * fPag ; // a particle guesser
49 AliPHOSReconstructioner * fRec ; // a reconstructioner
50 TFile * fRootFile ; // the root file that contains the data
51 AliPHOSTrackSegmentMaker * fTrs ; // a tracksegmentmaker ;
54 ClassDef(AliPHOSAnalyze,1) // PHOS event analyzis , version 1
58 #endif // AliPHOSANALYZE_H