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 --- |
fe4da5cc |
14 | |
d15a28e7 |
15 | // --- AliRoot header files --- |
fe4da5cc |
16 | |
d15a28e7 |
17 | #include "AliDetector.h" |
18 | #include "AliPHOSGeometry.h" |
fe4da5cc |
19 | |
fe4da5cc |
20 | |
21 | class AliPHOS : public AliDetector { |
22 | |
23 | public: |
24 | |
b2a60966 |
25 | AliPHOS(const char* name, const char* title): AliDetector(name,title) {} |
26 | AliPHOS() : AliDetector() {} |
d15a28e7 |
27 | virtual ~AliPHOS() ; |
28 | |
b2a60966 |
29 | virtual void CreateMaterials() ; // defines the material of the detector |
30 | virtual AliPHOSGeometry * GetGeometry() = 0 ; // hands the pointer to the unique geometry object |
fe4da5cc |
31 | |
b2a60966 |
32 | ClassDef(AliPHOS,2) // Photon Spectrometer Detector (base class) |
fe4da5cc |
33 | |
d15a28e7 |
34 | } ; |
fe4da5cc |
35 | |
d15a28e7 |
36 | #endif // ALIPHOS_H |