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