#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 override |
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 override |
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 () override | |
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 41 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 | ||
) |
|
override |
|
inline |
Add a digi to the list.
Definition at line 69 of file DTBtiTrig.h.
References _digi.
Referenced by DTBtiChip::store().
|
inline |
Return parent BTI number.
Definition at line 127 of file DTBtiTrig.h.
References _data, and DTBtiTrigData::btiNumber().
|
inline |
Return parent BTI superlayer.
Definition at line 132 of file DTBtiTrig.h.
References _data, and DTBtiTrigData::btiSL().
|
inlineoverridevirtual |
Return chamber identifier.
Implements DTTrigData.
Definition at line 107 of file DTBtiTrig.h.
References _data, and DTBtiTrigData::ChamberId().
|
inline |
Clear.
Definition at line 99 of file DTBtiTrig.h.
References _data, _digi, and DTBtiTrigData::clear().
Referenced by DTBtiTrig().
|
inline |
Return trigger code.
Definition at line 142 of file DTBtiTrig.h.
References _data, and DTBtiTrigData::code().
Referenced by DTBtiChip::doLTS().
|
inline |
|
inline |
|
inline |
Return triggering equation.
Definition at line 157 of file DTBtiTrig.h.
References _data, and DTBtiTrigData::eq().
|
inline |
Return trigger K parameter.
Definition at line 147 of file DTBtiTrig.h.
References _data, and DTBtiTrigData::K().
|
inlineoverridevirtual |
Print.
Implements DTTrigData.
Definition at line 112 of file DTBtiTrig.h.
References _data, and DTBtiTrigData::print().
Referenced by DTBtiChip::store().
|
inline |
Set trigger code.
Definition at line 79 of file DTBtiTrig.h.
References _data, and DTBtiTrigData::setCode().
|
inline |
Set triggering equation.
Definition at line 94 of file DTBtiTrig.h.
References _data, and DTBtiTrigData::setEq().
|
inline |
Set trigger K parameter.
Definition at line 84 of file DTBtiTrig.h.
References _data, and DTBtiTrigData::setK().
|
inline |
Set the parent DTBtiChip.
Definition at line 64 of file DTBtiTrig.h.
References _tparent, and class-composition::parent.
Referenced by lumiQTWidget.LumiCanvas::__init__().
|
inline |
Set trigger step.
Definition at line 74 of file DTBtiTrig.h.
References _data, and DTBtiTrigData::setStep().
|
inline |
Set trigger X parameter.
Definition at line 89 of file DTBtiTrig.h.
References _data, and DTBtiTrigData::setX().
|
inline |
Return trigger step.
Definition at line 137 of file DTBtiTrig.h.
References _data, and DTBtiTrigData::step().
|
inline |
|
inline |
Return trigger X parameter.
Definition at line 152 of file DTBtiTrig.h.
References _data, and DTBtiTrigData::X().
Referenced by svgfig.Curve.Sample::__repr__().
|
private |
Definition at line 172 of file DTBtiTrig.h.
Referenced by python.XML2Python.DataNode::__nonzero__(), python.XML2Python.DataNode::__repr__(), python.XML2Python.DataNode::__str__(), cfg-viewer.unscheduled::_proceed(), cfg-viewer.unscheduled::_saveData(), btiNumber(), btiSL(), ChamberId(), clear(), code(), data(), DTBtiTrig(), eq(), K(), print(), setCode(), setEq(), setK(), setStep(), setX(), step(), and X().
|
private |
Definition at line 175 of file DTBtiTrig.h.
Referenced by addDigi(), clear(), digiList(), and DTBtiTrig().
|
private |
Definition at line 169 of file DTBtiTrig.h.
Referenced by setParent(), and tParent().