3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 /* History of cvs commits:
11 * Revision 1.44 2006/09/27 19:55:57 kharlov
12 * Alignment object with symbolic volume names are introduced
14 * Revision 1.43 2005/05/28 14:19:05 schutz
15 * Compilation warnings fixed by T.P.
19 //_________________________________________________________________________
20 // Implementation version v0 of PHOS Manager class
21 // Layout EMC + CPV has name IHEP
23 //*-- Author: Yves Schutz (SUBATECH)
25 // --- ROOT system ---
30 // --- AliRoot header files ---
33 class AliPHOSv0 : public AliPHOS {
38 AliPHOSv0(const char *name, const char *title="") ;
39 virtual ~AliPHOSv0(void){
43 // virtual void AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t id, Float_t *hits ) {
44 //this function is not a final-overrider for AliPHOS::AddHit, to
45 //supress warning, I use using-declaration :)
46 using AliPHOS::AddHit;
47 virtual void AddHit( Int_t, Int_t, Int_t, Int_t, Float_t*) {
48 // useless since there are no hits
49 Fatal("AddHit", "not to be used with v0") ;
51 virtual void CreateGeometry(void) ; // creates the geometry for GEANT
52 void CreateGeometryforEMC(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 void AddAlignableVolumes() const; // define sym.names for alignable volumes
58 virtual Float_t ZMin() const; // overall dimension of the module (min)
59 virtual Float_t ZMax() const; // overall dimension of the module (max)
61 virtual void Init(void) ; // does nothing
62 virtual Int_t IsVersion(void) const {
63 // Gives the version number
66 virtual const TString Version(void)const {
68 return TString("v0") ;
73 AliPHOSv0(AliPHOSv0 & phos);
74 AliPHOSv0 & operator = (const AliPHOSv0 & /*rvalue*/);
76 ClassDef(AliPHOSv0,1) // Implementation of PHOS manager class for layout EMC+PPSD