]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/AliPHOS.h
Adding reverse engineering tool
[u/mrichter/AliRoot.git] / PHOS / AliPHOS.h
1 #ifndef ALIPHOS_H
2 #define ALIPHOS_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 //  Base Class for PHOS     
10 //                  
11 //*-- Author: Laurent Aphecetche & Yves Schutz (SUBATECH)
12
13 // --- ROOT system ---
14 #include "TString.h"
15
16 // --- AliRoot header files ---
17
18 #include "AliDetector.h"
19 #include "AliPHOSGeometry.h" 
20 #include "AliRecPoint.h"
21 #include "AliPHOSTrackSegment.h"
22 #include "AliPHOSRecParticle.h"
23
24 class AliPHOS : public AliDetector {
25
26  public:
27
28   AliPHOS(const char* name, const char* title): AliDetector(name,title) {} 
29   AliPHOS() : AliDetector() {
30     // default ctor
31   } 
32   virtual ~AliPHOS() ; 
33  
34   virtual  void              CreateMaterials() ;                     // defines the material of the detector
35   virtual  AliPHOSRecPoint::RecPointsList *  EmcRecPoints() {
36     // Getting list of RecPoints
37     return fEmcRecPoints ;
38   }
39   virtual  AliPHOSGeometry * GetGeometry() = 0 ;
40   virtual   AliPHOSRecPoint::RecPointsList *    PpsdRecPoints()=0;// gets Array of clusters in the PPSD 
41   virtual void               SetTreeAddress();                 // Tree Address for reconstruction lists
42   virtual  AliPHOSRecParticle::RecParticlesList *  RecParticles() {
43     // Getting list of RecParticles
44     return fRecParticles ;
45   }
46   virtual  AliPHOSTrackSegment::TrackSegmentsList *  TrackSegments() {
47     // Getting list of TrackSegments
48     return fTrackSegments ;
49   }
50   virtual TString Version() {return TString(" ") ; } 
51
52
53  protected:
54   
55   AliPHOSRecPoint::RecPointsList * fEmcRecPoints ;         // The RecPoints (clusters) list in EMC 
56   AliPHOSTrackSegment::TrackSegmentsList * fTrackSegments ;// The TrackSegment list in PHOS
57   AliPHOSRecParticle::RecParticlesList * fRecParticles ;   // The reconstructed particles list in PHOS
58
59
60   ClassDef(AliPHOS,2) // Photon Spectrometer Detector (base class)
61
62 } ;
63
64 #endif // ALIPHOS_H