#include <DTBtiHit.h>
Public Member Functions | |
int | clockTime () const |
float | curTime () const |
Return the current time. More... | |
DTBtiHit (const DTDigi *, DTConfigBti *) | |
Constructor. More... | |
DTBtiHit (int clockTime, DTConfigBti *) | |
Constructor from clock times. More... | |
DTBtiHit (const DTBtiHit &) | |
Copy constructor. 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 45 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 89 of file DTBtiHit.cc.
References _clockTime, _curTime, _hitdigi, and clockTime().
DTBtiHit::DTBtiHit | ( | const DTBtiHit & | hit | ) |
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 77 of file DTBtiHit.h.
References _curTime.
Referenced by DTBtiChip::tick().
|
inline |
Return the associated DTDigi.
Definition at line 70 of file DTBtiHit.h.
References _hitdigi.
Referenced by DTBtiChip::store().
|
inline |
true if avalanche is still drifting
Definition at line 81 of file DTBtiHit.h.
References _clockTime.
|
inline |
true if signal is in the registers
Definition at line 87 of file DTBtiHit.h.
References _clockTime, _config, jtrig(), and DTConfigBti::ST().
|
inline |
position in registers
Definition at line 93 of file DTBtiHit.h.
References _clockTime.
Referenced by isInsideReg(), and DTBtiChip::tick().
Assignment operator.
Definition at line 112 of file DTBtiHit.cc.
References _clockTime, _config, _curTime, and _hitdigi.
|
inline |
Move the hit forward in time one step.
Definition at line 65 of file DTBtiHit.h.
References _clockTime.
|
private |
Definition at line 121 of file DTBtiHit.h.
Referenced by clockTime(), DTBtiHit(), isDrifting(), isInsideReg(), jtrig(), operator=(), and stepDownTime().
|
private |
Definition at line 119 of file DTBtiHit.h.
Referenced by isInsideReg(), and operator=().
|
private |
Definition at line 120 of file DTBtiHit.h.
Referenced by curTime(), DTBtiHit(), and operator=().
|
private |
Definition at line 118 of file DTBtiHit.h.
Referenced by DTBtiHit(), hitDigi(), and operator=().
|
static |
Definition at line 113 of file DTBtiHit.h.
|
static |
Definition at line 114 of file DTBtiHit.h.
Referenced by DTBtiChip::add_digi(), and DTBtiHit().
|
static |
Definition at line 115 of file DTBtiHit.h.