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 + PPSD has name GPS2
10 //*-- Author: Yves Schutz (SUBATECH)
12 // --- ROOT system ---
13 #include "TClonesArray.h"
15 // --- AliRoot header files ---
17 #include "AliPHOSGeometry.h"
18 #include "AliPHOSReconstructioner.h"
19 #include "AliPHOSTrackSegmentMaker.h"
20 #include "AliPHOSPID.h"
22 class AliPHOSv0 : public AliPHOS {
30 AliPHOSv0(const char *name, const char *title="") ;
31 AliPHOSv0(const AliPHOSv0 & phos) {
32 // cpy ctor: no implementation yet
33 // requested by the Coding Convention
36 virtual ~AliPHOSv0(void){
40 virtual void AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t id, Float_t *hits ) {
41 // useless since there are no hits
44 virtual void BuildGeometry(void) ; // creates the geometry for the ROOT display
45 void BuildGeometryforPHOS(void) ; // creates the PHOS geometry for the ROOT display
46 void BuildGeometryforPPSD(void) ; // creates the PPSD geometry for the ROOT display
47 virtual void CreateGeometry(void) ; // creates the geometry for GEANT
48 void CreateGeometryforPHOS(void) ; // creates the PHOS geometry for GEANT
49 void CreateGeometryforPPSD(void) ; // creates the PPSD geometry for GEANT
50 virtual AliPHOSGeometry * GetGeometry() {
51 // gets the pointer to the AliPHOSGeometry unique instance
54 virtual void Init(void) ; // does nothing
55 Int_t IsVersion(void) const {
56 // Gives the version number
59 virtual TString Version(void){
61 return TString("v0") ;
64 AliPHOSv0 & operator = (const AliPHOSv0 & rvalue) {
65 // assignement operator requested by coding convention
73 AliPHOSGeometry * fGeom ; // Geometry definition
75 ClassDef(AliPHOSv0,1) // Implementation of PHOS manager class for layout EMC+PPSD