#include <DTTracoTrigData.h>
Public Member Functions | |
DTChamberId | ChamberId () const override |
Return chamber identifier. More... | |
void | clear () |
Clear. More... | |
int | code () const |
Return trigger code. More... | |
int | DeltaPsiR () const |
Return DeltaPsiR. More... | |
DTTracoTrigData () | |
Constructor. More... | |
DTTracoTrigData (DTTracoId, int) | |
Constructor. More... | |
int | eqIn () const |
Return bti trigger equation of inner segment. More... | |
int | eqOut () const |
Return bti trigger equation of outer segment. More... | |
int | isFirst () const |
Return non 0 if the track is a first track. More... | |
int | K () const |
Return trigger K parameter. More... | |
DTTracoId | parentId () const |
Return parent TRACO identifier. 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 | pvIO () const |
Return the preview i/o 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 layer. More... | |
void | setCodeOut (int code) |
Set trigger code outer layer. More... | |
void | setEqIn (int eq) |
Set bti trigger equation of segment, inner layer. More... | |
void | setEqOut (int eq) |
Set bti trigger equation of segment, outer layer. More... | |
void | setK (int k) |
Set trigger K parameter. More... | |
void | setParent (DTTracoId tracoid) |
Set the parent TRACO Identifier. More... | |
void | setPosIn (int pos) |
Set position of segment, inner layer. More... | |
void | setPosOut (int pos) |
Set position of segment, outer layer. More... | |
void | setPV (int first, int code, int K, int ioflag) |
Set trigger preview parameters. More... | |
void | setPVCorr (int ic) |
Set trigger preview correlation bit. More... | |
void | setStep (int step) |
Set trigger step. More... | |
void | setX (int x) |
Set trigger X parameter. More... | |
int | step () const |
Return step. More... | |
int | tracoNumber () const |
Return parent TRACO number. More... | |
int | X () const |
Return trigger X parameter. More... | |
~DTTracoTrigData () 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 | |
myint8 | _codeIn |
myint8 | _codeOut |
long int | _dPsiR |
myint8 | _eqIn |
myint8 | _eqOut |
int | _Kval |
myint8 | _posIn |
myint8 | _posOut |
long int | _psi |
long int | _psiR |
myint8 | _pvcode |
myint8 | _pvCorr |
myint8 | _pvfirst |
myint8 | _pvIOflag |
int | _pvKval |
myint8 | _step |
DTTracoId | _tracoid |
int | _Xval |
DTTracoChip Trigger Data
Definition at line 37 of file DTTracoTrigData.h.
|
inline |
DTTracoTrigData::DTTracoTrigData | ( | DTTracoId | tracoid, |
int | step | ||
) |
|
inlineoverride |
|
inlineoverridevirtual |
Return chamber identifier.
Implements DTTrigData.
Definition at line 150 of file DTTracoTrigData.h.
References _tracoid, and DTTracoId::ChamberId().
Referenced by DTTracoTrig::ChamberId().
|
inline |
Clear.
Definition at line 144 of file DTTracoTrigData.h.
References resetPV(), and resetVar().
Referenced by DTTracoTrig::clear(), and DTTracoTrigData().
|
inline |
Return trigger code.
Definition at line 165 of file DTTracoTrigData.h.
References _codeIn, and _codeOut.
Referenced by DTTSPhi::addTracoT(), DTTracoTrig::code(), DTChambPhSegm::oldCode(), print(), DTTSPhi::runTSPhi(), setCodeIn(), setCodeOut(), and setPV().
|
inline |
Return DeltaPsiR.
Definition at line 210 of file DTTracoTrigData.h.
References _dPsiR.
Referenced by DTChambPhSegm::DeltaPsiR(), DTTracoTrig::DeltaPsiR(), DTChambPhSegm::phiB(), and print().
|
inline |
Return bti trigger equation of inner segment.
Definition at line 177 of file DTTracoTrigData.h.
References _eqIn.
Referenced by DTTracoTrig::eqIn(), DTChambPhSegm::print(), and DTSectCollPhSegm::print().
|
inline |
Return bti trigger equation of outer segment.
Definition at line 180 of file DTTracoTrigData.h.
References _eqOut.
Referenced by DTTracoTrig::eqOut(), DTChambPhSegm::print(), and DTSectCollPhSegm::print().
|
inline |
Return non 0 if the track is a first track.
Definition at line 183 of file DTTracoTrigData.h.
References _pvfirst.
Referenced by DTTracoTrig::isFirst(), and print().
|
inline |
Return trigger K parameter.
Definition at line 198 of file DTTracoTrigData.h.
References _Kval.
Referenced by DTChambPhSegm::K(), DTTracoTrig::K(), print(), and setPV().
|
inline |
Return parent TRACO identifier.
Definition at line 156 of file DTTracoTrigData.h.
References _tracoid.
Referenced by DTTracoCard::storeTrigger().
|
inline |
Return the position of inner segment.
Definition at line 171 of file DTTracoTrigData.h.
References _posIn.
Referenced by DTTracoTrig::posIn().
|
inline |
Return correlator output code (position of segments)
Definition at line 168 of file DTTracoTrigData.h.
References _posIn, and _posOut.
Referenced by DTChambPhSegm::posMask(), and DTTracoTrig::posMask().
|
inline |
Return the position of outer segment.
Definition at line 174 of file DTTracoTrigData.h.
References _posOut.
Referenced by DTTracoTrig::posOut().
|
overridevirtual |
Implements DTTrigData.
Definition at line 62 of file DTTracoTrigData.cc.
References _tracoid, code(), gather_cfg::cout, TauDecayModes::dec, DeltaPsiR(), isFirst(), K(), psiR(), pvCode(), pvCorr(), pvK(), qdec(), DTTracoId::sector(), DTTracoId::station(), step(), DTTracoId::traco(), DTTracoId::wheel(), and X().
Referenced by DTTSPhi::addTracoT(), and DTTracoTrig::print().
|
inline |
Return trigger K parameter converted to angle.
Definition at line 204 of file DTTracoTrigData.h.
References _psi.
Referenced by DTChambPhSegm::psi(), DTTracoTrig::psi(), and setAngles().
|
inline |
Return trigger X parameter converted to angle.
Definition at line 207 of file DTTracoTrigData.h.
References _psiR.
Referenced by DTChambPhSegm::phi(), print(), DTChambPhSegm::psiR(), and DTTracoTrig::psiR().
|
inline |
Return the preview code.
Definition at line 186 of file DTTracoTrigData.h.
References _pvcode.
Referenced by DTTSPhi::addTracoT(), DTTSCand::is0H(), DTTSCand::is0L(), DTTSCand::isH0(), DTTSCand::isHHorHL(), DTTSCand::isHtrig(), DTTSCand::isInner(), DTTSCand::isL0(), DTTSCand::isLH(), DTTSCand::isLL(), print(), DTChambPhSegm::pvCode(), and DTTracoTrig::pvCode().
|
inline |
Return the preview correaltion bit.
Definition at line 192 of file DTTracoTrigData.h.
References _pvCorr.
Referenced by DTTSCand::is0H(), DTTSCand::is0L(), DTTSCand::isCorr(), DTTSCand::isH0(), DTTSCand::isHHorHL(), DTTSCand::isL0(), DTTSCand::isLH(), DTTSCand::isLL(), print(), and DTTracoTrig::pvCorr().
|
inline |
Return the preview i/o bit.
Definition at line 195 of file DTTracoTrigData.h.
References _pvIOflag.
Referenced by DTTracoTrig::operator==().
|
inline |
Return the preview K.
Definition at line 189 of file DTTracoTrigData.h.
References _pvKval.
Referenced by DTTSCand::print(), print(), DTChambPhSegm::pvK(), DTTracoTrig::pvK(), DTTSCand::setBitsTsm(), and DTTSCand::setBitsTss().
int DTTracoTrigData::qdec | ( | ) | const |
Return the trigger code in new format.
Definition at line 41 of file DTTracoTrigData.cc.
References _codeIn, and _codeOut.
Referenced by DTTracoChip::calculateAngles(), DTChambPhSegm::code(), print(), DTTracoTrig::qdec(), and DTTSCand::setBitsBkmod().
|
inline |
Reset preview variables.
Definition at line 135 of file DTTracoTrigData.h.
References _pvcode, _pvCorr, _pvfirst, _pvIOflag, and _pvKval.
Referenced by clear(), and DTTracoTrig::resetPV().
|
inline |
|
inline |
Set trigger angles.
Definition at line 100 of file DTTracoTrigData.h.
References _dPsiR, _psi, _psiR, and psi().
Referenced by DTTracoTrig::setAngles().
|
inline |
Set trigger code inner layer.
Definition at line 77 of file DTTracoTrigData.h.
References _codeIn, and code().
Referenced by DTTracoTrig::setCodeIn().
|
inline |
Set trigger code outer layer.
Definition at line 79 of file DTTracoTrigData.h.
References _codeOut, and code().
Referenced by DTTracoTrig::setCodeOut().
|
inline |
Set bti trigger equation of segment, inner layer.
Definition at line 88 of file DTTracoTrigData.h.
References _eqIn.
Referenced by DTTracoTrig::setEqIn().
|
inline |
Set bti trigger equation of segment, outer layer.
Definition at line 91 of file DTTracoTrigData.h.
References _eqOut.
Referenced by DTTracoTrig::setEqOut().
|
inline |
Set trigger K parameter.
Definition at line 94 of file DTTracoTrigData.h.
References _Kval, and dqmdumpme::k.
Referenced by DTTracoTrig::setK().
|
inline |
Set the parent TRACO Identifier.
Definition at line 53 of file DTTracoTrigData.h.
References _tracoid.
Referenced by DTTracoTrig::DTTracoTrig().
|
inline |
Set position of segment, inner layer.
Definition at line 82 of file DTTracoTrigData.h.
References _posIn.
Referenced by DTTracoTrig::setPosIn().
|
inline |
Set position of segment, outer layer.
Definition at line 85 of file DTTracoTrigData.h.
References _posOut.
Referenced by DTTracoTrig::setPosOut().
|
inline |
Set trigger preview parameters.
Definition at line 59 of file DTTracoTrigData.h.
References _pvcode, _pvfirst, _pvIOflag, _pvKval, code(), dqmdumpme::first, and K().
Referenced by DTTracoTrig::setPV().
|
inline |
Set trigger preview correlation bit.
Definition at line 74 of file DTTracoTrigData.h.
References _pvCorr.
Referenced by DTTracoTrig::setPVCorr().
|
inline |
Set trigger step.
Definition at line 56 of file DTTracoTrigData.h.
Referenced by DTTracoTrig::DTTracoTrig().
|
inline |
Set trigger X parameter.
Definition at line 97 of file DTTracoTrigData.h.
Referenced by DTTracoTrig::setX().
|
inline |
Return step.
Definition at line 162 of file DTTracoTrigData.h.
References _step.
Referenced by print(), setStep(), DTTracoTrig::step(), and DTTracoCard::storeTrigger().
|
inline |
Return parent TRACO number.
Definition at line 159 of file DTTracoTrigData.h.
References _tracoid, and DTTracoId::traco().
Referenced by DTTSPhi::addTracoT(), DTChambPhSegm::print(), DTSectCollPhSegm::print(), DTChambPhSegm::tracoNumber(), DTTSCand::tracoNumber(), and DTTracoTrig::tracoNumber().
|
inline |
Return trigger X parameter.
Definition at line 201 of file DTTracoTrigData.h.
References _Xval.
Referenced by svgfig.Curve.Sample::__repr__(), print(), DTChambPhSegm::X(), and DTTracoTrig::X().
|
private |
Definition at line 232 of file DTTracoTrigData.h.
Referenced by code(), qdec(), resetVar(), and setCodeIn().
|
private |
Definition at line 234 of file DTTracoTrigData.h.
Referenced by code(), qdec(), resetVar(), and setCodeOut().
|
private |
Definition at line 258 of file DTTracoTrigData.h.
Referenced by DeltaPsiR(), resetVar(), and setAngles().
|
private |
Definition at line 227 of file DTTracoTrigData.h.
Referenced by eqIn(), resetVar(), and setEqIn().
|
private |
Definition at line 229 of file DTTracoTrigData.h.
Referenced by eqOut(), resetVar(), and setEqOut().
|
private |
Definition at line 249 of file DTTracoTrigData.h.
Referenced by K(), resetVar(), and setK().
|
private |
Definition at line 223 of file DTTracoTrigData.h.
Referenced by posIn(), posMask(), resetVar(), and setPosIn().
|
private |
Definition at line 225 of file DTTracoTrigData.h.
Referenced by posMask(), posOut(), resetVar(), and setPosOut().
|
private |
Definition at line 254 of file DTTracoTrigData.h.
Referenced by psi(), resetVar(), and setAngles().
|
private |
Definition at line 256 of file DTTracoTrigData.h.
Referenced by psiR(), resetVar(), and setAngles().
|
private |
Definition at line 240 of file DTTracoTrigData.h.
|
private |
Definition at line 244 of file DTTracoTrigData.h.
Referenced by pvCorr(), resetPV(), and setPVCorr().
|
private |
Definition at line 237 of file DTTracoTrigData.h.
|
private |
Definition at line 246 of file DTTracoTrigData.h.
|
private |
Definition at line 242 of file DTTracoTrigData.h.
|
private |
Definition at line 220 of file DTTracoTrigData.h.
|
private |
Definition at line 217 of file DTTracoTrigData.h.
Referenced by ChamberId(), parentId(), print(), setParent(), and tracoNumber().
|
private |
Definition at line 251 of file DTTracoTrigData.h.
Referenced by resetVar(), setX(), and X().