 |
ATLAS Offline Software
|
Helper class for Calo TT online identifiers.
More...
#include <TTOnlineID.h>
|
| class | HashCalc |
| | small class holding the starting hash value, the min eta and the number of phi bins of each region
used to CPU-optimize the conversion from an identifier to a hash index More...
|
| |
|
| 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...
|
| |
|
| | TTOnlineID () |
| |
| | ~TTOnlineID () |
| |
| HWIdentifier | crateId (int crate) const |
| | (1) create towerId from fields More...
|
| |
| HWIdentifier | crateId (int crate, bool checks) const |
| |
| HWIdentifier | crateId (IdentifierHash crate_hash) const |
| | (2) create towerId from hash More...
|
| |
| IdentifierHash | crateHash (HWIdentifier crate_id) const |
| | (3) create towerId from hash More...
|
| |
| std::vector< HWIdentifier >::const_iterator | crate_begin () const |
| | (4) iterator over towerId More...
|
| |
| std::vector< HWIdentifier >::const_iterator | crate_end () const |
| |
| HWIdentifier | moduleId (int crate, int module) const |
| | (1) create towerId from fields More...
|
| |
| HWIdentifier | moduleId (int crate, int module, bool checks) const |
| |
| HWIdentifier | moduleId (IdentifierHash crate_hash) const |
| | (2) create towerId from hash More...
|
| |
| IdentifierHash | moduleHash (HWIdentifier crate_id) const |
| | (3) create towerId from hash More...
|
| |
| std::vector< HWIdentifier >::const_iterator | module_begin () const |
| | (4) iterator over towerId More...
|
| |
| std::vector< HWIdentifier >::const_iterator | module_end () const |
| |
| HWIdentifier | submoduleId (int crate, int module, int submodule) const |
| | (1) create towerId from fields More...
|
| |
| HWIdentifier | submoduleId (int crate, int module, int submodule, bool checks) const |
| |
| HWIdentifier | submoduleId (IdentifierHash crate_hash) const |
| | (2) create towerId from hash More...
|
| |
| IdentifierHash | submoduleHash (HWIdentifier crate_id) const |
| | (3) create towerId from hash More...
|
| |
| std::vector< HWIdentifier >::const_iterator | submodule_begin () const |
| | (4) iterator over towerId More...
|
| |
| std::vector< HWIdentifier >::const_iterator | submodule_end () const |
| |
| HWIdentifier | channelId (int crate, int module, int submodule, int channel) const |
| | (1) create towerId from fields More...
|
| |
| HWIdentifier | channelId (int crate, int module, int submodule, int channel, bool checks) const |
| |
| HWIdentifier | channelId (IdentifierHash crate_hash) const |
| | (2) create towerId from hash More...
|
| |
| IdentifierHash | channelHash (HWIdentifier crate_id) const |
| | (3) create towerId from hash More...
|
| |
| std::vector< HWIdentifier >::const_iterator | channel_begin () const |
| | (4) iterator over towerId More...
|
| |
| std::vector< HWIdentifier >::const_iterator | channel_end () const |
| |
| size_type | crateHashMax () const |
| |
| size_type | moduleHashMax () const |
| |
| size_type | submoduleHashMax () const |
| |
| size_type | channelHashMax () const |
| |
| virtual int | initialize_from_dictionary (const IdDictMgr &dict_mgr) |
| | Initialization from the identifier dictionary. More...
|
| |
| int | crate (const HWIdentifier id) const |
| |
| int | module (const HWIdentifier id) const |
| |
| int | submodule (const HWIdentifier id) const |
| |
| int | channel (const HWIdentifier id) const |
| |
| IdContext | crateContext () const |
| | context for feedthroughs, feb & channels More...
|
| |
| IdContext | moduleContext () const |
| |
| IdContext | submoduleContext () const |
| |
| IdContext | channelContext () const |
| |
| 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...
|
| |
|
| IdentifierHash | channel_hash_binary_search (HWIdentifier channelId) const |
| |
| void | channel_Id_checks (int crate, int module, int submodule, int channel) const |
| |
| void | channel_Id_checks (const HWIdentifier crateId, int module, int submodule, int channel) const |
| |
| void | channel_Id_checks (const HWIdentifier moduleId, int submodule, int channel) const |
| |
| void | channel_Id_checks (const HWIdentifier submoduleId, int channel) const |
| |
| void | submodule_Id_checks (int crate, int module, int submodule) const |
| |
| void | module_Id_checks (int crate, int module) const |
| |
| void | crate_Id_checks (int crate) const |
| |
| int | get_expanded_id (const HWIdentifier &id, ExpandedIdentifier &exp_id, const IdContext *context) const |
| | create expanded HWIdentifier from HWIdentifier (return == 0 for OK) More...
|
| |
| int | detzside_field_value () const |
| | return the value of the detzside field (initialized in initialize_from_dictionary()) More...
|
| |
| int | initLevelsFromDict () |
| | init() hashes More...
|
| |
| int | init_hashes () |
| |
| void | initMessaging () const |
| | Initialize our message level and MessageSvc. More...
|
| |
Helper class for Calo TT online identifiers.
This class provides an interface to decode and generate online identifiers for the Calorimeter Trigger Towers.
Definition at line 28 of file TTOnlineID.h.
◆ size_type
◆ anonymous enum
◆ 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 55 of file AtlasDetectorID.h.
60 LArEM, LArFCal, LArFCalSuperCell,
61 LArHEC, LArHEC_SuperCell, LARMiniFCal,
65 LArOnline, LArOnlineSuperCell,
67 LArElectrode, LArHVLine,
68 TileHardware, TileTestbeam,
75 LUCID, LUCID_Hardware,
◆ ID
◆ TTOnlineID()
| TTOnlineID::TTOnlineID |
( |
| ) |
|
◆ ~TTOnlineID()
| TTOnlineID::~TTOnlineID |
( |
| ) |
|
|
default |
◆ 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()
◆ channel_begin()
| std::vector< HWIdentifier >::const_iterator TTOnlineID::channel_begin |
( |
| ) |
const |
|
inline |
◆ channel_end()
| std::vector< HWIdentifier >::const_iterator TTOnlineID::channel_end |
( |
| ) |
const |
|
inline |
◆ channel_hash_binary_search()
◆ channel_Id_checks() [1/4]
| void TTOnlineID::channel_Id_checks |
( |
const HWIdentifier |
crateId, |
|
|
int |
module, |
|
|
int |
submodule, |
|
|
int |
channel |
|
) |
| const |
|
private |
Definition at line 296 of file TTOnlineID.cxx.
304 std::string errorMessage =
"TTOnlineID::channel_Id_checks(crateId) result is not OK: ID = "
311 std::string errorMessage =
"TTOnlineID::channel_Id_checks(crateId) result is not OK: ID, range = "
◆ channel_Id_checks() [2/4]
| void TTOnlineID::channel_Id_checks |
( |
const HWIdentifier |
moduleId, |
|
|
int |
submodule, |
|
|
int |
channel |
|
) |
| const |
|
private |
Definition at line 274 of file TTOnlineID.cxx.
282 std::string errorMessage =
"TTOnlineID::channel_Id_checks(moduleId) result is not OK: ID = "
289 std::string errorMessage =
"TTOnlineID::channel_Id_checks(submoduleId) result is not OK: ID, range = "
◆ channel_Id_checks() [3/4]
| void TTOnlineID::channel_Id_checks |
( |
const HWIdentifier |
submoduleId, |
|
|
int |
channel |
|
) |
| const |
|
private |
Definition at line 252 of file TTOnlineID.cxx.
260 std::string errorMessage =
"TTOnlineID::channel_Id_checks(submoduleId) result is not OK: ID = "
267 std::string errorMessage =
"TTOnlineID::channel_Id_checks(submoduleId) result is not OK: ID, range = "
◆ channel_Id_checks() [4/4]
| void TTOnlineID::channel_Id_checks |
( |
int |
crate, |
|
|
int |
module, |
|
|
int |
submodule, |
|
|
int |
channel |
|
) |
| const |
|
private |
Definition at line 238 of file TTOnlineID.cxx.
245 std::string errorMessage =
"[TTOnlineID]::channnelId() result is not OK: ID, range = "
◆ channelContext()
| IdContext TTOnlineID::channelContext |
( |
| ) |
const |
◆ channelHash()
◆ channelHashMax()
◆ channelId() [1/3]
◆ channelId() [2/3]
| HWIdentifier TTOnlineID::channelId |
( |
int |
crate, |
|
|
int |
module, |
|
|
int |
submodule, |
|
|
int |
channel |
|
) |
| const |
|
inline |
(1) create towerId from fields
Definition at line 390 of file TTOnlineID.h.
◆ channelId() [3/3]
| HWIdentifier TTOnlineID::channelId |
( |
int |
crate, |
|
|
int |
module, |
|
|
int |
submodule, |
|
|
int |
channel, |
|
|
bool |
checks |
|
) |
| const |
|
inline |
◆ crate()
◆ crate_begin()
| std::vector< HWIdentifier >::const_iterator TTOnlineID::crate_begin |
( |
| ) |
const |
|
inline |
◆ crate_end()
| std::vector< HWIdentifier >::const_iterator TTOnlineID::crate_end |
( |
| ) |
const |
|
inline |
◆ crate_Id_checks()
| void TTOnlineID::crate_Id_checks |
( |
int |
crate | ) |
const |
|
private |
◆ crateContext()
context for feedthroughs, feb & channels
Definition at line 49 of file TTOnlineID.cxx.
◆ crateHash()
◆ crateHashMax()
◆ crateId() [1/3]
◆ crateId() [2/3]
(1) create towerId from fields
Definition at line 226 of file TTOnlineID.h.
◆ crateId() [3/3]
| HWIdentifier TTOnlineID::crateId |
( |
int |
crate, |
|
|
bool |
checks |
|
) |
| const |
|
inline |
◆ csc()
◆ csc_field_value()
| int AtlasDetectorID::csc_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ detsystem_context()
| IdContext AtlasDetectorID::detsystem_context |
( |
void |
| ) |
const |
|
inherited |
◆ detzside_field_value()
| int TTOnlineID::detzside_field_value |
( |
| ) |
const |
|
inlineprivate |
◆ 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 |
◆ 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 476 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 483 of file AtlasDetectorID.cxx.
◆ file_names()
| const std::vector< std::string > & AtlasDetectorID::file_names |
( |
void |
| ) |
const |
|
inherited |
◆ 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 |
◆ fwd_exp()
◆ get_expanded_id()
◆ get_hash()
Create hash id from compact id (return == 0 for OK)
Implements IdHelper.
Reimplemented in SCT_ID, TRT_ID, PixelID, SiliconID, MuonIdHelper, TileHWID, CaloIDHelper, TileTBID, Tile_Base_ID, HGTD_ID, CaloLVL1_ID, and JGTowerBase_ID.
Definition at line 195 of file AtlasDetectorID.cxx.
◆ get_id()
Create compact id from hash id (return == 0 for OK)
Implements IdHelper.
Reimplemented in SCT_ID, TRT_ID, PixelID, SiliconID, MuonIdHelper, TileHWID, CaloIDHelper, TileTBID, Tile_Base_ID, HGTD_ID, CaloLVL1_ID, and JGTowerBase_ID.
Definition at line 189 of file AtlasDetectorID.cxx.
◆ group()
| const std::string & AtlasDetectorID::group |
( |
| ) |
const |
|
inherited |
◆ 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 606 of file AtlasDetectorID.h.
◆ init_hashes()
| int TTOnlineID::init_hashes |
( |
| ) |
|
|
private |
Definition at line 513 of file TTOnlineID.cxx.
517 std::stringstream strm1;
518 std::stringstream strm2;
519 std::stringstream strm3;
529 unsigned int nids = 0;
530 std::set<HWIdentifier>
ids;
534 auto first = rit.begin();
535 auto last = rit.end();
540 if(!(
ids.insert(cra_id)).second){
542 strg1 =
"[init_hashes] > duplicated id for channel nb = "+strm1.str();
544 strg3 =
" expanded Id= "+strm3.str();
550 std::cout <<
"TTOnlineID::Error" << strg1 << std::endl;
551 std::cout << strg3 << std::endl;
560 strg1 =
"[init_hashes] >";
561 strg2 =
" set size NOT EQUAL to hash max. size "+strm1.str();
562 strg3 =
" hash max "+strm2.str();
571 std::cout <<
"TTOnlineID::" << strg1 << std::endl;
572 std::cout <<
"Error" << strg2 << std::endl;
573 std::cout << strg3 << std::endl;
579 std::set<HWIdentifier>::const_iterator
first =
ids.begin();
580 std::set<HWIdentifier>::const_iterator last =
ids.end();
593 unsigned int nids = 0;
594 std::set<HWIdentifier>
ids;
598 auto first = rit.begin();
599 auto last = rit.end();
604 if(!(
ids.insert(mod_id)).second){
606 strg1 =
"[init_hashes] > duplicated id for channel nb = "+strm1.str();
608 strg3 =
" expanded Id= "+strm3.str();
614 std::cout <<
"TTOnlineID::Error" << strg1 << std::endl;
615 std::cout << strg3 << std::endl;
624 strg1 =
"[init_hashes] >";
625 strg2 =
" set size NOT EQUAL to hash max. size "+strm1.str();
626 strg3 =
" hash max "+strm2.str();
635 std::cout <<
"TTOnlineID::" << strg1 << std::endl;
636 std::cout <<
"Error" << strg2 << std::endl;
637 std::cout << strg3 << std::endl;
643 std::set<HWIdentifier>::const_iterator
first =
ids.begin();
644 std::set<HWIdentifier>::const_iterator last =
ids.end();
657 unsigned int nids = 0;
658 std::set<HWIdentifier>
ids;
662 auto first = rit.begin();
663 auto last = rit.end();
668 if(!(
ids.insert(submod_id)).second){
670 strg1 =
"[init_hashes] > duplicated id for channel nb = "+strm1.str();
672 strg3 =
" expanded Id= "+strm3.str();
678 std::cout <<
"TTOnlineID::Error" << strg1 << std::endl;
680 std::cout << strg3 << std::endl;
689 strg1 =
"[init_hashes] >";
690 strg2 =
" set size NOT EQUAL to hash max. size "+strm1.str();
691 strg3 =
" hash max "+strm2.str();
700 std::cout <<
"TTOnlineID::" << strg1 << std::endl;
701 std::cout <<
"Error" << strg2 << std::endl;
702 std::cout << strg3 << std::endl;
708 std::set<HWIdentifier>::const_iterator
first =
ids.begin();
709 std::set<HWIdentifier>::const_iterator last =
ids.end();
722 unsigned int nids = 0;
723 std::set<HWIdentifier>
ids;
727 auto first = rit.begin();
728 auto last = rit.end();
733 if(!(
ids.insert(chan_id)).second){
735 strg1 =
"[init_hashes] > duplicated id for channel nb = "+strm1.str();
737 strg3 =
" expanded Id= "+strm3.str();
743 std::cout <<
"TTOnlineID::Error" << strg1 << std::endl;
744 std::cout << strg3 << std::endl;
753 strg1 =
"[init_hashes] >";
754 strg2 =
" set size NOT EQUAL to hash max. size "+strm1.str();
755 strg3 =
" hash max "+strm2.str();
764 std::cout <<
"TTOnlineID::" << strg1 << std::endl;
765 std::cout <<
"Error" << strg2 << std::endl;
766 std::cout << strg3 << std::endl;
772 std::set<HWIdentifier>::const_iterator
first =
ids.begin();
773 std::set<HWIdentifier>::const_iterator last =
ids.end();
◆ initialize_from_dictionary()
| int TTOnlineID::initialize_from_dictionary |
( |
const IdDictMgr & |
dict_mgr | ) |
|
|
virtual |
Initialization from the identifier dictionary.
Reimplemented from AtlasDetectorID.
Definition at line 76 of file TTOnlineID.cxx.
81 std::string strg =
"initialize_from_dictionary";
86 std::cout << strg << std::endl;
111 strg =
" initialize_from_dictionary - cannot access Calorimeter dictionary";
117 std::cout <<
"TTOnlineID::" << strg << std::endl;
140 std::stringstream strm;
141 strm << atlasDict->
name();
142 strg=
" Could not get value for label 'Calorimeter' of field 'subdet' in dictionary "+strm.str();
147 std::cout <<
"TTOnlineID:" << strg << std::endl;
158 bool oldTag = (
tag.empty() ||
tag ==
"CaloIdentifier-DC3-05" ||
tag ==
"CaloIdentifier-LVL1-01");
165 std::stringstream strm;
167 strg =
"WARNING : Could not get value for label 'DetZside' in dictionary "+strm.str();
172 std::cout << strg << std::endl;
186 reg_id.
add(caloValue);
195 log <<
MSG::DEBUG <<
"[initialize_from_dictionary] > Crate range -> "
197 log <<
MSG::DEBUG <<
"[initialize_from_dictionary] > Module range -> "
199 log <<
MSG::DEBUG <<
"[initialize_from_dictionary] > SubModule range -> "
201 log <<
MSG::DEBUG <<
"[initialize_from_dictionary] > Channel range -> "
◆ initLevelsFromDict()
| int TTOnlineID::initLevelsFromDict |
( |
| ) |
|
|
private |
init() hashes
Definition at line 364 of file TTOnlineID.cxx.
371 log <<
MSG::INFO <<
"TTOnlineID::initLevelsFromDict - dictionary NOT initialized "
387 log <<
MSG::DEBUG <<
"[initLevelsFromDict] (2) data member initialization OK ... " <<
endmsg;
391 bool oldTag = (
tag.empty() ||
tag ==
"CaloIdentifier-DC3-05" ||
tag ==
"CaloIdentifier-LVL1-01");
399 if(!oldTag)
log <<
MSG::INFO <<
"WARNING : TTOnlineID::initLevelsFromDict - unable to find 'PPM_Crate-00' region" <<
endmsg;
410 log <<
MSG::INFO <<
"TTOnlineID::initLevelsFromDict - unable to find 'Calo' field "
421 log <<
MSG::INFO <<
"TTOnlineID::initLevelsFromDict - unable to find 'DetZside' field "
432 log <<
MSG::INFO <<
"TTOnlineID::initLevelsFromDict - unable to find 'crate' field "
443 log <<
MSG::INFO <<
"TTOnlineID::initLevelsFromDict - unable to find 'module' field "
454 log <<
MSG::INFO <<
"TTOnlineID::initLevelsFromDict - unable to find 'submodule' field " <<
endmsg ;
464 log <<
MSG::INFO <<
"TTOnlineID::initLevelsFromDict - unable to find 'channel' field " <<
endmsg;
485 log <<
MSG::DEBUG <<
"[initLevelsFromDict] > ...implementation: m_det_side_index " <<
endmsg;
491 log <<
MSG::DEBUG <<
"[initLevelsFromDict] > ...implementation: m_module_index " <<
endmsg;
493 log <<
MSG::DEBUG <<
"[initLevelsFromDict] > ...implementation: m_submodule_index " <<
endmsg;
495 log <<
MSG::DEBUG <<
"[initLevelsFromDict] > ...implementation: m_channel_index " <<
endmsg;
499 log <<
MSG::DEBUG <<
"[initLevelsFromDict] (11) 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_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_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_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 |
◆ module()
◆ module_begin()
| std::vector< HWIdentifier >::const_iterator TTOnlineID::module_begin |
( |
| ) |
const |
|
inline |
◆ module_end()
| std::vector< HWIdentifier >::const_iterator TTOnlineID::module_end |
( |
| ) |
const |
|
inline |
◆ module_Id_checks()
| void TTOnlineID::module_Id_checks |
( |
int |
crate, |
|
|
int |
module |
|
) |
| const |
|
private |
◆ moduleContext()
| IdContext TTOnlineID::moduleContext |
( |
| ) |
const |
◆ moduleHash()
◆ moduleHashMax()
◆ moduleId() [1/3]
◆ moduleId() [2/3]
| HWIdentifier TTOnlineID::moduleId |
( |
int |
crate, |
|
|
int |
module |
|
) |
| const |
|
inline |
(1) create towerId from fields
Definition at line 279 of file TTOnlineID.h.
◆ moduleId() [3/3]
| HWIdentifier TTOnlineID::moduleId |
( |
int |
crate, |
|
|
int |
module, |
|
|
bool |
checks |
|
) |
| const |
|
inline |
◆ 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 427 of file AtlasDetectorID.cxx.
434 unsigned int max_index = (context) ? context->
end_index() : 999;
458 ATH_MSG_WARNING(__func__<<
":"<<__LINE__<<
" No dictionary could be associated to "<<
id);
◆ register_dict_tag()
| int AtlasDetectorID::register_dict_tag |
( |
const IdDictMgr & |
dict_mgr, |
|
|
const std::string & |
dict_name |
|
) |
| |
|
protectedinherited |
◆ reinitialize()
Test whether an idhelper should be reinitialized based on the change of tags.
Definition at line 221 of file AtlasDetectorID.cxx.
232 ATH_MSG_ERROR(
"reinitialize: dict names and tags vectors not the same length ");
◆ rpc()
◆ rpc_field_value()
| int AtlasDetectorID::rpc_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ sct()
◆ sct_exp()
◆ sct_field_value()
| int AtlasDetectorID::sct_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ 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 359 of file AtlasDetectorID.cxx.
◆ show_to_string()
or provide the printout in string form
Definition at line 365 of file AtlasDetectorID.cxx.
368 std::string
result(
"Unable to decode id");
369 unsigned int max_index = (context) ? context->
end_index() : 999;
371 if (!
id.is_valid()) {
403 if (dict->unpack(
m_group, compact,
prefix, max_index, expId)) {
411 for (
unsigned int i = 0;
i < expId.fields(); ++
i) {
◆ stgc()
◆ stgc_field_value()
| int AtlasDetectorID::stgc_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ subdet_context()
| IdContext AtlasDetectorID::subdet_context |
( |
void |
| ) |
const |
|
inherited |
◆ submodule()
◆ submodule_begin()
| std::vector< HWIdentifier >::const_iterator TTOnlineID::submodule_begin |
( |
| ) |
const |
|
inline |
◆ submodule_end()
| std::vector< HWIdentifier >::const_iterator TTOnlineID::submodule_end |
( |
| ) |
const |
|
inline |
◆ submodule_Id_checks()
| void TTOnlineID::submodule_Id_checks |
( |
int |
crate, |
|
|
int |
module, |
|
|
int |
submodule |
|
) |
| const |
|
private |
◆ submoduleContext()
| IdContext TTOnlineID::submoduleContext |
( |
| ) |
const |
◆ submoduleHash()
◆ submoduleHashMax()
◆ submoduleId() [1/3]
◆ submoduleId() [2/3]
| HWIdentifier TTOnlineID::submoduleId |
( |
int |
crate, |
|
|
int |
module, |
|
|
int |
submodule |
|
) |
| const |
|
inline |
(1) create towerId from fields
Definition at line 333 of file TTOnlineID.h.
◆ submoduleId() [3/3]
| HWIdentifier TTOnlineID::submoduleId |
( |
int |
crate, |
|
|
int |
module, |
|
|
int |
submodule, |
|
|
bool |
checks |
|
) |
| const |
|
inline |
◆ 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 |
◆ to_range()
◆ 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_ALFA_ID
| int AtlasDetectorID::m_ALFA_ID {1} |
|
privateinherited |
◆ m_atlas_dict
◆ m_BCM_ID
| int AtlasDetectorID::m_BCM_ID {3} |
|
privateinherited |
◆ m_calo_detzside_impl
◆ m_calo_dict
◆ m_CALO_ID
| int AtlasDetectorID::m_CALO_ID {10} |
|
privateinherited |
◆ m_calo_impl
◆ m_calo_index
◆ m_calo_side_impl
◆ m_channel_impl
◆ m_channel_index
◆ m_channel_vec
◆ m_channelHashMax
◆ m_crate_impl
◆ m_crate_index
◆ m_crate_vec
◆ m_crateHashMax
◆ m_CSC_ID
| int AtlasDetectorID::m_CSC_ID {1} |
|
privateinherited |
◆ m_det_impl
◆ m_DET_INDEX
◆ m_detzside_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 363 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 366 of file AtlasDetectorID.h.
◆ m_file_names
| std::vector<std::string> AtlasDetectorID::m_file_names |
|
protectedinherited |
List of dictionary file names used by this helper.
Definition at line 379 of file AtlasDetectorID.h.
◆ m_full_channel_range
◆ m_full_crate_range
◆ m_full_module_range
◆ m_full_submodule_range
◆ m_fwd_dict
◆ m_FWD_ID
| int AtlasDetectorID::m_FWD_ID {13} |
|
privateinherited |
◆ m_fwd_part_impl
◆ m_group
| std::string AtlasDetectorID::m_group |
|
protectedinherited |
◆ m_hash_calcs
| std::vector<HashCalc> TTOnlineID::m_hash_calcs |
|
private |
◆ m_helper
◆ m_HGTD_ID
| int AtlasDetectorID::m_HGTD_ID {4} |
|
privateinherited |
◆ m_iDetZSideFieldValue
| int TTOnlineID::m_iDetZSideFieldValue |
|
private |
◆ 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_l1online_regions_index
| size_type TTOnlineID::m_l1online_regions_index |
|
private |
◆ 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_module_impl
◆ m_module_index
◆ m_module_vec
◆ m_moduleHashMax
◆ 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_RPC_ID
| int AtlasDetectorID::m_RPC_ID {2} |
|
privateinherited |
◆ m_SCT_ID
| int AtlasDetectorID::m_SCT_ID {2} |
|
privateinherited |
◆ m_STGC_ID
| int AtlasDetectorID::m_STGC_ID {4} |
|
privateinherited |
◆ m_SUBDET_INDEX
| size_type AtlasDetectorID::m_SUBDET_INDEX {999} |
|
privateinherited |
◆ m_submodule_impl
◆ m_submodule_index
◆ m_submodule_vec
◆ m_submoduleHashMax
◆ 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_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.
IdDictDictionary * m_muon_dict
int indet_field_value() const
Provide efficient access to individual field values, for subclass idhelpers.
IdDictFieldImplementation m_channel_impl
int channel(const HWIdentifier id) const
IdDictFieldImplementation m_calo_detzside_impl
bool is_forward(Identifier id) const
MultiRange build_multirange() const
Get MultiRange for full dictionary.
std::vector< unsigned int > m_muon_tech_bits
virtual int initialize_from_dictionary(const IdDictMgr &dict_mgr) override
Initialization from the identifier dictionary.
IdDictFieldImplementation m_indet_part_impl
std::vector< HWIdentifier > m_submodule_vec
const std::string & version() const
Dictionary version.
bool is_lar_fcal(Identifier id) const
Exception class for Calo Identifiers.
void crate_Id_checks(int crate) const
std::string show_to_string(void) const
bool is_lar(Identifier id) const
IdContext submoduleContext() const
int muon_field_value() const
const IdDictRegion & region(size_t i) const
Region at index i.
AtlasDetectorID(const std::string &name, const std::string &group)
size_type m_submodule_index
size_type end_index() const
int calo_field_value() const
void add(element_type value)
Append a value into a new field.
size_type m_l1online_regions_index
void pack(int value, Identifier &id) const
MultiRange m_full_channel_range
IdDictDictionary * m_tile_dict
IMessageSvc * m_msgSvc
pointer to the message service
std::string m_dict_version
bool m_do_checks
Flag for subclasses to know whether or not to perform checks.
static constexpr value_type MAX_BIT
const std::string & name() const
Dictionary name.
int lar_field_value() const
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
IdDictFieldImplementation m_module_impl
std::atomic< IMessageSvc * > m_imsg
MessageSvc pointer.
int unpack(Identifier id) const
Identifier manipulation methods.
const std::string & file_name() const
Access to file name.
virtual bool do_neighbours(void) const override
Neighbour initialization is performed by default One can switch or query this mode for any idHelper w...
int m_iDetZSideFieldValue
IMessageSvc * getMessageSvc(bool quiet=false)
IdDictField * find_field(const std::string &name) const
bool is_lvl1_trig_towers(Identifier id) const
HWIdentifier moduleId(int crate, int module) const
(1) create towerId from fields
bool m_do_neighbours
Flag for subclasses to know whether or not to perform neighbour initialization.
const IdDictFieldImplementation & implementation(size_t i) const
bool match(element_type value) const
The basic match operation Given a value, test to see if it satisfies the constraints for this field.
Range::field m_tile_dm_field
std::vector< HWIdentifier > m_module_vec
int module(const HWIdentifier id) const
static constexpr value_type ALL_BITS
IdDictDictionary * find_dictionary(const std::string &name) const
Access dictionary by name.
msgSvc
Provide convenience handles for various services.
std::string m_group
Group name.
IdDictDictionary * m_calo_dict
HWIdentifier submoduleId(int crate, int module, int submodule) const
(1) create towerId from fields
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
size_type m_detzside_index
size_type m_submoduleHashMax
int detzside_field_value() const
return the value of the detzside field (initialized in initialize_from_dictionary())
bool is_tile_dm(Identifier id) const
IdDictDictionary * m_fwd_dict
bool is_tile(Identifier id) const
Range::field m_lvl1_onl_field
void channel_Id_checks(int crate, int module, int submodule, int channel) const
bool m_quiet
If true, suppress DEBUG/INFO messages.
size_type m_moduleHashMax
MsgStream & msg() const
The standard message stream.
IdDictFieldImplementation m_crate_impl
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
int tile_field_value() const
int get_label_value(const std::string &field, const std::string &label, int &value) const
MultiRange m_full_module_range
std::string print_to_string(Identifier id, const IdContext *context=0) const
or provide the printout in string form
size_type m_calo_index
Member Data index.
IdContext moduleContext() const
IdDictDictionary * m_indet_dict
IdDictFieldImplementation m_submodule_impl
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.
Range::field m_lar_dm_field
int initLevelsFromDict()
init() hashes
IdDictFieldImplementation m_calo_impl
Field Implementation.
virtual void setDictVersion(const IdDictMgr &dict_mgr, const std::string &name) override
A Range describes the possible ranges for the field values of an ExpandedIdentifier.
ExpandedIdentifier calo_exp(void) const
ExpandedIdentifier fwd_exp(void) const
IdDictFieldImplementation m_muon_station_name_impl
int get_expanded_id(const HWIdentifier &id, ExpandedIdentifier &exp_id, const IdContext *context) const
create expanded HWIdentifier from HWIdentifier (return == 0 for OK)
int match(const ExpandedIdentifier &id) const
Match an identifier.
void submodule_Id_checks(int crate, int module, int submodule) const
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.
MultiRange m_full_crate_range
bool is_lar_dm(Identifier id) const
LAr/Tile dead material:
int submodule(const HWIdentifier id) const
bool is_muon(Identifier id) const
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
const std::string & dict_tag() const
Access to the dictionary tag.
ExpandedIdentifier lar_exp(void) const
std::vector< std::string > m_file_names
List of dictionary file names used by this helper.
#define ATH_MSG_WARNING(x)
size_type m_channel_index
std::string m_nm
Message source name.
HWIdentifier crateId(int crate) const
(1) create towerId from fields
void clear()
Erase all fields.
HWIdentifier channelId(int crate, int module, int submodule, int channel) const
(1) create towerId from fields
IdDictDictionary * m_lar_dict
unsigned long long value_type
bool is_lvl1_online(Identifier id) const
const IdDictDictionary * m_dict
void initMessaging() const
Initialize our message level and MessageSvc.
size_type cardinality() const
Computes a possible cardinality from all ranges.
std::vector< HWIdentifier > m_crate_vec
boost::thread_specific_ptr< MsgStream > m_msg_tls
MsgStream instance (a std::cout like with print-out levels)
size_type m_channelHashMax
int crate(const HWIdentifier id) const
void module_Id_checks(int crate, int module) const
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.
IdContext crateContext() const
context for feedthroughs, feb & channels
MultiRange m_full_submodule_range
Range::field m_lvl1_field
std::vector< HWIdentifier > m_channel_vec