]>
Commit | Line | Data |
---|---|---|
9f616d61 | 1 | #ifndef ALIPHOSV0_H |
2 | #define ALIPHOSV0_H | |
3da30618 | 3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
b2a60966 | 6 | //_________________________________________________________________________ |
7 | // Implementation version v0 of PHOS Manager class | |
8 | // Layout EMC + PPSD has name GPS2 | |
a3dfe79c | 9 | // Layout EMC + CPV has name IHEP |
10 | //*-- | |
b2a60966 | 11 | //*-- Author: Yves Schutz (SUBATECH) |
d15a28e7 | 12 | |
13 | // --- ROOT system --- | |
14 | #include "TClonesArray.h" | |
15 | ||
16 | // --- AliRoot header files --- | |
fe4da5cc | 17 | #include "AliPHOS.h" |
d15a28e7 | 18 | #include "AliPHOSGeometry.h" |
19 | #include "AliPHOSReconstructioner.h" | |
20 | #include "AliPHOSTrackSegmentMaker.h" | |
908558fc | 21 | #include "AliPHOSPID.h" |
d15a28e7 | 22 | |
23 | class AliPHOSv0 : public AliPHOS { | |
24 | ||
1c7b564f | 25 | public: |
d15a28e7 | 26 | |
f78d91b7 | 27 | AliPHOSv0() { |
28 | //ctor | |
bb05128a | 29 | fGeom=0; |
f78d91b7 | 30 | } |
d15a28e7 | 31 | AliPHOSv0(const char *name, const char *title="") ; |
839ffcb3 | 32 | AliPHOSv0(const AliPHOSv0 & phos) { |
33 | // cpy ctor: no implementation yet | |
34 | // requested by the Coding Convention | |
35 | assert(0==1) ; | |
5f20d3fb | 36 | } |
37 | virtual ~AliPHOSv0(void){ | |
38 | // dtor | |
39 | } | |
d15a28e7 | 40 | |
f78d91b7 | 41 | virtual void AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t id, Float_t *hits ) { |
42 | // useless since there are no hits | |
43 | assert(0==1) ; | |
44 | } | |
d15a28e7 | 45 | virtual void BuildGeometry(void) ; // creates the geometry for the ROOT display |
46 | void BuildGeometryforPHOS(void) ; // creates the PHOS geometry for the ROOT display | |
47 | void BuildGeometryforPPSD(void) ; // creates the PPSD geometry for the ROOT display | |
bacd0b23 | 48 | void BuildGeometryforCPV(void) ; // creates the CPV geometry for the ROOT display |
d15a28e7 | 49 | virtual void CreateGeometry(void) ; // creates the geometry for GEANT |
50 | void CreateGeometryforPHOS(void) ; // creates the PHOS geometry for GEANT | |
51 | void CreateGeometryforPPSD(void) ; // creates the PPSD geometry for GEANT | |
bacd0b23 | 52 | void CreateGeometryforCPV(void) ; // creates the CPV geometry for GEANT |
f78d91b7 | 53 | virtual AliPHOSGeometry * GetGeometry() { |
54 | // gets the pointer to the AliPHOSGeometry unique instance | |
55 | return fGeom ; | |
56 | } | |
d15a28e7 | 57 | virtual void Init(void) ; // does nothing |
e04976bd | 58 | virtual Int_t IsVersion(void) const { |
f78d91b7 | 59 | // Gives the version number |
60 | return 0 ; | |
61 | } | |
62 | virtual TString Version(void){ | |
63 | // As above | |
64 | return TString("v0") ; | |
65 | } | |
5f20d3fb | 66 | |
839ffcb3 | 67 | AliPHOSv0 & operator = (const AliPHOSv0 & rvalue) { |
a3dfe79c | 68 | // assignement operator requested by coding convention but not needed |
839ffcb3 | 69 | assert(0==1) ; |
70 | return *this ; | |
71 | } | |
5f20d3fb | 72 | |
73 | protected: | |
74 | ||
b2a60966 | 75 | AliPHOSGeometry * fGeom ; // Geometry definition |
5f20d3fb | 76 | |
b2a60966 | 77 | ClassDef(AliPHOSv0,1) // Implementation of PHOS manager class for layout EMC+PPSD |
5f20d3fb | 78 | |
79 | }; | |
80 | ||
9f616d61 | 81 | #endif // AliPHOSV0_H |