]>
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 | |
a3dfe79c | 8 | // Layout EMC + CPV has name IHEP |
9 | //*-- | |
b2a60966 | 10 | //*-- Author: Yves Schutz (SUBATECH) |
d15a28e7 | 11 | |
12 | // --- ROOT system --- | |
d15a28e7 | 13 | |
2ab0c725 | 14 | class TFile; |
fa7cce36 | 15 | class TFolder; |
2ab0c725 | 16 | |
d15a28e7 | 17 | // --- AliRoot header files --- |
fe4da5cc | 18 | #include "AliPHOS.h" |
d15a28e7 | 19 | |
20 | class AliPHOSv0 : public AliPHOS { | |
21 | ||
1c7b564f | 22 | public: |
d15a28e7 | 23 | |
fa7cce36 | 24 | AliPHOSv0() {} |
d15a28e7 | 25 | AliPHOSv0(const char *name, const char *title="") ; |
a8c47ab6 | 26 | AliPHOSv0(const AliPHOSv0 & phos) : AliPHOS(phos) { |
f1611b7c | 27 | Fatal("cpy ctor", "not implemented") ; |
5f20d3fb | 28 | } |
29 | virtual ~AliPHOSv0(void){ | |
30 | // dtor | |
31 | } | |
d15a28e7 | 32 | |
a8c47ab6 | 33 | // virtual void AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t id, Float_t *hits ) { |
34 | virtual void AddHit( Int_t, Int_t, Int_t, Int_t, Float_t*) { | |
f78d91b7 | 35 | // useless since there are no hits |
f1611b7c | 36 | Fatal("AddHit", "not to be used with v0") ; |
f78d91b7 | 37 | } |
ed4205d8 | 38 | virtual void BuildGeometry(void) ; // creates the geometry for the ROOT display |
85218d13 | 39 | void BuildGeometryforEMC(void) ; // creates the PHOS geometry for the ROOT display |
40 | // void BuildGeometryforPPSD(void) ; // creates the PPSD geometry for the ROOT display | |
ed4205d8 | 41 | void BuildGeometryforCPV(void) ; // creates the CPV geometry for the ROOT display |
42 | virtual void CreateGeometry(void) ; // creates the geometry for GEANT | |
85218d13 | 43 | void CreateGeometryforEMC(void) ; // creates the PHOS geometry for GEANT |
44 | // void CreateGeometryforPPSD(void) ; // creates the PPSD geometry for GEANT | |
ed4205d8 | 45 | void CreateGeometryforCPV(void) ; // creates the CPV geometry for GEANT |
46 | void CreateGeometryforSupport(void) ; // creates the Support geometry for GEANT | |
47 | virtual Float_t ZMin() const; // overall dimension of the module (min) | |
48 | virtual Float_t ZMax() const; // overall dimension of the module (max) | |
49 | ||
fa7cce36 | 50 | virtual void Init(void) ; // does nothing |
e04976bd | 51 | virtual Int_t IsVersion(void) const { |
f78d91b7 | 52 | // Gives the version number |
53 | return 0 ; | |
54 | } | |
bd46a237 | 55 | virtual const TString Version(void)const { |
f78d91b7 | 56 | // As above |
57 | return TString("v0") ; | |
58 | } | |
5f20d3fb | 59 | |
8c140292 | 60 | AliPHOSv0 & operator = (const AliPHOSv0 & /*rvalue*/) { |
a3dfe79c | 61 | // assignement operator requested by coding convention but not needed |
f1611b7c | 62 | Fatal("operator =", "not implemented") ; |
839ffcb3 | 63 | return *this ; |
64 | } | |
5f20d3fb | 65 | |
66 | protected: | |
67 | ||
fa7cce36 | 68 | |
b2a60966 | 69 | ClassDef(AliPHOSv0,1) // Implementation of PHOS manager class for layout EMC+PPSD |
5f20d3fb | 70 | |
71 | }; | |
72 | ||
9f616d61 | 73 | #endif // AliPHOSV0_H |