]>
Commit | Line | Data |
---|---|---|
dc7ca31d | 1 | #ifndef ALIT0hit_H |
2 | #define ALIT0hit_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 "AliHit.h" | |
12 | ||
13 | class AliT0hit : public AliHit { | |
14 | public: | |
c41ceaac | 15 | AliT0hit();//Empty ctor |
dc7ca31d | 16 | AliT0hit(Int_t shunt, Int_t track, Int_t *vol, Float_t *hits); |
17 | virtual ~AliT0hit(){}//Empty virtual dtor | |
18 | Int_t Volume() const {return fVolume;} | |
19 | Int_t Pmt() const {return fPmt;} | |
20 | Float_t Particle() const {return fParticle;} | |
21 | Double_t Etot() const {return fEtot;} | |
22 | Float_t Time() const {return fTime;} | |
23 | ||
24 | private: | |
25 | Int_t fVolume; //T0 arm mark | |
26 | Int_t fPmt; //PMT number in the arm | |
27 | Int_t fParticle; //Primary particle ID | |
28 | Double_t fEtot; //Energy of primary particle at the entrance to radiator | |
29 | Float_t fTime; //Primary particle TOF | |
30 | ||
31 | ||
32 | ClassDef(AliT0hit,2) //Hits for detector T0 | |
33 | }; | |
34 | ||
35 | typedef AliT0hit AliSTARThit; // for backward compatibility | |
36 | ||
37 | #endif//ALIT0hit_H |