#include <DTBtiHit.h>
Public Member Functions | |
int | clockTime () const |
float | curTime () const |
Return the current time. More... | |
DTBtiHit (const DTBtiHit &) | |
Copy constructor. More... | |
DTBtiHit (const DTDigi *, DTConfigBti *) | |
Constructor. More... | |
DTBtiHit (int clockTime, DTConfigBti *) | |
Constructor from clock times. More... | |
const DTDigi * | hitDigi () const |
Return the associated DTDigi. More... | |
int | isDrifting () const |
true if avalanche is still drifting More... | |
int | isInsideReg () const |
true if signal is in the registers More... | |
int | jtrig () const |
position in registers More... | |
DTBtiHit & | operator= (const DTBtiHit &) |
Assignment operator. More... | |
void | stepDownTime () |
Move the hit forward in time one step. More... | |
~DTBtiHit () | |
Destructor. More... | |
Static Public Attributes | |
static const float | _stepTime = 12.5 |
static const float | _stepTimeTdc = 16. |
static std::string | t0envFlag |
Private Attributes | |
int | _clockTime |
DTConfigBti * | _config |
float | _curTime |
const DTDigi * | _hitdigi |
A class for hits in a drift cell
Definition at line 43 of file DTBtiHit.h.
DTBtiHit::DTBtiHit | ( | const DTDigi * | hitdigi, |
DTConfigBti * | config | ||
) |
Constructor.
Definition at line 48 of file DTBtiHit.cc.
References _clockTime, _curTime, _stepTimeTdc, DTDigi::countsTDC(), and createfilelist::int.
DTBtiHit::DTBtiHit | ( | int | clockTime, |
DTConfigBti * | config | ||
) |
Constructor from clock times.
Definition at line 86 of file DTBtiHit.cc.
References _clockTime, _curTime, _hitdigi, and clockTime().
DTBtiHit::DTBtiHit | ( | const DTBtiHit & | hit | ) |
Copy constructor.
Definition at line 92 of file DTBtiHit.cc.
DTBtiHit::~DTBtiHit | ( | ) |
|
inline |
|
inline |
Return the current time.
hits with curTime >0 correspond to avalanches drifting to wires <0 " " signals already in the registers SV curTime=4000 if digis are given in clock units....
Definition at line 73 of file DTBtiHit.h.
References _curTime.
|
inline |
|
inline |
true if avalanche is still drifting
Definition at line 77 of file DTBtiHit.h.
References _clockTime.
|
inline |
true if signal is in the registers
Definition at line 83 of file DTBtiHit.h.
References _clockTime, _config, jtrig(), and DTConfigBti::ST().
|
inline |
position in registers
Definition at line 89 of file DTBtiHit.h.
References _clockTime.
Referenced by isInsideReg().
Assignment operator.
Definition at line 104 of file DTBtiHit.cc.
References _clockTime, _config, _curTime, and _hitdigi.
|
inline |
Move the hit forward in time one step.
Definition at line 61 of file DTBtiHit.h.
References _clockTime.
|
private |
Definition at line 117 of file DTBtiHit.h.
Referenced by clockTime(), DTBtiHit(), isDrifting(), isInsideReg(), jtrig(), operator=(), and stepDownTime().
|
private |
Definition at line 115 of file DTBtiHit.h.
Referenced by isInsideReg(), and operator=().
|
private |
Definition at line 116 of file DTBtiHit.h.
Referenced by curTime(), DTBtiHit(), and operator=().
|
private |
Definition at line 114 of file DTBtiHit.h.
Referenced by DTBtiHit(), hitDigi(), and operator=().
|
static |
Definition at line 109 of file DTBtiHit.h.
|
static |
Definition at line 110 of file DTBtiHit.h.
Referenced by DTBtiChip::add_digi(), and DTBtiHit().
|
static |
Definition at line 111 of file DTBtiHit.h.