X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=TOF%2FAliTOFv4T0.h;h=d7ef688e92cac0148b892cdacbee1a269eea9bcd;hp=7382643d414b77f53f3940deba7154dd12217a58;hb=ba66add8ab8da76d18b2dd1da92fe4b51e8ac2d1;hpb=0f4a73742ac6d527b4373abce1eac8673a3a8be2 diff --git a/TOF/AliTOFv4T0.h b/TOF/AliTOFv4T0.h index 7382643d414..d7ef688e92c 100644 --- a/TOF/AliTOFv4T0.h +++ b/TOF/AliTOFv4T0.h @@ -1,14 +1,18 @@ -//_________________________________________________________________________ -// Implementation version v4 of TOF Manager class -// FULL COVERAGE VERSION i.e. NO HOLES FOR PHOS AND HMPID (RICH) ARE DEFINED -// -//*-- Authors: Pierella, Seganti, Vicinanza (Bologna and Salerno University) - #ifndef ALITOFv4T0_H #define ALITOFv4T0_H + /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ +//_____________________________________________________________________________// +// // +// Implementation version v4 of TOF Manager class // +// FULL COVERAGE VERSION i.e. NO HOLES FOR PHOS AND HMPID (RICH) ARE DEFINED // +// // +// -- Authors: Pierella, Seganti, Vicinanza (Bologna and Salerno University) // +// // +//_____________________________________________________________________________// + #include "AliTOF.h" @@ -17,9 +21,7 @@ class AliTOFv4T0 : public AliTOF { public: AliTOFv4T0(); AliTOFv4T0(const char *name, const char *title); - virtual ~AliTOFv4T0() { if (fTOFGeometry) {delete fTOFGeometry; - fTOFGeometry = 0; } -} + virtual ~AliTOFv4T0() {}; virtual void BuildGeometry(); virtual void CreateGeometry(); virtual void CreateMaterials(); @@ -27,10 +29,11 @@ public: virtual Int_t IsVersion() const {return 6;} virtual void TOFpc(Float_t xtof,Float_t ytof,Float_t zlenC,Float_t zlenB, Float_t zlenA,Float_t ztof0); + virtual void TOFpc(Float_t, Float_t, Float_t, Float_t) {}; virtual void StepManager(); virtual void DrawModule() const; - virtual void DrawDetectorModules(); - virtual void DrawDetectorStrips(); + virtual void DrawDetectorModules() const; + virtual void DrawDetectorStrips() const; private: Int_t fIdFTOA; // FTOA volume identifier (outer plate A) @@ -41,7 +44,7 @@ private: Int_t fIdFLTC; // FLTC volume identifier (inner plate C) Bool_t fTOFHoles; // Selecting Geometry with and w/o holes - ClassDef(AliTOFv4T0,1) //Time Of Flight version 4 + ClassDef(AliTOFv4T0,2) //Time Of Flight version 4 }; #endif /* ALITOFv4T0_H */