Line data Source code
1 : #ifndef T0V1_H
2 : #define T0V1_H
3 : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 : * See cxx source for full Copyright notice */
5 :
6 : /* $Id$ */
7 : ////////////////////////////////////////////////
8 : // Manager and hits classes for set:T0 //
9 : ////////////////////////////////////////////////
10 :
11 : #include "AliT0.h"
12 :
13 : class AliT0v1 : public AliT0 {
14 :
15 : public:
16 :
17 : enum constants {kAir=1, kSc=2, kVac=3, kCer=4, kGlass=6, kSteel=8, kRibber=9, kBrass=11, kLucite=12, kC=13, kPP=14, kAl=15, kOpGlass=16, kOpAir=17, kOpAirNext=18, kOpGlassCathode=19};
18 :
19 :
20 : AliT0v1();
21 : AliT0v1(const char *name, const char *title);
22 0 : AliT0v1(const AliT0v1& o):AliT0(),
23 0 : fIdSens1(0),
24 0 : fEffPMT(0x0) {((AliT0v1 &) o).Copy(*this);}
25 :
26 0 : AliT0v1& operator=(const AliT0v1&) { return *this; }
27 : virtual ~AliT0v1();
28 : virtual void CreateGeometry();
29 : virtual void DefineOpticalProperties();
30 : virtual void AddAlignableVolumes() const;
31 : virtual void CreateMaterials();
32 : virtual void Init();
33 0 : virtual Int_t IsVersion() const {return 0;}
34 : Bool_t RegisterPhotoE(Int_t impt, Double_t energy);
35 : virtual void StepManager();
36 :
37 :
38 : protected:
39 : Int_t fIdSens1; // Sensetive volume in T0
40 : TObjArray fEffPMT; //pmt registration effeicincy
41 :
42 396 : ClassDef(AliT0v1,2) //Class for T0 version 1
43 : };
44 :
45 : typedef AliT0v1 AliSTARTv1; // for backward compatibility
46 :
47 : #endif
48 :
49 :
|