Line data Source code
1 : #ifndef ALIBCMHIT_H
2 : #define ALIBCMHIT_H
3 : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 : * See cxx source for full Copyright notice */
5 : //
6 : // Beam Condition Monitor (BCM) Hit Class
7 : //
8 : // andreas.morsch@cern.ch
9 : //
10 : #include "AliHit.h"
11 :
12 0 : class AliBCMHit : public AliHit
13 : {
14 : public:
15 : AliBCMHit();
16 : AliBCMHit(Int_t shunt, Int_t track, Double_t x[4], Int_t isens, Float_t edep);
17 0 : Int_t Id() const { return fId; }
18 0 : Float_t Edep() const { return fEdep; }
19 0 : Float_t Time() const { return fTime; }
20 : private:
21 : Int_t fId; // ID of the sensor (11, 12, 13, 14) for z > 0 and (21, 22, 23, 24) for z < 0
22 : Float_t fEdep; // Deposited energy [GeV]
23 : Float_t fTime; // Time of hit
24 :
25 12 : ClassDef(AliBCMHit, 1) // BCM hit class
26 : };
27 :
28 : #endif
|