X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=PHOS%2FAliPHOSv0.h;h=f29d59e941da832f2aa9cfa48cfbe4344a229d55;hb=e939a978a98d29901b86bdb02cdcaf5157e717de;hp=f8e5673f1a60013f9edf7bc14250792699f8bbea;hpb=a8c47ab60ad997f04fe8b6319252c3e891625397;p=u%2Fmrichter%2FAliRoot.git diff --git a/PHOS/AliPHOSv0.h b/PHOS/AliPHOSv0.h index f8e5673f1a6..f29d59e941d 100644 --- a/PHOS/AliPHOSv0.h +++ b/PHOS/AliPHOSv0.h @@ -3,6 +3,19 @@ /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ +/* $Id$ */ + +/* History of cvs commits: + * + * $Log$ + * Revision 1.44 2006/09/27 19:55:57 kharlov + * Alignment object with symbolic volume names are introduced + * + * Revision 1.43 2005/05/28 14:19:05 schutz + * Compilation warnings fixed by T.P. + * + */ + //_________________________________________________________________________ // Implementation version v0 of PHOS Manager class // Layout EMC + CPV has name IHEP @@ -23,16 +36,14 @@ class AliPHOSv0 : public AliPHOS { AliPHOSv0() {} AliPHOSv0(const char *name, const char *title="") ; - AliPHOSv0(const AliPHOSv0 & phos) : AliPHOS(phos) { - // cpy ctor: no implementation yet - // requested by the Coding Convention - Fatal("cpy ctor", "not implemented") ; - } virtual ~AliPHOSv0(void){ // dtor } // virtual void AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t id, Float_t *hits ) { + //this function is not a final-overrider for AliPHOS::AddHit, to + //supress warning, I use using-declaration :) + using AliPHOS::AddHit; virtual void AddHit( Int_t, Int_t, Int_t, Int_t, Float_t*) { // useless since there are no hits Fatal("AddHit", "not to be used with v0") ; @@ -46,6 +57,8 @@ class AliPHOSv0 : public AliPHOS { // 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 void AddAlignableVolumes() const; // define sym.names for alignable volumes + virtual Float_t ZMin() const; // overall dimension of the module (min) virtual Float_t ZMax() const; // overall dimension of the module (max) @@ -59,14 +72,10 @@ class AliPHOSv0 : public AliPHOS { return TString("v0") ; } - AliPHOSv0 & operator = (const AliPHOSv0 & rvalue) { - // assignement operator requested by coding convention but not needed - Fatal("operator =", "not implemented") ; - return *this ; - } - - protected: + private: + AliPHOSv0(AliPHOSv0 & phos); + AliPHOSv0 & operator = (const AliPHOSv0 & /*rvalue*/); ClassDef(AliPHOSv0,1) // Implementation of PHOS manager class for layout EMC+PPSD