#include <DTBtiId.h>
Public Member Functions | |
int | bti () const |
Returns the bti. | |
DTBtiId () | |
Constructor. | |
DTBtiId (const int wheel_id, const int station_id, const int sector_id, const int superlayer_id, const int bti_id) | |
Constructor. | |
DTBtiId (const DTSuperLayerId &mu_superlayer_id, const int bti_id) | |
Constructor. | |
DTBtiId (const DTBtiId &btiId) | |
Constructor. | |
DTBtiId (const DTChamberId &mu_stat_id, const int superlayer_id, const int bti_id) | |
Constructor. | |
bool | operator< (const DTBtiId &id) const |
bool | operator== (const DTBtiId &id) const |
int | sector () const |
Returns sector number. | |
DTSuperLayerId | SLId () const |
Returns the superlayer id. | |
int | station () const |
Returns station number. | |
int | superlayer () const |
Returns the superlayer. | |
int | wheel () const |
Returns wheel number. | |
virtual | ~DTBtiId () |
Destructor. | |
Private Attributes | |
int | _bti |
DTSuperLayerId | _suplId |
DTBtiId::DTBtiId | ( | const DTSuperLayerId & | mu_superlayer_id, |
const int | bti_id | ||
) | [inline] |
DTBtiId::DTBtiId | ( | const DTChamberId & | mu_stat_id, |
const int | superlayer_id, | ||
const int | bti_id | ||
) | [inline] |
DTBtiId::DTBtiId | ( | const int | wheel_id, |
const int | station_id, | ||
const int | sector_id, | ||
const int | superlayer_id, | ||
const int | bti_id | ||
) | [inline] |
DTBtiId::DTBtiId | ( | const DTBtiId & | btiId | ) | [inline] |
virtual DTBtiId::~DTBtiId | ( | ) | [inline, virtual] |
int DTBtiId::bti | ( | ) | const [inline] |
Returns the bti.
Definition at line 75 of file DTBtiId.h.
References _bti.
Referenced by DTBtiCard::activeGetBTI(), DTBtiChip::add_digi(), DTBtiTrigData::btiNumber(), DTBtiCard::config_bti(), DTBtiCard::getBTI(), DTConfigManager::getDTConfigBti(), DTBtiChip::nCellHit(), DTBtiChip::number(), operator<(), operator==(), DTBtiChip::run(), and DTBtiCard::storeTrigger().
{ return _bti; }
bool DTBtiId::operator< | ( | const DTBtiId & | id | ) | const [inline] |
Definition at line 88 of file DTBtiId.h.
References bti(), sector(), station(), superlayer(), 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 ( superlayer() < id.superlayer() ) return true; if ( superlayer() > id.superlayer() ) return false; if ( bti() < id.bti() ) return true; if ( bti() > id.bti() ) return false; return false; }
bool DTBtiId::operator== | ( | const DTBtiId & | id | ) | const [inline] |
Definition at line 79 of file DTBtiId.h.
References _bti, bti(), sector(), station(), superlayer(), and wheel().
{ if ( wheel()!=id.wheel()) return false; if ( sector()!=id.sector())return false; if ( station()!=id.station())return false; if ( superlayer()!=id.superlayer())return false; if ( _bti!=id.bti())return false; return true; }
int DTBtiId::sector | ( | ) | const [inline] |
Returns sector number.
Definition at line 71 of file DTBtiId.h.
References _suplId, and DTChamberId::sector().
Referenced by DTBtiTrigData::ChamberId(), DTBtiCard::config_bti(), DTConfigManager::getDTConfigBti(), operator<(), operator==(), and DTBtiCard::storeTrigger().
DTSuperLayerId DTBtiId::SLId | ( | ) | const [inline] |
Returns the superlayer id.
Definition at line 77 of file DTBtiId.h.
References _suplId.
Referenced by DTConfigManager::getDTConfigBti(), DTConfigManager::setDTConfigBti(), and DTBtiTrigData::SLId().
{ return _suplId; }
int DTBtiId::station | ( | ) | const [inline] |
Returns station number.
Definition at line 69 of file DTBtiId.h.
References _suplId, and DTChamberId::station().
Referenced by DTBtiTrigData::ChamberId(), DTBtiCard::config_bti(), DTConfigManager::getDTConfigBti(), operator<(), operator==(), and DTBtiCard::storeTrigger().
int DTBtiId::superlayer | ( | ) | const [inline] |
Returns the superlayer.
Definition at line 73 of file DTBtiId.h.
References _suplId, and DTSuperLayerId::superlayer().
Referenced by DTBtiCard::activeGetBTI(), DTBtiTrigData::btiSL(), DTBtiCard::config_bti(), DTBtiChip::DTBtiChip(), DTBtiCard::getBTI(), DTConfigManager::getDTConfigBti(), operator<(), operator==(), DTBtiChip::run(), DTBtiCard::storeTrigger(), and DTBtiChip::superlayer().
{ return _suplId.superlayer(); }
int DTBtiId::wheel | ( | ) | const [inline] |
Returns wheel number.
Definition at line 67 of file DTBtiId.h.
References _suplId, and DTChamberId::wheel().
Referenced by DTBtiTrigData::ChamberId(), DTBtiCard::config_bti(), DTConfigManager::getDTConfigBti(), operator<(), operator==(), and DTBtiCard::storeTrigger().
int DTBtiId::_bti [private] |
Definition at line 110 of file DTBtiId.h.
Referenced by bti(), and operator==().
DTSuperLayerId DTBtiId::_suplId [private] |