 |
ATLAS Offline Software
|
#include <TRT_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...
|
| |
|
| | TRT_ID () |
| |
| | ~TRT_ID () |
| |
|
| bool | is_valid () const |
| |
|
| Identifier | barrel_ec_id (int barrel_ec) const |
| | For +/-barrel or +/-endcap id. More...
|
| |
| Identifier | barrel_ec_id (int barrel_ec, bool checks) const |
| |
| Identifier | module_id (int barrel_ec, int phi_module, int layer_or_wheel) const |
| | For an individual module phi sector. More...
|
| |
| Identifier | module_id (int barrel_ec, int phi_module, int layer_or_wheel, bool checks) const |
| |
| Identifier | module_id (IdentifierHash module_hash) const |
| | From hash - optimized, no checks. More...
|
| |
| Identifier | layer_id (int barrel_ec, int phi_module, int layer_or_wheel, int straw_layer) const |
| | For an individual straw layer. More...
|
| |
| Identifier | layer_id (int barrel_ec, int phi_module, int layer_or_wheel, int straw_layer, bool checks) const |
| |
| Identifier | layer_id (IdentifierHash straw_layer_hash) const |
| | From hash - optimized, no checks. More...
|
| |
| Identifier | layer_id (const Identifier &module_id, int straw_layer) const |
| | For an individual straw layer. More...
|
| |
| Identifier | layer_id (const Identifier &module_id, int straw_layer, bool checks) const |
| |
| Identifier | layer_id (const Identifier &straw_id) const |
| | For an individual straw layer from straw id. More...
|
| |
| Identifier | straw_id (int barrel_ec, int phi_module, int layer_or_wheel, int straw_layer, int straw) const |
| | Three ways of getting id for a single straw: More...
|
| |
| Identifier | straw_id (int barrel_ec, int phi_module, int layer_or_wheel, int straw_layer, int straw, bool checks) const |
| |
| Identifier | straw_id (const Identifier &module_id, int straw_layer, int straw) const |
| |
| Identifier | straw_id (const Identifier &module_id, int straw_layer, int straw, bool checks) const |
| |
| Identifier | straw_id (const Identifier &layer_id, int straw) const |
| |
| Identifier | straw_id (const Identifier &layer_id, int straw, bool checks) const |
| |
| Identifier | straw_id (IdentifierHash straw_hash) const |
| | Access to straw id from hash - must have done init_straw_hash_vector before using this. More...
|
| |
|
| void | init_straw_hash_vector () |
| | The init will use up ~2 MB of memory, so one should do init, use straw_id and then reset. More...
|
| |
| void | reset_straw_hash_vector () |
| |
|
| size_type | module_hash_max () const |
| |
| size_type | straw_layer_hash_max () const |
| |
| size_type | straw_hash_max () const |
| |
|
| const_id_iterator | module_begin () const |
| | Iterators over full set of module ids. Module ids are sorted. More...
|
| |
| const_id_iterator | module_end () const |
| |
| const_id_iterator | straw_layer_begin () const |
| | Iterators over full set of straw_layer ids. Straw_layer ids are sorted. More...
|
| |
| const_id_iterator | straw_layer_end () const |
| |
| const_expanded_id_iterator | straw_begin () const |
| | For straw ids, only expanded id iterators are available. More...
|
| |
| const_expanded_id_iterator | straw_end () const |
| |
|
| IdentifierHash | module_hash (Identifier module_id) const |
| | module hash from id - optimized More...
|
| |
| IdentifierHash | straw_layer_hash (Identifier straw_layer_id) const |
| | straw_layer hash from id - optimized More...
|
| |
| IdentifierHash | straw_hash (Identifier straw_id) const |
| | straw hash from id - optimized More...
|
| |
| bool | is_barrel (const Identifier &id) const |
| | Test for barrel. More...
|
| |
| int | barrel_ec (const Identifier &id) const |
| | Values of different levels (failure returns 0) More...
|
| |
| int | phi_module (const Identifier &id) const |
| |
| int | layer_or_wheel (const Identifier &id) const |
| |
| int | straw_layer (const Identifier &id) const |
| |
| int | straw (const Identifier &id) const |
| |
| int | straw_layer_max (const Identifier &id) const |
| | Max values for each field (-999 == failure) More...
|
| |
| int | straw_max (const Identifier &id) const |
| |
|
| IdContext | barrel_context () const |
| | barrel_ec id More...
|
| |
| IdContext | module_context () const |
| | module id More...
|
| |
| IdContext | straw_layer_context () const |
| | straw_layer id More...
|
| |
| IdContext | straw_context () const |
| | straw id More...
|
| |
|
| virtual int | get_id (const IdentifierHash &hash_id, Identifier &id, const IdContext *context=0) const override final |
| | 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 override final |
| | Create hash id from compact id (return == 0 for OK) 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 | MODULE_RANGE { NUMBER_OF_EC_MODULES = 18
} |
| |
| enum | VALUES { BARREL_VALUE = 1
} |
| |
| typedef std::vector< Identifier > | hash_vec |
| |
| typedef hash_vec::const_iterator | hash_vec_it |
| |
| typedef std::pair< unsigned int, unsigned int > | intPair |
| |
| typedef std::map< IdentifierHash, HashCalc > | hashCalcMap |
| |
| bool | m_is_valid |
| |
| size_type | m_trt_region_index |
| |
| size_type | m_INDET_INDEX |
| |
| size_type | m_TRT_INDEX |
| |
| size_type | m_BARREL_EC_INDEX |
| |
| size_type | m_PHI_MODULE_INDEX |
| |
| size_type | m_LAYER_OR_WHEEL_INDEX |
| |
| size_type | m_STRAW_LAYER_INDEX |
| |
| size_type | m_STRAW_INDEX |
| |
| const IdDictDictionary * | m_dict |
| |
| MultiRange | m_full_straw_range |
| |
| MultiRange | m_full_straw_layer_range |
| |
| MultiRange | m_full_module_range |
| |
| size_type | m_module_hash_max |
| |
| size_type | m_straw_layer_hash_max |
| |
| size_type | m_straw_hash_max |
| |
| Range::field | m_barrel_field |
| |
| hash_vec | m_module_vec |
| |
| hash_vec | m_straw_layer_vec |
| |
| hash_vec | m_straw_vec |
| |
| std::vector< HashCalc > | m_hash_calcs |
| |
| std::vector< intPair > | m_hash_calcs_barrel_indexes |
| |
| std::vector< intPair > | m_hash_calcs_endcap_indexes |
| |
| IdDictFieldImplementation | m_indet_impl |
| |
| IdDictFieldImplementation | m_trt_impl |
| |
| IdDictFieldImplementation | m_bec_impl |
| |
| IdDictFieldImplementation | m_phi_mod_impl |
| |
| IdDictFieldImplementation | m_lay_wheel_impl |
| |
| IdDictFieldImplementation | m_str_lay_impl |
| |
| IdDictFieldImplementation | m_straw_impl |
| |
| Identifier | straw_id (const ExpandedIdentifier &straw_id) const |
| | Create straw Identifier from expanded id, which is returned by the id_iterators. More...
|
| |
| virtual int | initialize_from_dictionary (const IdDictMgr &dict_mgr) override final |
| | Set the IdDictionary. More...
|
| |
| int | get_straw_layer_hash_calc (const ExpandedIdentifier &id, IdentifierHash &hash_id) const |
| | Special method for timing tests. More...
|
| |
| void | get_expanded_id (const Identifier &id, ExpandedIdentifier &exp_id, const IdContext *context=0) const |
| |
| void | test_trt_ids () |
| | Tests of packing. More...
|
| |
| void | barrel_ec_id_checks (int barrel_ec) const |
| |
| void | module_id_checks (int barrel_ec, int phi_module, int layer_or_wheel) const |
| |
| void | straw_id_checks (int barrel_ec, int phi_module, int layer_or_wheel, int straw_layer, int straw) const |
| |
| void | layer_id_checks (int barrel_ec, int phi_module, int layer_or_wheel, int straw_layer) const |
| |
| int | initLevelsFromDict () |
| |
| void | init_hashes () |
| |
| IdentifierHash | straw_hash_bin (Identifier straw_id) const |
| |
| void | invalidMessage () const |
| |
@class TRT_ID
@brief This is an Identifier helper class for the TRT
subdetector. This class is a factory for creating compact
Identifier objects and IdentifierHash or hash ids. And it also
allows decoding of these ids.
For the TRT there are four different identifiers that one may
define, where each one defines only a certain number of "levels"
for the identifier:
- barrel/endcap: levels indet/trt/b_ec
- module or wheel: b_ec + /phi module/layer or wheel
- straw layer: previous + straw layer within a module/wheel
- straw: previous + straw number within a layer
.
Definition and the range of values for the levels of the
identifier are:
@verbatim
** element range meaning ** ----— --— ----— ** ** barrel_ec +/- 1 positive/negative barrel ** +/- 2 positive/negative endcap ** 0 to 17 endcap wheel range ** phi module 0 to 31 for barrel modular geometry ** 0 for barrel "simple layer" geometry ** 0 to 31 for endcap ** layer or wheel 0 to 2 barrel module layer number ** 0 to 72 is straw layer for barrel "simple layer" geometry ** straw_layer 0 to 18 (19) for barrel module 0 for modular (layer) geometry ** 0 to 23 for barrel module 1 " " "
** 0 to 29 (28) for barrel module 2 " " " ** 0 for barrel "simple layer" geometry ** 0 to 15 or 7 for ec (middle modules have 8 layers, ** 224 total layers in ec) ** straw 0 to <28 for barrel, depends upon layer ** 0 to <981 for barrel "simple layer" geometry ** 0 to <23 for ec (fewer for last 4 modules/wheels due ** to smaller inner radius) **
Definition at line 81 of file TRT_ID.h.
◆ const_expanded_id_iterator
◆ const_id_iterator
◆ hash_vec
◆ hash_vec_it
◆ hashCalcMap
◆ intPair
◆ size_type
◆ 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
◆ MODULE_RANGE
| Enumerator |
|---|
| NUMBER_OF_EC_MODULES | |
Definition at line 286 of file TRT_ID.h.
◆ VALUES
◆ TRT_ID()
◆ ~TRT_ID()
◆ alfa_exp()
◆ alfa_field_value()
| int AtlasDetectorID::alfa_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ barrel_context()
◆ barrel_ec()
Values of different levels (failure returns 0)
Definition at line 860 of file TRT_ID.h.
◆ barrel_ec_id() [1/2]
| Identifier TRT_ID::barrel_ec_id |
( |
int |
barrel_ec | ) |
const |
|
inline |
For +/-barrel or +/-endcap id.
Definition at line 411 of file TRT_ID.h.
◆ barrel_ec_id() [2/2]
| Identifier TRT_ID::barrel_ec_id |
( |
int |
barrel_ec, |
|
|
bool |
checks |
|
) |
| const |
|
inline |
◆ barrel_ec_id_checks()
| void TRT_ID::barrel_ec_id_checks |
( |
int |
barrel_ec | ) |
const |
|
private |
Definition at line 51 of file TRT_ID.cxx.
61 log << MSG::ERROR <<
" TRT_ID::barrel_ec_id result is NOT ok. ID, range "
62 << (std::string)
id <<
" "
◆ 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 |
◆ 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 |
◆ 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()
◆ get_id()
Create compact id from hash id (return == 0 for OK)
Reimplemented from AtlasDetectorID.
Definition at line 702 of file TRT_ID.cxx.
726 std::cout <<
"Do not know how to calculate straw id from hash yet!!" << std::endl;
◆ get_straw_layer_hash_calc()
Special method for timing tests.
Definition at line 694 of file TRT_ID.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()
| void TRT_ID::init_hashes |
( |
| ) |
|
|
private |
Definition at line 264 of file TRT_ID.cxx.
281 unsigned int nids = 0;
282 std::set<Identifier>
ids;
286 for (
const auto & exp_id: rit) {
290 if (!(
ids.insert(
id)).second) {
291 log << MSG::ERROR <<
" TRT_ID::init_hashes "
292 <<
" Error: duplicated id for module id. nid " << nids
294 <<
" id " << std::string(exp_id)
302 log << MSG::ERROR <<
" TRT_ID::init_hashes "
303 <<
" Error: set size NOT EQUAL to hash max. size " <<
ids.size()
315 std::set<Identifier>::const_iterator
first =
ids.begin();
316 std::set<Identifier>::const_iterator last =
ids.end();
330 for (
const auto & exp_id: rit) {
335 if (!(
ids.insert(
id)).second) {
336 log << MSG::ERROR <<
" TRT_ID::init_hashes "
337 <<
" Error: duplicated id for straw layer id. nid " << nids
339 <<
" id " << std::string(exp_id)
348 log << MSG::ERROR <<
" TRT_ID::init_hashes "
349 <<
" Error: set size NOT EQUAL to hash max. size " <<
ids.size()
385 unsigned int hcIndex = 0;
428 start = lay_min * 32 + str_lay_min;
468 start = lay_min * 32 + str_lay_min;
◆ init_straw_hash_vector()
| void TRT_ID::init_straw_hash_vector |
( |
| ) |
|
The init will use up ~2 MB of memory, so one should do init, use straw_id and then reset.
Definition at line 511 of file TRT_ID.cxx.
520 unsigned int nids = 0;
521 std::set<Identifier>
ids;
526 for (
const auto & exp_id:rit) {
532 if (!(
ids.insert(
id)).second) {
533 log << MSG::ERROR <<
" TRT_ID::init_hashes "
534 <<
" Error: duplicated id for straw id. nid " << nids
536 <<
" id " << std::string(exp_id)
544 log << MSG::ERROR <<
" TRT_ID::init_hashes "
545 <<
" Error: set size NOT EQUAL to hash max. size " <<
ids.size()
557 std::set<Identifier>::const_iterator
first =
ids.begin();
558 std::set<Identifier>::const_iterator last =
ids.end();
◆ initialize_from_dictionary()
Set the IdDictionary.
Reimplemented from AtlasDetectorID.
Definition at line 133 of file TRT_ID.cxx.
138 log <<
MSG::INFO <<
"Request to reinitialize not satisfied - tags have not changed" <<
endmsg;
160 log << MSG::ERROR <<
" TRT_ID::initialize_from_dict - cannot access InnerDetector dictionary "
180 log << MSG::ERROR <<
"Could not get value for label 'barrel' of field 'barrel_endcap' in dictionary "
190 log << MSG::ERROR <<
"Could not get value for label 'barrel' of field 'barrel_endcap' in dictionary "
199 <<
"Set barrel field values: "
213 if (atlasDict->get_label_value(
"subdet",
"InnerDetector", inDetField)) {
214 log << MSG::ERROR <<
"Could not get value for label 'InnerDetector' of field 'subdet' in dictionary "
225 log << MSG::ERROR <<
"Could not get value for label 'TRT' of field 'part' in dictionary "
233 <<
"Found field values: InDet/TRT "
◆ initLevelsFromDict()
| int TRT_ID::initLevelsFromDict |
( |
| ) |
|
|
private |
Definition at line 566 of file TRT_ID.cxx.
570 log << MSG::ERROR <<
" TRT_ID::initLevelsFromDict - dictionary NOT initialized "
591 log << MSG::WARNING <<
"TRT_ID::initLevelsFromDict - unable to initialize TRT_ID helper "
593 log << MSG::WARNING <<
"TRT_ID::initLevelsFromDict - we assume that the TRT does NOT exist for this layout "
604 log << MSG::ERROR <<
"TRT_ID::initLevelsFromDict - unable to find 'subdet' field "
613 log << MSG::ERROR <<
"TRT_ID::initLevelsFromDict - unable to find 'part' field "
622 log << MSG::ERROR <<
"TRT_ID::initLevelsFromDict - unable to find 'barrel_endcap' field "
632 log << MSG::ERROR <<
"TRT_ID::initLevelsFromDict - unable to find 'phi_sector' field "
642 log << MSG::ERROR <<
"TRT_ID::initLevelsFromDict - unable to find 'layer' field "
652 log << MSG::ERROR <<
"TRT_ID::initLevelsFromDict - unable to find 'straw_layer' field "
662 log << MSG::ERROR <<
"TRT_ID::initLevelsFromDict - unable to find 'straw' field "
◆ 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.
◆ invalidMessage()
| void TRT_ID::invalidMessage |
( |
| ) |
const |
|
inlineprivate |
Definition at line 837 of file TRT_ID.h.
841 log << MSG::ERROR <<
" TRT_ID is NOT valid for this layout. " <<
endmsg;
842 log << MSG::ERROR <<
" Please use 'trt_id->is_valid()' if a layout test is needed. " <<
endmsg;
844 std::cout <<
" ERROR TRT_ID is NOT valid for this layout. " << std::endl;
845 std::cout <<
" ERROR Please use 'trt_id->is_valid()' if a layout test is needed. " << std::endl;
◆ is_alfa()
| bool AtlasDetectorID::is_alfa |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_barrel()
◆ 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_valid()
| bool TRT_ID::is_valid |
( |
| ) |
const |
|
inline |
◆ 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_id() [1/6]
For an individual straw layer.
Definition at line 527 of file TRT_ID.h.
◆ layer_id() [2/6]
◆ layer_id() [3/6]
For an individual straw layer from straw id.
Definition at line 534 of file TRT_ID.h.
◆ layer_id() [4/6]
From hash - optimized, no checks.
Definition at line 458 of file TRT_ID.h.
◆ layer_id() [5/6]
| Identifier TRT_ID::layer_id |
( |
int |
barrel_ec, |
|
|
int |
phi_module, |
|
|
int |
layer_or_wheel, |
|
|
int |
straw_layer |
|
) |
| const |
|
inline |
For an individual straw layer.
Definition at line 494 of file TRT_ID.h.
◆ layer_id() [6/6]
| Identifier TRT_ID::layer_id |
( |
int |
barrel_ec, |
|
|
int |
phi_module, |
|
|
int |
layer_or_wheel, |
|
|
int |
straw_layer, |
|
|
bool |
checks |
|
) |
| const |
|
inline |
◆ layer_id_checks()
| void TRT_ID::layer_id_checks |
( |
int |
barrel_ec, |
|
|
int |
phi_module, |
|
|
int |
layer_or_wheel, |
|
|
int |
straw_layer |
|
) |
| const |
|
private |
Definition at line 110 of file TRT_ID.cxx.
124 log << MSG::ERROR <<
" TRT_ID::layer_id result is NOT ok. ID, range "
125 << (std::string)
id <<
" "
◆ layer_or_wheel()
◆ 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_begin()
Iterators over full set of module ids. Module ids are sorted.
Definition at line 931 of file TRT_ID.h.
◆ module_context()
◆ module_end()
◆ module_hash()
module hash from id - optimized
Definition at line 726 of file TRT_ID.h.
◆ module_hash_max()
◆ module_id() [1/3]
From hash - optimized, no checks.
Definition at line 450 of file TRT_ID.h.
◆ module_id() [2/3]
| Identifier TRT_ID::module_id |
( |
int |
barrel_ec, |
|
|
int |
phi_module, |
|
|
int |
layer_or_wheel |
|
) |
| const |
|
inline |
For an individual module phi sector.
Definition at line 442 of file TRT_ID.h.
◆ module_id() [3/3]
| Identifier TRT_ID::module_id |
( |
int |
barrel_ec, |
|
|
int |
phi_module, |
|
|
int |
layer_or_wheel, |
|
|
bool |
checks |
|
) |
| const |
|
inline |
◆ module_id_checks()
| void TRT_ID::module_id_checks |
( |
int |
barrel_ec, |
|
|
int |
phi_module, |
|
|
int |
layer_or_wheel |
|
) |
| const |
|
private |
Definition at line 68 of file TRT_ID.cxx.
81 log << MSG::ERROR <<
" TRT_ID::module_id result is NOT ok. ID, range "
82 << (std::string)
id <<
" "
◆ 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_module()
◆ 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 ");
◆ reset_straw_hash_vector()
| void TRT_ID::reset_straw_hash_vector |
( |
| ) |
|
◆ 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 |
◆ straw()
◆ straw_begin()
For straw ids, only expanded id iterators are available.
Use "straw_id" method to obtain a compact identifier
Definition at line 963 of file TRT_ID.h.
◆ straw_context()
◆ straw_end()
◆ straw_hash()
straw hash from id - optimized
Definition at line 762 of file TRT_ID.h.
769 unsigned int hcIndex = 0;
775 unsigned int index =
lw * 32 + sl;
780 std::cout <<
"straw_hash: index > barrel_index size - " <<
index
789 std::cout <<
"straw_hash: index > endcap_index size - " <<
index
801 (
lw - hc.m_layerMin) * hc.m_nStrawLayers +
802 (sl - hc.m_strLayerMin) * hc.m_nstraws +
808 std::cout <<
"straw_hash: hc index > hcCalc size - " << hcIndex
◆ straw_hash_bin()
◆ straw_hash_max()
◆ straw_id() [1/8]
Create straw Identifier from expanded id, which is returned by the id_iterators.
Definition at line 586 of file TRT_ID.h.
◆ straw_id() [2/8]
◆ straw_id() [3/8]
◆ straw_id() [4/8]
◆ straw_id() [5/8]
◆ straw_id() [6/8]
Access to straw id from hash - must have done init_straw_hash_vector before using this.
Definition at line 669 of file TRT_ID.h.
◆ straw_id() [7/8]
| Identifier TRT_ID::straw_id |
( |
int |
barrel_ec, |
|
|
int |
phi_module, |
|
|
int |
layer_or_wheel, |
|
|
int |
straw_layer, |
|
|
int |
straw |
|
) |
| const |
|
inline |
Three ways of getting id for a single straw:
Definition at line 575 of file TRT_ID.h.
◆ straw_id() [8/8]
| Identifier TRT_ID::straw_id |
( |
int |
barrel_ec, |
|
|
int |
phi_module, |
|
|
int |
layer_or_wheel, |
|
|
int |
straw_layer, |
|
|
int |
straw, |
|
|
bool |
checks |
|
) |
| const |
|
inline |
◆ straw_id_checks()
| void TRT_ID::straw_id_checks |
( |
int |
barrel_ec, |
|
|
int |
phi_module, |
|
|
int |
layer_or_wheel, |
|
|
int |
straw_layer, |
|
|
int |
straw |
|
) |
| const |
|
private |
Definition at line 88 of file TRT_ID.cxx.
103 log << MSG::ERROR <<
" TRT_ID::straw_id result is NOT ok. ID, range "
104 << (std::string)
id <<
" "
◆ straw_layer()
◆ straw_layer_begin()
Iterators over full set of straw_layer ids. Straw_layer ids are sorted.
Definition at line 947 of file TRT_ID.h.
◆ straw_layer_context()
| IdContext TRT_ID::straw_layer_context |
( |
| ) |
const |
|
inline |
straw_layer id
Definition at line 707 of file TRT_ID.h.
◆ straw_layer_end()
◆ straw_layer_hash()
straw_layer hash from id - optimized
Definition at line 744 of file TRT_ID.h.
◆ straw_layer_hash_max()
◆ straw_layer_max()
Max values for each field (-999 == failure)
Definition at line 785 of file TRT_ID.cxx.
794 if (
range.match(expId)) {
796 if (not
field.empty()) {
◆ straw_max()
◆ subdet_context()
| IdContext AtlasDetectorID::subdet_context |
( |
void |
| ) |
const |
|
inherited |
◆ test_trt_ids()
| void TRT_ID::test_trt_ids |
( |
| ) |
|
Tests of packing.
Definition at line 825 of file TRT_ID.cxx.
841 std::cout <<
"test_trt_ids - bad match: id, bin hash, hash: "
851 std::cout <<
"test_trt_ids - bad match: id, bin hash, hash: "
859 if (
i % 10000 == 5) {
860 std::cout <<
"test_trt_ids: id, bin hash, hash: "
868 std::cout <<
"Checked hash calculation for " << nids <<
" hashes and found "
869 << nidsFailed <<
" failures to match between binary lookup and calculation "
886 log << MSG::ERROR <<
"TRT_ID::test_trt_ids: module new and old compacts not equal. New/old/expanded ids "
889 << (std::string) exp_id <<
endmsg;
894 if (
get_hash(
id, hashId, &context)) {
895 log << MSG::ERROR <<
"Unable to set trt hash id for det elem "
903 log << MSG::ERROR <<
"TRT_ID::test_trt_ids: module new and old compacts not equal. New/old/hash ids "
907 << hashId << MSG::dec
926 log << MSG::ERROR <<
"TRT_ID::test_trt_ids: straw layer new and old compacts not equal. New/old/expanded ids "
928 << (std::string) exp_id <<
endmsg;
936 for (
int i = 0;
i < nstraws; ++
i) {
945 log << MSG::ERROR <<
"TRT_ID::test_trt_ids: straw new and old compacts not equal. New/old/expanded ids "
947 << (std::string) exp_id <<
endmsg;
953 log <<
MSG::INFO <<
"TRT_ID::test_trt_ids: Successful tested "
◆ 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_BARREL_EC_INDEX
◆ m_barrel_field
◆ m_BCM_ID
| int AtlasDetectorID::m_BCM_ID {3} |
|
privateinherited |
◆ m_bec_impl
◆ 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 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_module_range
◆ m_full_straw_layer_range
◆ m_full_straw_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> TRT_ID::m_hash_calcs |
|
private |
◆ m_hash_calcs_barrel_indexes
| std::vector<intPair> TRT_ID::m_hash_calcs_barrel_indexes |
|
private |
◆ m_hash_calcs_endcap_indexes
| std::vector<intPair> TRT_ID::m_hash_calcs_endcap_indexes |
|
private |
◆ m_helper
◆ m_HGTD_ID
| int AtlasDetectorID::m_HGTD_ID {4} |
|
privateinherited |
◆ m_imsg
| std::atomic<IMessageSvc*> AthMessaging::m_imsg { nullptr } |
|
mutableprivateinherited |
◆ m_indet_dict
◆ m_INDET_ID
| int AtlasDetectorID::m_INDET_ID {2} |
|
privateinherited |
◆ m_indet_impl
◆ m_INDET_INDEX
◆ m_indet_part_impl
◆ m_is_initialized_from_dict
| bool AtlasDetectorID::m_is_initialized_from_dict {} |
|
privateinherited |
◆ m_is_valid
◆ 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_lay_wheel_impl
◆ m_LAYER_OR_WHEEL_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_module_hash_max
◆ m_module_vec
◆ 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_phi_mod_impl
◆ m_PHI_MODULE_INDEX
◆ 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_str_lay_impl
◆ m_straw_hash_max
◆ m_straw_impl
◆ m_STRAW_INDEX
◆ m_straw_layer_hash_max
◆ m_STRAW_LAYER_INDEX
◆ m_straw_layer_vec
◆ m_straw_vec
◆ 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_trt_impl
◆ m_TRT_INDEX
◆ m_trt_region_index
◆ 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
IdDictFieldImplementation m_bec_impl
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.
size_type m_LAYER_OR_WHEEL_INDEX
bool is_forward(Identifier id) const
MultiRange m_full_straw_range
Identifier layer_id(int barrel_ec, int phi_module, int layer_or_wheel, int straw_layer) const
For an individual straw layer.
MultiRange build_multirange() const
Get MultiRange for full dictionary.
std::vector< unsigned int > m_muon_tech_bits
size_type m_trt_region_index
virtual int initialize_from_dictionary(const IdDictMgr &dict_mgr) override
Initialization from the identifier dictionary.
std::vector< HashCalc > m_hash_calcs
size_type m_PHI_MODULE_INDEX
void module_id_checks(int barrel_ec, int phi_module, int layer_or_wheel) const
IdDictFieldImplementation m_indet_part_impl
int straw_max(const Identifier &id) const
hash_vec::const_iterator hash_vec_it
MultiRange m_full_straw_layer_range
void init_straw_hash_vector()
The init will use up ~2 MB of memory, so one should do init, use straw_id and then reset.
size_type m_STRAW_LAYER_INDEX
IdDictFieldImplementation m_phi_mod_impl
IdentifierHash straw_hash(Identifier straw_id) const
straw hash from id - optimized
const std::string & version() const
Dictionary version.
bool is_lar_fcal(Identifier id) const
identifier_factory factory_begin()
std::string show_to_string(void) const
bool is_lar(Identifier id) const
int muon_field_value() const
const IdDictRegion & region(size_t i) const
Region at index i.
hash_vec m_straw_layer_vec
AtlasDetectorID(const std::string &name, const std::string &group)
identifier_factory factory_end()
setSAddress setEtaMS setDirPhiMS setDirZMS setBarrelRadius setEndcapAlpha setEndcapRadius setInterceptInner setEtaMap setEtaBin setIsTgcFailure setDeltaPt deltaPhi
size_type cardinalityUpTo(const ExpandedIdentifier &id) const
void barrel_ec_id_checks(int barrel_ec) const
size_type end_index() const
int calo_field_value() const
size_type m_BARREL_EC_INDEX
IdDictFieldImplementation m_trt_impl
void pack(int value, Identifier &id) const
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.
Identifier barrel_ec_id(int barrel_ec) const
For +/-barrel or +/-endcap id.
static constexpr value_type MAX_BIT
std::vector< Identifier >::const_iterator const_id_iterator
const std::string & name() const
Dictionary name.
int trt_field_value() const
int lar_field_value() const
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
size_type m_straw_hash_max
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.
IdDictFieldImplementation m_str_lay_impl
virtual bool do_neighbours(void) const override
Neighbour initialization is performed by default One can switch or query this mode for any idHelper w...
const IdDictDictionary * m_dict
IMessageSvc * getMessageSvc(bool quiet=false)
IdDictField * find_field(const std::string &name) const
bool is_lvl1_trig_towers(Identifier id) const
IdentifierHash module_hash(Identifier module_id) const
module hash from id - optimized
std::vector< intPair > m_hash_calcs_barrel_indexes
bool m_do_neighbours
Flag for subclasses to know whether or not to perform neighbour initialization.
void reset(Identifier &id) const
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
size_type begin_index() const
int straw(const Identifier &id) const
static constexpr value_type ALL_BITS
IdDictDictionary * find_dictionary(const std::string &name) const
Access dictionary by name.
size_type m_module_hash_max
msgSvc
Provide convenience handles for various services.
virtual int get_hash(const Identifier &id, IdentifierHash &hash_id, const IdContext *context=0) const override final
Create hash id from compact id (return == 0 for OK)
std::string m_group
Group name.
IdDictDictionary * m_calo_dict
IdContext module_context() const
module id
bool m_is_initialized_from_dict
IdDictFieldImplementation m_lar_part_impl
ExpandedIdentifier indet_exp(void) const
Detector systems:
IdentifierHash straw_hash_bin(Identifier straw_id) const
size_type m_straw_layer_hash_max
void straw_id_checks(int barrel_ec, int phi_module, int layer_or_wheel, int straw_layer, int straw) const
IdDictFieldImplementation m_muon_mdt_impl
IdDictFieldImplementation m_lar_fcal_module_impl
bool is_tile_dm(Identifier id) const
IdDictFieldImplementation m_indet_impl
IdDictDictionary * m_fwd_dict
bool is_tile(Identifier id) const
void get_expanded_id(const Identifier &id, ExpandedIdentifier &exp_id, const IdContext *context=0) const
int barrel_ec(const Identifier &id) const
Values of different levels (failure returns 0)
int straw_layer(const Identifier &id) const
Range::field m_lvl1_onl_field
int layer_or_wheel(const Identifier &id) const
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 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
std::string print_to_string(Identifier id, const IdContext *context=0) const
or provide the printout in string form
std::vector< intPair > m_hash_calcs_endcap_indexes
IdContext straw_layer_context() const
straw_layer id
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
A Range describes the possible ranges for the field values of an ExpandedIdentifier.
ExpandedIdentifier fwd_exp(void) const
int phi_module(const Identifier &id) const
IdDictFieldImplementation m_muon_station_name_impl
MultiRange m_full_module_range
int match(const ExpandedIdentifier &id) const
Match an identifier.
IdContext straw_context() const
straw id
IdDictFieldImplementation m_straw_impl
bool is_lumi(Identifier id) const
bool reinitialize(const IdDictMgr &dict_mgr)
Test whether an idhelper should be reinitialized based on the change of tags.
bool is_barrel(const Identifier &id) const
Test for barrel.
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.
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)
std::string m_nm
Message source name.
void layer_id_checks(int barrel_ec, int phi_module, int layer_or_wheel, int straw_layer) const
This is the individual specification for the range of one ExpandedIdentifier IdentifierField.
void clear()
Erase all fields.
IdDictFieldImplementation m_lay_wheel_impl
IdDictDictionary * m_lar_dict
void reset_straw_hash_vector()
unsigned long long value_type
bool is_lvl1_online(Identifier id) const
void invalidMessage() const
Range::field m_barrel_field
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.
void add_value(element_type value)
IdentifierHash straw_layer_hash(Identifier straw_layer_id) const
straw_layer hash from id - optimized
Range::field m_lvl1_field
Identifier module_id(int barrel_ec, int phi_module, int layer_or_wheel) const
For an individual module phi sector.
Identifier straw_id(int barrel_ec, int phi_module, int layer_or_wheel, int straw_layer, int straw) const
Three ways of getting id for a single straw: