#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 40 of file DTBtiTrig.h.
DTBtiTrig::DTBtiTrig | ( | ) |
DTBtiTrig::DTBtiTrig | ( | DTBtiChip * | tparent, |
int | step | ||
) |
Constructor.
Definition at line 41 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 51 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 64 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 |
|
inline |
Return parent BTI number.
Definition at line 102 of file DTBtiTrig.h.
References _data, and DTBtiTrigData::btiNumber().
|
inline |
Return parent BTI superlayer.
Definition at line 105 of file DTBtiTrig.h.
References _data, and DTBtiTrigData::btiSL().
|
inlineoverridevirtual |
Return chamber identifier.
Implements DTTrigData.
Definition at line 90 of file DTBtiTrig.h.
References _data, and DTBtiTrigData::ChamberId().
|
inline |
Clear.
Definition at line 82 of file DTBtiTrig.h.
References _data, _digi, and DTBtiTrigData::clear().
Referenced by DTBtiTrig().
|
inline |
Return trigger code.
Definition at line 111 of file DTBtiTrig.h.
References _data, and DTBtiTrigData::code().
Referenced by DTBtiChip::doLTS().
|
inline |
|
inline |
|
inline |
Return triggering equation.
Definition at line 120 of file DTBtiTrig.h.
References _data, and DTBtiTrigData::eq().
|
inline |
Return trigger K parameter.
Definition at line 114 of file DTBtiTrig.h.
References _data, and DTBtiTrigData::K().
|
inlineoverridevirtual |
Print.
Implements DTTrigData.
Definition at line 93 of file DTBtiTrig.h.
References _data, and DTBtiTrigData::print().
|
inline |
Set trigger code.
Definition at line 70 of file DTBtiTrig.h.
References _data, and DTBtiTrigData::setCode().
|
inline |
Set triggering equation.
Definition at line 79 of file DTBtiTrig.h.
References _data, and DTBtiTrigData::setEq().
|
inline |
Set trigger K parameter.
Definition at line 73 of file DTBtiTrig.h.
References _data, and DTBtiTrigData::setK().
|
inline |
Set the parent DTBtiChip.
Definition at line 61 of file DTBtiTrig.h.
References _tparent, and SpecificationBuilder_cfi::parent().
|
inline |
Set trigger step.
Definition at line 67 of file DTBtiTrig.h.
References _data, and DTBtiTrigData::setStep().
|
inline |
Set trigger X parameter.
Definition at line 76 of file DTBtiTrig.h.
References _data, and DTBtiTrigData::setX().
|
inline |
Return trigger step.
Definition at line 108 of file DTBtiTrig.h.
References _data, and DTBtiTrigData::step().
|
inline |
|
inline |
Return trigger X parameter.
Definition at line 117 of file DTBtiTrig.h.
References _data, and DTBtiTrigData::X().
Referenced by svgfig.Curve.Sample::__repr__().
|
private |
Definition at line 130 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 133 of file DTBtiTrig.h.
Referenced by addDigi(), clear(), digiList(), and DTBtiTrig().
|
private |
Definition at line 127 of file DTBtiTrig.h.
Referenced by setParent(), and tParent().