This commit was generated by cvs2svn to compensate for changes in r15986,
[u/mrichter/AliRoot.git] / T0 / AliT0v1.h
CommitLineData
dc7ca31d 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
13class AliT0v1 : public AliT0 {
14
15public:
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 virtual ~AliT0v1();
23 virtual void CreateGeometry();
24 virtual void AddAlignableVolumes() const;
25 virtual void CreateMaterials();
26 virtual void DrawDetector();
27 virtual void Init();
28 virtual Int_t IsVersion() const {return 0;}
29 Bool_t RegisterPhotoE(Int_t impt, Double_t energy);
30 virtual void StepManager();
31
32
33protected:
34 Int_t fIdSens1; // Sensetive volume in T0
35 TObjArray fEffPMT; //pmt registration effeicincy
36
37 ClassDef(AliT0v1,2) //Class for T0 version 1
38};
39
40typedef AliT0v1 AliSTARTv1; // for backward compatibility
41
42#endif
43
44