#include <DTTracoId.h>
Public Member Functions | |
DTChamberId | ChamberId () const |
Returns the chamber id. | |
DTTracoId () | |
Constructor. | |
DTTracoId (const DTTracoId &tracoId) | |
Constructor. | |
DTTracoId (const DTChamberId &mu_stat_id, const int traco_id) | |
Constructor. | |
DTTracoId (const int wheel_id, const int station_id, const int sector_id, const int traco_id) | |
Constructor. | |
bool | operator< (const DTTracoId &id) const |
bool | operator== (const DTTracoId &id) const |
int | sector () const |
Returns sector number. | |
int | station () const |
Returns station number. | |
int | traco () const |
Returns the traco. | |
int | wheel () const |
Returns wheel number. | |
virtual | ~DTTracoId () |
Destructor. | |
Private Attributes | |
DTChamberId | _statId |
int | _traco |
TRACO Identifier
Definition at line 35 of file DTTracoId.h.
DTTracoId::DTTracoId | ( | ) | [inline] |
DTTracoId::DTTracoId | ( | const DTChamberId & | mu_stat_id, |
const int | traco_id | ||
) | [inline] |
DTTracoId::DTTracoId | ( | const int | wheel_id, |
const int | station_id, | ||
const int | sector_id, | ||
const int | traco_id | ||
) | [inline] |
Constructor.
Definition at line 48 of file DTTracoId.h.
DTTracoId::DTTracoId | ( | const DTTracoId & | tracoId | ) | [inline] |
virtual DTTracoId::~DTTracoId | ( | ) | [inline, virtual] |
DTChamberId DTTracoId::ChamberId | ( | ) | const [inline] |
Returns the chamber id.
Definition at line 72 of file DTTracoId.h.
References _statId.
Referenced by DTTracoTrigData::ChamberId(), DTConfigManager::getDTConfigTraco(), and DTConfigManager::setDTConfigTraco().
{ return _statId; }
bool DTTracoId::operator< | ( | const DTTracoId & | id | ) | const [inline] |
Definition at line 82 of file DTTracoId.h.
References sector(), station(), traco(), and wheel().
{ if ( wheel() < id.wheel() ) return true; if ( wheel() > id.wheel() ) return false; if ( station() < id.station() ) return true; if ( station() > id.station() ) return false; if ( sector() < id.sector() ) return true; if ( sector() > id.sector() ) return false; if ( traco() < id.traco() ) return true; if ( traco() > id.traco() ) return false; return false; }
bool DTTracoId::operator== | ( | const DTTracoId & | id | ) | const [inline] |
int DTTracoId::sector | ( | ) | const [inline] |
Returns sector number.
Definition at line 68 of file DTTracoId.h.
References _statId, and DTChamberId::sector().
Referenced by DTTracoCard::config_traco(), DTConfigManager::getDTConfigTraco(), operator<(), operator==(), DTTracoTrigData::print(), and DTTracoCard::storeTrigger().
int DTTracoId::station | ( | ) | const [inline] |
Returns station number.
Definition at line 66 of file DTTracoId.h.
References _statId, and DTChamberId::station().
Referenced by DTTracoCard::config_traco(), DTConfigManager::getDTConfigTraco(), operator<(), operator==(), DTTracoTrigData::print(), and DTTracoCard::storeTrigger().
int DTTracoId::traco | ( | ) | const [inline] |
Returns the traco.
Definition at line 70 of file DTTracoId.h.
References _traco.
Referenced by DTTracoCard::activeGetTRACO(), DTTracoChip::add_btiT(), DTTracoCard::config_traco(), DTConfigManager::getDTConfigTraco(), DTTracoCard::getTRACO(), DTTracoChip::number(), operator<(), operator==(), DTTracoTrigData::print(), DTTracoChip::run(), DTTracoChip::setFlag(), DTTracoCard::storeTrigger(), and DTTracoTrigData::tracoNumber().
{ return _traco; }
int DTTracoId::wheel | ( | ) | const [inline] |
Returns wheel number.
Definition at line 64 of file DTTracoId.h.
References _statId, and DTChamberId::wheel().
Referenced by DTTracoCard::config_traco(), DTConfigManager::getDTConfigTraco(), operator<(), operator==(), DTTracoTrigData::print(), and DTTracoCard::storeTrigger().
DTChamberId DTTracoId::_statId [private] |
Definition at line 101 of file DTTracoId.h.
Referenced by ChamberId(), sector(), station(), and wheel().
int DTTracoId::_traco [private] |
Definition at line 102 of file DTTracoId.h.
Referenced by operator==(), and traco().