3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
7 ////////////////////////////////////////////////
8 // Manager and hits classes for set:T0 //
9 ////////////////////////////////////////////////
13 class AliT0hit : public AliHit {
16 AliT0hit();//Empty ctor
17 AliT0hit(Int_t shunt, Int_t track, Int_t *vol, Float_t *hits);
18 virtual ~AliT0hit(){}//Empty virtual dtor
20 AliT0hit& operator=(const AliT0hit&) { return *this; }
21 AliT0hit(const AliT0hit& o):AliHit(),
27 { ((AliT0hit &) o).Copy(*this);}
30 Int_t Volume() const {return fVolume;}
31 Int_t Pmt() const {return fPmt;}
32 Float_t Particle() const {return fParticle;}
33 Double_t Etot() const {return fEtot;}
34 Float_t Time() const {return fTime;}
37 Int_t fVolume; //T0 arm mark
38 Int_t fPmt; //PMT number in the arm
39 Int_t fParticle; //Primary particle ID
40 Double_t fEtot; //Energy of primary particle at the entrance to radiator
41 Float_t fTime; //Primary particle TOF
44 ClassDef(AliT0hit,3) //Hits for detector T0
47 typedef AliT0hit AliSTARThit; // for backward compatibility