3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
6 //_________________________________________________________________________
7 // Implementation version v0 of PHOS Manager class
8 // Layout EMC + CPV has name IHEP
10 //*-- Author: Yves Schutz (SUBATECH)
12 // --- ROOT system ---
17 // --- AliRoot header files ---
20 class AliPHOSv0 : public AliPHOS {
25 AliPHOSv0(const char *name, const char *title="") ;
26 AliPHOSv0(const AliPHOSv0 & phos) : AliPHOS(phos) {
27 Fatal("cpy ctor", "not implemented") ;
29 virtual ~AliPHOSv0(void){
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*) {
35 // useless since there are no hits
36 Fatal("AddHit", "not to be used with v0") ;
38 virtual void BuildGeometry(void) ; // creates the geometry for the ROOT display
39 void BuildGeometryforEMC(void) ; // creates the PHOS geometry for the ROOT display
40 // void BuildGeometryforPPSD(void) ; // creates the PPSD geometry for the ROOT display
41 void BuildGeometryforCPV(void) ; // creates the CPV geometry for the ROOT display
42 virtual void CreateGeometry(void) ; // creates the geometry for GEANT
43 void CreateGeometryforEMC(void) ; // creates the PHOS geometry for GEANT
44 // void CreateGeometryforPPSD(void) ; // creates the PPSD geometry for GEANT
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)
50 virtual void Init(void) ; // does nothing
51 virtual Int_t IsVersion(void) const {
52 // Gives the version number
55 virtual const TString Version(void)const {
57 return TString("v0") ;
60 AliPHOSv0 & operator = (const AliPHOSv0 & /*rvalue*/) {
61 // assignement operator requested by coding convention but not needed
62 Fatal("operator =", "not implemented") ;
69 ClassDef(AliPHOSv0,1) // Implementation of PHOS manager class for layout EMC+PPSD