From: schutz Date: Thu, 31 May 2001 22:42:52 +0000 (+0000) Subject: actor changed to create the task PHOS X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=783fdef6c52bb26b9dfbf11aa62d890ce1a9cdb9;p=u%2Fmrichter%2FAliRoot.git actor changed to create the task PHOS --- diff --git a/PHOS/AliPHOS.h b/PHOS/AliPHOS.h index 28a33c5d8f8..66ae58633fd 100644 --- a/PHOS/AliPHOS.h +++ b/PHOS/AliPHOS.h @@ -6,6 +6,10 @@ //_________________________________________________________________________ // Base Class for PHOS +// PHOS consists of a PbWO4 calorimeter (EMCA) and a gazeous charged +// particles detector (CPV or PPSD). +// The only provided method here is CreateMaterials, +// which defines the materials common to all PHOS versions. // //*-- Author: Laurent Aphecetche & Yves Schutz (SUBATECH) @@ -15,7 +19,6 @@ class TString ; // --- AliRoot header files --- -#include #include "AliDetector.h" class AliPHOSGeometry ; @@ -23,8 +26,8 @@ class AliPHOS : public AliDetector { public: - AliPHOS() : AliDetector() {} - AliPHOS(const char* name, const char* title="") : AliDetector(name, title) {} + AliPHOS(); + AliPHOS(const char* name, const char* title=""); AliPHOS(const AliPHOS & phos) { // cpy ctor: no implementation yet // requested by the Coding Convention @@ -37,15 +40,14 @@ class AliPHOS : public AliDetector { } virtual void AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t id, Float_t *hits ) = 0 ; virtual void CreateMaterials() ; - virtual AliPHOSGeometry * GetGeometry() = 0 ; + virtual AliPHOSGeometry * GetGeometry() const = 0 ; Int_t IsVersion(void) const { return -1 ; } virtual void SetTreeAddress(); virtual TString Version() {return TString(" ") ; } AliPHOS & operator = (const AliPHOS & rvalue) { - // assignement operator requested by coding convention - // but not needed + // assignement operator requested by coding convention but not needed abort() ; return *this ; }