|
ATLAS Offline Software
|
#include <HGTD_ID.h>
|
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...
|
|
|
typedef Identifier::size_type | size_type |
|
typedef std::vector< Identifier >::const_iterator | const_id_iterator |
|
typedef MultiRange::const_identifier_factory | const_expanded_id_iterator |
|
|
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...
|
|
|
| HGTD_ID (void) |
|
| ~HGTD_ID (void) |
|
|
Identifier | wafer_id (int endcap, int layer, int phi_module, int eta_module) const |
| For a single crystal. More...
|
|
Identifier | wafer_id (const Identifier &pixel_id) const |
| For a single crystal from a pixel id - DO NOT USE wafer id as input. More...
|
|
Identifier | wafer_id (IdentifierHash wafer_hash) const |
| From hash. More...
|
|
Identifier | pixel_id (int endcap, int layer, int phi_module, int eta_module, int phi_index, int eta_index) const |
| For an individual pixel. More...
|
|
Identifier | pixel_id (const Identifier &id, int phi_index, int eta_index) const |
|
|
size_type | wafer_hash_max (void) const |
|
size_type | pixel_hash_max (void) const |
|
|
const_id_iterator | wafer_begin (void) const |
| Iterators over full set of ids. Wafer iterator is sorted. More...
|
|
const_id_iterator | wafer_end (void) const |
|
const_expanded_id_iterator | pixel_begin (void) const |
| For pixel ids, only expanded id iterators are available. More...
|
|
const_expanded_id_iterator | pixel_end (void) const |
|
IdentifierHash | wafer_hash (Identifier wafer_id) const |
| wafer hash from id More...
|
|
int | endcap (const Identifier &id) const |
| Values of different levels (failure returns 0) More...
|
|
int | layer (const Identifier &id) const |
|
int | phi_module (const Identifier &id) const |
|
int | eta_module (const Identifier &id) const |
|
int | phi_index (const Identifier &id) const |
|
int | eta_index (const Identifier &id) const |
|
int | layer_max (const Identifier &id) const |
| Max/Min values for each field (error returns -999) More...
|
|
int | phi_module_max (const Identifier &id) const |
|
int | eta_module_max (const Identifier &id) const |
|
int | eta_module_min (const Identifier &id) const |
|
int | phi_index_max (const Identifier &id) const |
|
int | eta_index_max (const Identifier &id) const |
|
|
int | get_prev_in_phi (const IdentifierHash &id, IdentifierHash &prev) const |
| Previous wafer hash in phi (return == 0 for neighbor found) More...
|
|
int | get_next_in_phi (const IdentifierHash &id, IdentifierHash &next) const |
| Next wafer hash in phi (return == 0 for neighbor found) More...
|
|
int | get_prev_in_eta (const IdentifierHash &id, IdentifierHash &prev) const |
| Previous wafer hash in eta (return == 0 for neighbor found) More...
|
|
int | get_next_in_eta (const IdentifierHash &id, IdentifierHash &next) const |
| Next wafer hash in eta (return == 0 for neighbor found) More...
|
|
bool | is_phi_module_max (const Identifier &id) const |
| To check for when phi wrap around may be needed. More...
|
|
|
IdContext | wafer_context (void) const |
|
IdContext | pixel_context (void) const |
|
|
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 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...
|
|
int | base_bit (void) const |
| Return the lowest bit position used in the channel id. More...
|
|
Identifier::diff_type | calc_offset (const Identifier &base, const Identifier &target) const |
| Calculate a channel offset between the two identifiers. More...
|
|
Identifier | pixel_id_offset (const Identifier &base, Identifier::diff_type offset) const |
| Create an identifier with a given base and channel offset. More...
|
|
|
std::string | m_nm |
| Message source name. More...
|
|
boost::thread_specific_ptr< MsgStream > | m_msg_tls |
| MsgStream instance (a std::cout like with print-out levels) More...
|
|
std::atomic< IMessageSvc * > | m_imsg { nullptr } |
| MessageSvc pointer. More...
|
|
std::atomic< MSG::Level > | m_lvl { MSG::NIL } |
| Current logging level. More...
|
|
std::atomic_flag m_initialized | ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
| Messaging initialized (initMessaging) More...
|
|
|
enum | { NOT_VALID_HASH = 64000,
MAX_BIT = Identifier::MAX_BIT,
BITS32 = Identifier::ALL_BITS
} |
|
typedef std::vector< Identifier > | id_vec |
|
typedef id_vec::const_iterator | id_vec_it |
|
typedef std::vector< unsigned short > | hash_vec |
|
typedef hash_vec::const_iterator | hash_vec_it |
|
bool | m_useNewIdentifierScheme = false |
|
std::string | m_endcap_ID = "hgtd_endcap" |
|
std::string | m_layer_ID = "hgtd_layer" |
|
std::string | m_moduleInLayer_Or_Row = "hgtd_phi_module" |
|
std::string | m_moduleInRow = "hgtd_eta_module" |
|
std::string | m_padInModuleRow = "hgtd_phi_index" |
|
std::string | m_padInModuleColumn = "hgtd_eta_index" |
|
size_type | m_hgtd_region_index |
|
size_type | m_INDET_INDEX |
|
size_type | m_HGTD_INDEX |
|
size_type | m_ENDCAP_INDEX |
|
size_type | m_LAYER_INDEX |
|
size_type | m_PHI_MODULE_INDEX |
|
size_type | m_ETA_MODULE_INDEX |
|
size_type | m_PHI_INDEX_INDEX |
|
size_type | m_ETA_INDEX_INDEX |
|
const IdDictDictionary * | m_dict |
|
MultiRange | m_full_wafer_range |
|
MultiRange | m_full_pixel_range |
|
size_type | m_wafer_hash_max |
|
size_type | m_pixel_hash_max |
|
id_vec | m_wafer_vec |
|
hash_vec | m_prev_phi_wafer_vec |
|
hash_vec | m_next_phi_wafer_vec |
|
hash_vec | m_prev_eta_wafer_vec |
|
hash_vec | m_next_eta_wafer_vec |
|
IdDictFieldImplementation | m_indet_impl |
|
IdDictFieldImplementation | m_hgtd_impl |
|
IdDictFieldImplementation | m_ec_impl |
|
IdDictFieldImplementation | m_layer_impl |
|
IdDictFieldImplementation | m_phi_mod_impl |
|
IdDictFieldImplementation | m_eta_mod_impl |
|
IdDictFieldImplementation | m_phi_index_impl |
|
IdDictFieldImplementation | m_eta_index_impl |
|
Identifier | pixel_id (const ExpandedIdentifier &pixel_id) const |
| Create pixel Identifier from expanded id, which is returned by the id_iterators. More...
|
|
void | get_expanded_id (const Identifier &id, ExpandedIdentifier &exp_id, const IdContext *context=0) const |
| Create expanded id from compact id (return == 0 for OK) More...
|
|
virtual int | initialize_from_dictionary (const IdDictMgr &dict_mgr) |
| Initialization from the identifier dictionary. More...
|
|
void | test_wafer_packing (void) const |
| Tests of packing. More...
|
|
void | set_useNewIdentifierScheme (bool switchIntoNewIdentifier) |
|
bool | get_useNewIdentifierScheme () const |
|
void | wafer_id_checks (int endcap, int layer, int phi_module, int eta_module) const |
|
void | pixel_id_checks (int endcap, int layer, int phi_module, int eta_module, int phi_index, int eta_index) const |
|
int | initLevelsFromDict (void) |
|
int | init_hashes (void) |
|
int | init_neighbors (void) |
|
@class HGTD_ID
@brief This is an Identifier helper class for the HGTD
subdetector. This class is a factory for creating compact
Identifier objects and IdentifierHash or hash ids. And it also
allows decoding of these ids.
Definition and the range of values for the levels of the
identifier are:
** element range bits meaning
** ------- ----- ---- -------
** TODO: fill in with latest identifier scheme
**
Definition at line 46 of file HGTD_ID.h.
◆ const_expanded_id_iterator
◆ const_id_iterator
◆ hash_vec
◆ hash_vec_it
◆ id_vec
◆ id_vec_it
◆ size_type
◆ anonymous enum
Enumerator |
---|
NOT_VALID_HASH | |
MAX_BIT | |
BITS32 | |
Definition at line 217 of file HGTD_ID.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
◆ HGTD_ID()
HGTD_ID::HGTD_ID |
( |
void |
| ) |
|
◆ ~HGTD_ID()
HGTD_ID::~HGTD_ID |
( |
void |
| ) |
|
◆ alfa_exp()
◆ alfa_field_value()
int AtlasDetectorID::alfa_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ base_bit()
int HGTD_ID::base_bit |
( |
void |
| ) |
const |
|
inline |
Return the lowest bit position used in the channel id.
Definition at line 437 of file HGTD_ID.h.
◆ bcm_exp()
◆ bcm_field_value()
int AtlasDetectorID::bcm_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ calc_offset()
Calculate a channel offset between the two identifiers.
Definition at line 419 of file HGTD_ID.h.
423 return (tval - bval);
◆ calo()
◆ calo_exp()
◆ calo_field_value()
int AtlasDetectorID::calo_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ 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.
◆ endcap()
Values of different levels (failure returns 0)
Definition at line 468 of file HGTD_ID.h.
◆ eta_index()
◆ eta_index_max()
◆ eta_module()
◆ eta_module_max()
◆ eta_module_min()
◆ 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()
Create expanded id from compact id (return == 0 for OK)
Definition at line 864 of file HGTD_ID.cxx.
◆ get_hash()
◆ get_id()
Create compact id from hash id (return == 0 for OK)
Reimplemented from AtlasDetectorID.
Definition at line 883 of file HGTD_ID.cxx.
902 std::cout <<
"Do not know how to calculate pixel id from hash yet!!" << std::endl;
◆ get_next_in_eta()
Next wafer hash in eta (return == 0 for neighbor found)
Definition at line 426 of file HGTD_ID.cxx.
◆ get_next_in_phi()
Next wafer hash in phi (return == 0 for neighbor found)
Definition at line 402 of file HGTD_ID.cxx.
◆ get_prev_in_eta()
Previous wafer hash in eta (return == 0 for neighbor found)
Definition at line 414 of file HGTD_ID.cxx.
◆ get_prev_in_phi()
Previous wafer hash in phi (return == 0 for neighbor found)
Definition at line 390 of file HGTD_ID.cxx.
◆ get_useNewIdentifierScheme()
bool HGTD_ID::get_useNewIdentifierScheme |
( |
| ) |
const |
◆ 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 HGTD_ID::init_hashes |
( |
void |
| ) |
|
|
private |
Definition at line 317 of file HGTD_ID.cxx.
332 unsigned int nids = 0;
333 std::set<Identifier>
ids;
337 auto first = rit.begin();
338 auto last = rit.end();
345 if(!(
ids.insert(
id)).second) {
347 <<
" Error: duplicated id for wafer id. nid " << nids
349 <<
" exp id " << (std::string)exp_id
351 else std::cout <<
" FATAL HGTD_ID::init_hashes "
352 <<
" Error: duplicated id for wafer id. nid " << nids
354 <<
" exp id " << (std::string)exp_id
363 <<
" Error: set size NOT EQUAL to hash max. size " <<
ids.size()
366 else std::cout <<
" FATAL HGTD_ID::init_hashes "
367 <<
" Error: set size NOT EQUAL to hash max. size " <<
ids.size()
374 std::set<Identifier>::const_iterator
first =
ids.begin();
375 std::set<Identifier>::const_iterator last =
ids.end();
◆ init_neighbors()
int HGTD_ID::init_neighbors |
( |
void |
| ) |
|
|
private |
Definition at line 438 of file HGTD_ID.cxx.
447 else std::cout <<
" DEBUG HGTD_ID::init_neighbors " << std::endl;
463 auto first = rit.begin();
464 auto last = rit.end();
484 if (
get_hash(
id, hash_id, &wcontext)) {
487 else std::cout <<
" FATAL HGTD_ID::init_neighbors - unable to get hash, exp/compact "
493 unsigned short index = hash_id;
507 if (
get_hash(
id, hash_id, &wcontext)) {
508 if(
m_msgSvc)
log <<
MSG::FATAL <<
" HGTD_ID::init_neighbors - unable to get previous phi hash, exp/compact "
510 else std::cout <<
" FATAL HGTD_ID::init_neighbors - unable to get previous phi hash, exp/compact "
525 if (
get_hash(
id, hash_id, &wcontext)) {
526 if(
m_msgSvc)
log <<
MSG::FATAL <<
" HGTD_ID::init_neighbors - unable to get next phi hash, exp/compact " <<
528 else std::cout <<
" FATAL HGTD_ID::init_neighbors - unable to get next phi hash, exp/compact " <<
543 if (
get_hash(
id, hash_id, &wcontext)) {
544 if(
m_msgSvc)
log <<
MSG::FATAL <<
" HGTD_ID::init_neighbors - unable to get previous eta hash, exp/compact "
546 else std::cout <<
" FATAL HGTD_ID::init_neighbors - unable to get previous eta hash, exp/compact "
561 if (
get_hash(
id, hash_id, &wcontext)) {
562 if(
m_msgSvc)
log <<
MSG::FATAL <<
" HGTD_ID::init_neighbors - unable to get next eta hash, exp/compact "
564 else std::cout <<
" FATAL HGTD_ID::init_neighbors - unable to get next eta hash, exp/compact "
◆ initialize_from_dictionary()
Initialization from the identifier dictionary.
Reimplemented from AtlasDetectorID.
Definition at line 204 of file HGTD_ID.cxx.
209 else std::cout <<
" INFO Initialize from dictionary" << std::endl;
213 if(
m_msgSvc)
log << MSG::INFO <<
"Request to reinitialize not satisfied - tags have not changed" <<
endmsg;
214 else std::cout <<
" INFO Request to reinitialize not satisfied - tags have not changed" << std::endl;
219 else std::cout <<
" DEBUG (Re)initialize" << std::endl;
230 if(
m_msgSvc)
log <<
MSG::FATAL <<
" HGTD_ID::initialize_from_dict - cannot access InnerDetector dictionary "
232 else std::cout <<
" FATAL HGTD_ID::initialize_from_dict - cannot access InnerDetector dictionary "
249 if (atlasDict->
get_label_value(
"subdet",
"InnerDetector", inDetField)) {
250 if(
m_msgSvc)
log <<
MSG::FATAL <<
"Could not get value for label 'InnerDetector' of field 'subdet' in dictionary "
253 else std::cout <<
" FATAL Could not get value for label 'InnerDetector' of field 'subdet' in dictionary "
262 if(
m_msgSvc)
log <<
MSG::FATAL <<
"Could not get value for label 'HGTD' of field 'part' in dictionary "
265 else std::cout <<
" FATAL Could not get value for label 'HGTD' of field 'part' in dictionary "
271 <<
"Found field values: InDet/HGTD "
275 else std::cout <<
" DEBUG HGTD_ID::initialize_from_dict "
276 <<
"Found field values: InDet/HGTD "
306 std::cout <<
" DEBUG HGTD_ID::initialize_from_dict "
◆ initLevelsFromDict()
int HGTD_ID::initLevelsFromDict |
( |
void |
| ) |
|
|
private |
Definition at line 602 of file HGTD_ID.cxx.
608 else std::cout <<
" FATAL HGTD_ID::initLevelsFromDict - dictionary NOT initialized " << std::endl;
628 if(
m_msgSvc)
log <<
MSG::FATAL <<
"HGTD_ID::initLevelsFromDict - unable to find hgtd region index: id, reg "
631 else std::cout <<
" FATAL HGTD_ID::initLevelsFromDict - unable to find hgtd region index: id, reg "
655 else std::cout <<
" FATAL HGTD_ID::initLevelsFromDict - unable to find 'subdet' field "
666 else std::cout <<
" FATAL HGTD_ID::initLevelsFromDict - unable to find 'part' field " << std::endl;
676 else std::cout <<
" FATAL HGTD_ID::initLevelsFromDict - unable to find 'endcap' field " << std::endl;
685 else std::cout <<
" FATAL HGTD_ID::initLevelsFromDict - unable to find 'layer' field " << std::endl;
694 else std::cout <<
" FATAL HGTD_ID::initLevelsFromDict - unable to find 'moduleInLayer' field " << std::endl;
703 else std::cout <<
" FATAL HGTD_ID::initLevelsFromDict - unable to find 'hgtd_eta_module' field " << std::endl;
712 else std::cout <<
" FATAL HGTD_ID::initLevelsFromDict - unable to find 'hgtd_phi_index' field " << std::endl;
721 else std::cout <<
" FATAL HGTD_ID::initLevelsFromDict - unable to find 'hgtd_eta_index' field " << std::endl;
749 std::cout <<
" DEBUG decode index and bit fields for each level: " << std::endl;
818 std::cout <<
"HGTD_ID::initLevelsFromDict - found levels " << std::endl;
◆ 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_phi_module_max()
To check for when phi wrap around may be needed.
Definition at line 198 of file HGTD_ID.cxx.
◆ 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 |
◆ layer()
◆ layer_max()
Max/Min values for each field (error returns -999)
Definition at line 84 of file HGTD_ID.cxx.
92 if (
range.match(expId)) {
94 if (not layer_field.
empty()) {
◆ 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 |
◆ phi_index()
◆ phi_index_max()
◆ phi_module()
◆ phi_module_max()
◆ pixel()
◆ pixel_begin()
For pixel ids, only expanded id iterators are available.
Use following "pixel_id" method to obtain a compact identifier
Definition at line 853 of file HGTD_ID.cxx.
◆ pixel_context()
IdContext HGTD_ID::pixel_context |
( |
void |
| ) |
const |
|
inline |
◆ pixel_end()
◆ pixel_exp()
◆ pixel_field_value()
int AtlasDetectorID::pixel_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ pixel_hash_max()
◆ pixel_id() [1/3]
Create pixel Identifier from expanded id, which is returned by the id_iterators.
Definition at line 367 of file HGTD_ID.h.
◆ pixel_id() [2/3]
◆ pixel_id() [3/3]
Identifier HGTD_ID::pixel_id |
( |
int |
endcap, |
|
|
int |
layer, |
|
|
int |
phi_module, |
|
|
int |
eta_module, |
|
|
int |
phi_index, |
|
|
int |
eta_index |
|
) |
| const |
|
inline |
For an individual pixel.
Definition at line 331 of file HGTD_ID.h.
◆ pixel_id_checks()
void HGTD_ID::pixel_id_checks |
( |
int |
endcap, |
|
|
int |
layer, |
|
|
int |
phi_module, |
|
|
int |
eta_module, |
|
|
int |
phi_index, |
|
|
int |
eta_index |
|
) |
| const |
|
private |
Definition at line 59 of file HGTD_ID.cxx.
76 if(
m_msgSvc)
log << MSG::ERROR <<
" HGTD_ID::pixel_id result is NOT ok. ID, range "
78 else std::cout <<
" ERROR HGTD_ID::pixel_id result is NOT ok. ID, range "
◆ pixel_id_offset()
Create an identifier with a given base and channel offset.
Definition at line 428 of file HGTD_ID.h.
◆ 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 |
◆ set_useNewIdentifierScheme()
void HGTD_ID::set_useNewIdentifierScheme |
( |
bool |
switchIntoNewIdentifier | ) |
|
◆ 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 |
◆ test_wafer_packing()
void HGTD_ID::test_wafer_packing |
( |
void |
| ) |
const |
Tests of packing.
Definition at line 944 of file HGTD_ID.cxx.
963 if(
m_msgSvc)
log << MSG::ERROR <<
"HGTD_ID::test_wafer_packing: new and old compact id not equal. New/old/expanded ids "
965 << (std::string)expId <<
endmsg;
966 else std::cout <<
" ERROR HGTD_ID::test_wafer_packing: new and old compact id not equal. New/old/expanded ids "
968 << (std::string)expId << std::endl;
977 for (; first_pixel != last_pixel && nids < 1000; ++first_pixel, ++nids) {
987 if (exp_id[0] != new_exp_id[0] ||
988 exp_id[1] != new_exp_id[1] ||
989 exp_id[2] != new_exp_id[2] ||
990 exp_id[3] != new_exp_id[3] ||
991 exp_id[4] != new_exp_id[4] ||
992 exp_id[5] != new_exp_id[5]) {
993 if(
m_msgSvc)
log << MSG::ERROR <<
"HGTD_ID::test_wafer_packing: new and old expanded ids not equal. New/old/compact ids "
994 << (std::string)new_exp_id
995 <<
" " << (std::string)exp_id
997 else std::cout <<
" ERROR HGTD_ID::test_wafer_packing: new and old expanded ids not equal. New/old/compact ids "
998 << (std::string)new_exp_id
999 <<
" " << (std::string)exp_id
1016 if(
m_msgSvc)
log << MSG::ERROR <<
"HGTD_ID::test_wafer_packing: new and old pixel ids not equal. New/old ids "
1019 else std::cout <<
" ERROR HGTD_ID::test_wafer_packing: new and old pixel ids not equal. New/old ids "
1028 else std::cout <<
" DEBUG HGTD_ID::test_wafer_packing: Successful tested "
1033 if(
m_msgSvc)
log << MSG::ERROR <<
"HGTD_ID::test_wafer_packing: Unable to test wafer is packing - no dictionary has been defined. "
1035 else std::cout <<
" ERROR HGTD_ID::test_wafer_packing: Unable to test wafer is packing - no dictionary has been defined. "
◆ 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 |
◆ wafer_begin()
Iterators over full set of ids. Wafer iterator is sorted.
Definition at line 843 of file HGTD_ID.cxx.
◆ wafer_context()
IdContext HGTD_ID::wafer_context |
( |
void |
| ) |
const |
|
inline |
◆ wafer_end()
◆ wafer_hash()
wafer hash from id
Definition at line 404 of file HGTD_ID.h.
◆ wafer_hash_max()
◆ wafer_id() [1/3]
For a single crystal from a pixel id - DO NOT USE wafer id as input.
Definition at line 314 of file HGTD_ID.h.
◆ wafer_id() [2/3]
◆ wafer_id() [3/3]
Identifier HGTD_ID::wafer_id |
( |
int |
endcap, |
|
|
int |
layer, |
|
|
int |
phi_module, |
|
|
int |
eta_module |
|
) |
| const |
|
inline |
For a single crystal.
Definition at line 287 of file HGTD_ID.h.
◆ wafer_id_checks()
void HGTD_ID::wafer_id_checks |
( |
int |
endcap, |
|
|
int |
layer, |
|
|
int |
phi_module, |
|
|
int |
eta_module |
|
) |
| const |
|
private |
Definition at line 37 of file HGTD_ID.cxx.
51 if(
m_msgSvc)
log << MSG::ERROR <<
" HGTD_ID::wafer_id result is NOT ok. ID, range "
53 else std::cout <<
" ERROR HGTD_ID::wafer_id result is NOT ok. ID, range "
◆ 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_dict
◆ m_CALO_ID
int AtlasDetectorID::m_CALO_ID {10} |
|
privateinherited |
◆ m_calo_side_impl
◆ 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_ec_impl
◆ m_endcap_ID
std::string HGTD_ID::m_endcap_ID = "hgtd_endcap" |
◆ m_ENDCAP_INDEX
◆ m_eta_index_impl
◆ m_ETA_INDEX_INDEX
◆ m_eta_mod_impl
◆ m_ETA_MODULE_INDEX
◆ 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_pixel_range
◆ m_full_wafer_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_hgtd_impl
◆ m_HGTD_INDEX
◆ m_hgtd_region_index
◆ 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_impl
◆ m_INDET_INDEX
◆ 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_layer_ID
std::string HGTD_ID::m_layer_ID = "hgtd_layer" |
◆ m_layer_impl
◆ m_LAYER_INDEX
◆ 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_moduleInLayer_Or_Row
std::string HGTD_ID::m_moduleInLayer_Or_Row = "hgtd_phi_module" |
◆ m_moduleInRow
std::string HGTD_ID::m_moduleInRow = "hgtd_eta_module" |
◆ 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_next_eta_wafer_vec
◆ m_next_phi_wafer_vec
◆ m_nm
std::string AthMessaging::m_nm |
|
privateinherited |
◆ m_padInModuleColumn
std::string HGTD_ID::m_padInModuleColumn = "hgtd_eta_index" |
◆ m_padInModuleRow
std::string HGTD_ID::m_padInModuleRow = "hgtd_phi_index" |
◆ m_phi_index_impl
◆ m_PHI_INDEX_INDEX
◆ m_phi_mod_impl
◆ m_PHI_MODULE_INDEX
◆ m_pixel_hash_max
◆ m_PIXEL_ID
int AtlasDetectorID::m_PIXEL_ID {1} |
|
privateinherited |
◆ m_prev_eta_wafer_vec
◆ m_prev_phi_wafer_vec
◆ 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_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_useNewIdentifierScheme
bool HGTD_ID::m_useNewIdentifierScheme = false |
◆ m_wafer_hash_max
◆ m_wafer_vec
◆ 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_phi_index_impl
bool is_forward(Identifier id) const
MultiRange build_multirange() const
Get MultiRange for full dictionary.
MultiRange m_full_wafer_range
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
IdentifierHash wafer_hash(Identifier wafer_id) const
wafer hash from id
bool is_lar_fcal(Identifier id) const
const IdDictDictionary * m_dict
int base_bit(void) const
Return the lowest bit position used in the channel id.
identifier_factory factory_begin()
std::string show_to_string(void) const
bool is_lar(Identifier id) const
int muon_field_value() const
identifier_factory factory_end()
element_type get_minimum() const
Query the values.
IdDictFieldImplementation m_hgtd_impl
size_type cardinalityUpTo(const ExpandedIdentifier &id) const
size_type end_index() const
int calo_field_value() const
int endcap(const Identifier &id) const
Values of different levels (failure returns 0)
int eta_index(const Identifier &id) const
void pack(int value, Identifier &id) const
IdDictDictionary * m_tile_dict
IdContext pixel_context(void) const
IMessageSvc * m_msgSvc
pointer to the message service
std::string m_dict_version
bool decode_index() const
hash_vec m_prev_phi_wafer_vec
element_type get_maximum() const
bool m_do_checks
Flag for subclasses to know whether or not to perform checks.
const_expanded_id_iterator pixel_end(void) const
void wafer_id_checks(int endcap, int layer, int phi_module, int eta_module) const
int lar_field_value() const
int layer(const Identifier &id) const
IdDictFieldImplementation m_ec_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...
size_type m_wafer_hash_max
IMessageSvc * getMessageSvc(bool quiet=false)
IdDictField * find_field(const std::string &name) const
hash_vec m_next_phi_wafer_vec
bool is_lvl1_trig_towers(Identifier id) const
void get_expanded_id(const Identifier &id, ExpandedIdentifier &exp_id, const IdContext *context=0) const
Create expanded id from compact id (return == 0 for OK)
Identifier wafer_id(int endcap, int layer, int phi_module, int eta_module) const
For a single crystal.
bool m_do_neighbours
Flag for subclasses to know whether or not to perform neighbour initialization.
void reset(Identifier &id) const
int phi_index(const Identifier &id) const
std::string m_padInModuleColumn
bool match(element_type value) const
The basic match operation.
IdDictFieldImplementation m_eta_index_impl
Range::field m_tile_dm_field
size_type begin_index() const
id_vec::const_iterator id_vec_it
std::string m_padInModuleRow
void pixel_id_checks(int endcap, int layer, int phi_module, int eta_module, int phi_index, int eta_index) const
IdDictDictionary * find_dictionary(const std::string &name) const
Access dictionary by name.
size_type m_pixel_hash_max
msgSvc
Provide convenience handles for various services.
int hgtd_field_value() const
IdDictDictionary * m_calo_dict
std::string m_moduleInRow
bool m_is_initialized_from_dict
IdDictFieldImplementation m_lar_part_impl
ExpandedIdentifier indet_exp(void) const
Detector systems:
bool m_useNewIdentifierScheme
size_type m_ETA_INDEX_INDEX
IdDictFieldImplementation m_muon_mdt_impl
IdDictFieldImplementation m_lar_fcal_module_impl
size_type bits_offset() const
bool is_tile_dm(Identifier id) const
std::vector< IdDictRegion * > m_regions
size_type m_PHI_MODULE_INDEX
IdDictDictionary * m_fwd_dict
bool get_next(element_type current, element_type &next) const
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)
size_type m_ETA_MODULE_INDEX
bool is_tile(Identifier id) const
hash_vec m_prev_eta_wafer_vec
int initLevelsFromDict(void)
Range::field m_lvl1_onl_field
const Range::field & ored_field() const
IdDictFieldImplementation m_phi_mod_impl
bool m_quiet
If true, suppress DEBUG/INFO messages.
MsgStream & msg() const
The standard message stream.
bool is_valid() const
Check if id is in a valid state.
IdDictFieldImplementation m_muon_rpc_impl
int phi_module_max(const Identifier &id) const
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.
hash_vec m_next_eta_wafer_vec
MultiRange m_full_pixel_range
int tile_field_value() const
IdDictFieldImplementation m_indet_impl
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
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.
Range::field m_lar_dm_field
const_expanded_id_iterator pixel_begin(void) const
For pixel ids, only expanded id iterators are available.
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.
Identifier pixel_id(int endcap, int layer, int phi_module, int eta_module, int phi_index, int eta_index) const
For an individual pixel.
ExpandedIdentifier fwd_exp(void) const
IdDictFieldImplementation m_muon_station_name_impl
struct TBPatternUnitContext Muon
MultiRange::const_identifier_factory const_expanded_id_iterator
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.
value_type zeroing_mask() const
bool is_lar_dm(Identifier id) const
LAr/Tile dead material:
bool is_muon(Identifier id) const
IdDictFieldImplementation m_det_impl
Data object for each calorimeter readout cell.
IdContext wafer_context(void) const
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.
int eta_module(const Identifier &id) const
std::vector< Identifier >::const_iterator const_id_iterator
std::string m_nm
Message source name.
int phi_module(const Identifier &id) const
std::string m_moduleInLayer_Or_Row
This is the individual specification for the range of one ExpandedIdentifier IdentifierField.
void clear()
Erase all fields.
bool get_previous(element_type current, element_type &previous) const
Returns false if previous/next is at end of range, or not possible.
IdDictDictionary * m_lar_dict
unsigned long long value_type
bool is_lvl1_online(Identifier id) const
IdDictFieldImplementation m_eta_mod_impl
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)
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
constexpr std::initializer_list< int > Tile
size_type m_hgtd_region_index
Range::field m_lvl1_field
size_type m_PHI_INDEX_INDEX
IdDictFieldImplementation m_layer_impl