|
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 (void) |
|
| ~TTOnlineID (void) |
|
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 (void) const |
| (4) iterator over towerId More...
|
|
std::vector< HWIdentifier >::const_iterator | crate_end (void) 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 (void) const |
| (4) iterator over towerId More...
|
|
std::vector< HWIdentifier >::const_iterator | module_end (void) 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 (void) const |
| (4) iterator over towerId More...
|
|
std::vector< HWIdentifier >::const_iterator | submodule_end (void) 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 (void) const |
| (4) iterator over towerId More...
|
|
std::vector< HWIdentifier >::const_iterator | channel_end (void) const |
|
size_type | crateHashMax (void) const |
|
size_type | moduleHashMax (void) const |
|
size_type | submoduleHashMax (void) const |
|
size_type | channelHashMax (void) 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 (void) const |
| context for feedthroughs, feb & channels More...
|
|
IdContext | moduleContext (void) const |
|
IdContext | submoduleContext (void) const |
|
IdContext | channelContext (void) 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 (void) |
| init() hashes More...
|
|
int | init_hashes (void) |
|
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 36 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 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
◆ TTOnlineID()
TTOnlineID::TTOnlineID |
( |
void |
| ) |
|
◆ ~TTOnlineID()
TTOnlineID::~TTOnlineID |
( |
void |
| ) |
|
|
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 |
( |
void |
| ) |
const |
|
inline |
◆ channel_end()
std::vector< HWIdentifier >::const_iterator TTOnlineID::channel_end |
( |
void |
| ) |
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 291 of file TTOnlineID.cxx.
299 std::string errorMessage =
"TTOnlineID::channel_Id_checks(crateId) result is not OK: ID = "
306 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 269 of file TTOnlineID.cxx.
277 std::string errorMessage =
"TTOnlineID::channel_Id_checks(moduleId) result is not OK: ID = "
284 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 247 of file TTOnlineID.cxx.
255 std::string errorMessage =
"TTOnlineID::channel_Id_checks(submoduleId) result is not OK: ID = "
262 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 233 of file TTOnlineID.cxx.
240 std::string errorMessage =
"[TTOnlineID]::channnelId() result is not OK: ID, range = "
◆ channelContext()
IdContext TTOnlineID::channelContext |
( |
void |
| ) |
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 398 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 |
( |
void |
| ) |
const |
|
inline |
◆ crate_end()
std::vector< HWIdentifier >::const_iterator TTOnlineID::crate_end |
( |
void |
| ) |
const |
|
inline |
◆ crate_Id_checks()
void TTOnlineID::crate_Id_checks |
( |
int |
crate | ) |
const |
|
private |
◆ crateContext()
IdContext TTOnlineID::crateContext |
( |
void |
| ) |
const |
context for feedthroughs, feb & channels
Definition at line 44 of file TTOnlineID.cxx.
◆ crateHash()
◆ crateHashMax()
◆ crateId() [1/3]
◆ crateId() [2/3]
(1) create towerId from fields
Definition at line 234 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 |
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.
◆ 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 258 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 250 of file AtlasDetectorID.cxx.
◆ 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 TTOnlineID::init_hashes |
( |
void |
| ) |
|
|
private |
Definition at line 508 of file TTOnlineID.cxx.
512 std::stringstream strm1;
513 std::stringstream strm2;
514 std::stringstream strm3;
524 unsigned int nids = 0;
525 std::set<HWIdentifier>
ids;
529 auto first = rit.begin();
530 auto last = rit.end();
535 if(!(
ids.insert(cra_id)).second){
537 strg1 =
"[init_hashes] > duplicated id for channel nb = "+strm1.str();
539 strg3 =
" expanded Id= "+strm3.str();
545 std::cout <<
"TTOnlineID::Error" << strg1 << std::endl;
546 std::cout << strg3 << std::endl;
555 strg1 =
"[init_hashes] >";
556 strg2 =
" set size NOT EQUAL to hash max. size "+strm1.str();
557 strg3 =
" hash max "+strm2.str();
566 std::cout <<
"TTOnlineID::" << strg1 << std::endl;
567 std::cout <<
"Error" << strg2 << std::endl;
568 std::cout << strg3 << std::endl;
574 std::set<HWIdentifier>::const_iterator
first =
ids.begin();
575 std::set<HWIdentifier>::const_iterator last =
ids.end();
588 unsigned int nids = 0;
589 std::set<HWIdentifier>
ids;
593 auto first = rit.begin();
594 auto last = rit.end();
599 if(!(
ids.insert(mod_id)).second){
601 strg1 =
"[init_hashes] > duplicated id for channel nb = "+strm1.str();
603 strg3 =
" expanded Id= "+strm3.str();
609 std::cout <<
"TTOnlineID::Error" << strg1 << std::endl;
610 std::cout << strg3 << std::endl;
619 strg1 =
"[init_hashes] >";
620 strg2 =
" set size NOT EQUAL to hash max. size "+strm1.str();
621 strg3 =
" hash max "+strm2.str();
630 std::cout <<
"TTOnlineID::" << strg1 << std::endl;
631 std::cout <<
"Error" << strg2 << std::endl;
632 std::cout << strg3 << std::endl;
638 std::set<HWIdentifier>::const_iterator
first =
ids.begin();
639 std::set<HWIdentifier>::const_iterator last =
ids.end();
652 unsigned int nids = 0;
653 std::set<HWIdentifier>
ids;
657 auto first = rit.begin();
658 auto last = rit.end();
663 if(!(
ids.insert(submod_id)).second){
665 strg1 =
"[init_hashes] > duplicated id for channel nb = "+strm1.str();
667 strg3 =
" expanded Id= "+strm3.str();
673 std::cout <<
"TTOnlineID::Error" << strg1 << std::endl;
675 std::cout << strg3 << std::endl;
684 strg1 =
"[init_hashes] >";
685 strg2 =
" set size NOT EQUAL to hash max. size "+strm1.str();
686 strg3 =
" hash max "+strm2.str();
695 std::cout <<
"TTOnlineID::" << strg1 << std::endl;
696 std::cout <<
"Error" << strg2 << std::endl;
697 std::cout << strg3 << std::endl;
703 std::set<HWIdentifier>::const_iterator
first =
ids.begin();
704 std::set<HWIdentifier>::const_iterator last =
ids.end();
717 unsigned int nids = 0;
718 std::set<HWIdentifier>
ids;
722 auto first = rit.begin();
723 auto last = rit.end();
728 if(!(
ids.insert(chan_id)).second){
730 strg1 =
"[init_hashes] > duplicated id for channel nb = "+strm1.str();
732 strg3 =
" expanded Id= "+strm3.str();
738 std::cout <<
"TTOnlineID::Error" << strg1 << std::endl;
739 std::cout << strg3 << std::endl;
748 strg1 =
"[init_hashes] >";
749 strg2 =
" set size NOT EQUAL to hash max. size "+strm1.str();
750 strg3 =
" hash max "+strm2.str();
759 std::cout <<
"TTOnlineID::" << strg1 << std::endl;
760 std::cout <<
"Error" << strg2 << std::endl;
761 std::cout << strg3 << std::endl;
767 std::set<HWIdentifier>::const_iterator
first =
ids.begin();
768 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 71 of file TTOnlineID.cxx.
76 std::string strg =
"initialize_from_dictionary";
81 std::cout << strg << std::endl;
106 strg =
" initialize_from_dictionary - cannot access Calorimeter dictionary";
112 std::cout <<
"TTOnlineID::" << strg << std::endl;
135 std::stringstream strm;
136 strm << atlasDict->
m_name;
137 strg=
" Could not get value for label 'Calorimeter' of field 'subdet' in dictionary "+strm.str();
142 std::cout <<
"TTOnlineID:" << strg << std::endl;
153 bool oldTag = (
tag.empty() ||
tag ==
"CaloIdentifier-DC3-05" ||
tag ==
"CaloIdentifier-LVL1-01");
160 std::stringstream strm;
162 strg =
"WARNING : Could not get value for label 'DetZside' in dictionary "+strm.str();
167 std::cout << strg << std::endl;
181 reg_id.
add(caloValue);
190 log <<
MSG::DEBUG <<
"[initialize_from_dictionary] > Crate range -> "
192 log <<
MSG::DEBUG <<
"[initialize_from_dictionary] > Module range -> "
194 log <<
MSG::DEBUG <<
"[initialize_from_dictionary] > SubModule range -> "
196 log <<
MSG::DEBUG <<
"[initialize_from_dictionary] > Channel range -> "
◆ initLevelsFromDict()
int TTOnlineID::initLevelsFromDict |
( |
void |
| ) |
|
|
private |
init() hashes
Definition at line 359 of file TTOnlineID.cxx.
366 log << MSG::INFO <<
"TTOnlineID::initLevelsFromDict - dictionary NOT initialized "
382 log <<
MSG::DEBUG <<
"[initLevelsFromDict] (2) data member initialization OK ... " <<
endmsg;
386 bool oldTag = (
tag.empty() ||
tag ==
"CaloIdentifier-DC3-05" ||
tag ==
"CaloIdentifier-LVL1-01");
394 if(!oldTag)
log << MSG::INFO <<
"WARNING : TTOnlineID::initLevelsFromDict - unable to find 'PPM_Crate-00' region" <<
endmsg;
405 log << MSG::INFO <<
"TTOnlineID::initLevelsFromDict - unable to find 'Calo' field "
416 log << MSG::INFO <<
"TTOnlineID::initLevelsFromDict - unable to find 'DetZside' field "
427 log << MSG::INFO <<
"TTOnlineID::initLevelsFromDict - unable to find 'crate' field "
438 log << MSG::INFO <<
"TTOnlineID::initLevelsFromDict - unable to find 'module' field "
449 log << MSG::INFO <<
"TTOnlineID::initLevelsFromDict - unable to find 'submodule' field " <<
endmsg ;
459 log << MSG::INFO <<
"TTOnlineID::initLevelsFromDict - unable to find 'channel' field " <<
endmsg;
480 log <<
MSG::DEBUG <<
"[initLevelsFromDict] > ...implementation: m_det_side_index " <<
endmsg;
486 log <<
MSG::DEBUG <<
"[initLevelsFromDict] > ...implementation: m_module_index " <<
endmsg;
488 log <<
MSG::DEBUG <<
"[initLevelsFromDict] > ...implementation: m_submodule_index " <<
endmsg;
490 log <<
MSG::DEBUG <<
"[initLevelsFromDict] > ...implementation: m_channel_index " <<
endmsg;
494 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 |
( |
void |
| ) |
const |
|
inline |
◆ module_end()
std::vector< HWIdentifier >::const_iterator TTOnlineID::module_end |
( |
void |
| ) |
const |
|
inline |
◆ module_Id_checks()
void TTOnlineID::module_Id_checks |
( |
int |
crate, |
|
|
int |
module |
|
) |
| const |
|
private |
◆ moduleContext()
IdContext TTOnlineID::moduleContext |
( |
void |
| ) |
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 287 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 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 ");
◆ 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 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 |
◆ submodule()
◆ submodule_begin()
std::vector< HWIdentifier >::const_iterator TTOnlineID::submodule_begin |
( |
void |
| ) |
const |
|
inline |
◆ submodule_end()
std::vector< HWIdentifier >::const_iterator TTOnlineID::submodule_end |
( |
void |
| ) |
const |
|
inline |
◆ submodule_Id_checks()
void TTOnlineID::submodule_Id_checks |
( |
int |
crate, |
|
|
int |
module, |
|
|
int |
submodule |
|
) |
| const |
|
private |
◆ submoduleContext()
IdContext TTOnlineID::submoduleContext |
( |
void |
| ) |
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 341 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 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_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_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_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.
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.
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
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
std::vector< HWIdentifier > m_submodule_vec
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
int muon_field_value() const
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
IdContext submoduleContext(void) const
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.
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.
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.
bool match(element_type value) const
The basic match operation.
Range::field m_tile_dm_field
std::vector< HWIdentifier > m_module_vec
int module(const HWIdentifier id) const
IdDictDictionary * find_dictionary(const std::string &name) const
Access dictionary by name.
msgSvc
Provide convenience handles for various services.
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
std::vector< IdDictRegion * > m_regions
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
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
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.
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
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.
IdContext moduleContext(void) const
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
ExpandedIdentifier lar_exp(void) const
std::vector< std::string > m_file_names
List of dictionary file names used by this helper.
size_type m_channel_index
int initLevelsFromDict(void)
init() hashes
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
IdContext crateContext(void) const
context for feedthroughs, feb & channels
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.
std::vector< IdDictFieldImplementation > m_implementation
MultiRange m_full_submodule_range
Range::field m_lvl1_field
std::vector< HWIdentifier > m_channel_vec