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(AliPHOSv0 & phos) : AliPHOS(phos) {
29 virtual ~AliPHOSv0(void){
32 virtual void Copy(AliPHOSv0 & phos) ;
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*) {
36 // useless since there are no hits
37 Fatal("AddHit", "not to be used with v0") ;
39 virtual void BuildGeometry(void) ; // creates the geometry for the ROOT display
40 void BuildGeometryforEMC(void) ; // creates the PHOS geometry for the ROOT display
41 // void BuildGeometryforPPSD(void) ; // creates the PPSD geometry for the ROOT display
42 void BuildGeometryforCPV(void) ; // creates the CPV geometry for the ROOT display
43 virtual void CreateGeometry(void) ; // creates the geometry for GEANT
44 void CreateGeometryforEMC(void) ; // creates the PHOS geometry for GEANT
45 // void CreateGeometryforPPSD(void) ; // creates the PPSD geometry for GEANT
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)
51 virtual void Init(void) ; // does nothing
52 virtual Int_t IsVersion(void) const {
53 // Gives the version number
56 virtual const TString Version(void)const {
58 return TString("v0") ;
61 AliPHOSv0 & operator = (const AliPHOSv0 & /*rvalue*/) {
62 // assignement operator requested by coding convention but not needed
63 Fatal("operator =", "not implemented") ;
70 ClassDef(AliPHOSv0,1) // Implementation of PHOS manager class for layout EMC+PPSD