]>
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 | ||
2ab0c725 | 16 | class TFile; |
17 | ||
d15a28e7 | 18 | // --- AliRoot header files --- |
fe4da5cc | 19 | #include "AliPHOS.h" |
d15a28e7 | 20 | #include "AliPHOSGeometry.h" |
21 | #include "AliPHOSReconstructioner.h" | |
22 | #include "AliPHOSTrackSegmentMaker.h" | |
908558fc | 23 | #include "AliPHOSPID.h" |
d15a28e7 | 24 | |
25 | class AliPHOSv0 : public AliPHOS { | |
26 | ||
1c7b564f | 27 | public: |
d15a28e7 | 28 | |
f78d91b7 | 29 | AliPHOSv0() { |
30 | //ctor | |
bb05128a | 31 | fGeom=0; |
f78d91b7 | 32 | } |
d15a28e7 | 33 | AliPHOSv0(const char *name, const char *title="") ; |
839ffcb3 | 34 | AliPHOSv0(const AliPHOSv0 & phos) { |
35 | // cpy ctor: no implementation yet | |
36 | // requested by the Coding Convention | |
37 | assert(0==1) ; | |
5f20d3fb | 38 | } |
39 | virtual ~AliPHOSv0(void){ | |
40 | // dtor | |
41 | } | |
d15a28e7 | 42 | |
f78d91b7 | 43 | virtual void AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t id, Float_t *hits ) { |
44 | // useless since there are no hits | |
45 | assert(0==1) ; | |
46 | } | |
ed4205d8 | 47 | virtual void BuildGeometry(void) ; // creates the geometry for the ROOT display |
48 | void BuildGeometryforPHOS(void) ; // creates the PHOS geometry for the ROOT display | |
49 | void BuildGeometryforPPSD(void) ; // creates the PPSD geometry for the ROOT display | |
50 | void BuildGeometryforCPV(void) ; // creates the CPV geometry for the ROOT display | |
51 | virtual void CreateGeometry(void) ; // creates the geometry for GEANT | |
52 | void CreateGeometryforPHOS(void) ; // creates the PHOS geometry for GEANT | |
53 | void CreateGeometryforPPSD(void) ; // creates the PPSD geometry for GEANT | |
54 | void CreateGeometryforCPV(void) ; // creates the CPV geometry for GEANT | |
55 | void CreateGeometryforSupport(void) ; // creates the Support geometry for GEANT | |
56 | virtual Float_t ZMin() const; // overall dimension of the module (min) | |
57 | virtual Float_t ZMax() const; // overall dimension of the module (max) | |
58 | ||
f78d91b7 | 59 | virtual AliPHOSGeometry * GetGeometry() { |
60 | // gets the pointer to the AliPHOSGeometry unique instance | |
61 | return fGeom ; | |
62 | } | |
d15a28e7 | 63 | virtual void Init(void) ; // does nothing |
e04976bd | 64 | virtual Int_t IsVersion(void) const { |
f78d91b7 | 65 | // Gives the version number |
66 | return 0 ; | |
67 | } | |
68 | virtual TString Version(void){ | |
69 | // As above | |
70 | return TString("v0") ; | |
71 | } | |
5f20d3fb | 72 | |
839ffcb3 | 73 | AliPHOSv0 & operator = (const AliPHOSv0 & rvalue) { |
a3dfe79c | 74 | // assignement operator requested by coding convention but not needed |
839ffcb3 | 75 | assert(0==1) ; |
76 | return *this ; | |
77 | } | |
5f20d3fb | 78 | |
79 | protected: | |
80 | ||
b2a60966 | 81 | AliPHOSGeometry * fGeom ; // Geometry definition |
5f20d3fb | 82 | |
b2a60966 | 83 | ClassDef(AliPHOSv0,1) // Implementation of PHOS manager class for layout EMC+PPSD |
5f20d3fb | 84 | |
85 | }; | |
86 | ||
9f616d61 | 87 | #endif // AliPHOSV0_H |