#include <DTChambThSegm.h>
Public Member Functions | |
DTChamberId | ChamberId () const |
Identifier of the associated chamber. | |
void | clear () |
Clear. | |
int | code (const int i) const |
Return the code for a given set of 7 BTI. | |
DTChambThSegm (DTChamberId, int, int *, int *) | |
Constructor. | |
DTChambThSegm (const DTChambThSegm &seg) | |
Constructor. | |
DTChambThSegm & | operator= (const DTChambThSegm &seg) |
Assignment operator. | |
int | position (const int i) const |
Return the position for a given set of 7 BTI. | |
void | print () const |
Print. | |
int | quality (const int i) const |
Return the quality for a given set of 7 BTI. | |
int | step () const |
Return step number. | |
~DTChambThSegm () | |
Destructor. | |
Private Attributes | |
DTChamberId | m_chamberid |
parent chamber | |
myint8 | m_outPos [7] |
output code | |
myint8 | m_outQual [7] |
int | m_step |
step number |
Muon Chamber Trigger Theta candidate
Definition at line 42 of file DTChambThSegm.h.
DTChambThSegm::DTChambThSegm | ( | DTChamberId | chamberid, |
int | step, | ||
int * | pos, | ||
int * | qual | ||
) |
DTChambThSegm::DTChambThSegm | ( | const DTChambThSegm & | seg | ) |
DTChambThSegm::~DTChambThSegm | ( | ) |
DTChamberId DTChambThSegm::ChamberId | ( | ) | const [inline, virtual] |
Identifier of the associated chamber.
Implements DTTrigData.
Definition at line 65 of file DTChambThSegm.h.
References m_chamberid.
Referenced by DTSectCollThSegm::ChamberId(), and DTSectCollThCand::CoarseSync().
{ return m_chamberid; }
void DTChambThSegm::clear | ( | ) |
Clear.
int DTChambThSegm::code | ( | const int | i | ) | const |
Return the code for a given set of 7 BTI.
Definition at line 77 of file DTChambThSegm.cc.
References gather_cfg::cout, i, m_outPos, and m_outQual.
Referenced by DTSectCollThSegm::code().
DTChambThSegm & DTChambThSegm::operator= | ( | const DTChambThSegm & | seg | ) |
Assignment operator.
Definition at line 64 of file DTChambThSegm.cc.
References i, m_chamberid, m_outPos, m_outQual, and m_step.
int DTChambThSegm::position | ( | const int | i | ) | const |
Return the position for a given set of 7 BTI.
Definition at line 87 of file DTChambThSegm.cc.
References gather_cfg::cout, i, and m_outPos.
Referenced by DTSectColl::addTSTheta(), and DTSectCollThSegm::position().
void DTChambThSegm::print | ( | void | ) | const [virtual] |
Print.
Implements DTTrigData.
Definition at line 107 of file DTChambThSegm.cc.
References gather_cfg::cout, i, m_outPos, m_outQual, DTTrigData::sector(), DTTrigData::station(), step(), and DTTrigData::wheel().
Referenced by DTSectCollThCand::print().
{ std::cout << "TP at step " << step() << ", in wheel " << wheel(); std::cout << ", station " << station() << ", sector " << sector(); std::cout << " : " << std::endl; std::cout << " output codes : "; int i=0; for(i=0;i<7;i++){ std::cout << (int)(m_outPos[i]+m_outQual[i]) << " "; } std::cout << "\n"; }
int DTChambThSegm::quality | ( | const int | i | ) | const |
Return the quality for a given set of 7 BTI.
Definition at line 97 of file DTChambThSegm.cc.
References gather_cfg::cout, i, and m_outQual.
Referenced by DTSectCollThSegm::quality().
int DTChambThSegm::step | ( | ) | const [inline] |
Return step number.
Definition at line 62 of file DTChambThSegm.h.
References m_step.
Referenced by DTSectCollThCand::print(), and print().
{ return m_step; }
DTChamberId DTChambThSegm::m_chamberid [private] |
parent chamber
Definition at line 82 of file DTChambThSegm.h.
Referenced by ChamberId(), and operator=().
myint8 DTChambThSegm::m_outPos[7] [private] |
output code
Definition at line 88 of file DTChambThSegm.h.
Referenced by code(), DTChambThSegm(), operator=(), position(), and print().
myint8 DTChambThSegm::m_outQual[7] [private] |
Definition at line 89 of file DTChambThSegm.h.
Referenced by code(), DTChambThSegm(), operator=(), print(), and quality().
int DTChambThSegm::m_step [private] |