]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TOF/AliTOFv2FHoles.h
Reduced memory allocation
[u/mrichter/AliRoot.git] / TOF / AliTOFv2FHoles.h
1 //_________________________________________________________________________
2 // Implementation version v2 of TOF Manager class
3 // HOLES FOR PHOS AND HMPID (RICH) DETECTOR
4 // NOT Official code!
5 // Requested by Andreas Morsch in order v2 TOF version
6 // is compliant with Frame v0 (Frame with holes)  
7 //*-- 
8 //*-- Authors: Pierella, Seganti, Vicinanza (Bologna and Salerno University)
9
10 #ifndef ALITOFv2FHoles_H
11 #define ALITOFv2FHoles_H
12 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
13  * See cxx source for full Copyright notice                               */
14
15  
16 #include "AliTOF.h"
17  
18  
19 class AliTOFv2FHoles : public AliTOF {
20  
21 public:
22   AliTOFv2FHoles();
23   AliTOFv2FHoles(const char *name, const char *title);
24   virtual ~AliTOFv2FHoles() {}
25   virtual void   CreateGeometry();
26   virtual void   CreateMaterials();
27   virtual void   Init();
28   virtual Int_t  IsVersion() const {return 2;}
29   virtual void   TOFpc(Float_t xtof,Float_t ytof,Float_t zlenC,Float_t zlenB,
30                        Float_t zlenA,Float_t ztof0);
31   virtual void   StepManager();
32   virtual void   DrawModule() const;
33   virtual void   DrawDetectorModules();
34   virtual void   DrawDetectorStrips();
35 //  virtual void   DrawDetectorModulesinFrame();
36 //  virtual void   DrawDetectorStripsinFrame();
37
38 private:
39   Int_t fIdFTOA; // FTOA volume identifier (outer plate A)
40   Int_t fIdFTOB; // FTOB volume identifier (outer plate B)
41   Int_t fIdFTOC; // FTOC volume identifier (outer plate C)
42   Int_t fIdFLTA; // FLTA volume identifier (inner plate A)
43   Int_t fIdFLTB; // FLTB volume identifier (inner plate B)
44   Int_t fIdFLTC; // FLTC volume identifier (inner plate C)
45   
46    ClassDef(AliTOFv2FHoles,1)  //Time Of Flight version 2
47 };
48  
49 #endif /* ALITOFv2FHoles_H  */