|
ATLAS Offline Software
|
Helper class for TileCal online (hardware) identifiers.
More...
#include <TileHWID.h>
|
enum | SECTION { TILE_ONLINE = TileID::ONLINE
} |
| Identifier numbering. More...
|
|
enum | ROSID {
BEAM_ROS = 0,
BARREL_POS = 1,
BARREL_NEG = 2,
EXTBAR_POS = 3,
EXTBAR_NEG = 4
} |
|
enum | GAIN { LOWGAIN = TileID::LOWGAIN,
HIGHGAIN = TileID::HIGHGAIN
} |
|
enum | { NOT_VALID_HASH = 64000
} |
|
typedef Identifier::size_type | size_type |
|
enum | HelperType {
HelperType::Unimplemented = -1,
HelperType::Silicon = 0,
HelperType::Pixel,
HelperType::PLR,
HelperType::SCT,
HelperType::TRT,
HelperType::LArEM,
HelperType::LArFCal,
HelperType::LArFCalSuperCell,
HelperType::LArHEC,
HelperType::LArHEC_SuperCell,
HelperType::LARMiniFCal,
HelperType::Tile,
HelperType::TileSuperCell,
HelperType::LArOnline,
HelperType::LArOnlineSuperCell,
HelperType::LArElectrode,
HelperType::LArHVLine,
HelperType::TileHardware,
HelperType::TileTestbeam,
HelperType::CaloCell,
HelperType::CaloSuperCell,
HelperType::CaloDM,
HelperType::CaloLvl1,
HelperType::GTower,
HelperType::JTower,
HelperType::Muon,
HelperType::LUCID,
HelperType::LUCID_Hardware,
HelperType::Zdc,
HelperType::ZdcHardware,
HelperType::TT
} |
| enum class for eventual final derived types of this class More...
|
|
|
| TileHWID (void) |
| Default constructor. More...
|
|
virtual | ~TileHWID () |
| Default destructor. More...
|
|
HWIdentifier | tilehw_id (void) const |
| online identifer for whole Tile More...
|
|
HWIdentifier | ros_id (int ros) const |
| ROS HWIdentifer. More...
|
|
HWIdentifier | drawer_id (int frag) const |
| ROS HWIdentifer. More...
|
|
HWIdentifier | drawer_id (int ros, int drawer) const |
| drawer HWIdentifer More...
|
|
HWIdentifier | channel_id (int ros, int drawer, int channel) const |
| channel HWIdentifer More...
|
|
HWIdentifier | adc_id (int ros, int drawer, int channel, int adc) const |
| adc HWIdentifer More...
|
|
HWIdentifier | drawer_id (const HWIdentifier &id) const |
| extract drawer ID from adc ID or channel ID More...
|
|
HWIdentifier | channel_id (const HWIdentifier &id) const |
| extract channel ID from adc ID More...
|
|
HWIdentifier | channel_id (const HWIdentifier &id, int channel) const |
| create channel ID from drawer ID More...
|
|
HWIdentifier | adc_id (const HWIdentifier &id, int channel, int adc) const |
| create adc ID from drawer ID More...
|
|
HWIdentifier | adc_id (const HWIdentifier &id, int adc) const |
| create adc ID from channel ID More...
|
|
HWIdentifier | channel_id (IdentifierHash hash_id) const |
| create channel ID from channel hash ID More...
|
|
HWIdentifier | adc_id (IdentifierHash hash_id, int adc) const |
| create adc ID from channel hash ID More...
|
|
bool | is_tilehw (const HWIdentifier &id) const |
| Test ID for Tile online ID. More...
|
|
bool | is_low_gain (const HWIdentifier &id) const |
| Test ID for low gain. More...
|
|
bool | is_high_gain (const HWIdentifier &id) const |
| Test ID for high gain. More...
|
|
int | system (const HWIdentifier &id) const |
| extract system field from HW identifier More...
|
|
int | section (const HWIdentifier &id) const |
| extract section field from HW identifier More...
|
|
int | ros (const HWIdentifier &id) const |
| extract ros field from HW identifier More...
|
|
int | drawer (const HWIdentifier &id) const |
| extract drawer field from HW identifier More...
|
|
int | drawerIdx (const HWIdentifier &id) const |
| construct drawer index from HW identifier More...
|
|
int | frag (const HWIdentifier &id) const |
| extract frag field from HW identifier More...
|
|
int | frag (int ros, int drawer) const |
| make frag from ROS and drawer More...
|
|
int | channel (const HWIdentifier &id) const |
| extract channel field from HW identifier More...
|
|
int | adc (const HWIdentifier &id) const |
| extract adc field from HW identifier More...
|
|
std::string | to_string (const HWIdentifier &id, int level=0) const |
| extract all fields from HW identifier HWIdentifier get_all_fields ( const HWIdentifier & id, unsigned int last=99 ) const; More...
|
|
IdContext | ros_context (void) const |
| access to IdContext's which define which levels of fields are contained in the id More...
|
|
IdContext | drawer_context (void) const |
| idContext for drawers More...
|
|
IdContext | channel_context (void) const |
| idContext for channels More...
|
|
IdContext | adc_context (void) const |
| idContext for ADCs More...
|
|
virtual int | get_id (const IdentifierHash &hash_id, HWIdentifier &id, const IdContext *context=0) const |
| create compact HW ID from hash id (return == 0 for OK) More...
|
|
virtual int | get_id (const IdentifierHash &hash_id, Identifier &id, const IdContext *context=0) const |
| create compact ID from hash id (return == 0 for OK) More...
|
|
virtual IdentifierHash | get_hash (const HWIdentifier &id) const |
| create hash id from compact ADC id without error checking More...
|
|
virtual int | get_hash (const HWIdentifier &id, IdentifierHash &hash_id, const IdContext *context=0) const |
| create hash id from compact HW id (return == 0 for OK) More...
|
|
virtual int | get_hash (const Identifier &id, IdentifierHash &hash_id, const IdContext *context=0) const |
| create hash id from compact id (return == 0 for OK) More...
|
|
virtual IdentifierHash | get_channel_hash (const HWIdentifier &id) const |
| create hash id from compact Channel id More...
|
|
virtual int | initialize_from_dictionary (const IdDictMgr &dict_mgr) |
| initialization from the identifier dictionary More...
|
|
size_type | ros_hash_max (void) const |
| ROS hash table max size. More...
|
|
size_type | drawer_hash_max (void) const |
| drawer hash table max size More...
|
|
size_type | channel_hash_max (void) const |
| channel hash table max size More...
|
|
size_type | adc_hash_max (void) const |
| ADC hash table max size. More...
|
|
std::vector< HWIdentifier >::const_iterator | ros_begin (void) const |
| begin iterator for ROS Identifiers More...
|
|
std::vector< HWIdentifier >::const_iterator | ros_end (void) const |
| end iterator for ROS Identifiers More...
|
|
std::vector< HWIdentifier >::const_iterator | drawer_begin (void) const |
| begin iterator for drawer Identifiers More...
|
|
std::vector< HWIdentifier >::const_iterator | drawer_end (void) const |
| end iterator for drawer Identifiers More...
|
|
std::vector< HWIdentifier >::const_iterator | channel_begin (void) const |
| begin iterator for channel Identifiers More...
|
|
std::vector< HWIdentifier >::const_iterator | channel_end (void) const |
| end iterator for channel Identifiers More...
|
|
std::vector< HWIdentifier >::const_iterator | adc_begin (void) const |
| begin iterator for ADC Identifiers More...
|
|
std::vector< HWIdentifier >::const_iterator | adc_end (void) const |
| end iterator for ADC Identifiers More...
|
|
bool | msgLvl (const MSG::Level lvl) const |
| Test the output level. More...
|
|
MsgStream & | msg () const |
| The standard message stream. More...
|
|
MsgStream & | msg (const MSG::Level lvl) const |
| The standard message stream. More...
|
|
void | setLevel (MSG::Level lvl) |
| Change the current logging level. More...
|
|
|
int | get_expanded_id (const HWIdentifier &id, ExpandedIdentifier &exp_id, const IdContext *context) const |
| create expanded Identifier from Identifier (return == 0 for OK) More...
|
|
int | get_field (const HWIdentifier &id, size_type index) const |
| unpack one field from Identifier More...
|
|
int | initLevelsFromDict (void) |
|
int | init_hashes (void) |
|
bool | drawer_id (const HWIdentifier &ros_id, int drawer, HWIdentifier &drawer_id) |
|
bool | channel_id (const HWIdentifier &ros_id, int drawer, int channel, HWIdentifier &channel_id) |
|
bool | channel_id (const HWIdentifier &drawer_id, int channel, HWIdentifier &channel_id) |
|
bool | adc_id (const HWIdentifier &channel_id, int adc, HWIdentifier &adc_id) |
|
int | fill_vec (std::set< HWIdentifier > &ids, unsigned int hash_max, std::vector< HWIdentifier > &vec) |
|
void | initMessaging () const |
| Initialize our message level and MessageSvc. More...
|
|
Helper class for TileCal online (hardware) identifiers.
- Author
- Alexander Solodkov
This class provides an interface to generate hardware identifier or a range for the Tile Calorimeter detector subsystem.
Definition and the range of values for the elements of the identifier:
element range meaning
------- ----- -------
ros 1 to 4 ReadOutSystem number ( 1,2 = pos/neg Barrel (side A/C)
3,4 = pos/neg Ext.Barrel (side A/C) )
drawer 0 to 63 64 drawers (modules) in one cylinder (phi-slices)
channel 0 to 47 channel number in the drawer
adc 0 to 1 ADC number for the channel (0 = low gain, 1 = high gain)
Definition at line 49 of file TileHWID.h.
◆ size_type
◆ anonymous enum
◆ GAIN
Enumerator |
---|
LOWGAIN | |
HIGHGAIN | |
Definition at line 72 of file TileHWID.h.
◆ HelperType
enum class for eventual final derived types of this class
Enumerator |
---|
Unimplemented | |
Silicon | |
Pixel | |
PLR | |
SCT | |
TRT | |
LArEM | |
LArFCal | |
LArFCalSuperCell | |
LArHEC | |
LArHEC_SuperCell | |
LARMiniFCal | |
Tile | |
TileSuperCell | |
LArOnline | |
LArOnlineSuperCell | |
LArElectrode | |
LArHVLine | |
TileHardware | |
TileTestbeam | |
CaloCell | |
CaloSuperCell | |
CaloDM | |
CaloLvl1 | |
GTower | |
JTower | |
Muon | |
LUCID | |
LUCID_Hardware | |
Zdc | |
ZdcHardware | |
TT | |
Definition at line 60 of file AtlasDetectorID.h.
65 LArEM, LArFCal, LArFCalSuperCell,
66 LArHEC, LArHEC_SuperCell, LARMiniFCal,
70 LArOnline, LArOnlineSuperCell,
72 LArElectrode, LArHVLine,
73 TileHardware, TileTestbeam,
80 LUCID, LUCID_Hardware,
◆ ID
◆ ROSID
Enumerator |
---|
BEAM_ROS | |
BARREL_POS | |
BARREL_NEG | |
EXTBAR_POS | |
EXTBAR_NEG | |
Definition at line 67 of file TileHWID.h.
◆ SECTION
◆ TileHWID()
TileHWID::TileHWID |
( |
void |
| ) |
|
◆ ~TileHWID()
◆ adc()
extract adc field from HW identifier
Definition at line 193 of file TileHWID.h.
◆ adc_begin()
std::vector<HWIdentifier>::const_iterator TileHWID::adc_begin |
( |
void |
| ) |
const |
|
inline |
◆ adc_context()
IdContext TileHWID::adc_context |
( |
void |
| ) |
const |
◆ adc_end()
std::vector<HWIdentifier>::const_iterator TileHWID::adc_end |
( |
void |
| ) |
const |
|
inline |
◆ adc_hash_max()
size_type TileHWID::adc_hash_max |
( |
void |
| ) |
const |
|
inline |
ADC hash table max size.
Definition at line 276 of file TileHWID.h.
◆ adc_id() [1/5]
◆ adc_id() [2/5]
create adc ID from channel ID
Definition at line 318 of file TileHWID.cxx.
335 std::string errorMessage =
"TileHWID::adc_id(channel_id,adc) result is not OK: ID = "
336 + compactId.getString() ;
346 std::string errorMessage =
"TileHWID::adc_id() result is not OK: ID, range = "
◆ adc_id() [3/5]
create adc ID from drawer ID
Definition at line 358 of file TileHWID.cxx.
376 std::string errorMessage =
"TileHWID::adc_id(drawer_id,channel,adc) result is not OK: ID = "
377 + compactId.getString() ;
387 std::string errorMessage =
"TileHWID::adc_id() result is not OK: ID, range = "
◆ adc_id() [4/5]
create adc ID from channel hash ID
validity of the hash_id is not checked, assuming that it is done outside
Definition at line 137 of file TileHWID.h.
◆ adc_id() [5/5]
HWIdentifier TileHWID::adc_id |
( |
int |
ros, |
|
|
int |
drawer, |
|
|
int |
channel, |
|
|
int |
adc |
|
) |
| const |
adc HWIdentifer
Definition at line 229 of file TileHWID.cxx.
248 std::string errorMessage =
"TileHWID::adc_id() result is not OK: ID, range = "
◆ alfa_exp()
◆ alfa_field_value()
int AtlasDetectorID::alfa_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ bcm_exp()
◆ bcm_field_value()
int AtlasDetectorID::bcm_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ calo()
◆ calo_exp()
◆ calo_field_value()
int AtlasDetectorID::calo_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ channel()
extract channel field from HW identifier
Definition at line 189 of file TileHWID.h.
◆ channel_begin()
std::vector<HWIdentifier>::const_iterator TileHWID::channel_begin |
( |
void |
| ) |
const |
|
inline |
◆ channel_context()
IdContext TileHWID::channel_context |
( |
void |
| ) |
const |
◆ channel_end()
std::vector<HWIdentifier>::const_iterator TileHWID::channel_end |
( |
void |
| ) |
const |
|
inline |
◆ channel_hash_max()
size_type TileHWID::channel_hash_max |
( |
void |
| ) |
const |
|
inline |
channel hash table max size
Definition at line 272 of file TileHWID.h.
◆ channel_id() [1/6]
◆ channel_id() [2/6]
extract channel ID from adc ID
Definition at line 270 of file TileHWID.cxx.
◆ channel_id() [3/6]
create channel ID from drawer ID
Definition at line 278 of file TileHWID.cxx.
295 std::string errorMessage =
"TileHWID::channel_id(drawer_id,channel) result is not OK: ID = "
296 + compactId.getString() ;
306 std::string errorMessage =
"TileHWID::channel_id() result is not OK: ID, range = "
◆ channel_id() [4/6]
◆ channel_id() [5/6]
create channel ID from channel hash ID
validity of the hash_id is not checked, assuming that it is done outside
Definition at line 130 of file TileHWID.h.
◆ channel_id() [6/6]
HWIdentifier TileHWID::channel_id |
( |
int |
ros, |
|
|
int |
drawer, |
|
|
int |
channel |
|
) |
| const |
channel HWIdentifer
Definition at line 199 of file TileHWID.cxx.
217 std::string errorMessage =
"TileHWID::channel_id() result is not OK: ID, range = "
◆ csc()
◆ csc_field_value()
int AtlasDetectorID::csc_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ detsystem_context()
IdContext AtlasDetectorID::detsystem_context |
( |
void |
| ) |
const |
|
inherited |
◆ dict_names()
const std::vector< std::string > & AtlasDetectorID::dict_names |
( |
void |
| ) |
const |
|
inherited |
◆ dict_tags()
const std::vector< std::string > & AtlasDetectorID::dict_tags |
( |
void |
| ) |
const |
|
inherited |
Version tags for subdet dictionaries.
Version tag for subdet dictionary.
Definition at line 723 of file AtlasDetectorID.cxx.
◆ dictionaryVersion()
std::string AtlasDetectorID::dictionaryVersion |
( |
void |
| ) |
const |
|
overridevirtualinherited |
◆ do_checks()
bool AtlasDetectorID::do_checks |
( |
void |
| ) |
const |
|
overridevirtualinherited |
Checks are performed by default in debug compilation and NOT in optimized compilation.
One can switch or query this mode for any idHelper with the following methods:
Implements IdHelper.
Definition at line 728 of file AtlasDetectorID.cxx.
◆ do_neighbours()
bool AtlasDetectorID::do_neighbours |
( |
void |
| ) |
const |
|
overridevirtualinherited |
Neighbour initialization is performed by default One can switch or query this mode for any idHelper with the following method:
Implements IdHelper.
Definition at line 738 of file AtlasDetectorID.cxx.
◆ drawer()
extract drawer field from HW identifier
Definition at line 171 of file TileHWID.h.
◆ drawer_begin()
std::vector<HWIdentifier>::const_iterator TileHWID::drawer_begin |
( |
void |
| ) |
const |
|
inline |
◆ drawer_context()
IdContext TileHWID::drawer_context |
( |
void |
| ) |
const |
◆ drawer_end()
std::vector<HWIdentifier>::const_iterator TileHWID::drawer_end |
( |
void |
| ) |
const |
|
inline |
◆ drawer_hash_max()
size_type TileHWID::drawer_hash_max |
( |
void |
| ) |
const |
|
inline |
drawer hash table max size
Definition at line 268 of file TileHWID.h.
◆ drawer_id() [1/4]
extract drawer ID from adc ID or channel ID
Definition at line 260 of file TileHWID.cxx.
◆ drawer_id() [2/4]
◆ drawer_id() [3/4]
◆ drawer_id() [4/4]
HWIdentifier TileHWID::drawer_id |
( |
int |
ros, |
|
|
int |
drawer |
|
) |
| const |
drawer HWIdentifer
Definition at line 158 of file TileHWID.cxx.
175 std::string errorMessage =
"TileHWID::drawer_id() result is not OK: ID, range = "
◆ drawerIdx()
construct drawer index from HW identifier
Definition at line 175 of file TileHWID.h.
◆ file_names()
const std::vector< std::string > & AtlasDetectorID::file_names |
( |
void |
| ) |
const |
|
inherited |
◆ fill_vec()
Definition at line 919 of file TileHWID.cxx.
923 if(
ids.size() != hash_max) {
926 log << MSG::ERROR <<
"fill_vec "
927 <<
" Error: set size NOT EQUAL to hash max. size " <<
ids.size()
928 <<
" hash max " << hash_max
934 vec.resize(hash_max);
936 std::set<HWIdentifier>::const_iterator
first =
ids.begin();
937 std::set<HWIdentifier>::const_iterator last =
ids.end();
◆ fix_barrel_ec()
std::string AtlasDetectorID::fix_barrel_ec |
( |
const std::string & |
barrel_ec | ) |
const |
|
protectedinherited |
◆ forward_field_value()
int AtlasDetectorID::forward_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ frag() [1/2]
extract frag field from HW identifier
Definition at line 181 of file TileHWID.h.
181 {
return ((
ros(
id) << 8) |
drawer(
id)); }
◆ frag() [2/2]
int TileHWID::frag |
( |
int |
ros, |
|
|
int |
drawer |
|
) |
| const |
|
inline |
make frag from ROS and drawer
Definition at line 185 of file TileHWID.h.
◆ fwd_exp()
◆ get_channel_hash()
create hash id from compact Channel id
Definition at line 590 of file TileHWID.cxx.
◆ get_expanded_id()
◆ get_field()
◆ get_hash() [1/3]
create hash id from compact ADC id without error checking
Definition at line 544 of file TileHWID.cxx.
546 std::vector<HWIdentifier>::const_iterator
it = std::lower_bound(
m_adc_vec.begin(),
m_adc_vec.end(),
id);
◆ get_hash() [2/3]
create hash id from compact HW id (return == 0 for OK)
Definition at line 550 of file TileHWID.cxx.
561 std::vector<HWIdentifier>::const_iterator
it = std::lower_bound(
m_adc_vec.begin(),
m_adc_vec.end(),
id);
579 std::vector<HWIdentifier>::const_iterator
it = std::lower_bound(
m_ros_vec.begin(),
m_ros_vec.end(),
id);
◆ get_hash() [3/3]
◆ get_id() [1/2]
create compact HW ID from hash id (return == 0 for OK)
Definition at line 491 of file TileHWID.cxx.
508 log << MSG::ERROR <<
"get_id: hwadc hash_id out of range " << hash_id
517 log << MSG::ERROR <<
"get_id: channel hash_id is out of range "
526 log << MSG::ERROR <<
"get_id: drawer hash_id is out of range " << hash_id
535 log << MSG::ERROR <<
"get_id: ROS hash_id is out of range " << hash_id
◆ get_id() [2/2]
◆ helper()
virtual HelperType AtlasDetectorID::helper |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ hgtd()
◆ hgtd_exp()
◆ hgtd_field_value()
int AtlasDetectorID::hgtd_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ indet()
◆ indet_exp()
◆ indet_field_value()
int AtlasDetectorID::indet_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
Provide efficient access to individual field values, for subclass idhelpers.
Definition at line 611 of file AtlasDetectorID.h.
◆ init_hashes()
int TileHWID::init_hashes |
( |
void |
| ) |
|
|
private |
Definition at line 817 of file TileHWID.cxx.
822 unsigned int nids = 0;
823 std::set<HWIdentifier>
ids;
827 for (
const auto & exp_id : rit) {
829 if(!(
ids.insert(
id)).second){
830 log << MSG::ERROR <<
"init_hashes "
831 <<
" Error: duplicated id for ros id. nids= " << nids
847 for (
const auto & exp_id:rit) {
850 if(!(
ids.insert(
id)).second){
851 log << MSG::ERROR <<
"init_hashes "
852 <<
" Error: duplicated id for drawer id. nids= " << nids
868 for (
const auto & exp_id:rit) {
872 if(!(
ids.insert(
id)).second){
873 log << MSG::ERROR <<
"init_hashes "
874 <<
" Error: duplicated id for channel id. nids= " << nids
890 for (
const auto & exp_id : rit) {
895 if(!(
ids.insert(
id)).second){
896 log << MSG::ERROR <<
"init_hashes "
897 <<
" Error: duplicated id for adc id. nids= " << nids
◆ initialize_from_dictionary()
int TileHWID::initialize_from_dictionary |
( |
const IdDictMgr & |
dict_mgr | ) |
|
|
virtual |
initialization from the identifier dictionary
Reimplemented from AtlasDetectorID.
Definition at line 601 of file TileHWID.cxx.
604 log << MSG::INFO <<
"initialize_from_dictionary " <<
endmsg;
608 log <<
MSG::DEBUG <<
"Request to reinitialize not satisfied - tags have not changed" <<
endmsg;
625 log << MSG::ERROR <<
"cannot access TileCalorimeter dictionary" <<
endmsg;
636 if (atlasDict->
get_label_value(
"subdet",
"TileCalorimeter", tileField)) {
637 log << MSG::ERROR <<
"Could not get value for label 'TileCalorimeter' of field 'subdet' in dictionary "
644 int tilehwField = -1;
646 log << MSG::ERROR <<
"Could not get value for label 'Online' of field 'section' in dictionary "
660 reg_id.
add(tileField);
661 reg_id.
add(tilehwField);
◆ initLevelsFromDict()
int TileHWID::initLevelsFromDict |
( |
void |
| ) |
|
|
private |
Definition at line 703 of file TileHWID.cxx.
708 log << MSG::ERROR <<
"initLevelsFromDict - dictionary NOT initialized "
725 log << MSG::ERROR <<
"initLevelsFromDict - unable to find tile region index: expId, reg "
737 log << MSG::ERROR <<
"initLevelsFromDict - unable to find 'subdet' field "
747 log << MSG::ERROR <<
"initLevelsFromDict - unable to find 'section' field "
757 log << MSG::ERROR <<
"initLevelsFromDict - unable to find 'ros' field "
767 log << MSG::ERROR <<
"initLevelsFromDict - unable to find 'drawer' field "
777 log << MSG::ERROR <<
"initLevelsFromDict - unable to find 'channel' field "
787 log << MSG::ERROR <<
"initLevelsFromDict - unable to find 'gain' field "
806 log <<
MSG::DEBUG <<
"initLevelsFromDict decode index and bit fields for each level: " <<
endmsg ;
◆ initMessaging()
void AthMessaging::initMessaging |
( |
| ) |
const |
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
◆ is_alfa()
bool AtlasDetectorID::is_alfa |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_bcm()
bool AtlasDetectorID::is_bcm |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_calo() [1/2]
◆ is_calo() [2/2]
bool AtlasDetectorID::is_calo |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_csc() [1/2]
◆ is_csc() [2/2]
bool AtlasDetectorID::is_csc |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_forward()
bool AtlasDetectorID::is_forward |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_hgtd() [1/2]
◆ is_hgtd() [2/2]
bool AtlasDetectorID::is_hgtd |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_high_gain()
◆ is_indet() [1/2]
◆ is_indet() [2/2]
bool AtlasDetectorID::is_indet |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_lar() [1/2]
◆ is_lar() [2/2]
bool AtlasDetectorID::is_lar |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_lar_dm()
bool AtlasDetectorID::is_lar_dm |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_lar_em() [1/2]
◆ is_lar_em() [2/2]
bool AtlasDetectorID::is_lar_em |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_lar_fcal() [1/2]
◆ is_lar_fcal() [2/2]
bool AtlasDetectorID::is_lar_fcal |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_lar_hec() [1/2]
◆ is_lar_hec() [2/2]
bool AtlasDetectorID::is_lar_hec |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_lar_minifcal() [1/2]
◆ is_lar_minifcal() [2/2]
bool AtlasDetectorID::is_lar_minifcal |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_low_gain()
◆ is_lucid()
bool AtlasDetectorID::is_lucid |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_lumi() [1/2]
◆ is_lumi() [2/2]
bool AtlasDetectorID::is_lumi |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_lvl1_online()
bool AtlasDetectorID::is_lvl1_online |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_lvl1_trig_towers()
bool AtlasDetectorID::is_lvl1_trig_towers |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_mdt() [1/2]
◆ is_mdt() [2/2]
bool AtlasDetectorID::is_mdt |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_mm() [1/2]
◆ is_mm() [2/2]
bool AtlasDetectorID::is_mm |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_muon() [1/2]
◆ is_muon() [2/2]
bool AtlasDetectorID::is_muon |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_pixel() [1/2]
◆ is_pixel() [2/2]
bool AtlasDetectorID::is_pixel |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_plr() [1/2]
◆ is_plr() [2/2]
bool AtlasDetectorID::is_plr |
( |
Identifier |
id | ) |
const |
|
inherited |
◆ is_rpc() [1/2]
◆ is_rpc() [2/2]
bool AtlasDetectorID::is_rpc |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_sct() [1/2]
◆ is_sct() [2/2]
bool AtlasDetectorID::is_sct |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_stgc() [1/2]
◆ is_stgc() [2/2]
bool AtlasDetectorID::is_stgc |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_tgc() [1/2]
◆ is_tgc() [2/2]
bool AtlasDetectorID::is_tgc |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_tile() [1/2]
◆ is_tile() [2/2]
bool AtlasDetectorID::is_tile |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_tile_dm()
bool AtlasDetectorID::is_tile_dm |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_tilehw()
◆ is_trt() [1/2]
◆ is_trt() [2/2]
bool AtlasDetectorID::is_trt |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_zdc()
bool AtlasDetectorID::is_zdc |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ lar()
◆ lar_dm()
◆ lar_em()
◆ lar_em_exp()
◆ lar_em_field_value()
int AtlasDetectorID::lar_em_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ lar_exp()
◆ lar_fcal()
Identifier AtlasDetectorID::lar_fcal |
( |
void |
| ) |
const |
|
inherited |
◆ lar_fcal_exp()
◆ lar_fcal_field_value()
int AtlasDetectorID::lar_fcal_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ lar_field_value()
int AtlasDetectorID::lar_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ lar_hec()
Identifier AtlasDetectorID::lar_hec |
( |
void |
| ) |
const |
|
inherited |
◆ lar_hec_exp()
◆ lar_hec_field_value()
int AtlasDetectorID::lar_hec_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ lar_lvl1()
Identifier AtlasDetectorID::lar_lvl1 |
( |
void |
| ) |
const |
|
inherited |
◆ lucid_exp()
◆ lucid_field_value()
int AtlasDetectorID::lucid_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ lumi()
◆ lumi_exp()
◆ lumi_field_value()
int AtlasDetectorID::lumi_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ mdt()
◆ mdt_field_value()
int AtlasDetectorID::mdt_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ mm()
◆ mm_field_value()
int AtlasDetectorID::mm_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ msg() [1/2]
MsgStream & AthMessaging::msg |
( |
| ) |
const |
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 164 of file AthMessaging.h.
◆ msg() [2/2]
MsgStream & AthMessaging::msg |
( |
const MSG::Level |
lvl | ) |
const |
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 179 of file AthMessaging.h.
180 {
return msg() << lvl; }
◆ msgLvl()
bool AthMessaging::msgLvl |
( |
const MSG::Level |
lvl | ) |
const |
|
inlineinherited |
Test the output level.
- Parameters
-
lvl | The message level to test against |
- Returns
- boolean Indicating if messages at given level will be printed
- Return values
-
true | Messages at level "lvl" will be printed |
Definition at line 151 of file AthMessaging.h.
◆ muon()
◆ muon_exp()
◆ muon_field_value()
int AtlasDetectorID::muon_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ pixel()
◆ pixel_exp()
◆ pixel_field_value()
int AtlasDetectorID::pixel_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ plr_field_value()
int AtlasDetectorID::plr_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ print()
◆ print_to_string()
or provide the printout in string form
Definition at line 655 of file AtlasDetectorID.cxx.
663 unsigned int max_index = (context) ? context->
end_index() : 999;
694 if (!dict)
return (
result);
◆ register_dict_tag()
int AtlasDetectorID::register_dict_tag |
( |
const IdDictMgr & |
dict_mgr, |
|
|
const std::string & |
dict_name |
|
) |
| |
|
protectedinherited |
Register the file and tag names for a particular IdDict dictionary.
Definition at line 266 of file AtlasDetectorID.cxx.
273 if (!dict)
return(1);
◆ reinitialize()
Test whether an idhelper should be reinitialized based on the change of tags.
Definition at line 284 of file AtlasDetectorID.cxx.
294 ATH_MSG_ERROR(
"reinitialize: dict names and tags vectors not the same length ");
◆ ros()
extract ros field from HW identifier
Definition at line 167 of file TileHWID.h.
◆ ros_begin()
std::vector<HWIdentifier>::const_iterator TileHWID::ros_begin |
( |
void |
| ) |
const |
|
inline |
◆ ros_context()
IdContext TileHWID::ros_context |
( |
void |
| ) |
const |
access to IdContext's which define which levels of fields are contained in the id
idContext for ROSes
Definition at line 464 of file TileHWID.cxx.
◆ ros_end()
std::vector<HWIdentifier>::const_iterator TileHWID::ros_end |
( |
void |
| ) |
const |
|
inline |
◆ ros_hash_max()
size_type TileHWID::ros_hash_max |
( |
void |
| ) |
const |
|
inline |
ROS hash table max size.
Definition at line 264 of file TileHWID.h.
◆ ros_id()
ROS HWIdentifer.
Definition at line 130 of file TileHWID.cxx.
146 std::string errorMessage =
"TileHWID::ros_id() result is not OK: ID, range = "
◆ rpc()
◆ rpc_field_value()
int AtlasDetectorID::rpc_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ sct()
◆ sct_exp()
◆ sct_field_value()
int AtlasDetectorID::sct_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ section()
extract section field from HW identifier
Definition at line 163 of file TileHWID.h.
◆ set_do_checks()
void AtlasDetectorID::set_do_checks |
( |
bool |
do_checks | ) |
|
|
overridevirtualinherited |
◆ set_do_neighbours()
void AtlasDetectorID::set_do_neighbours |
( |
bool |
do_neighbours | ) |
|
|
overridevirtualinherited |
◆ set_quiet()
void AtlasDetectorID::set_quiet |
( |
bool |
quiet | ) |
|
|
inherited |
◆ setDictVersion()
|
overrideprotectedvirtualinherited |
◆ setLevel()
void AthMessaging::setLevel |
( |
MSG::Level |
lvl | ) |
|
|
inherited |
◆ setMessageSvc()
void AtlasDetectorID::setMessageSvc |
( |
IMessageSvc * |
msgSvc | ) |
|
|
overridevirtualinherited |
◆ show()
Short print out of any identifier (optionally provide separation character - default is '.
'):
Definition at line 565 of file AtlasDetectorID.cxx.
◆ show_to_string()
or provide the printout in string form
Definition at line 574 of file AtlasDetectorID.cxx.
580 std::string
result(
"Unable to decode id");
581 unsigned int max_index = (context) ? context->
end_index() : 999;
615 if (!dict)
return (
result);
629 for (
unsigned int i = 0;
i < expId.
fields(); ++
i) {
632 sprintf (temp,
"%d", expId[
i]);
◆ stgc()
◆ stgc_field_value()
int AtlasDetectorID::stgc_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ subdet_context()
IdContext AtlasDetectorID::subdet_context |
( |
void |
| ) |
const |
|
inherited |
◆ system()
extract system field from HW identifier
Definition at line 159 of file TileHWID.h.
◆ tgc()
◆ tgc_field_value()
int AtlasDetectorID::tgc_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ tile()
◆ tile_dm()
Identifier AtlasDetectorID::tile_dm |
( |
void |
| ) |
const |
|
inherited |
◆ tile_exp()
◆ tile_field_value()
int AtlasDetectorID::tile_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ tilehw_id()
◆ to_range()
◆ to_string()
extract all fields from HW identifier HWIdentifier get_all_fields ( const HWIdentifier & id, unsigned int last=99 ) const;
convert HW identifier to string
Definition at line 50 of file TileHWID.cxx.
60 return "TileHWID::to_string - unknown context";
65 return "TileHWID::to_string - can not expand ID";
67 return (std::string)(exp_id);
◆ trt()
◆ trt_exp()
◆ trt_field_value()
int AtlasDetectorID::trt_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ zdc_exp()
◆ zdc_field_value()
int AtlasDetectorID::zdc_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ ATLAS_THREAD_SAFE
std::atomic_flag m_initialized AthMessaging::ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
|
mutableprivateinherited |
◆ m_adc_hash_max
◆ m_adc_impl
◆ m_ADC_INDEX
◆ m_adc_vec
◆ m_ALFA_ID
int AtlasDetectorID::m_ALFA_ID {1} |
|
privateinherited |
◆ m_atlas_dict
◆ m_base_tile_ros
◆ m_BCM_ID
int AtlasDetectorID::m_BCM_ID {3} |
|
privateinherited |
◆ m_calo_dict
◆ m_CALO_ID
int AtlasDetectorID::m_CALO_ID {10} |
|
privateinherited |
◆ m_calo_side_impl
◆ m_channel_hash_max
◆ m_channel_impl
◆ m_CHANNEL_INDEX
◆ m_channel_vec
◆ m_CSC_ID
int AtlasDetectorID::m_CSC_ID {1} |
|
privateinherited |
◆ m_det_impl
◆ m_DET_INDEX
◆ m_dict
◆ m_dict_names
std::vector<std::string> AtlasDetectorID::m_dict_names |
|
protectedinherited |
◆ m_dict_tags
std::vector<std::string> AtlasDetectorID::m_dict_tags |
|
protectedinherited |
◆ m_dict_version
std::string AtlasDetectorID::m_dict_version |
|
privateinherited |
◆ m_do_checks
bool AtlasDetectorID::m_do_checks {} |
|
protectedinherited |
Flag for subclasses to know whether or not to perform checks.
In general, this is set to false in optimized mode.
Definition at line 362 of file AtlasDetectorID.h.
◆ m_do_neighbours
bool AtlasDetectorID::m_do_neighbours {true} |
|
protectedinherited |
Flag for subclasses to know whether or not to perform neighbour initialization.
Definition at line 365 of file AtlasDetectorID.h.
◆ m_drawer_hash_max
◆ m_drawer_impl
◆ m_DRAWER_INDEX
◆ m_drawer_vec
◆ m_file_names
std::vector<std::string> AtlasDetectorID::m_file_names |
|
protectedinherited |
List of dictionary file names used by this helper.
Definition at line 378 of file AtlasDetectorID.h.
◆ m_full_adc_range
◆ m_full_channel_range
◆ m_full_drawer_range
◆ m_full_ros_range
◆ m_fwd_dict
◆ m_FWD_ID
int AtlasDetectorID::m_FWD_ID {13} |
|
privateinherited |
◆ m_fwd_part_impl
◆ m_helper
◆ m_HGTD_ID
int AtlasDetectorID::m_HGTD_ID {4} |
|
privateinherited |
◆ m_imsg
std::atomic<IMessageSvc*> AthMessaging::m_imsg { nullptr } |
|
mutableprivateinherited |
◆ m_indet_dict
◆ m_INDET_ID
int AtlasDetectorID::m_INDET_ID {2} |
|
privateinherited |
◆ m_indet_part_impl
◆ m_is_initialized_from_dict
bool AtlasDetectorID::m_is_initialized_from_dict {} |
|
privateinherited |
◆ m_isHighLuminosityLHC
bool AtlasDetectorID::m_isHighLuminosityLHC {} |
|
privateinherited |
◆ m_lar_dict
◆ m_lar_dm_field
◆ m_LAR_EM_ID
int AtlasDetectorID::m_LAR_EM_ID {1} |
|
privateinherited |
◆ m_LAR_FCAL_ID
int AtlasDetectorID::m_LAR_FCAL_ID {3} |
|
privateinherited |
◆ m_lar_fcal_module_impl
◆ m_LAR_FCAL_MODULE_INDEX
int AtlasDetectorID::m_LAR_FCAL_MODULE_INDEX {999} |
|
privateinherited |
◆ m_LAR_HEC_ID
int AtlasDetectorID::m_LAR_HEC_ID {2} |
|
privateinherited |
◆ m_LAR_ID
int AtlasDetectorID::m_LAR_ID {4} |
|
privateinherited |
◆ m_lar_part_impl
◆ m_LUCID_ID
int AtlasDetectorID::m_LUCID_ID {5} |
|
privateinherited |
◆ m_LUMI_ID
int AtlasDetectorID::m_LUMI_ID {3} |
|
privateinherited |
◆ m_LUMI_PLR_ID
int AtlasDetectorID::m_LUMI_PLR_ID {1} |
|
privateinherited |
◆ m_lvl
std::atomic<MSG::Level> AthMessaging::m_lvl { MSG::NIL } |
|
mutableprivateinherited |
◆ m_lvl1_field
◆ m_lvl1_onl_field
◆ m_MDT_ID
int AtlasDetectorID::m_MDT_ID {0} |
|
privateinherited |
◆ m_MM_ID
int AtlasDetectorID::m_MM_ID {5} |
|
privateinherited |
◆ m_msg_tls
boost::thread_specific_ptr<MsgStream> AthMessaging::m_msg_tls |
|
mutableprivateinherited |
MsgStream instance (a std::cout like with print-out levels)
Definition at line 132 of file AthMessaging.h.
◆ m_msgSvc
IMessageSvc* AtlasDetectorID::m_msgSvc {} |
|
protectedinherited |
◆ m_muon_dict
◆ m_MUON_ID
int AtlasDetectorID::m_MUON_ID {7} |
|
privateinherited |
◆ m_muon_mdt_impl
◆ m_muon_rpc_impl
◆ m_muon_station_name_impl
◆ m_MUON_SUBDET_INDEX
size_type AtlasDetectorID::m_MUON_SUBDET_INDEX {999} |
|
privateinherited |
◆ m_muon_tech_bits
std::vector<unsigned int> AtlasDetectorID::m_muon_tech_bits |
|
privateinherited |
◆ m_nm
std::string AthMessaging::m_nm |
|
privateinherited |
◆ m_PIXEL_ID
int AtlasDetectorID::m_PIXEL_ID {1} |
|
privateinherited |
◆ m_quiet
bool AtlasDetectorID::m_quiet {} |
|
protectedinherited |
◆ m_ros_hash_max
◆ m_ros_impl
◆ m_ROS_INDEX
◆ m_ros_vec
◆ m_RPC_ID
int AtlasDetectorID::m_RPC_ID {2} |
|
privateinherited |
◆ m_SCT_ID
int AtlasDetectorID::m_SCT_ID {2} |
|
privateinherited |
◆ m_section_impl
◆ m_SECTION_INDEX
◆ m_STGC_ID
int AtlasDetectorID::m_STGC_ID {4} |
|
privateinherited |
◆ m_SUBDET_INDEX
size_type AtlasDetectorID::m_SUBDET_INDEX {999} |
|
privateinherited |
◆ m_system_impl
◆ m_SYSTEM_INDEX
◆ m_TGC_ID
int AtlasDetectorID::m_TGC_ID {3} |
|
privateinherited |
◆ m_tile_dict
◆ m_tile_dm_field
◆ m_TILE_ID
int AtlasDetectorID::m_TILE_ID {5} |
|
privateinherited |
◆ m_tile_region_index
◆ m_TRT_ID
int AtlasDetectorID::m_TRT_ID {3} |
|
privateinherited |
◆ m_ZDC_ID
int AtlasDetectorID::m_ZDC_ID {7} |
|
privateinherited |
The documentation for this class was generated from the following files:
IdDictRegion * find_region(const std::string ®ion_name) const
bool is_pixel(Identifier id) const
std::atomic< MSG::Level > m_lvl
Current logging level.
const std::string & dict_tag(void) const
Access to the dictionary tag.
IdDictDictionary * m_muon_dict
int indet_field_value() const
Provide efficient access to individual field values, for subclass idhelpers.
HWIdentifier ros_id(int ros) const
ROS HWIdentifer.
bool is_forward(Identifier id) const
MultiRange build_multirange() const
Get MultiRange for full dictionary.
std::vector< unsigned int > m_muon_tech_bits
int unpack(const Identifier &id, const ExpandedIdentifier &prefix, size_t index2, ExpandedIdentifier &unpackedId) const
Unpack the value_type id to an expanded Identifier, considering the provided prefix (result will incl...
virtual int initialize_from_dictionary(const IdDictMgr &dict_mgr) override
Initialization from the identifier dictionary.
IdDictFieldImplementation m_indet_part_impl
virtual int get_id(const IdentifierHash &hash_id, HWIdentifier &id, const IdContext *context=0) const
create compact HW ID from hash id (return == 0 for OK)
int fill_vec(std::set< HWIdentifier > &ids, unsigned int hash_max, std::vector< HWIdentifier > &vec)
bool is_lar_fcal(Identifier id) const
std::string show_to_string(void) const
bool is_lar(Identifier id) const
int muon_field_value() const
IdDictFieldImplementation m_section_impl
std::vector< HWIdentifier > m_ros_vec
IdContext channel_context(void) const
idContext for channels
size_type end_index() const
int calo_field_value() const
void add(element_type value)
Append a value into a new field.
bool is_tilehw(const HWIdentifier &id) const
Test ID for Tile online ID.
void pack(int value, Identifier &id) const
IdDictDictionary * m_tile_dict
IdDictFieldImplementation m_channel_impl
int frag(const HWIdentifier &id) const
extract frag field from HW identifier
IMessageSvc * m_msgSvc
pointer to the message service
std::string m_dict_version
std::vector< size_t > vec
bool m_do_checks
Flag for subclasses to know whether or not to perform checks.
size_type m_SECTION_INDEX
IdContext drawer_context(void) const
idContext for drawers
int lar_field_value() const
This class provides conversion from CSC RDO data to CSC Digits.
std::atomic< IMessageSvc * > m_imsg
MessageSvc pointer.
int unpack(Identifier id) const
Identifier manipulation methods.
virtual bool do_neighbours(void) const override
Neighbour initialization is performed by default One can switch or query this mode for any idHelper w...
ExpandedIdentifier tile_exp(void) const
IMessageSvc * getMessageSvc(bool quiet=false)
IdDictField * find_field(const std::string &name) const
bool is_lvl1_trig_towers(Identifier id) const
int channel(const HWIdentifier &id) const
extract channel field from HW identifier
IdDictFieldImplementation m_ros_impl
int ros(const HWIdentifier &id) const
extract ros field from HW identifier
bool m_do_neighbours
Flag for subclasses to know whether or not to perform neighbour initialization.
void reset(Identifier &id) const
std::vector< HWIdentifier > m_adc_vec
IdDictFieldImplementation m_adc_impl
bool match(element_type value) const
The basic match operation.
int adc(const HWIdentifier &id) const
extract adc field from HW identifier
Range::field m_tile_dm_field
size_type begin_index() const
IdDictDictionary * find_dictionary(const std::string &name) const
Access dictionary by name.
msgSvc
Provide convenience handles for various services.
int section(const HWIdentifier &id) const
extract section field from HW identifier
IdDictDictionary * m_calo_dict
size_type m_channel_hash_max
virtual IdentifierHash get_hash(const HWIdentifier &id) const
create hash id from compact ADC id without error checking
bool m_is_initialized_from_dict
IdDictFieldImplementation m_lar_part_impl
ExpandedIdentifier indet_exp(void) const
Detector systems:
IdDictFieldImplementation m_muon_mdt_impl
IdDictFieldImplementation m_lar_fcal_module_impl
bool is_tile_dm(Identifier id) const
std::vector< IdDictRegion * > m_regions
IdDictDictionary * m_fwd_dict
Exception class for Tile Identifiers.
bool is_tile(Identifier id) const
size_type m_CHANNEL_INDEX
size_type m_tile_region_index
Range::field m_lvl1_onl_field
HWIdentifier m_base_tile_ros
bool m_quiet
If true, suppress DEBUG/INFO messages.
MsgStream & msg() const
The standard message stream.
IdDictFieldImplementation m_muon_rpc_impl
int register_dict_tag(const IdDictMgr &dict_mgr, const std::string &dict_name)
Register the file and tag names for a particular IdDict dictionary.
bool is_calo(Identifier id) const
const std::string & file_name(void) const
Access to file name.
int tile_field_value() const
int get_label_value(const std::string &field, const std::string &label, int &value) const
std::string print_to_string(Identifier id, const IdContext *context=0) const
or provide the printout in string form
MultiRange m_full_channel_range
const ExpandedIdentifier & prefix_id() const
Accessors.
HWIdentifier drawer_id(int frag) const
ROS HWIdentifer.
HWIdentifier channel_id(int ros, int drawer, int channel) const
channel HWIdentifer
IdDictDictionary * m_indet_dict
IdDictFieldImplementation m_calo_side_impl
bool is_indet(Identifier id) const
std::vector< std::string > m_dict_names
List of dictionary names used by this helper.
MultiRange m_full_ros_range
MultiRange m_full_drawer_range
Range::field m_lar_dm_field
A Range describes the possible ranges for the field values of an ExpandedIdentifier.
ExpandedIdentifier fwd_exp(void) const
IdDictFieldImplementation m_muon_station_name_impl
IdContext ros_context(void) const
access to IdContext's which define which levels of fields are contained in the id
IdContext adc_context(void) const
idContext for ADCs
HWIdentifier adc_id(int ros, int drawer, int channel, int adc) const
adc HWIdentifer
int match(const ExpandedIdentifier &id) const
Match an identifier.
bool is_lumi(Identifier id) const
bool reinitialize(const IdDictMgr &dict_mgr)
Test whether an idhelper should be reinitialized based on the change of tags.
bool is_lar_dm(Identifier id) const
LAr/Tile dead material:
bool is_muon(Identifier id) const
int drawer(const HWIdentifier &id) const
extract drawer field from HW identifier
IdDictFieldImplementation m_det_impl
Data object for each calorimeter readout cell.
std::string show_to_string(Identifier id, const IdContext *context=0, char sep='.') const
or provide the printout in string form
ExpandedIdentifier lar_exp(void) const
int initLevelsFromDict(void)
std::vector< std::string > m_file_names
List of dictionary file names used by this helper.
IdDictFieldImplementation m_system_impl
const IdDictDictionary * m_dict
std::string m_nm
Message source name.
std::vector< HWIdentifier > m_channel_vec
int get_expanded_id(const HWIdentifier &id, ExpandedIdentifier &exp_id, const IdContext *context) const
create expanded Identifier from Identifier (return == 0 for OK)
IdDictDictionary * m_lar_dict
unsigned long long value_type
bool is_lvl1_online(Identifier id) const
MultiRange m_full_adc_range
void initMessaging() const
Initialize our message level and MessageSvc.
size_type cardinality() const
Computes a possible cardinality from all ranges.
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
boost::thread_specific_ptr< MsgStream > m_msg_tls
MsgStream instance (a std::cout like with print-out levels)
std::vector< HWIdentifier > m_drawer_vec
virtual bool do_checks(void) const override
Checks are performed by default in debug compilation and NOT in optimized compilation.
This class saves the "context" of an expanded identifier (ExpandedIdentifier) for compact or hash ver...
std::vector< std::string > m_dict_tags
List of dictionary versions used by this helper.
std::vector< IdDictFieldImplementation > m_implementation
size_type m_drawer_hash_max
IdDictFieldImplementation m_drawer_impl
Range::field m_lvl1_field