#include <DTTracoTrig.h>
Public Member Functions | |
void | addDTBtiTrig (const DTBtiTrigData *btitrig) |
Add a BTI trigger to the list. More... | |
std::vector< const DTBtiTrigData * > | btiTrigList () const |
Return the BTI Triggers list. More... | |
DTChamberId | ChamberId () const override |
Return chamber identifier. More... | |
void | clear () |
Clear. More... | |
int | code () const |
Return trigger code. More... | |
DTTracoTrigData | data () const |
Return the data part. More... | |
int | DeltaPsiR () const |
Return DeltaPsiR. More... | |
DTTracoTrig () | |
Constructors. More... | |
DTTracoTrig (DTTracoChip *, int) | |
Constructors. More... | |
DTTracoTrig (DTTracoChip *, DTTracoTrigData) | |
Constructors. More... | |
int | eqIn () |
Return bti trigger equation of segments, inner. More... | |
int | eqOut () |
Return bti trigger equation of segments, outer. More... | |
int | isFirst () const |
Return non 0 if the track is a first track. More... | |
int | K () const |
Return trigger K parameter. More... | |
bool | operator== (const DTTracoTrig &) const |
comparison operator More... | |
int | posIn () const |
Return the position of inner segment. More... | |
int | posMask () const |
Return correlator output code (position of segments) More... | |
int | posOut () const |
Return the position of outer segment. More... | |
void | print () const override |
Print. More... | |
int | psi () const |
Return trigger K parameter converted to angle. More... | |
int | psiR () const |
Return trigger X parameter converted to angle. More... | |
int | pvCode () const |
Return the preview code. More... | |
int | pvCorr () const |
Return the preview correaltion bit. More... | |
int | pvK () const |
Return the preview K. More... | |
int | qdec () const |
Return the trigger code in new format. More... | |
void | resetPV () |
Reset preview variables. More... | |
void | resetVar () |
Reset all variables but preview. More... | |
void | setAngles (int psi, int psir, int dpsir) |
Set trigger angles. More... | |
void | setCodeIn (int code) |
Set trigger code, inner segment. More... | |
void | setCodeOut (int code) |
Set trigger code, outer segment. More... | |
void | setEqIn (int eq) |
Set bti trigger equation of segments, inner. More... | |
void | setEqOut (int eq) |
Set bti trigger equation of segments, outer. More... | |
void | setK (int k) |
Set trigger K parameter. More... | |
void | setParent (DTTracoChip *parent) |
Set the parent TRACO. More... | |
void | setPosIn (int pos) |
Set position of segments, inner. More... | |
void | setPosOut (int pos) |
Set position of segments, outer. More... | |
void | setPV (int first, int code, int K, int io) |
Set trigger preview parameters. More... | |
void | setPVCorr (int ic) |
Set trigger preview correlation bit. More... | |
void | setX (int x) |
Set trigger X parameter. More... | |
int | step () const |
Return step. More... | |
DTTracoChip * | tParent () const |
Return parent TRACO pointer. More... | |
int | tracoNumber () const |
Return parent TRACO number. More... | |
int | X () const |
Return trigger X parameter. More... | |
~DTTracoTrig () 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 | |
std::vector< const DTBtiTrigData * > | _btitrig |
DTTracoTrigData | _data |
DTTracoChip * | _tparent |
TRACO Trigger Data. Has pointers to parent TRACO and BTI triggers which allow algorithm debugging
Definition at line 40 of file DTTracoTrig.h.
DTTracoTrig::DTTracoTrig | ( | ) |
DTTracoTrig::DTTracoTrig | ( | DTTracoChip * | tparent, |
int | step | ||
) |
Constructors.
Definition at line 45 of file DTTracoTrig.cc.
References _btitrig, _data, clear(), DTTracoChip::id(), DTTracoTrigData::setParent(), and DTTracoTrigData::setStep().
DTTracoTrig::DTTracoTrig | ( | DTTracoChip * | parent, |
DTTracoTrigData | data | ||
) |
|
override |
|
inline |
Add a BTI trigger to the list.
Definition at line 59 of file DTTracoTrig.h.
References _btitrig.
Referenced by DTTracoChip::storeCorr(), and DTTracoChip::storeUncorr().
|
inline |
Return the BTI Triggers list.
Definition at line 179 of file DTTracoTrig.h.
References _btitrig, and operator==().
|
inlineoverridevirtual |
Return chamber identifier.
Implements DTTrigData.
Definition at line 113 of file DTTracoTrig.h.
References _data, and DTTracoTrigData::ChamberId().
Referenced by DTTracoChip::calculateAngles().
|
inline |
Clear.
Definition at line 107 of file DTTracoTrig.h.
References _btitrig, _data, and DTTracoTrigData::clear().
Referenced by DTTracoTrig().
|
inline |
Return trigger code.
Definition at line 131 of file DTTracoTrig.h.
References _data, and DTTracoTrigData::code().
Referenced by DTTracoChip::storeCorr(), and DTTracoChip::storeUncorr().
|
inline |
Return the data part.
Definition at line 122 of file DTTracoTrig.h.
References _data.
Referenced by DTTracoChip::calculateAngles(), and operator==().
|
inline |
Return DeltaPsiR.
Definition at line 173 of file DTTracoTrig.h.
References _data, and DTTracoTrigData::DeltaPsiR().
Referenced by DTTracoChip::insideAngWindow(), and operator==().
|
inline |
Return bti trigger equation of segments, inner.
Definition at line 143 of file DTTracoTrig.h.
References _data, and DTTracoTrigData::eqIn().
|
inline |
Return bti trigger equation of segments, outer.
Definition at line 146 of file DTTracoTrig.h.
References _data, and DTTracoTrigData::eqOut().
|
inline |
Return non 0 if the track is a first track.
Definition at line 149 of file DTTracoTrig.h.
References _data, and DTTracoTrigData::isFirst().
Referenced by operator==().
|
inline |
Return trigger K parameter.
Definition at line 161 of file DTTracoTrig.h.
References _data, and DTTracoTrigData::K().
Referenced by DTTracoChip::calculateAngles(), DTTracoChip::storeCorr(), and DTTracoChip::storeUncorr().
bool DTTracoTrig::operator== | ( | const DTTracoTrig & | tt | ) | const |
comparison operator
Definition at line 68 of file DTTracoTrig.cc.
References gather_cfg::cout, data(), DeltaPsiR(), isFirst(), psiR(), pvCode(), pvCorr(), DTTracoTrigData::pvIO(), pvK(), and qdec().
Referenced by btiTrigList().
|
inline |
Return the position of inner segment.
Definition at line 137 of file DTTracoTrig.h.
References _data, and DTTracoTrigData::posIn().
|
inline |
Return correlator output code (position of segments)
Definition at line 134 of file DTTracoTrig.h.
References _data, and DTTracoTrigData::posMask().
|
inline |
Return the position of outer segment.
Definition at line 140 of file DTTracoTrig.h.
References _data, and DTTracoTrigData::posOut().
|
inlineoverridevirtual |
Print.
Implements DTTrigData.
Definition at line 116 of file DTTracoTrig.h.
References _data, and DTTracoTrigData::print().
Referenced by DTTracoChip::addTrig(), DTTracoChip::calculateAngles(), and DTTracoChip::run().
|
inline |
Return trigger K parameter converted to angle.
Definition at line 167 of file DTTracoTrig.h.
References _data, and DTTracoTrigData::psi().
|
inline |
Return trigger X parameter converted to angle.
Definition at line 170 of file DTTracoTrig.h.
References _data, and DTTracoTrigData::psiR().
Referenced by operator==().
|
inline |
Return the preview code.
Definition at line 152 of file DTTracoTrig.h.
References _data, and DTTracoTrigData::pvCode().
Referenced by operator==().
|
inline |
Return the preview correaltion bit.
Definition at line 158 of file DTTracoTrig.h.
References _data, and DTTracoTrigData::pvCorr().
Referenced by operator==().
|
inline |
Return the preview K.
Definition at line 155 of file DTTracoTrig.h.
References _data, and DTTracoTrigData::pvK().
Referenced by operator==().
|
inline |
Return the trigger code in new format.
Definition at line 176 of file DTTracoTrig.h.
References _data, and DTTracoTrigData::qdec().
Referenced by operator==(), and DTTracoChip::storeCorr().
|
inline |
Reset preview variables.
Definition at line 104 of file DTTracoTrig.h.
References _data, and DTTracoTrigData::resetPV().
|
inline |
Reset all variables but preview.
Definition at line 101 of file DTTracoTrig.h.
References _data, and DTTracoTrigData::resetVar().
Referenced by DTTracoChip::storeCorr(), and DTTracoChip::storeUncorr().
|
inline |
Set trigger angles.
Definition at line 96 of file DTTracoTrig.h.
References _data, and DTTracoTrigData::setAngles().
Referenced by DTTracoChip::calculateAngles().
|
inline |
Set trigger code, inner segment.
Definition at line 72 of file DTTracoTrig.h.
References _data, and DTTracoTrigData::setCodeIn().
Referenced by DTTracoChip::storeCorr(), and DTTracoChip::storeUncorr().
|
inline |
Set trigger code, outer segment.
Definition at line 75 of file DTTracoTrig.h.
References _data, and DTTracoTrigData::setCodeOut().
Referenced by DTTracoChip::storeCorr(), and DTTracoChip::storeUncorr().
|
inline |
Set bti trigger equation of segments, inner.
Definition at line 84 of file DTTracoTrig.h.
References _data, and DTTracoTrigData::setEqIn().
Referenced by DTTracoChip::storeCorr(), and DTTracoChip::storeUncorr().
|
inline |
Set bti trigger equation of segments, outer.
Definition at line 87 of file DTTracoTrig.h.
References _data, and DTTracoTrigData::setEqOut().
Referenced by DTTracoChip::storeCorr(), and DTTracoChip::storeUncorr().
|
inline |
Set trigger K parameter.
Definition at line 90 of file DTTracoTrig.h.
References _data, and DTTracoTrigData::setK().
Referenced by DTTracoChip::storeCorr(), and DTTracoChip::storeUncorr().
|
inline |
Set the parent TRACO.
Definition at line 56 of file DTTracoTrig.h.
References _tparent, and class-composition::parent.
Referenced by lumiQTWidget.LumiCanvas::__init__().
|
inline |
Set position of segments, inner.
Definition at line 78 of file DTTracoTrig.h.
References _data, and DTTracoTrigData::setPosIn().
Referenced by DTTracoChip::storeCorr(), and DTTracoChip::storeUncorr().
|
inline |
Set position of segments, outer.
Definition at line 81 of file DTTracoTrig.h.
References _data, and DTTracoTrigData::setPosOut().
Referenced by DTTracoChip::storeCorr(), and DTTracoChip::storeUncorr().
|
inline |
Set trigger preview parameters.
Definition at line 64 of file DTTracoTrig.h.
References _data, and DTTracoTrigData::setPV().
Referenced by DTTracoChip::setPV().
|
inline |
Set trigger preview correlation bit.
Definition at line 69 of file DTTracoTrig.h.
References _data, and DTTracoTrigData::setPVCorr().
Referenced by DTTracoChip::storeCorr(), and DTTracoChip::storeUncorr().
|
inline |
Set trigger X parameter.
Definition at line 93 of file DTTracoTrig.h.
References _data, and DTTracoTrigData::setX().
Referenced by DTTracoChip::storeCorr(), and DTTracoChip::storeUncorr().
|
inline |
Return step.
Definition at line 128 of file DTTracoTrig.h.
References _data, and DTTracoTrigData::step().
Referenced by DTTracoChip::storeCorr(), and DTTracoChip::storeUncorr().
|
inline |
|
inline |
Return parent TRACO number.
Definition at line 125 of file DTTracoTrig.h.
References _data, and DTTracoTrigData::tracoNumber().
|
inline |
Return trigger X parameter.
Definition at line 164 of file DTTracoTrig.h.
References _data, and DTTracoTrigData::X().
Referenced by svgfig.Curve.Sample::__repr__(), DTTracoChip::calculateAngles(), DTTracoChip::storeCorr(), and DTTracoChip::storeUncorr().
|
private |
Definition at line 192 of file DTTracoTrig.h.
Referenced by addDTBtiTrig(), btiTrigList(), clear(), and DTTracoTrig().
|
private |
Definition at line 189 of file DTTracoTrig.h.
Referenced by python.XML2Python.DataNode::__nonzero__(), python.XML2Python.DataNode::__repr__(), python.XML2Python.DataNode::__str__(), cfg-viewer.unscheduled::_proceed(), cfg-viewer.unscheduled::_saveData(), ChamberId(), clear(), code(), data(), DeltaPsiR(), DTTracoTrig(), eqIn(), eqOut(), isFirst(), K(), posIn(), posMask(), posOut(), print(), psi(), psiR(), pvCode(), pvCorr(), pvK(), qdec(), resetPV(), resetVar(), setAngles(), setCodeIn(), setCodeOut(), setEqIn(), setEqOut(), setK(), setPosIn(), setPosOut(), setPV(), setPVCorr(), setX(), step(), tracoNumber(), and X().
|
private |
Definition at line 186 of file DTTracoTrig.h.
Referenced by setParent(), and tParent().