]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/AliPHOS.h
This is a MAJOR modification:
[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
15 // --- AliRoot header files ---
16
17 #include "AliDetector.h"
18 #include "AliPHOSGeometry.h" 
19 #include "AliRecPoint.h"
20 #include "AliPHOSTrackSegment.h"
21 #include "AliPHOSRecParticle.h"
22
23 class AliPHOS : public AliDetector {
24
25  public:
26
27   AliPHOS(const char* name, const char* title): AliDetector(name,title) {} 
28   AliPHOS() : AliDetector() {} 
29   virtual ~AliPHOS() ; 
30  
31   virtual void CreateMaterials() ;               // defines the material of the detector
32   virtual AliPHOSGeometry * GetGeometry() = 0 ;  
33   RecPointsList* EmcRecPoints() {return fEmcClusters;}               // gets Array of cluster in the crystals 
34   RecParticlesList * RecParticles() { return fRecParticles ; }      // gets Array of reconstructed particles
35   TrackSegmentsList *    TrackSegments(){return fTrackSegments ;} // gets Array of track segments
36   virtual RecPointsList* PpsdRecPoints() = 0 ;        // gets Array of clusters in the PPSD 
37
38  protected:
39   
40   RecPointsList * fEmcClusters ;                  // The RecPoints (clusters) list in EMC 
41   TrackSegmentsList * fTrackSegments ;            // The TrackSegment list in PHOS
42   RecParticlesList * fRecParticles ;              // The reconstructed particles list in PHOS
43
44
45   ClassDef(AliPHOS,2) // Photon Spectrometer Detector (base class)
46
47 } ;
48
49 #endif // ALIPHOS_H