 |
ATLAS Offline Software
|
This is a Identifier helper class for the PLR subdetector. This class inherits from PixelID.
More...
#include <PLR_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 |
| |
|
| typedef Identifier::size_type | size_type |
| |
| typedef std::vector< Identifier >::const_iterator | const_id_iterator |
| |
| typedef MultiRange::const_identifier_factory | const_expanded_id_iterator |
| |
|
| | PLR_ID () |
| |
| AtlasDetectorID::HelperType | helper () const override final |
| | This is an PLR_ID helper. More...
|
| |
| virtual int | initialize_from_dictionary (const IdDictMgr &dict_mgr) override |
| | Initialization from the identifier dictionary. More...
|
| |
| bool | msgLvl (const MSG::Level lvl) const |
| | Test the output level. More...
|
| |
| MsgStream & | msg () const |
| | The standard message stream. More...
|
| |
| MsgStream & | msg (const MSG::Level lvl) const |
| | The standard message stream. More...
|
| |
| void | setLevel (MSG::Level lvl) |
| | Change the current logging level. More...
|
| |
|
| Identifier | wafer_id (int barrel_ec, int layer_disk, int phi_module, int eta_module) const |
| | For a single crystal. More...
|
| |
| Identifier | wafer_id (int barrel_ec, int layer_disk, int phi_module, int eta_module, bool checks) const |
| |
| 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 barrel_ec, int layer_disk, int phi_module, int eta_module, int phi_index, int eta_index) const |
| | For an individual pixel. More...
|
| |
| Identifier | pixel_id (int barrel_ec, int layer_disk, int phi_module, int eta_module, int phi_index, int eta_index, bool checks) const |
| |
| Identifier | pixel_id (const Identifier &id, int phi_index, int eta_index) const |
| |
|
| size_type | wafer_hash_max () const |
| |
| size_type | pixel_hash_max () const |
| |
|
| const_id_iterator | wafer_begin () const |
| | Iterators over full set of ids. Wafer iterator is sorted. More...
|
| |
| const_id_iterator | wafer_end () const |
| |
| const_expanded_id_iterator | pixel_begin () const |
| | For pixel ids, only expanded id iterators are available. More...
|
| |
| const_expanded_id_iterator | pixel_end () const |
| |
|
| IdentifierHash | wafer_hash (Identifier wafer_id) const |
| | wafer hash from id More...
|
| |
| bool | is_barrel (const Identifier &id) const |
| | Test for barrel - WARNING: id MUST be pixel id, otherwise answer is not accurate. Use SiliconID for generic test. More...
|
| |
| bool | is_dbm (const Identifier &id) const |
| | Test for dbm - WARNING: id MUST be pixel id, otherwise answer is not accurate. Use SiliconID for generic test. More...
|
| |
| bool | is_blayer (const Identifier &id) const |
| | Test for b-layer - WARNING: id MUST be pixel id, otherwise answer is not accurate. Use SiliconID for generic test. More...
|
| |
| int | barrel_ec (const Identifier &id) const |
| | Values of different levels (failure returns 0) More...
|
| |
| int | layer_disk (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_disk_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...
|
| |
| bool | is_eta_module_min (const Identifier &id) const |
| | For the barrel. More...
|
| |
| bool | is_eta_module_max (const Identifier &id) const |
| | For the barrel. More...
|
| |
|
| IdContext | wafer_context () const |
| |
| IdContext | pixel_context () const |
| |
|
| 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...
|
| |
| Identifier | pixel_id (Identifier::value_type val) const |
| | Create a compact id from a value (e.g., from a persistent object). More...
|
| |
| bool | is_shortened_pixel_id (Identifier32::value_type val) const |
| | Test if this is a valid shortened pixel channel id. More...
|
| |
| bool | is_shortened_pixel_id (const Identifier32 &id) const |
| |
| bool | is_shortened_pixel_id (const Identifier &id) const |
| |
| Identifier | pixel_id_from_shortened (Identifier32::value_type val) const |
| | Create a compact pixel id from a (fixed format) legacy pixel channel id. More...
|
| |
| int | base_bit () 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...
|
| |
|
| Identifier | wafer_id (int barrel_ec, int layer_disk, int phi_module, int eta_module) const |
| | For a single crystal. More...
|
| |
| Identifier | wafer_id (int barrel_ec, int layer_disk, int phi_module, int eta_module, bool checks) const |
| |
| 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 barrel_ec, int layer_disk, int phi_module, int eta_module, int phi_index, int eta_index) const |
| | For an individual pixel. More...
|
| |
| Identifier | pixel_id (int barrel_ec, int layer_disk, int phi_module, int eta_module, int phi_index, int eta_index, bool checks) const |
| |
| Identifier | pixel_id (const Identifier &id, int phi_index, int eta_index) const |
| |
|
| Identifier | pixel_id (Identifier::value_type val) const |
| | Create a compact id from a value (e.g., from a persistent object). 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...
|
| |
| bool | is_shortened_pixel_id (Identifier32::value_type val) const |
| | Test if this is a valid shortened pixel channel id. More...
|
| |
| bool | is_shortened_pixel_id (const Identifier32 &id) const |
| |
| bool | is_shortened_pixel_id (const Identifier &id) const |
| |
| Identifier | pixel_id_from_shortened (Identifier32::value_type val) const |
| | Create a compact pixel id from a (fixed format) legacy pixel channel id. More...
|
| |
| int | base_bit () 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...
|
| |
|
| size_type | wafer_hash_max () const |
| |
| size_type | pixel_hash_max () const |
| |
|
| const_id_iterator | wafer_begin () const |
| | Iterators over full set of ids. Wafer iterator is sorted. More...
|
| |
| const_id_iterator | wafer_end () const |
| |
| const_expanded_id_iterator | pixel_begin () const |
| | For pixel ids, only expanded id iterators are available. More...
|
| |
| const_expanded_id_iterator | pixel_end () const |
| |
|
| IdentifierHash | wafer_hash (Identifier wafer_id) const |
| | wafer hash from id More...
|
| |
| bool | is_barrel (const Identifier &id) const |
| | Test for barrel - WARNING: id MUST be pixel id, otherwise answer is not accurate. Use SiliconID for generic test. More...
|
| |
| bool | is_dbm (const Identifier &id) const |
| | Test for dbm - WARNING: id MUST be pixel id, otherwise answer is not accurate. Use SiliconID for generic test. More...
|
| |
| bool | is_blayer (const Identifier &id) const |
| | Test for b-layer - WARNING: id MUST be pixel id, otherwise answer is not accurate. Use SiliconID for generic test. More...
|
| |
| int | barrel_ec (const Identifier &id) const |
| | Values of different levels (failure returns 0) More...
|
| |
| int | layer_disk (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_disk_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...
|
| |
| bool | is_eta_module_min (const Identifier &id) const |
| | For the barrel. More...
|
| |
| bool | is_eta_module_max (const Identifier &id) const |
| | For the barrel. More...
|
| |
|
| IdContext | wafer_context () const |
| |
| IdContext | pixel_context () const |
| |
|
| Identifier | pixel_id (const ExpandedIdentifier &pixel_id) const |
| | Create pixel Identifier from expanded id, which is returned by the id_iterators. More...
|
| |
| Identifier | pixel_id (const ExpandedIdentifier &pixel_id, bool checks) 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...
|
| |
| void | test_wafer_packing () const |
| | Tests of packing. 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 |
| |
| Identifier | m_baseIdentifier {} |
| |
| ExpandedIdentifier | m_baseExpandedIdentifier {} |
| |
| size_type | m_pixel_region_index {0} |
| |
| size_type | m_INDET_INDEX {0} |
| |
| size_type | m_PIXEL_INDEX {1} |
| |
| size_type | m_BARREL_EC_INDEX {2} |
| |
| size_type | m_LAYER_DISK_INDEX {3} |
| |
| size_type | m_PHI_MODULE_INDEX {4} |
| |
| size_type | m_ETA_MODULE_INDEX {5} |
| |
| size_type | m_PHI_INDEX_INDEX {6} |
| |
| size_type | m_ETA_INDEX_INDEX {7} |
| |
| int | m_ETA_MODULE_OFFSET {999} |
| |
| Identifier | m_pixel_id {} |
| |
| 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 {} |
| |
| Range::field | m_barrel_field |
| |
| 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_pixel_impl |
| |
| IdDictFieldImplementation | m_bec_impl |
| |
| IdDictFieldImplementation | m_lay_disk_impl |
| |
| IdDictFieldImplementation | m_phi_mod_impl |
| |
| IdDictFieldImplementation | m_eta_mod_impl |
| |
| IdDictFieldImplementation | m_bec_shift_impl |
| |
| IdDictFieldImplementation | m_lay_disk_shift_impl |
| |
| IdDictFieldImplementation | m_phi_mod_shift_impl |
| |
| IdDictFieldImplementation | m_eta_mod_shift_impl |
| |
| IdDictFieldImplementation | m_phi_index_impl |
| |
| IdDictFieldImplementation | m_eta_index_impl |
| |
| IdDictFieldImplementation | m_bec_eta_mod_impl |
| |
| Range::field | m_dbm_field |
| |
| void | wafer_id_checks (int barrel_ec, int layer_disk, int phi_module, int eta_module) const |
| |
| void | pixel_id_checks (int barrel_ec, int layer_disk, int phi_module, int eta_module, int phi_index, int eta_index) const |
| |
| int | init_hashes () |
| |
| int | init_neighbors () |
| |
This is a Identifier helper class for the PLR subdetector. This class inherits from PixelID.
Definition at line 21 of file PLR_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 258 of file PixelID.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 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
◆ PLR_ID()
◆ alfa_exp()
◆ alfa_field_value()
| int AtlasDetectorID::alfa_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ barrel_ec()
Values of different levels (failure returns 0)
Definition at line 615 of file PixelID.h.
◆ base_bit()
| int PixelID::base_bit |
( |
| ) |
const |
|
inlineinherited |
Return the lowest bit position used in the channel id.
Definition at line 576 of file PixelID.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 560 of file PixelID.h.
◆ 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.
◆ 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 862 of file PixelID.cxx.
◆ get_hash()
|
|
finaloverridevirtualinherited |
◆ get_id()
|
|
finaloverridevirtualinherited |
Create compact id from hash id (return == 0 for OK)
Reimplemented from AtlasDetectorID.
Definition at line 879 of file PixelID.cxx.
897 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 457 of file PixelID.cxx.
◆ get_next_in_phi()
Next wafer hash in phi (return == 0 for neighbor found)
Definition at line 431 of file PixelID.cxx.
◆ get_prev_in_eta()
Previous wafer hash in eta (return == 0 for neighbor found)
Definition at line 444 of file PixelID.cxx.
◆ get_prev_in_phi()
Previous wafer hash in phi (return == 0 for neighbor found)
Definition at line 418 of file PixelID.cxx.
◆ group()
| const std::string & AtlasDetectorID::group |
( |
| ) |
const |
|
inherited |
◆ helper()
|
|
inlinefinaloverridevirtual |
◆ hgtd()
◆ hgtd_exp()
◆ hgtd_field_value()
| int AtlasDetectorID::hgtd_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ indet()
◆ indet_exp()
◆ indet_field_value()
| int AtlasDetectorID::indet_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
Provide efficient access to individual field values, for subclass idhelpers.
Definition at line 606 of file AtlasDetectorID.h.
◆ init_hashes()
| int PixelID::init_hashes |
( |
| ) |
|
|
protectedinherited |
Definition at line 359 of file PixelID.cxx.
372 unsigned int nids = 0;
373 std::set<Identifier>
ids;
377 for (
const auto & exp_id:rit) {
382 if (!(
ids.insert(
id)).second) {
384 <<
" Error: duplicated id for wafer id. nid " << nids
386 <<
" exp id " << (std::string) exp_id
396 <<
" Error: set size NOT EQUAL to hash max. size " <<
ids.size()
404 std::set<Identifier>::const_iterator
first =
ids.begin();
405 std::set<Identifier>::const_iterator last =
ids.end();
◆ init_neighbors()
| int PixelID::init_neighbors |
( |
| ) |
|
|
protectedinherited |
Definition at line 469 of file PixelID.cxx.
496 for (
const auto & exp_id: rit) {
514 if (
get_hash(
id, hash_id, &wcontext)) {
515 log <<
MSG::FATAL <<
" PixelID::init_neighbors - unable to get hash, exp/compact "
522 unsigned short index = hash_id;
536 if (
get_hash(
id, hash_id, &wcontext)) {
537 log <<
MSG::FATAL <<
" PixelID::init_neighbors - unable to get previous phi hash, exp/compact "
553 if (
get_hash(
id, hash_id, &wcontext)) {
554 log <<
MSG::FATAL <<
" PixelID::init_neighbors - unable to get next phi hash, exp/compact " <<
570 if (
get_hash(
id, hash_id, &wcontext)) {
571 log <<
MSG::FATAL <<
" PixelID::init_neighbors - unable to get previous eta hash, exp/compact "
587 if (
get_hash(
id, hash_id, &wcontext)) {
588 log <<
MSG::FATAL <<
" PixelID::init_neighbors - unable to get next eta hash, exp/compact "
◆ initialize_from_dictionary()
Initialization from the identifier dictionary.
Reimplemented from PixelID.
Definition at line 37 of file PLR_ID.cxx.
42 log <<
MSG::INFO <<
"Request to reinitialize not satisfied - tags have not changed" <<
endmsg;
56 log <<
MSG::FATAL <<
" PLR_ID::initialize_from_dict - cannot access InnerDetector dictionary "
69 log <<
MSG::FATAL <<
" PLR_ID::initialize_from_dict - cannot get plr id dictionary "
81 log <<
MSG::FATAL <<
"Could not get value for label 'barrel' of field 'barrel_endcap' in dictionary "
90 <<
"Set barrel field values: "
107 log << MSG::WARNING <<
108 "Could not get value for label 'negative_dbm' of field 'barrel_endcap' in dictionary "
120 log << MSG::WARNING <<
121 "Could not get value for label 'positive_dbm' of field 'barrel_endcap' in dictionary "
132 <<
"Set dbm field values: "
144 if (atlasDict->get_label_value(
"subdet",
"InnerDetector", inDetField)) {
145 log <<
MSG::FATAL <<
"Could not get value for label 'InnerDetector' of field 'subdet' in dictionary "
155 log <<
MSG::FATAL <<
"Could not get value for label 'LuminosityDetectors' of field 'part' in dictionary "
165 log <<
MSG::FATAL <<
"Could not get value for label 'PLR' of field 'PLR_or_BCM' in dictionary "
173 <<
"Found field values: InDet/LuminosityDetectors/PLR "
◆ initLevelsFromDict()
| int PLR_ID::initLevelsFromDict |
( |
| ) |
|
|
private |
Definition at line 217 of file PLR_ID.cxx.
221 log <<
MSG::FATAL <<
" PLR_ID::initLevelsFromDict - dictionary NOT initialized " <<
endmsg;
242 log <<
MSG::FATAL <<
"PLR_ID::initLevelsFromDict - unable to find pixel region index: id, reg "
254 log <<
MSG::FATAL <<
"PLR_ID::initLevelsFromDict - unable to find 'subdet' field "
264 log <<
MSG::FATAL <<
"PLR_ID::initLevelsFromDict - unable to find 'part' field " <<
endmsg;
272 log <<
MSG::FATAL <<
"PLR_ID::initLevelsFromDict - unable to find 'PLR_or_BCM' field " <<
endmsg;
283 log <<
MSG::FATAL <<
"PLR_ID::initLevelsFromDict - unable to find 'barrel_endcap' field " <<
endmsg;
291 log <<
MSG::FATAL <<
"PLR_ID::initLevelsFromDict - unable to find 'layer' field " <<
endmsg;
299 log <<
MSG::FATAL <<
"PLR_ID::initLevelsFromDict - unable to find 'phi_module' field " <<
endmsg;
307 log <<
MSG::FATAL <<
"PLR_ID::initLevelsFromDict - unable to find 'eta_module' field " <<
endmsg;
315 log <<
MSG::FATAL <<
"PLR_ID::initLevelsFromDict - unable to find 'phi_index' field " <<
endmsg;
323 log <<
MSG::FATAL <<
"PLR_ID::initLevelsFromDict - unable to find 'eta_index' field " <<
endmsg;
462 std::cout <<
"PLR_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_barrel()
Test for barrel - WARNING: id MUST be pixel id, otherwise answer is not accurate. Use SiliconID for generic test.
Definition at line 601 of file PixelID.h.
◆ is_bcm()
| bool AtlasDetectorID::is_bcm |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_blayer()
Test for b-layer - WARNING: id MUST be pixel id, otherwise answer is not accurate. Use SiliconID for generic test.
Definition at line 629 of file PixelID.h.
◆ 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_dbm()
Test for dbm - WARNING: id MUST be pixel id, otherwise answer is not accurate. Use SiliconID for generic test.
Definition at line 608 of file PixelID.h.
◆ is_eta_module_max()
◆ is_eta_module_min()
◆ 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 183 of file PixelID.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_shortened_pixel_id() [1/3]
Definition at line 524 of file PixelID.h.
528 if ((
val << 32) && !(
val >> 32)) {
531 }
else if (!(
val << 32) && (
val >> 32)) {
◆ is_shortened_pixel_id() [2/3]
◆ is_shortened_pixel_id() [3/3]
Test if this is a valid shortened pixel channel id.
Definition at line 512 of file PixelID.h.
513 return (
val >> 31) && (
val & 0xff);
◆ 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_disk()
◆ layer_disk_max()
Max/Min values for each field (error returns -999)
Definition at line 64 of file PixelID.cxx.
71 if (
range.match(expId)) {
73 if (not layer_disk_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 PixelID.cxx.
◆ pixel_context()
◆ pixel_end()
◆ pixel_exp()
◆ pixel_field_value()
| int AtlasDetectorID::pixel_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ pixel_hash_max()
◆ pixel_id() [1/6]
Create pixel Identifier from expanded id, which is returned by the id_iterators.
Definition at line 466 of file PixelID.h.
◆ pixel_id() [2/6]
Create pixel Identifier from expanded id, which is returned by the id_iterators.
Definition at line 442 of file PixelID.h.
◆ pixel_id() [3/6]
◆ pixel_id() [4/6]
Create a compact id from a value (e.g., from a persistent object).
This repacks fields in case it's a special pixel channel id.
Definition at line 486 of file PixelID.h.
492 if ((
val << 32) && !(
val >> 32)) {
500 }
else if (!(
val << 32) && (
val >> 32)) {
◆ pixel_id() [5/6]
| Identifier PixelID::pixel_id |
( |
int |
barrel_ec, |
|
|
int |
layer_disk, |
|
|
int |
phi_module, |
|
|
int |
eta_module, |
|
|
int |
phi_index, |
|
|
int |
eta_index |
|
) |
| const |
|
inlineinherited |
For an individual pixel.
Definition at line 428 of file PixelID.h.
◆ pixel_id() [6/6]
| Identifier PixelID::pixel_id |
( |
int |
barrel_ec, |
|
|
int |
layer_disk, |
|
|
int |
phi_module, |
|
|
int |
eta_module, |
|
|
int |
phi_index, |
|
|
int |
eta_index, |
|
|
bool |
checks |
|
) |
| const |
|
inlineinherited |
◆ pixel_id_checks()
| void PixelID::pixel_id_checks |
( |
int |
barrel_ec, |
|
|
int |
layer_disk, |
|
|
int |
phi_module, |
|
|
int |
eta_module, |
|
|
int |
phi_index, |
|
|
int |
eta_index |
|
) |
| const |
|
protectedinherited |
Definition at line 48 of file PixelID.cxx.
57 log << MSG::ERROR <<
" PixelID::pixel_id result is NOT ok. ID, range "
◆ pixel_id_from_shortened()
Create a compact pixel id from a (fixed format) legacy pixel channel id.
If compiled in 32-bit mode, this method does nothing.
Definition at line 542 of file PixelID.h.
546 int bec = bec_val[(
val >> 29) & 0x03];
551 ((
val >> 27) & 0x03),
552 ((
val >> 21) & 0x3f),
554 ((
val >> 8) & 0x1ff),
◆ pixel_id_offset()
Create an identifier with a given base and channel offset.
Definition at line 568 of file PixelID.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 427 of file AtlasDetectorID.cxx.
434 unsigned int max_index = (context) ? context->
end_index() : 999;
458 ATH_MSG_WARNING(__func__<<
":"<<__LINE__<<
" No dictionary could be associated to "<<
id);
◆ register_dict_tag()
| int AtlasDetectorID::register_dict_tag |
( |
const IdDictMgr & |
dict_mgr, |
|
|
const std::string & |
dict_name |
|
) |
| |
|
protectedinherited |
◆ reinitialize()
Test whether an idhelper should be reinitialized based on the change of tags.
Definition at line 221 of file AtlasDetectorID.cxx.
232 ATH_MSG_ERROR(
"reinitialize: dict names and tags vectors not the same length ");
◆ rpc()
◆ rpc_field_value()
| int AtlasDetectorID::rpc_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ sct()
◆ sct_exp()
◆ sct_field_value()
| int AtlasDetectorID::sct_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ set_do_checks()
| void AtlasDetectorID::set_do_checks |
( |
bool |
do_checks | ) |
|
|
overridevirtualinherited |
◆ set_do_neighbours()
| void AtlasDetectorID::set_do_neighbours |
( |
bool |
do_neighbours | ) |
|
|
overridevirtualinherited |
◆ set_quiet()
| void AtlasDetectorID::set_quiet |
( |
bool |
quiet | ) |
|
|
inherited |
◆ setDictVersion()
|
|
overrideprotectedvirtualinherited |
◆ setLevel()
| void AthMessaging::setLevel |
( |
MSG::Level |
lvl | ) |
|
|
inherited |
◆ setMessageSvc()
| void AtlasDetectorID::setMessageSvc |
( |
IMessageSvc * |
msgSvc | ) |
|
|
overridevirtualinherited |
◆ show()
Short print out of any identifier (optionally provide separation character - default is '.
'):
Definition at line 359 of file AtlasDetectorID.cxx.
◆ show_to_string()
or provide the printout in string form
Definition at line 365 of file AtlasDetectorID.cxx.
368 std::string
result(
"Unable to decode id");
369 unsigned int max_index = (context) ? context->
end_index() : 999;
371 if (!
id.is_valid()) {
403 if (dict->unpack(
m_group, compact,
prefix, max_index, expId)) {
411 for (
unsigned int i = 0;
i < expId.fields(); ++
i) {
◆ stgc()
◆ stgc_field_value()
| int AtlasDetectorID::stgc_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ subdet_context()
| IdContext AtlasDetectorID::subdet_context |
( |
void |
| ) |
const |
|
inherited |
◆ test_wafer_packing()
| void PixelID::test_wafer_packing |
( |
| ) |
const |
|
inherited |
Tests of packing.
Definition at line 934 of file PixelID.cxx.
952 "PixelID::test_wafer_packing: new and old compact id not equal. New/old/expanded ids "
954 << (std::string) expId <<
endmsg;
964 for (; first_pixel != last_pixel && nids < 1000; ++first_pixel, ++nids) {
974 if (exp_id[0] != new_exp_id[0] ||
975 exp_id[1] != new_exp_id[1] ||
976 exp_id[2] != new_exp_id[2] ||
977 exp_id[3] != new_exp_id[3] ||
978 exp_id[4] != new_exp_id[4] ||
979 exp_id[5] != new_exp_id[5]) {
981 "PixelID::test_wafer_packing: new and old expanded ids not equal. New/old/compact ids "
982 << (std::string) new_exp_id
983 <<
" " << (std::string) exp_id
1001 log << MSG::ERROR <<
"PixelID::test_wafer_packing: new and old pixel ids not equal. New/old ids "
1008 log <<
MSG::DEBUG <<
"PixelID::test_wafer_packing: Successful tested "
1013 log << MSG::ERROR <<
1014 "PixelID::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 845 of file PixelID.cxx.
◆ wafer_context()
◆ wafer_end()
◆ wafer_hash()
wafer hash from id
Definition at line 383 of file PixelID.h.
◆ wafer_hash_max()
◆ wafer_id() [1/4]
For a single crystal from a pixel id - DO NOT USE wafer id as input.
Definition at line 369 of file PixelID.h.
◆ wafer_id() [2/4]
◆ wafer_id() [3/4]
| Identifier PixelID::wafer_id |
( |
int |
barrel_ec, |
|
|
int |
layer_disk, |
|
|
int |
phi_module, |
|
|
int |
eta_module |
|
) |
| const |
|
inlineinherited |
For a single crystal.
Definition at line 360 of file PixelID.h.
◆ wafer_id() [4/4]
| Identifier PixelID::wafer_id |
( |
int |
barrel_ec, |
|
|
int |
layer_disk, |
|
|
int |
phi_module, |
|
|
int |
eta_module, |
|
|
bool |
checks |
|
) |
| const |
|
inlineinherited |
◆ wafer_id_checks()
| void PixelID::wafer_id_checks |
( |
int |
barrel_ec, |
|
|
int |
layer_disk, |
|
|
int |
phi_module, |
|
|
int |
eta_module |
|
) |
| const |
|
protectedinherited |
Definition at line 33 of file PixelID.cxx.
41 log << MSG::ERROR <<
" PixelID::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_BARREL_EC_INDEX
◆ m_barrel_field
◆ m_baseExpandedIdentifier
◆ m_baseIdentifier
◆ m_BCM_ID
| int AtlasDetectorID::m_BCM_ID {3} |
|
privateinherited |
◆ m_bec_eta_mod_impl
◆ m_bec_impl
◆ m_bec_shift_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_dbm_field
◆ 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_eta_index_impl
◆ m_ETA_INDEX_INDEX
◆ m_eta_mod_impl
◆ m_eta_mod_shift_impl
◆ m_ETA_MODULE_INDEX
◆ m_ETA_MODULE_OFFSET
| int PixelID::m_ETA_MODULE_OFFSET {999} |
|
protectedinherited |
◆ 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_pixel_range
◆ m_full_wafer_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_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_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_disk_impl
◆ m_lay_disk_shift_impl
◆ m_LAYER_DISK_INDEX
◆ m_LUCID_ID
| int AtlasDetectorID::m_LUCID_ID {5} |
|
privateinherited |
◆ m_LUMI_ID
| int AtlasDetectorID::m_LUMI_ID {3} |
|
privateinherited |
◆ m_lumi_impl
◆ m_LUMI_INDEX
◆ m_LUMI_PLR_ID
| int AtlasDetectorID::m_LUMI_PLR_ID {1} |
|
privateinherited |
◆ m_lvl
| std::atomic<MSG::Level> AthMessaging::m_lvl { MSG::NIL } |
|
mutableprivateinherited |
◆ m_lvl1_field
◆ m_lvl1_onl_field
◆ m_MDT_ID
| int AtlasDetectorID::m_MDT_ID {0} |
|
privateinherited |
◆ m_MM_ID
| int AtlasDetectorID::m_MM_ID {5} |
|
privateinherited |
◆ m_msg_tls
| boost::thread_specific_ptr<MsgStream> AthMessaging::m_msg_tls |
|
mutableprivateinherited |
MsgStream instance (a std::cout like with print-out levels)
Definition at line 132 of file AthMessaging.h.
◆ m_msgSvc
| IMessageSvc* AtlasDetectorID::m_msgSvc {} |
|
protectedinherited |
◆ m_muon_dict
◆ m_MUON_ID
| int AtlasDetectorID::m_MUON_ID {7} |
|
privateinherited |
◆ m_muon_mdt_impl
◆ m_muon_rpc_impl
◆ m_muon_station_name_impl
◆ m_MUON_SUBDET_INDEX
| size_type AtlasDetectorID::m_MUON_SUBDET_INDEX {999} |
|
privateinherited |
◆ m_muon_tech_bits
| std::vector<unsigned int> AtlasDetectorID::m_muon_tech_bits |
|
privateinherited |
◆ m_next_eta_wafer_vec
◆ m_next_phi_wafer_vec
◆ m_nm
| std::string AthMessaging::m_nm |
|
privateinherited |
◆ m_phi_index_impl
◆ m_PHI_INDEX_INDEX
◆ m_phi_mod_impl
◆ m_phi_mod_shift_impl
◆ m_PHI_MODULE_INDEX
◆ m_pixel_hash_max
◆ m_pixel_id
◆ m_PIXEL_ID
| int AtlasDetectorID::m_PIXEL_ID {1} |
|
privateinherited |
◆ m_pixel_impl
◆ m_PIXEL_INDEX
◆ m_pixel_region_index
◆ m_plr_impl
◆ m_PLR_INDEX
◆ 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_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.
IdDictDictionary * m_muon_dict
int indet_field_value() const
Provide efficient access to individual field values, for subclass idhelpers.
IdDictFieldImplementation m_bec_impl
bool is_forward(Identifier id) const
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)
MultiRange build_multirange() const
Get MultiRange for full dictionary.
size_type m_wafer_hash_max
std::vector< unsigned int > m_muon_tech_bits
int phi_index(const Identifier &id) const
std::vector< Identifier >::const_iterator const_id_iterator
Identifier lumi(void) const
IdDictFieldImplementation m_indet_part_impl
int base_bit() const
Return the lowest bit position used in the channel id.
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
IdDictFieldImplementation m_eta_mod_shift_impl
int muon_field_value() const
IdDictFieldImplementation m_bec_shift_impl
int barrel_ec(const Identifier &id) const
Values of different levels (failure returns 0)
const IdDictRegion & region(size_t i) const
Region at index i.
virtual int initialize_from_dictionary(const IdDictMgr &dict_mgr) override
Initialization from the identifier dictionary.
identifier_factory factory_end()
element_type get_minimum() const
Query the values.
IdDictFieldImplementation m_indet_impl
size_type cardinalityUpTo(const ExpandedIdentifier &id) const
hash_vec m_next_eta_wafer_vec
size_type end_index() const
int calo_field_value() const
size_type m_BARREL_EC_INDEX
IdDictFieldImplementation m_phi_index_impl
IdDictFieldImplementation m_plr_impl
size_type m_ETA_INDEX_INDEX
IdDictFieldImplementation m_phi_mod_shift_impl
MultiRange m_full_pixel_range
IdDictFieldImplementation m_eta_mod_impl
void pack(int value, Identifier &id) const
IdDictDictionary * m_tile_dict
int plr_field_value() const
IMessageSvc * m_msgSvc
pointer to the message service
std::string m_dict_version
bool decode_index() const
element_type get_maximum() const
size_type m_ETA_MODULE_INDEX
bool m_do_checks
Flag for subclasses to know whether or not to perform checks.
static constexpr value_type MAX_BIT
const_expanded_id_iterator pixel_end() const
const std::string & name() const
Dictionary name.
ExpandedIdentifier m_baseExpandedIdentifier
int lar_field_value() const
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.
bool is_shortened_pixel_id(Identifier32::value_type val) const
Test if this is a valid shortened pixel channel id.
virtual bool do_neighbours(void) const override
Neighbour initialization is performed by default One can switch or query this mode for any idHelper w...
int eta_module_max(const Identifier &id) const
IMessageSvc * getMessageSvc(bool quiet=false)
IdDictField * find_field(const std::string &name) const
bool is_lvl1_trig_towers(Identifier id) const
Identifier wafer_id(int barrel_ec, int layer_disk, int phi_module, int eta_module) const
For a single crystal.
IdContext wafer_context() const
bool m_do_neighbours
Flag for subclasses to know whether or not to perform neighbour initialization.
void reset(Identifier &id) const
IdDictFieldImplementation m_bec_eta_mod_impl
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
bool is_barrel(const Identifier &id) const
Test for barrel - WARNING: id MUST be pixel id, otherwise answer is not accurate. Use SiliconID for g...
size_type begin_index() const
const_expanded_id_iterator pixel_begin() const
For pixel ids, only expanded id iterators are available.
static constexpr value_type ALL_BITS
IdDictDictionary * find_dictionary(const std::string &name) const
Access dictionary by name.
IdentifierHash wafer_hash(Identifier wafer_id) const
wafer hash from id
size_type m_pixel_hash_max
Identifier m_baseIdentifier
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)
msgSvc
Provide convenience handles for various services.
bool empty() const
If true, this field does not have any constraints, and may hold any value representable by element_ty...
std::string m_group
Group name.
IdDictDictionary * m_calo_dict
bool m_is_initialized_from_dict
IdDictFieldImplementation m_lar_part_impl
ExpandedIdentifier indet_exp(void) const
Detector systems:
IdDictFieldImplementation m_muon_mdt_impl
IdDictFieldImplementation m_lar_fcal_module_impl
size_type bits_offset() const
bool is_tile_dm(Identifier id) const
MultiRange m_full_wafer_range
void pixel_id_checks(int barrel_ec, int layer_disk, int phi_module, int eta_module, int phi_index, int eta_index) const
int eta_index(const Identifier &id) const
IdDictDictionary * m_fwd_dict
bool get_next(element_type current, element_type &next) const
bool is_tile(Identifier id) const
Range::field m_lvl1_onl_field
const Range::field & ored_field() 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 lumi_field_value() 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
int phi_module_max(const Identifier &id) const
IdDictFieldImplementation m_lumi_impl
int tile_field_value() const
int get_label_value(const std::string &field, const std::string &label, int &value) const
int layer_disk(const Identifier &id) const
std::string print_to_string(Identifier id, const IdContext *context=0) const
or provide the printout in string form
int eta_module(const Identifier &id) const
hash_vec m_next_phi_wafer_vec
IdDictDictionary * m_indet_dict
hash_vec m_prev_phi_wafer_vec
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
virtual void setDictVersion(const IdDictMgr &dict_mgr, const std::string &name) override
A Range describes the possible ranges for the field values of an ExpandedIdentifier.
ExpandedIdentifier fwd_exp(void) const
IdDictFieldImplementation m_muon_station_name_impl
MultiRange::const_identifier_factory const_expanded_id_iterator
struct TBPatternUnitContext Muon
size_type m_pixel_region_index
int match(const ExpandedIdentifier &id) const
Match an identifier.
int eta_module_min(const Identifier &id) const
bool is_lumi(Identifier id) const
bool reinitialize(const IdDictMgr &dict_mgr)
Test whether an idhelper should be reinitialized based on the change of tags.
IdContext pixel_context() const
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.
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.
void wafer_id_checks(int barrel_ec, int layer_disk, int phi_module, int eta_module) const
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)
Identifier pixel_id(int barrel_ec, int layer_disk, int phi_module, int eta_module, int phi_index, int eta_index) const
For an individual pixel.
IdDictFieldImplementation m_eta_index_impl
IdDictFieldImplementation m_phi_mod_impl
std::string m_nm
Message source name.
Range::field m_barrel_field
This is the individual specification for the range of one ExpandedIdentifier IdentifierField.
IdDictFieldImplementation m_lay_disk_shift_impl
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.
hash_vec m_prev_eta_wafer_vec
size_type m_LAYER_DISK_INDEX
IdDictDictionary * m_lar_dict
unsigned long long value_type
bool is_lvl1_online(Identifier id) const
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...
size_type m_PHI_MODULE_INDEX
boost::thread_specific_ptr< MsgStream > m_msg_tls
MsgStream instance (a std::cout like with print-out levels)
int phi_module(const Identifier &id) const
IdDictFieldImplementation m_lay_disk_impl
virtual bool do_checks(void) const override
Checks are performed by default in debug compilation and NOT in optimized compilation.
const IdDictDictionary * m_dict
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)
id_vec::const_iterator id_vec_it
constexpr std::initializer_list< int > Tile
Identifier pixel_id_from_shortened(Identifier32::value_type val) const
Create a compact pixel id from a (fixed format) legacy pixel channel id.
Range::field m_lvl1_field
size_type m_PHI_INDEX_INDEX