d15a28e7 |
1 | #ifndef ALIPHOS_H |
2 | #define ALIPHOS_H |
3da30618 |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
6ad0bfa0 |
4 | * See cxx source for full Copyright notice */ |
5 | |
6 | /* $Id$ */ |
3da30618 |
7 | |
b2a60966 |
8 | //_________________________________________________________________________ |
9 | // Base Class for PHOS |
10 | // |
11 | //*-- Author: Laurent Aphecetche & Yves Schutz (SUBATECH) |
fe4da5cc |
12 | |
d15a28e7 |
13 | // --- ROOT system --- |
0c409cb2 |
14 | #include "TString.h" |
fe4da5cc |
15 | |
d15a28e7 |
16 | // --- AliRoot header files --- |
fe4da5cc |
17 | |
d15a28e7 |
18 | #include "AliDetector.h" |
19 | #include "AliPHOSGeometry.h" |
83974468 |
20 | #include "AliRecPoint.h" |
21 | #include "AliPHOSTrackSegment.h" |
22 | #include "AliPHOSRecParticle.h" |
fe4da5cc |
23 | |
24 | class AliPHOS : public AliDetector { |
25 | |
26 | public: |
27 | |
b2a60966 |
28 | AliPHOS(const char* name, const char* title): AliDetector(name,title) {} |
29 | AliPHOS() : AliDetector() {} |
d15a28e7 |
30 | virtual ~AliPHOS() ; |
31 | |
0c409cb2 |
32 | virtual void CreateMaterials() ; // defines the material of the detector |
83974468 |
33 | virtual AliPHOSGeometry * GetGeometry() = 0 ; |
0c409cb2 |
34 | RecPointsList* EmcRecPoints(Int_t evt=0) ; // gets Array of cluster in the crystals |
35 | RecParticlesList * RecParticles(Int_t evt = 0) ; // gets Array of reconstructed particles |
36 | TrackSegmentsList * TrackSegments(Int_t evt=0) ; // gets Array of track segments |
37 | virtual RecPointsList* PpsdRecPoints(Int_t evt=0)=0; // gets Array of clusters in the PPSD |
38 | virtual TString Version() {return TString(" ") ; } |
83974468 |
39 | |
40 | protected: |
41 | |
0c409cb2 |
42 | RecPointsList * fEmcRecPoints ; // The RecPoints (clusters) list in EMC |
83974468 |
43 | TrackSegmentsList * fTrackSegments ; // The TrackSegment list in PHOS |
44 | RecParticlesList * fRecParticles ; // The reconstructed particles list in PHOS |
45 | |
fe4da5cc |
46 | |
b2a60966 |
47 | ClassDef(AliPHOS,2) // Photon Spectrometer Detector (base class) |
fe4da5cc |
48 | |
d15a28e7 |
49 | } ; |
fe4da5cc |
50 | |
d15a28e7 |
51 | #endif // ALIPHOS_H |