#include <DTBtiTrig.h>
Public Member Functions | |
void | addDigi (const DTDigi *digi) |
Add a digi to the list. More... | |
int | btiNumber () const |
Return parent BTI number. More... | |
int | btiSL () const |
Return parent BTI superlayer. More... | |
DTChamberId | ChamberId () const |
Return chamber identifier. More... | |
void | clear () |
Clear. More... | |
int | code () const |
Return trigger code. More... | |
DTBtiTrigData | data () const |
Return the data part. More... | |
std::vector< const DTDigi * > | digiList () const |
Return the digi list. More... | |
DTBtiTrig () | |
Constructor. More... | |
DTBtiTrig (DTBtiChip *, int) | |
Constructor. More... | |
DTBtiTrig (DTBtiChip *tparent, int, int, int, int, int) | |
Constructor. More... | |
DTBtiTrig (DTBtiChip *tparent, int, int, int, int, int, int, float *) | |
Constructor. More... | |
DTBtiTrig (DTBtiChip *, DTBtiTrigData) | |
Constructor. More... | |
int | eq () const |
Return triggering equation. More... | |
int | K () const |
Return trigger K parameter. More... | |
void | print () const |
Print. More... | |
void | setCode (int code) |
Set trigger code. More... | |
void | setEq (int eq) |
Set triggering equation. More... | |
void | setK (int k) |
Set trigger K parameter. More... | |
void | setParent (DTBtiChip *parent) |
Set the parent DTBtiChip. More... | |
void | setStep (int step) |
Set trigger step. More... | |
void | setX (int x) |
Set trigger X parameter. More... | |
int | step () const |
Return trigger step. More... | |
DTBtiChip * | tParent () const |
Return parent BTI pointer. More... | |
int | X () const |
Return trigger X parameter. More... | |
~DTBtiTrig () | |
Destructor. More... | |
Public Member Functions inherited from DTTrigData | |
DTTrigData () | |
Constructor. More... | |
int | sector () const |
Return sector number. More... | |
int | station () const |
Return station number. More... | |
int | wheel () const |
Return wheel number. More... | |
virtual | ~DTTrigData () |
Destructor. More... | |
Private Attributes | |
DTBtiTrigData | _data |
std::vector< const DTDigi * > | _digi |
DTBtiChip * | _tparent |
BTI Trigger Data Has pointers to parent BTI and DTDigis which allow algorithm debugging
Definition at line 43 of file DTBtiTrig.h.
DTBtiTrig::DTBtiTrig | ( | ) |
DTBtiTrig::DTBtiTrig | ( | DTBtiChip * | tparent, |
int | step | ||
) |
Constructor.
Definition at line 43 of file DTBtiTrig.cc.
References _data, _digi, clear(), DTBtiChip::id(), DTBtiTrigData::setParent(), and DTBtiTrigData::setStep().
DTBtiTrig::DTBtiTrig | ( | DTBtiChip * | tparent, |
int | code, | ||
int | K, | ||
int | X, | ||
int | step, | ||
int | eq | ||
) |
Constructor.
Definition at line 56 of file DTBtiTrig.cc.
References _data, _digi, DTBtiChip::id(), DTBtiTrigData::setCode(), DTBtiTrigData::setEq(), DTBtiTrigData::setK(), DTBtiTrigData::setParent(), DTBtiTrigData::setStep(), and DTBtiTrigData::setX().
DTBtiTrig::DTBtiTrig | ( | DTBtiChip * | tparent, |
int | code, | ||
int | K, | ||
int | X, | ||
int | step, | ||
int | eq, | ||
int | str, | ||
float * | Keq | ||
) |
Constructor.
Definition at line 73 of file DTBtiTrig.cc.
References _data, _digi, DTBtiChip::id(), DTBtiTrigData::setCode(), DTBtiTrigData::setEq(), DTBtiTrigData::setK(), DTBtiTrigData::setKeq(), DTBtiTrigData::setParent(), DTBtiTrigData::setStep(), DTBtiTrigData::setStrobe(), and DTBtiTrigData::setX().
DTBtiTrig::DTBtiTrig | ( | DTBtiChip * | parent, |
DTBtiTrigData | data | ||
) |
DTBtiTrig::~DTBtiTrig | ( | ) |
|
inline |
Add a digi to the list.
Definition at line 71 of file DTBtiTrig.h.
References _digi.
Referenced by DTBtiChip::store().
|
inline |
Return parent BTI number.
Definition at line 129 of file DTBtiTrig.h.
References _data, and DTBtiTrigData::btiNumber().
|
inline |
Return parent BTI superlayer.
Definition at line 134 of file DTBtiTrig.h.
References _data, and DTBtiTrigData::btiSL().
|
inlinevirtual |
Return chamber identifier.
Implements DTTrigData.
Definition at line 109 of file DTBtiTrig.h.
References _data, and DTBtiTrigData::ChamberId().
|
inline |
Clear.
Definition at line 101 of file DTBtiTrig.h.
References _data, _digi, and DTBtiTrigData::clear().
Referenced by DTBtiTrig().
|
inline |
Return trigger code.
Definition at line 144 of file DTBtiTrig.h.
References _data, and DTBtiTrigData::code().
Referenced by DTBtiChip::doLTS().
|
inline |
|
inline |
|
inline |
Return triggering equation.
Definition at line 159 of file DTBtiTrig.h.
References _data, and DTBtiTrigData::eq().
|
inline |
Return trigger K parameter.
Definition at line 149 of file DTBtiTrig.h.
References _data, and DTBtiTrigData::K().
|
inlinevirtual |
Print.
Implements DTTrigData.
Definition at line 114 of file DTBtiTrig.h.
References _data, and DTBtiTrigData::print().
Referenced by DTBtiChip::store().
|
inline |
Set trigger code.
Definition at line 81 of file DTBtiTrig.h.
References _data, and DTBtiTrigData::setCode().
|
inline |
Set triggering equation.
Definition at line 96 of file DTBtiTrig.h.
References _data, and DTBtiTrigData::setEq().
|
inline |
Set trigger K parameter.
Definition at line 86 of file DTBtiTrig.h.
References _data, and DTBtiTrigData::setK().
|
inline |
Set the parent DTBtiChip.
Definition at line 66 of file DTBtiTrig.h.
References _tparent, and dbtoconf::parent.
Referenced by lumiQTWidget.LumiCanvas::__init__().
|
inline |
Set trigger step.
Definition at line 76 of file DTBtiTrig.h.
References _data, and DTBtiTrigData::setStep().
|
inline |
Set trigger X parameter.
Definition at line 91 of file DTBtiTrig.h.
References _data, and DTBtiTrigData::setX().
|
inline |
Return trigger step.
Definition at line 139 of file DTBtiTrig.h.
References _data, and DTBtiTrigData::step().
|
inline |
|
inline |
Return trigger X parameter.
Definition at line 154 of file DTBtiTrig.h.
References _data, and DTBtiTrigData::X().
Referenced by svgfig.Curve.Sample::__repr__().
|
private |
Definition at line 174 of file DTBtiTrig.h.
Referenced by python.XML2Python.DataNode::__nonzero__(), python.XML2Python.DataNode::__repr__(), python.XML2Python.DataNode::__str__(), btiNumber(), btiSL(), ChamberId(), clear(), code(), data(), DTBtiTrig(), eq(), K(), print(), setCode(), setEq(), setK(), setStep(), setX(), step(), and X().
|
private |
Definition at line 177 of file DTBtiTrig.h.
Referenced by addDigi(), clear(), digiList(), and DTBtiTrig().
|
private |
Definition at line 171 of file DTBtiTrig.h.
Referenced by setParent(), and tParent().