]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/AliPHOSv0.h
new naming of the AliPHOS versions
[u/mrichter/AliRoot.git] / PHOS / AliPHOSv0.h
1 #ifndef ALIPHOSV0_H
2 #define ALIPHOSV0_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 //_________________________________________________________________________
7 // Implementation version v0 of PHOS Manager class 
8 // Layout EMC + PPSD has name GPS2  
9 //                  
10 //*-- Author: Yves Schutz (SUBATECH)
11
12 // --- ROOT system ---
13 #include "TClonesArray.h"
14
15 // --- AliRoot header files ---
16 #include "AliPHOS.h"
17 #include "AliPHOSGeometry.h"
18 #include "AliPHOSReconstructioner.h"
19 #include "AliPHOSTrackSegmentMaker.h"
20 #include "AliPHOSPID.h"
21
22 class AliPHOSv0 : public AliPHOS {
23
24 public:
25
26   AliPHOSv0(void){
27     // ctor
28   } 
29   AliPHOSv0(const char *name, const char *title="") ;
30   AliPHOSv0(AliPHOSReconstructioner * Reconstructioner, const char *name, const char *title="") ;
31   AliPHOSv0(const AliPHOSv0 & phos) {
32     // cpy ctor: no implementation yet
33     // requested by the Coding Convention
34     assert(0==1) ; 
35   } 
36   virtual ~AliPHOSv0(void){
37     // dtor
38   } 
39
40   virtual void   BuildGeometry(void) ;                              // creates the geometry for the ROOT display
41   void           BuildGeometryforPHOS(void) ;                       // creates the PHOS geometry for the ROOT display
42   void           BuildGeometryforPPSD(void) ;                       // creates the PPSD geometry for the ROOT display
43   virtual void   CreateGeometry(void) ;                             // creates the geometry for GEANT
44   void           CreateGeometryforPHOS(void) ;                      // creates the PHOS geometry for GEANT
45   void           CreateGeometryforPPSD(void) ;                      // creates the PPSD geometry for GEANT
46   virtual AliPHOSGeometry * GetGeometry() { return fGeom ; }  
47   virtual void   Init(void) ;                                       // does nothing
48   Int_t IsVersion(void) const { return 0 ; }
49   virtual TString Version(void){ return TString("v0"); }
50   
51   AliPHOSv0 & operator = (const AliPHOSv0 & rvalue)  {
52     // assignement operator requested by coding convention
53     // but not needed
54     assert(0==1) ;
55     return *this ; 
56   }
57   
58  protected:
59   
60   AliPHOSGeometry * fGeom ;                       // Geometry definition
61   
62   ClassDef(AliPHOSv0,1)  // Implementation of PHOS manager class for layout EMC+PPSD
63     
64     };
65     
66 #endif // AliPHOSV0_H