forked from alisw/AliRoot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAliBCMHit.h
More file actions
28 lines (25 loc) · 823 Bytes
/
Copy pathAliBCMHit.h
File metadata and controls
28 lines (25 loc) · 823 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef ALIBCMHIT_H
#define ALIBCMHIT_H
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* See cxx source for full Copyright notice */
//
// Beam Condition Monitor (BCM) Hit Class
//
// andreas.morsch@cern.ch
//
#include "AliHit.h"
class AliBCMHit : public AliHit
{
public:
AliBCMHit();
AliBCMHit(Int_t shunt, Int_t track, Double_t x[4], Int_t isens, Float_t edep);
Int_t Id() const { return fId; }
Float_t Edep() const { return fEdep; }
Float_t Time() const { return fTime; }
private:
Int_t fId; // ID of the sensor (11, 12, 13, 14) for z > 0 and (21, 22, 23, 24) for z < 0
Float_t fEdep; // Deposited energy [GeV]
Float_t fTime; // Time of hit
ClassDef(AliBCMHit, 1) // BCM hit class
};
#endif