New ALIPHOSv1: includes the light transport in the Xtal
[u/mrichter/AliRoot.git] / PHOS / AliPHOSAnalyze.h
CommitLineData
6ad0bfa0 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 */
5
6/* $Id$ */
7
8////////////////////////////////////////////////
9// Algorythm class to analyze PHOS events //
10// Yves Schutz SUBATECH //
11// //
12// //
13////////////////////////////////////////////////
14
15// --- ROOT system ---
16
17#include "TFile.h"
18
19// --- Standard library ---
20
21// --- AliRoot header files ---
22
23#include "AliPHOSv0.h"
24#include "AliPHOSGeometry.h"
25
26class AliPHOSAnalyze : public TObject {
27
28public:
29
30 AliPHOSAnalyze() ; // ctor
31 AliPHOSAnalyze(Text_t * name) ; // ctor
32 virtual ~AliPHOSAnalyze() ; // dtor
33
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
41
42private:
43
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 ;
52public:
53
54ClassDef(AliPHOSAnalyze,1) // PHOS event analyzis , version 1
55
56};
57
58#endif // AliPHOSANALYZE_H