X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=PHOS%2FAliPHOSvFast.h;h=b49095c9784f9cf60a075351d01b485a3992d8b4;hb=03cff2497841a6c68cb2a01b012510bde90dc6fc;hp=81e01a9ecc366a9bcfc07c6ffcbe665f2388fda6;hpb=d6274846977d9afe5980b4dde04b26f83a19ce92;p=u%2Fmrichter%2FAliRoot.git diff --git a/PHOS/AliPHOSvFast.h b/PHOS/AliPHOSvFast.h index 81e01a9ecc3..b49095c9784 100644 --- a/PHOS/AliPHOSvFast.h +++ b/PHOS/AliPHOSvFast.h @@ -5,6 +5,17 @@ /* $Id$ */ +/* History of cvs commits: + * + * $Log$ + * Revision 1.26 2006/09/13 07:31:01 kharlov + * Effective C++ corrections (T.Pocheptsov) + * + * Revision 1.25 2005/05/28 14:19:05 schutz + * Compilation warnings fixed by T.P. + * + */ + //_________________________________________________________________________ // Implementation of the PHOS manager class for fast simulations // Tracks particles until the reach a grossly designed PHOS module @@ -14,10 +25,8 @@ // //*-- Author: Yves Schutz (SUBATECH) -#include - // --- ROOT system --- -#include "TClonesArray.h" +//#include "TClonesArray.h" #include "TRandom.h" class TVector3 ; @@ -34,19 +43,10 @@ public: AliPHOSvFast() ; AliPHOSvFast(const char *name, const char *title="") ; - AliPHOSvFast(const AliPHOSvFast & fast) { - // cpy ctor: no implementation yet - // requested by the Coding Convention - assert(0==1) ; - } + virtual ~AliPHOSvFast(void) ; - virtual void AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t id, Float_t *hits ) { - // useless since there are no hits - assert(0==1) ; - } void AddRecParticle(const AliPHOSFastRecParticle & rp) ; // adds primary particle to the RecParticles list - virtual void BuildGeometry(void) ; // creates the geometry for the ROOT display virtual void CreateGeometry(void) ; // creates the geometry for GEANT Float_t GetBigBox(Int_t index) const; virtual void Init(void) ; // does nothing @@ -55,11 +55,11 @@ public: return 99 ; } - void MakeBranch(Option_t* opt, const char *file=0) ; - Double_t MakeEnergy(const Double_t energy) ; // makes the detected energy - TVector3 MakePosition(const Double_t energy, const TVector3 pos, const Double_t th, const Double_t ph) ; + void MakeBranch(Option_t* opt); + Double_t MakeEnergy(Double_t energy) ; // makes the detected energy + TVector3 MakePosition(Double_t energy, TVector3 pos, Double_t th, Double_t ph) ; // makes the detected position - void MakeRecParticle(const Int_t modid, const TVector3 pos, AliPHOSFastRecParticle & rp) ; // makes a reconstructes particle from primary + void MakeRecParticle(Int_t modid, TVector3 pos, AliPHOSFastRecParticle & rp) ; // makes a reconstructes particle from primary Int_t MakeType(AliPHOSFastRecParticle & rp) ; // gets the detected type of particle // gets TClonesArray of reconstructed particles TClonesArray * FastRecParticles() const { return fFastRecParticles ; } @@ -74,13 +74,9 @@ public: return TString("vFast") ; } - AliPHOSvFast & operator = (const AliPHOSvFast & ) { - // assignement operator requested by coding convention but not needed - assert(0==1) ; - return *this ; - } - private: + AliPHOSvFast(AliPHOSvFast & fast); + AliPHOSvFast & operator = (const AliPHOSvFast & ); Float_t fBigBoxX ; // main box containing all PHOS (EMC+PPSD) Float_t fBigBoxY ; // main box containing all PHOS (EMC+PPSD)