Public Member Functions | |
MdtIdHelper () | |
Constructor. | |
virtual | ~MdtIdHelper () |
Destructor. | |
virtual int | initialize_from_dictionary (const IdDictMgr &dict_mgr) |
Initialization from the identifier dictionary. | |
virtual int | get_module_hash (const Identifier &id, IdentifierHash &hash_id) const |
virtual int | get_detectorElement_hash (const Identifier &id, IdentifierHash &hash_id) const |
Identifier | elementID (int stationName, int stationEta, int stationPhi, bool check=false, bool *isValid=0) const |
Identifier | elementID (std::string stationNameStr, int stationEta, int stationPhi, bool check=false, bool *isValid=0) const |
Identifier | elementID (const Identifier &channelID) const |
Identifier | channelID (int stationName, int stationEta, int stationPhi, int multilayer, int tubeLayer, int tube, bool check=false, bool *isValid=0) const |
Identifier | channelID (std::string stationNameStr, int stationEta, int stationPhi, int multilayer, int tubeLayer, int tube, bool check=false, bool *isValid=0) const |
Identifier | channelID (const Identifier &id, int multilayer, int tubeLayer, int tube, bool check=false, bool *isValid=0) const |
Identifier | parentID (const Identifier &id) const |
get parent id from channel id | |
Identifier | multilayerID (const Identifier &channeldID) const |
Identifier | multilayerID (const Identifier &moduleID, int multilayer, bool check=false, bool *isValid=0) const |
void | idChannels (const Identifier &id, std::vector< Identifier > &vect) const |
int | channel (const Identifier &id) const |
int | multilayer (const Identifier &id) const |
Access to components of the ID. | |
int | tubeLayer (const Identifier &id) const |
int | tube (const Identifier &id) const |
int | numberOfMultilayers (const Identifier &id) const |
int | stationEtaMin (bool barrel) const |
Access to min and max of level ranges. | |
int | stationEtaMax (bool barrel) const |
int | stationPhiMin () const |
int | stationPhiMax () const |
int | multilayerMin () const |
int | multilayerMax () const |
int | tubeLayerMin () const |
int | tubeLayerMax () const |
int | tubeMin () const |
int | tubeMax () const |
int | stationEtaMin (const Identifier &id) const |
Access to min and max of level ranges. | |
int | stationEtaMax (const Identifier &id) const |
int | stationPhiMin (const Identifier &id) const |
int | stationPhiMax (const Identifier &id) const |
int | multilayerMin (const Identifier &id) const |
int | multilayerMax (const Identifier &id) const |
int | tubeLayerMin (const Identifier &id) const |
int | tubeLayerMax (const Identifier &id) const |
int | tubeMin (const Identifier &id) const |
int | tubeMax (const Identifier &id) const |
bool | valid (const Identifier &id) const |
Public validation of levels. | |
bool | validElement (const Identifier &id) const |
int | gasGap (const Identifier &id) const |
the gas-gap function for the MDT's returns the tube layer | |
bool | measuresPhi (const Identifier &id) const |
always false for MDTs |
int MdtIdHelper::initialize_from_dictionary | ( | const IdDictMgr & | dict_mgr | ) | [virtual] |
Initialization from the identifier dictionary.
initialize dictionary
init base object
Initialize some of the field indices
Build multirange for the valid set of identifiers
Find value for the field MuonSpectrometer
Build MDT module ranges:
Find the regions that have a "technology field" that matches the MDT and save them
test to see that the module multi range is not empty
test to see that the detector element multi range is not empty
test to see that the tube multi range is not empty
Reimplemented from MuonIdHelper.
int MdtIdHelper::multilayerMin | ( | const Identifier & | id | ) | const |
default
int MdtIdHelper::stationEtaMin | ( | const Identifier & | id | ) | const |
Access to min and max of level ranges.
default
int MdtIdHelper::stationPhiMax | ( | const Identifier & | id | ) | const |
Failed to find the max
int MdtIdHelper::stationPhiMin | ( | const Identifier & | id | ) | const |
Failed to find the min
int MdtIdHelper::tubeMin | ( | const Identifier & | id | ) | const |
default