X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=PHOS%2FAliPHOSv0.h;h=d1a23ae0bbacdd4d267aca61779d9ad9d18924d3;hb=c2140715d75ba09019bc2373b20c7e2e077062c0;hp=3d12b59cea4ef21193c0c6c0d556f89510cb1d48;hpb=5f20d3fb5d21c2fc6f1f30cde8e2f56d12dd3160;p=u%2Fmrichter%2FAliRoot.git diff --git a/PHOS/AliPHOSv0.h b/PHOS/AliPHOSv0.h index 3d12b59cea4..d1a23ae0bba 100644 --- a/PHOS/AliPHOSv0.h +++ b/PHOS/AliPHOSv0.h @@ -6,59 +6,68 @@ //_________________________________________________________________________ // Implementation version v0 of PHOS Manager class // Layout EMC + PPSD has name GPS2 -// +// Layout EMC + CPV has name IHEP +//*-- //*-- Author: Yves Schutz (SUBATECH) // --- ROOT system --- -#include "TClonesArray.h" + +class TFile; +class TFolder; // --- AliRoot header files --- #include "AliPHOS.h" -#include "AliPHOSGeometry.h" -#include "AliPHOSReconstructioner.h" -#include "AliPHOSTrackSegmentMaker.h" -#include "AliPHOSPID.h" class AliPHOSv0 : public AliPHOS { -public: + public: - AliPHOSv0(void){ - // ctor - } + AliPHOSv0() {} AliPHOSv0(const char *name, const char *title="") ; - AliPHOSv0(AliPHOSReconstructioner * Reconstructioner, const char *name, const char *title="") ; AliPHOSv0(const AliPHOSv0 & phos) { // cpy ctor: no implementation yet // requested by the Coding Convention - assert(0==1) ; + Fatal("cpy ctor", "not implemented") ; } virtual ~AliPHOSv0(void){ // dtor } - virtual void BuildGeometry(void) ; // creates the geometry for the ROOT display - void BuildGeometryforPHOS(void) ; // creates the PHOS geometry for the ROOT display - void BuildGeometryforPPSD(void) ; // creates the PPSD geometry for the ROOT display - virtual void CreateGeometry(void) ; // creates the geometry for GEANT - void CreateGeometryforPHOS(void) ; // creates the PHOS geometry for GEANT - void CreateGeometryforPPSD(void) ; // creates the PPSD geometry for GEANT - virtual AliPHOSGeometry * GetGeometry() { return fGeom ; } - virtual void Init(void) ; // does nothing - Int_t IsVersion(void) const { return 0 ; } - virtual TString Version(void){ return TString("v0"); } + virtual void AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t id, Float_t *hits ) { + // useless since there are no hits + Fatal("AddHit", "not to be used with v0") ; + } + virtual void BuildGeometry(void) ; // creates the geometry for the ROOT display + void BuildGeometryforEMC(void) ; // creates the PHOS geometry for the ROOT display + // void BuildGeometryforPPSD(void) ; // creates the PPSD geometry for the ROOT display + void BuildGeometryforCPV(void) ; // creates the CPV geometry for the ROOT display + virtual void CreateGeometry(void) ; // creates the geometry for GEANT + void CreateGeometryforEMC(void) ; // creates the PHOS geometry for GEANT + // void CreateGeometryforPPSD(void) ; // creates the PPSD geometry for GEANT + void CreateGeometryforCPV(void) ; // creates the CPV geometry for GEANT + void CreateGeometryforSupport(void) ; // creates the Support geometry for GEANT + virtual Float_t ZMin() const; // overall dimension of the module (min) + virtual Float_t ZMax() const; // overall dimension of the module (max) + + virtual void Init(void) ; // does nothing + virtual Int_t IsVersion(void) const { + // Gives the version number + return 0 ; + } + virtual const TString Version(void)const { + // As above + return TString("v0") ; + } AliPHOSv0 & operator = (const AliPHOSv0 & rvalue) { - // assignement operator requested by coding convention - // but not needed - assert(0==1) ; + // assignement operator requested by coding convention but not needed + Fatal("operator =", "not implemented") ; return *this ; } protected: - AliPHOSGeometry * fGeom ; // Geometry definition - + ClassDef(AliPHOSv0,1) // Implementation of PHOS manager class for layout EMC+PPSD };