#include <DTChambPhSegm.h>
Public Member Functions | |
DTChamberId | ChamberId () const |
Return chamber identifier. More... | |
void | clear () |
Clear. More... | |
int | code () const |
Return trigger code (MTTF input format [0,7]) More... | |
int | DeltaPsiR () const |
Return bending angle (bit pattern) More... | |
DTChambPhSegm (DTChamberId, int) | |
Constructor. More... | |
DTChambPhSegm (DTChamberId, int, const DTTracoTrigData *, int) | |
Constructor. More... | |
DTChambPhSegm (const DTChambPhSegm &) | |
Constructor */. More... | |
int | isFirst () const |
Return if it is a first track. More... | |
float | K () const |
Return trigger K parameter. More... | |
int | oldCode () const |
Return trigger code (10*inner_code+outer_code; X_code=1,2,3,4,8) More... | |
DTChambPhSegm & | operator= (const DTChambPhSegm &) |
Assignment operator. More... | |
int | phi () const |
Return trigger X parameter converted to angle (bit pattern) More... | |
int | phiB () const |
Return bending angle (bit pattern) More... | |
int | posMask () const |
Return correlator output code (position of segments) More... | |
void | print () const |
Print. More... | |
int | psi () const |
Return trigger K parameter converted to angle (bit pattern) More... | |
int | psiR () const |
Return trigger X parameter converted to angle (bit pattern) More... | |
int | pvCode () const |
Return the preview code (10*inner_code or outer_code; X_code=1,2,3,4,8) More... | |
int | pvK () const |
Return the preview K. More... | |
void | setTracoTrig (const DTTracoTrigData *tracotrig, int isFirst) |
Associate a TRACO trigger. More... | |
int | step () const |
Return step number. More... | |
int | tracoNumber () const |
Return parent TRACO number. More... | |
const DTTracoTrigData * | tracoTrig () const |
Return associated TRACO trigger. More... | |
float | X () const |
Return trigger X parameter. More... | |
~DTChambPhSegm () | |
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 | |
DTChamberId | m_chamberid |
parent chamber More... | |
myint8 | m_isFirst |
first or second track More... | |
myint8 | m_step |
step number More... | |
const DTTracoTrigData * | m_tracotrig |
the corresponding traco trigger More... | |
Muon Chamber Trigger Phi candidate
Definition at line 41 of file DTChambPhSegm.h.
DTChambPhSegm::DTChambPhSegm | ( | DTChamberId | chamberid, |
int | step | ||
) |
DTChambPhSegm::DTChambPhSegm | ( | DTChamberId | chamberid, |
int | step, | ||
const DTTracoTrigData * | tracotrig, | ||
int | isfirst | ||
) |
Constructor.
Definition at line 40 of file DTChambPhSegm.cc.
DTChambPhSegm::DTChambPhSegm | ( | const DTChambPhSegm & | seg | ) |
Constructor */.
Definition at line 48 of file DTChambPhSegm.cc.
DTChambPhSegm::~DTChambPhSegm | ( | ) |
|
inlinevirtual |
Return chamber identifier.
Implements DTTrigData.
Definition at line 81 of file DTChambPhSegm.h.
References m_chamberid.
Referenced by DTSectCollPhSegm::ChamberId(), and DTSectCollPhCand::CoarseSync().
void DTChambPhSegm::clear | ( | void | ) |
Clear.
Definition at line 75 of file DTChambPhSegm.cc.
References m_isFirst, and m_tracotrig.
Referenced by DTChambPhSegm().
|
inline |
Return trigger code (MTTF input format [0,7])
Definition at line 93 of file DTChambPhSegm.h.
References m_tracotrig, and DTTracoTrigData::qdec().
Referenced by DTSectCollPhSegm::code(), and DTSectCollPhCand::setBitsSectColl().
|
inline |
Return bending angle (bit pattern)
Definition at line 114 of file DTChambPhSegm.h.
References DTTracoTrigData::DeltaPsiR(), and m_tracotrig.
Referenced by DTSectCollPhSegm::DeltaPsiR(), DTSectCollPhSegm::phiB(), print(), and DTSectCollPhCand::setBitsSectColl().
|
inline |
Return if it is a first track.
Definition at line 90 of file DTChambPhSegm.h.
References m_isFirst.
Referenced by setTracoTrig().
|
inline |
Return trigger K parameter.
Definition at line 99 of file DTChambPhSegm.h.
References DTTracoTrigData::K(), and m_tracotrig.
Referenced by DTSectCollPhSegm::K(), and print().
|
inline |
Return trigger code (10*inner_code+outer_code; X_code=1,2,3,4,8)
Definition at line 96 of file DTChambPhSegm.h.
References DTTracoTrigData::code(), and m_tracotrig.
Referenced by DTSectColl::addTSPhi(), DTSectCollPhSegm::oldCode(), and print().
DTChambPhSegm & DTChambPhSegm::operator= | ( | const DTChambPhSegm & | seg | ) |
Assignment operator.
Definition at line 64 of file DTChambPhSegm.cc.
References m_chamberid, m_isFirst, m_step, and m_tracotrig.
|
inline |
Return trigger X parameter converted to angle (bit pattern)
Definition at line 111 of file DTChambPhSegm.h.
References m_tracotrig, and DTTracoTrigData::psiR().
Referenced by Particle.Particle::__str__().
|
inline |
Return bending angle (bit pattern)
Definition at line 117 of file DTChambPhSegm.h.
References DTTracoTrigData::DeltaPsiR(), and m_tracotrig.
|
inline |
Return correlator output code (position of segments)
Definition at line 120 of file DTChambPhSegm.h.
References m_tracotrig, and DTTracoTrigData::posMask().
Referenced by DTSectCollPhSegm::posMask(), and print().
|
virtual |
Print.
Implements DTTrigData.
Definition at line 81 of file DTChambPhSegm.cc.
References gather_cfg::cout, DeltaPsiR(), DTTracoTrigData::eqIn(), DTTracoTrigData::eqOut(), K(), DTConfig::NTCTSS, oldCode(), posMask(), psi(), psiR(), DTTrigData::sector(), DTTrigData::station(), step(), tracoNumber(), DTTracoTrigData::tracoNumber(), tracoTrig(), DTTrigData::wheel(), and X().
|
inline |
Return trigger K parameter converted to angle (bit pattern)
Definition at line 105 of file DTChambPhSegm.h.
References m_tracotrig, and DTTracoTrigData::psi().
Referenced by print(), and DTSectCollPhSegm::psi().
|
inline |
Return trigger X parameter converted to angle (bit pattern)
Definition at line 108 of file DTChambPhSegm.h.
References m_tracotrig, and DTTracoTrigData::psiR().
Referenced by DTSectCollPhSegm::phi(), print(), and DTSectCollPhSegm::psiR().
|
inline |
Return the preview code (10*inner_code or outer_code; X_code=1,2,3,4,8)
Definition at line 123 of file DTChambPhSegm.h.
References m_tracotrig, and DTTracoTrigData::pvCode().
Referenced by DTSectCollPhCand::print(), and DTSectCollPhSegm::pvCode().
|
inline |
Return the preview K.
Definition at line 126 of file DTChambPhSegm.h.
References m_tracotrig, and DTTracoTrigData::pvK().
Referenced by DTSectCollPhSegm::pvK().
|
inline |
Associate a TRACO trigger.
Definition at line 65 of file DTChambPhSegm.h.
References isFirst(), m_isFirst, and m_tracotrig.
|
inline |
Return step number.
Definition at line 78 of file DTChambPhSegm.h.
References m_step.
Referenced by print(), and DTSectCollPhCand::print().
|
inline |
Return parent TRACO number.
Definition at line 87 of file DTChambPhSegm.h.
References m_tracotrig, and DTTracoTrigData::tracoNumber().
Referenced by print(), and DTSectCollPhSegm::tracoNumber().
|
inline |
Return associated TRACO trigger.
Definition at line 75 of file DTChambPhSegm.h.
References m_tracotrig.
Referenced by DTTSPhi::localDirection(), DTTSPhi::localPosition(), print(), and DTSectCollPhSegm::print().
|
inline |
Return trigger X parameter.
Definition at line 102 of file DTChambPhSegm.h.
References m_tracotrig, and DTTracoTrigData::X().
Referenced by svgfig.Curve.Sample::__repr__(), print(), and DTSectCollPhSegm::X().
|
private |
parent chamber
Definition at line 131 of file DTChambPhSegm.h.
Referenced by ChamberId(), and operator=().
|
private |
first or second track
Definition at line 137 of file DTChambPhSegm.h.
Referenced by clear(), isFirst(), operator=(), and setTracoTrig().
|
private |
|
private |
the corresponding traco trigger
Definition at line 140 of file DTChambPhSegm.h.
Referenced by clear(), code(), DeltaPsiR(), K(), oldCode(), operator=(), phi(), phiB(), posMask(), psi(), psiR(), pvCode(), pvK(), setTracoTrig(), tracoNumber(), tracoTrig(), and X().