]>
Commit | Line | Data |
---|---|---|
1 | #ifndef ALISTARThit_H | |
2 | #define ALISTARThit_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:START // | |
9 | //////////////////////////////////////////////// | |
10 | ||
11 | #include "AliHit.h" | |
12 | ||
13 | class AliSTARThit : public AliHit { | |
14 | public: | |
15 | AliSTARThit(){}//Empty ctor | |
16 | AliSTARThit(Int_t shunt, Int_t track, Int_t *vol, Float_t *hits); | |
17 | virtual ~AliSTARThit(){}//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(AliSTARThit,2) //Hits for detector START | |
33 | }; | |
34 | ||
35 | ||
36 | #endif//ALISTARThit_H |