 |
ATLAS Offline Software
|
Helper class for Calo Dead Material offline identifiers.
More...
#include <CaloDM_ID.h>
|
| class | HashCalc |
| | small class holding the starting hash value, the min eta and the number of phi bins of each region More...
|
| |
|
| typedef Identifier::size_type | size_type |
| |
| enum | HelperType {
HelperType::Unimplemented = -1,
HelperType::Silicon = 0,
HelperType::Pixel,
HelperType::PLR,
HelperType::SCT,
HelperType::TRT,
HelperType::LArEM,
HelperType::LArFCal,
HelperType::LArFCalSuperCell,
HelperType::LArHEC,
HelperType::LArHEC_SuperCell,
HelperType::LARMiniFCal,
HelperType::Tile,
HelperType::TileSuperCell,
HelperType::LArOnline,
HelperType::LArOnlineSuperCell,
HelperType::LArElectrode,
HelperType::LArHVLine,
HelperType::TileHardware,
HelperType::TileTestbeam,
HelperType::CaloCell,
HelperType::CaloSuperCell,
HelperType::CaloDM,
HelperType::CaloLvl1,
HelperType::GTower,
HelperType::JTower,
HelperType::Muon,
HelperType::LUCID,
HelperType::LUCID_Hardware,
HelperType::Zdc,
HelperType::ZdcHardware,
HelperType::TT
} |
| | enum class for eventual final derived types of this class More...
|
| |
|
| | CaloDM_ID () |
| |
| virtual | ~CaloDM_ID () |
| |
| Identifier | region_id (int pos_neg_z, int dmat, int sampling, int region) const |
| | build a region identifier valid for both LAr and Tiles
More...
|
| |
| Identifier | region_id (int pos_neg_z, int dmat, int sampling, int region, bool checks) const |
| |
| Identifier | region_id (const Identifier &zoneId) const |
| | build a region identifier valid for both LAr and Tiles
More...
|
| |
| Identifier | zone_id (int pos_neg_z, int dat, int sampling, int region, int eta, int phi) const |
| | build a zone identifier valid for both LAr and Tiles
More...
|
| |
| Identifier | zone_id (int pos_neg_z, int dat, int sampling, int region, int eta, int phi, bool checks) const |
| |
| Identifier | zone_id (const Identifier ®ionId, int eta, int phi) const |
| | build a zone identifier valid for both LAr and Tiles
More...
|
| |
| Identifier | zone_id (const Identifier ®ionId, int eta, int phi, bool checks) const |
| |
| bool | is_lar (const Identifier &zoneId) const |
| | to disentangle between LAr and Tile dead material More...
|
| |
| bool | is_tile (const Identifier &zoneId) const |
| | to disentangle between LAr and Tile dead material More...
|
| |
| Identifier | lar_region_id (IdentifierHash lar_region_hash_id) const |
| | create a lar region id from hash id More...
|
| |
| Identifier | tile_region_id (IdentifierHash tile_region_hash_id) const |
| | create a tile region id from hash id More...
|
| |
| Identifier | lar_zone_id (IdentifierHash lar_zone_hash_id) const |
| | create a lar zone id from hash id More...
|
| |
| Identifier | tile_zone_id (IdentifierHash tile_zone_hash_id) const |
| | create a tile zone id from hash id More...
|
| |
| IdentifierHash | lar_region_hash (Identifier LArRegionId) const |
| | create a lar hash id from region id More...
|
| |
| IdentifierHash | tile_region_hash (Identifier TileRegionId) const |
| | create a tile hash id from region id More...
|
| |
| IdentifierHash | lar_zone_hash (Identifier LArZoneId) const |
| | create a lar hash id from zone id More...
|
| |
| IdentifierHash | tile_zone_hash (Identifier TileZoneId) const |
| | create a tile hash id from zone id More...
|
| |
| size_type | lar_region_hash_max () const |
| | lar region hash table max size More...
|
| |
| size_type | lar_zone_hash_max () const |
| | lar zone hash table max size More...
|
| |
| size_type | tile_region_hash_max () const |
| | tile region hash table max size More...
|
| |
| size_type | tile_zone_hash_max () const |
| | tile zone hash table max size More...
|
| |
| std::vector< Identifier >::const_iterator | lar_region_begin () const |
| | begin iterator over lar regions More...
|
| |
| std::vector< Identifier >::const_iterator | lar_region_end () const |
| | end iterator over lar regions More...
|
| |
| std::vector< Identifier >::const_iterator | tile_region_begin () const |
| | begin iterator over tile regions More...
|
| |
| std::vector< Identifier >::const_iterator | tile_region_end () const |
| | end iterator over tile regions More...
|
| |
| std::vector< Identifier >::const_iterator | lar_zone_begin () const |
| | begin iterator over full set of LAr identifiers More...
|
| |
| std::vector< Identifier >::const_iterator | lar_zone_end () const |
| | end iterator over full set of LAr identifiers More...
|
| |
| std::vector< Identifier >::const_iterator | tile_zone_begin () const |
| | begin iterator over full set of Tile identifiers More...
|
| |
| std::vector< Identifier >::const_iterator | tile_zone_end () const |
| | end iterator over full set of Tile identifiers More...
|
| |
| int | pos_neg_z (const Identifier &id) const |
| | return pos_neg_z according to :
More...
|
| |
| int | dmat (const Identifier &id) const |
| | return DMtype according to :
More...
|
| |
| int | sampling (const Identifier &id) const |
| | return sampling according to :
More...
|
| |
| int | region (const Identifier &id) const |
| | return region according to :
More...
|
| |
| int | eta (const Identifier &id) const |
| | return eta
More...
|
| |
| int | phi (const Identifier &id) const |
| | return phi
More...
|
| |
| int | eta_min (const Identifier &id) const |
| | min value of eta index (-999 == failure) More...
|
| |
| int | eta_max (const Identifier &id) const |
| | max value of eta index (-999 == failure) More...
|
| |
| int | phi_min (const Identifier &id) const |
| | min value of phi index (-999 == failure) More...
|
| |
| int | phi_max (const Identifier &id) const |
| | max value of phi index (-999 == failure) More...
|
| |
| virtual int | initialize_from_dictionary (const IdDictMgr &dict_mgr) |
| | initialization from the identifier dictionary More...
|
| |
| IdContext | region_context () const |
| | access to IdContext's which define which levels of fields are contained in a region id More...
|
| |
| IdContext | zone_context () const |
| | access to IdContext's which define which levels of fields are contained in a zone id 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...
|
| |
|
| IdentifierHash | lar_zone_hash_binary_search (Identifier zoneId) const |
| |
| IdentifierHash | tile_zone_hash_binary_search (Identifier zoneId) const |
| |
| int | get_expanded_id (const Identifier &id, ExpandedIdentifier &exp_id, const IdContext *context) const |
| | create expanded Identifier from Identifier (return == 0 for OK) More...
|
| |
| void | lar_region_id_checks (int pos_neg_z, int dmat, int sampling, int region) const |
| |
| void | tile_region_id_checks (int pos_neg_z, int dmat, int sampling, int region) const |
| |
| void | lar_zone_id_checks (int pos_neg_z, int dat, int sampling, int region, int eta, int phi) const |
| |
| void | tile_zone_id_checks (int pos_neg_z, int dat, int sampling, int region, int eta, int phi) const |
| |
| void | zone_id_checks (const Identifier ®ionId, int eta, int phi) const |
| |
| int | initLevelsFromDict () |
| |
| int | init_lar_hashes () |
| |
| int | init_tile_hashes () |
| |
| void | initMessaging () const |
| | Initialize our message level and MessageSvc. More...
|
| |
Helper class for Calo Dead Material offline identifiers.
This class provides an interface to decode and generate offline identifiers for the Calo Dead Materials.
Definition and range of values for the elements of the identifier are (ATL-SOFT-2001-004):
element range meaning
------- ----- -------
DETZSIDE +/-4 positive/negative LAr
+/-5 positive/negative TileLAr:
====
DeadMAT [1,3] 1=outside accordion ....
2=internal "cracks"
3=beam testsampling [0,3] type 1 and type 2
? type 3region [0,5] type 1, sampling 0
[0,7] type 1, sampling 1
[0,5] type 1, sampling 2
[0,2] type 1, sampling 3
[0,3] type 2, sampling [0,3]
? type 3eta [0,49] values and ranges depend on the DM type, the sampling, the region etc ....
phi [0,63] all except below
" [0,31] type 2, sampling [0,3], region 2
" 0 type 1, sampling 3, region 2
Tile
====
DeadMAT [1,3] 1=dead material around sensitive material
2=dead material in internal "cracks" (if any)
3=beam testsampling [0,3] type 1
0 type 2,3region [0,1] type 1, sampling 0
[0,2] type 1, sampling 1
[0,2] type 1, sampling 2
0 type 1, sampling 3
0 type 2,3eta [0,9] type 1, sampling 0, region 0
[0,4] type 1, sampling 0, region 1
[0,3] type 1, sampling 1, region 0
[0,2] type 1, sampling 1, region 1
[0,3] type 1, sampling 1, region 2
[0,7] type 1, sampling 2, region 0
[0,4] type 1, sampling 2, region 1
[0,1] type 1, sampling 2, region 2
[0,16] type 1, sampling 3, region 0
0 type 2,3phi [0,63] in all regions
region _id DETZSIDE/DMTYPE/SAMPLING/REGION
zone_id Region_ID+ETA+PHI
- Author
- started by Fairouz Malek
-
maintained by Fabienne Ledroit
Definition at line 101 of file CaloDM_ID.h.
◆ size_type
◆ anonymous enum
◆ HelperType
enum class for eventual final derived types of this class
| Enumerator |
|---|
| Unimplemented | |
| Silicon | |
| Pixel | |
| PLR | |
| SCT | |
| TRT | |
| LArEM | |
| LArFCal | |
| LArFCalSuperCell | |
| LArHEC | |
| LArHEC_SuperCell | |
| LARMiniFCal | |
| Tile | |
| TileSuperCell | |
| LArOnline | |
| LArOnlineSuperCell | |
| LArElectrode | |
| LArHVLine | |
| TileHardware | |
| TileTestbeam | |
| CaloCell | |
| CaloSuperCell | |
| CaloDM | |
| CaloLvl1 | |
| GTower | |
| JTower | |
| Muon | |
| LUCID | |
| LUCID_Hardware | |
| Zdc | |
| ZdcHardware | |
| TT | |
Definition at line 55 of file AtlasDetectorID.h.
60 LArEM, LArFCal, LArFCalSuperCell,
61 LArHEC, LArHEC_SuperCell, LARMiniFCal,
65 LArOnline, LArOnlineSuperCell,
67 LArElectrode, LArHVLine,
68 TileHardware, TileTestbeam,
75 LUCID, LUCID_Hardware,
◆ ID
◆ CaloDM_ID()
◆ ~CaloDM_ID()
| CaloDM_ID::~CaloDM_ID |
( |
| ) |
|
|
virtualdefault |
◆ alfa_exp()
◆ alfa_field_value()
| int AtlasDetectorID::alfa_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ bcm_exp()
◆ bcm_field_value()
| int AtlasDetectorID::bcm_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ calo()
◆ calo_exp()
◆ calo_field_value()
| int AtlasDetectorID::calo_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ 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 |
◆ dmat()
return DMtype according to :
element range
------- -----
DeadMat [1,3] LAr
[1,3] Tilefailure returns 0
Definition at line 669 of file CaloDM_ID.h.
◆ 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()
◆ eta_max()
max value of eta index (-999 == failure)
- Warning
- input = REGION ID !!
Definition at line 83 of file CaloDM_ID.cxx.
96 for (
unsigned int i = 0;
i < (*zoneRange).size(); ++
i) {
98 if (
range.match(expId)) {
100 if (not eta_field.
empty()) {
◆ eta_min()
min value of eta index (-999 == failure)
- Warning
- input = REGION ID !!
Definition at line 50 of file CaloDM_ID.cxx.
63 for (
unsigned int i = 0;
i < (*zoneRange).size(); ++
i) {
65 if (
range.match(expId)) {
67 if (not eta_field.
empty()) {
◆ file_names()
| const std::vector< std::string > & AtlasDetectorID::file_names |
( |
void |
| ) |
const |
|
inherited |
◆ fix_barrel_ec()
| std::string AtlasDetectorID::fix_barrel_ec |
( |
const std::string & |
barrel_ec | ) |
const |
|
protectedinherited |
◆ forward_field_value()
| int AtlasDetectorID::forward_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ fwd_exp()
◆ get_expanded_id()
◆ get_hash()
Create hash id from compact id (return == 0 for OK)
Implements IdHelper.
Reimplemented in SCT_ID, TRT_ID, PixelID, SiliconID, MuonIdHelper, TileHWID, CaloIDHelper, TileTBID, Tile_Base_ID, HGTD_ID, CaloLVL1_ID, and JGTowerBase_ID.
Definition at line 195 of file AtlasDetectorID.cxx.
◆ get_id()
Create compact id from hash id (return == 0 for OK)
Implements IdHelper.
Reimplemented in SCT_ID, TRT_ID, PixelID, SiliconID, MuonIdHelper, TileHWID, CaloIDHelper, TileTBID, Tile_Base_ID, HGTD_ID, CaloLVL1_ID, and JGTowerBase_ID.
Definition at line 189 of file AtlasDetectorID.cxx.
◆ group()
| const std::string & AtlasDetectorID::group |
( |
| ) |
const |
|
inherited |
◆ helper()
| virtual HelperType AtlasDetectorID::helper |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ hgtd()
◆ hgtd_exp()
◆ hgtd_field_value()
| int AtlasDetectorID::hgtd_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ indet()
◆ indet_exp()
◆ indet_field_value()
| int AtlasDetectorID::indet_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
Provide efficient access to individual field values, for subclass idhelpers.
Definition at line 606 of file AtlasDetectorID.h.
◆ init_lar_hashes()
| int CaloDM_ID::init_lar_hashes |
( |
| ) |
|
|
private |
Definition at line 886 of file CaloDM_ID.cxx.
892 std::stringstream strm;
897 unsigned int nids = 0;
898 std::set<Identifier>
ids;
902 auto first = rit.begin();
903 auto last = rit.end();
912 if(!(
ids.insert(zon_id)).second)
916 log << MSG::ERROR <<
" init_lar_hashes "
917 <<
" duplicated id for lardm id. nids= " << nids
923 std::cout <<
" CaloDM_ID::init_lar_hashes "
924 <<
" Error: duplicated id for lardm id. nids= " << nids
927 std::cout << std::endl;
937 log << MSG::ERROR <<
" init_lar_hashes "
938 <<
" set size NOT EQUAL to hash max. size " <<
ids.size()
943 std::cout <<
" CaloDM_ID::init_lar_hashes "
944 <<
" Error: set size NOT EQUAL to hash max. size " <<
ids.size()
952 std::set<Identifier>::const_iterator
first =
ids.begin();
953 std::set<Identifier>::const_iterator last =
ids.end();
967 auto first = rit.begin();
968 auto last = rit.end();
976 if(!(
ids.insert(reg_id)).second)
980 log << MSG::ERROR <<
" init_lar_hashes (regions) "
981 <<
" duplicated id for region id. nids= " << nids
987 std::cout <<
" CaloDM_ID::init_lar_hashes (regions) "
988 <<
" Error: duplicated id for region id. nids= " << nids
992 std::cout << std::endl;
1002 log << MSG::ERROR <<
" init_lar_hashes "
1003 <<
" set size NOT EQUAL to region hash max. size " <<
ids.size()
1008 std::cout <<
" CaloDM_ID::init_lar_hashes "
1009 <<
" Error: set size NOT EQUAL to region hash max. size " <<
ids.size()
◆ init_tile_hashes()
| int CaloDM_ID::init_tile_hashes |
( |
| ) |
|
|
private |
Definition at line 1029 of file CaloDM_ID.cxx.
1035 std::stringstream strm;
1040 unsigned int nids = 0;
1041 std::set<Identifier>
ids;
1045 auto first = rit.begin();
1046 auto last = rit.end();
1066 if(!(
ids.insert(zon_id)).second)
1070 log << MSG::ERROR <<
" init_tile_hashes "
1071 <<
" duplicated id for tiledm id. nids= " << nids
1077 std::cout <<
" CaloDM_ID::init_tile_hashes "
1078 <<
" Error: duplicated id for tiledm id. nids= " << nids
1081 std::cout << std::endl;
1091 log << MSG::ERROR <<
" init_tile_hashes "
1092 <<
" set size NOT EQUAL to hash max. size " <<
ids.size()
1097 std::cout <<
" CaloDM_ID::init_tile_hashes "
1098 <<
" Error: set size NOT EQUAL to hash max. size " <<
ids.size()
1106 std::set<Identifier>::const_iterator
first =
ids.begin();
1107 std::set<Identifier>::const_iterator last =
ids.end();
1121 auto first = rit.begin();
1122 auto last = rit.end();
1130 if(!(
ids.insert(reg_id)).second)
1134 log << MSG::ERROR <<
" init_tile_hashes (regions) "
1135 <<
" duplicated id for region id. nids= " << nids
1141 std::cout <<
" CaloDM_ID::init_tile_hashes (regions) "
1142 <<
" Error: duplicated id for region id. nids= " << nids
1146 std::cout << std::endl;
1156 log << MSG::ERROR <<
" init_tile_hashes "
1157 <<
" set size NOT EQUAL to region hash max. size " <<
ids.size()
1162 std::cout <<
" CaloDM_ID::init_tile_hashes "
1163 <<
" Error: set size NOT EQUAL to region hash max. size " <<
ids.size()
◆ initialize_from_dictionary()
| int CaloDM_ID::initialize_from_dictionary |
( |
const IdDictMgr & |
dict_mgr | ) |
|
|
virtual |
initialization from the identifier dictionary
Reimplemented from AtlasDetectorID.
Definition at line 174 of file CaloDM_ID.cxx.
179 std::string strg =
"initialize_from_dictionary";
184 std::cout << strg << std::endl;
186 std::stringstream strm;
207 log << MSG::ERROR <<
" initialize_from_dict - cannot access Calorimeter dictionary " <<
endmsg;
211 std::cout <<
" CaloDM_ID::initialize_from_dict - cannot access Calorimeter dictionary "
227 log << MSG::ERROR <<
"Could not get value for label 'Calorimeter' of field 'subdet' in dictionary "
232 std::cout <<
"Could not get value for label 'Calorimeter' of field 'subdet' in dictionary "
239 int lardmCaloValue = -1;
245 log << MSG::ERROR <<
"Could not get value for label 'negative_DMLar_side' of field 'DetZside' in dictionary "
250 std::cout <<
"Could not get value for label 'negative_DMLar_side' of field 'DetZside' in dictionary "
257 int tiledmCaloValue = -1;
263 log << MSG::ERROR <<
"Could not get value for label 'negative_DMTile_side' of field 'DetZside' in dictionary "
269 std::cout <<
"Could not get value for label 'negative_DMTile_side' of field 'DetZside' in dictionary "
284 reg_id.
add(caloValue);
285 reg_id.
add(lardmCaloValue);
292 reg_id2.
add(caloValue);
293 reg_id2.
add(tiledmCaloValue);
310 std::cout <<
" CaloDM_ID::initialize_from_dict : "
352 int size = (1 << bits);
379 log << MSG::WARNING <<
" seting etamin to 0 because actual value not found for regId " <<
show_to_string(regId) <<
endmsg;
383 std::cout <<
"WARNING !!! seting etamin to 0 because actual value not found for regId " <<
show_to_string(regId) << std::endl;
388 hc.m_hash = min_hash;
397 log << MSG::WARNING <<
"min > " <<
size <<
" "
405 std::cout <<
"min > " <<
size <<
" "
421 log << MSG::ERROR <<
"lar zone ranges, id, hash, i = "
429 std::cout <<
" ***** Error ";
430 std::cout <<
"lar zone ranges, id, hash, i = "
451 log << MSG::WARNING <<
"seting etamin to 0 because actual value not found for regId " <<
show_to_string(regId) <<
endmsg;
455 std::cout <<
"WARNING !!! seting etamin to 0 because actual value not found for regId " <<
show_to_string(regId) << std::endl;
460 hc.m_hash = min_hash;
469 log << MSG::WARNING <<
"min > " <<
size <<
" "
477 std::cout <<
"min > " <<
size <<
" "
493 log << MSG::ERROR <<
"tile zone ranges, id, hash, i = "
501 std::cout <<
" ***** Error ";
502 std::cout <<
"tile zone ranges, id, hash, i = "
◆ initLevelsFromDict()
| int CaloDM_ID::initLevelsFromDict |
( |
| ) |
|
|
private |
Definition at line 636 of file CaloDM_ID.cxx.
642 std::stringstream strm;
646 log << MSG::ERROR <<
"initLevelsFromDict - dictionary NOT initialized "
651 std::cout <<
"CaloDM_ID::initLevelsFromDict - dictionary NOT initialized "
677 log << MSG::ERROR <<
"initLevelsFromDict - unable to find lardm region " <<
endmsg;
681 std::cout <<
"CaloDM_ID::initLevelsFromDict - unable to find lardm region "
697 log << MSG::ERROR <<
"initLevelsFromDict - unable to find 'subdet' field "
702 std::cout <<
"CaloDM_ID::initLevelsFromDict - unable to find 'subdet' field "
717 log << MSG::ERROR <<
"initLevelsFromDict - unable to find 'DetZside' field "
722 std::cout <<
"CaloDM_ID::initLevelsFromDict - unable to find 'DetZside' field "
737 log << MSG::ERROR <<
"initLevelsFromDict - unable to find 'DMvalue' field "
742 std::cout <<
"CaloDM_ID::initLevelsFromDict - unable to find 'DMvalue' field "
758 log << MSG::ERROR <<
"initLevelsFromDict - unable to find 'samplingvalue' field "
763 std::cout <<
"CaloDM_ID::initLevelsFromDict - unable to find 'samplingvalue' field "
778 log << MSG::ERROR <<
"initLevelsFromDict - unable to find 'DMregion' field " <<
endmsg;
782 std::cout <<
"CaloDM_ID::initLevelsFromDict - unable to find 'DMregion' field "
798 log << MSG::ERROR <<
"initLevelsFromDict - unable to find 'DMEta' field "
803 std::cout <<
"CaloDM_ID::initLevelsFromDict - unable to find 'DMEta' field "
818 log << MSG::ERROR <<
"initLevelsFromDict - unable to find 'phivalue' field "
823 std::cout <<
"CaloDM_ID::initLevelsFromDict - unable to find 'phivalue' field "
872 std::cout <<
"decode index and bit fields for each level: " << std::endl;
◆ initMessaging()
| void AthMessaging::initMessaging |
( |
| ) |
const |
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
◆ is_alfa()
| bool AtlasDetectorID::is_alfa |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_bcm()
| bool AtlasDetectorID::is_bcm |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_calo() [1/2]
◆ is_calo() [2/2]
| bool AtlasDetectorID::is_calo |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_csc() [1/2]
◆ is_csc() [2/2]
| bool AtlasDetectorID::is_csc |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_forward()
| bool AtlasDetectorID::is_forward |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_hgtd() [1/2]
◆ is_hgtd() [2/2]
| bool AtlasDetectorID::is_hgtd |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_indet() [1/2]
◆ is_indet() [2/2]
| bool AtlasDetectorID::is_indet |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_lar() [1/3]
◆ is_lar() [2/3]
◆ is_lar() [3/3]
| 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/3]
◆ is_tile() [2/3]
◆ is_tile() [3/3]
| 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 |
◆ lar_region_begin()
| std::vector< Identifier >::const_iterator CaloDM_ID::lar_region_begin |
( |
| ) |
const |
|
inline |
begin iterator over lar regions
Definition at line 590 of file CaloDM_ID.h.
◆ lar_region_end()
| std::vector< Identifier >::const_iterator CaloDM_ID::lar_region_end |
( |
| ) |
const |
|
inline |
end iterator over lar regions
Definition at line 596 of file CaloDM_ID.h.
◆ lar_region_hash()
create a lar hash id from region id
Definition at line 532 of file CaloDM_ID.h.
◆ lar_region_hash_max()
lar region hash table max size
Definition at line 566 of file CaloDM_ID.h.
◆ lar_region_id()
create a lar region id from hash id
Definition at line 508 of file CaloDM_ID.h.
◆ lar_region_id_checks()
| void CaloDM_ID::lar_region_id_checks |
( |
int |
pos_neg_z, |
|
|
int |
dmat, |
|
|
int |
sampling, |
|
|
int |
region |
|
) |
| const |
|
private |
Definition at line 547 of file CaloDM_ID.cxx.
554 std::string errorMessage =
"CaloDM_ID::lar_region_id() result is not OK: ID, range = "
◆ lar_zone_begin()
| std::vector< Identifier >::const_iterator CaloDM_ID::lar_zone_begin |
( |
| ) |
const |
|
inline |
begin iterator over full set of LAr identifiers
Definition at line 602 of file CaloDM_ID.h.
◆ lar_zone_end()
| std::vector< Identifier >::const_iterator CaloDM_ID::lar_zone_end |
( |
| ) |
const |
|
inline |
end iterator over full set of LAr identifiers
Definition at line 608 of file CaloDM_ID.h.
◆ lar_zone_hash()
create a lar hash id from zone id
Definition at line 552 of file CaloDM_ID.h.
555 return (hc.m_hash + (
eta(LArZoneId)-hc.m_etamin)*hc.m_nphi +
phi(LArZoneId));
◆ lar_zone_hash_binary_search()
◆ lar_zone_hash_max()
lar zone hash table max size
Definition at line 572 of file CaloDM_ID.h.
◆ lar_zone_id()
create a lar zone id from hash id
Definition at line 520 of file CaloDM_ID.h.
◆ lar_zone_id_checks()
| void CaloDM_ID::lar_zone_id_checks |
( |
int |
pos_neg_z, |
|
|
int |
dat, |
|
|
int |
sampling, |
|
|
int |
region, |
|
|
int |
eta, |
|
|
int |
phi |
|
) |
| const |
|
private |
Definition at line 575 of file CaloDM_ID.cxx.
583 std::string errorMessage =
"CaloDM_ID::lar_zone_id() result is not OK: ID, range = "
◆ 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()
◆ phi_max()
max value of phi index (-999 == failure)
- Warning
- input = REGION ID !!
Definition at line 144 of file CaloDM_ID.cxx.
157 for (
unsigned int i = 0;
i < (*zoneRange).size(); ++
i) {
159 if (
range.match(expId)) {
161 if (not phi_field.
empty()) {
◆ phi_min()
min value of phi index (-999 == failure)
- Warning
- input = REGION ID !!
Definition at line 111 of file CaloDM_ID.cxx.
124 for (
unsigned int i = 0;
i < (*zoneRange).size(); ++
i) {
126 if (
range.match(expId)) {
128 if (not phi_field.
empty()) {
◆ pixel()
◆ pixel_exp()
◆ pixel_field_value()
| int AtlasDetectorID::pixel_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ plr_field_value()
| int AtlasDetectorID::plr_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ pos_neg_z()
return pos_neg_z according to :
element range meaning
------- ----- -------
DETZSIDE +/-4 positive/negative LAr
+/-5 positive/negative Tilefailure returns 0
Definition at line 639 of file CaloDM_ID.h.
◆ 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);
◆ region()
return region according to :
element range meaning
------- ----- -------
lar region 0 type 1, sampling 0
[0,7] type 1, sampling 1
[0,5] type 1, sampling 2
[0,2] type 1, sampling 3
[0,3] type 2, sampling [0,3]
? type 3failure returns 0
Definition at line 651 of file CaloDM_ID.h.
◆ region_context()
| IdContext CaloDM_ID::region_context |
( |
| ) |
const |
access to IdContext's which define which levels of fields are contained in a region id
Definition at line 533 of file CaloDM_ID.cxx.
◆ region_id() [1/3]
build a region identifier valid for both LAr and Tiles
Definition at line 422 of file CaloDM_ID.h.
◆ region_id() [2/3]
| Identifier CaloDM_ID::region_id |
( |
int |
pos_neg_z, |
|
|
int |
dmat, |
|
|
int |
sampling, |
|
|
int |
region |
|
) |
| const |
|
inline |
build a region identifier valid for both LAr and Tiles
Definition at line 415 of file CaloDM_ID.h.
◆ region_id() [3/3]
| Identifier CaloDM_ID::region_id |
( |
int |
pos_neg_z, |
|
|
int |
dmat, |
|
|
int |
sampling, |
|
|
int |
region, |
|
|
bool |
checks |
|
) |
| const |
|
inline |
◆ 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 |
◆ sampling()
return sampling according to :
element range meaning
------- ----- -------
sampling [0,3] type 1 and type 2 (LAr only)
? type 3failure returns 0
Definition at line 645 of file CaloDM_ID.h.
◆ 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 |
◆ 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 |
◆ tile_region_begin()
| std::vector< Identifier >::const_iterator CaloDM_ID::tile_region_begin |
( |
| ) |
const |
|
inline |
begin iterator over tile regions
Definition at line 614 of file CaloDM_ID.h.
◆ tile_region_end()
| std::vector< Identifier >::const_iterator CaloDM_ID::tile_region_end |
( |
| ) |
const |
|
inline |
end iterator over tile regions
Definition at line 620 of file CaloDM_ID.h.
◆ tile_region_hash()
create a tile hash id from region id
Definition at line 542 of file CaloDM_ID.h.
◆ tile_region_hash_max()
tile region hash table max size
Definition at line 578 of file CaloDM_ID.h.
◆ tile_region_id()
create a tile region id from hash id
Definition at line 514 of file CaloDM_ID.h.
◆ tile_region_id_checks()
| void CaloDM_ID::tile_region_id_checks |
( |
int |
pos_neg_z, |
|
|
int |
dmat, |
|
|
int |
sampling, |
|
|
int |
region |
|
) |
| const |
|
private |
Definition at line 560 of file CaloDM_ID.cxx.
567 std::string errorMessage =
"CaloDM_ID::tile_region_id() result is not OK: ID, range = "
◆ tile_zone_begin()
| std::vector< Identifier >::const_iterator CaloDM_ID::tile_zone_begin |
( |
| ) |
const |
|
inline |
begin iterator over full set of Tile identifiers
Definition at line 627 of file CaloDM_ID.h.
◆ tile_zone_end()
| std::vector< Identifier >::const_iterator CaloDM_ID::tile_zone_end |
( |
| ) |
const |
|
inline |
end iterator over full set of Tile identifiers
Definition at line 633 of file CaloDM_ID.h.
◆ tile_zone_hash()
create a tile hash id from zone id
Definition at line 559 of file CaloDM_ID.h.
562 return (hc.m_hash + (
eta(TileZoneId)-hc.m_etamin)*hc.m_nphi +
phi(TileZoneId));
◆ tile_zone_hash_binary_search()
◆ tile_zone_hash_max()
tile zone hash table max size
Definition at line 584 of file CaloDM_ID.h.
◆ tile_zone_id()
create a tile zone id from hash id
Definition at line 526 of file CaloDM_ID.h.
◆ tile_zone_id_checks()
| void CaloDM_ID::tile_zone_id_checks |
( |
int |
pos_neg_z, |
|
|
int |
dat, |
|
|
int |
sampling, |
|
|
int |
region, |
|
|
int |
eta, |
|
|
int |
phi |
|
) |
| const |
|
private |
Definition at line 589 of file CaloDM_ID.cxx.
597 std::string errorMessage =
"CaloDM_ID::tile_zone_id() result is not OK: ID, range = "
◆ 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 |
◆ zone_context()
access to IdContext's which define which levels of fields are contained in a zone id
Definition at line 540 of file CaloDM_ID.cxx.
◆ zone_id() [1/4]
build a zone identifier valid for both LAr and Tiles
Definition at line 489 of file CaloDM_ID.h.
◆ zone_id() [2/4]
◆ zone_id() [3/4]
| Identifier CaloDM_ID::zone_id |
( |
int |
pos_neg_z, |
|
|
int |
dat, |
|
|
int |
sampling, |
|
|
int |
region, |
|
|
int |
eta, |
|
|
int |
phi |
|
) |
| const |
|
inline |
build a zone identifier valid for both LAr and Tiles
Definition at line 463 of file CaloDM_ID.h.
◆ zone_id() [4/4]
| Identifier CaloDM_ID::zone_id |
( |
int |
pos_neg_z, |
|
|
int |
dat, |
|
|
int |
sampling, |
|
|
int |
region, |
|
|
int |
eta, |
|
|
int |
phi, |
|
|
bool |
checks |
|
) |
| const |
|
inline |
◆ zone_id_checks()
| void CaloDM_ID::zone_id_checks |
( |
const Identifier & |
regionId, |
|
|
int |
eta, |
|
|
int |
phi |
|
) |
| const |
|
private |
Definition at line 604 of file CaloDM_ID.cxx.
612 std::string errorMessage =
"CaloDM_ID::zone_id(regionId) result is not OK: ID= "
621 std::string errorMessage =
"CaloDM_ID::zone_id(regionId) result is not OK: ID, range = "
627 std::string errorMessage =
"CaloDM_ID::zone_id(regionId) result is not OK: ID, range = "
◆ ATLAS_THREAD_SAFE
| std::atomic_flag m_initialized AthMessaging::ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
|
mutableprivateinherited |
◆ m_ALFA_ID
| int AtlasDetectorID::m_ALFA_ID {1} |
|
privateinherited |
◆ m_atlas_dict
◆ m_BCM_ID
| int AtlasDetectorID::m_BCM_ID {3} |
|
privateinherited |
◆ m_calo_dict
◆ m_CALO_ID
| int AtlasDetectorID::m_CALO_ID {10} |
|
privateinherited |
◆ m_calo_impl
◆ m_CALO_INDEX
◆ m_calo_side_impl
◆ m_calodm_impl
◆ m_calodm_region_index
◆ m_CSC_ID
| int AtlasDetectorID::m_CSC_ID {1} |
|
privateinherited |
◆ m_det_impl
◆ m_DET_INDEX
◆ m_DETZSIDE_INDEX
◆ m_dict
◆ m_dict_names
| std::vector<std::string> AtlasDetectorID::m_dict_names |
|
protectedinherited |
◆ m_dict_tags
| std::vector<std::string> AtlasDetectorID::m_dict_tags |
|
protectedinherited |
◆ m_dict_version
| std::string AtlasDetectorID::m_dict_version |
|
privateinherited |
◆ m_dmat_impl
◆ m_DMAT_INDEX
◆ 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_impl
◆ m_ETA_INDEX
◆ m_file_names
| std::vector<std::string> AtlasDetectorID::m_file_names |
|
protectedinherited |
List of dictionary file names used by this helper.
Definition at line 379 of file AtlasDetectorID.h.
◆ m_full_lar_region_range
◆ m_full_lar_zone_range
◆ m_full_tile_region_range
◆ m_full_tile_zone_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_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_hash_calcs
| std::vector<HashCalc> CaloDM_ID::m_lar_hash_calcs |
|
private |
◆ 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_lar_region_hash_max
◆ m_lar_region_vec
| std::vector<Identifier> CaloDM_ID::m_lar_region_vec |
|
private |
◆ m_lar_zone_hash_max
◆ m_lar_zone_vec
◆ 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_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_impl
◆ m_PHI_INDEX
◆ m_PIXEL_ID
| int AtlasDetectorID::m_PIXEL_ID {1} |
|
privateinherited |
◆ m_pnz_reg_impl
◆ m_quiet
| bool AtlasDetectorID::m_quiet {} |
|
protectedinherited |
◆ m_region_impl
◆ m_REGION_INDEX
◆ m_RPC_ID
| int AtlasDetectorID::m_RPC_ID {2} |
|
privateinherited |
◆ m_sampling_impl
◆ m_SAMPLING_INDEX
◆ 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_hash_calcs
| std::vector<HashCalc> CaloDM_ID::m_tile_hash_calcs |
|
private |
◆ m_TILE_ID
| int AtlasDetectorID::m_TILE_ID {5} |
|
privateinherited |
◆ m_tile_region_hash_max
◆ m_tile_region_vec
| std::vector<Identifier> CaloDM_ID::m_tile_region_vec |
|
private |
◆ m_tile_zone_hash_max
◆ m_tile_zone_vec
| std::vector<Identifier> CaloDM_ID::m_tile_zone_vec |
|
private |
◆ m_TRT_ID
| int AtlasDetectorID::m_TRT_ID {3} |
|
privateinherited |
◆ m_ZDC_ID
| int AtlasDetectorID::m_ZDC_ID {7} |
|
privateinherited |
The documentation for this class was generated from the following files:
IdDictRegion * find_region(const std::string ®ion_name) const
bool is_pixel(Identifier id) const
std::atomic< MSG::Level > m_lvl
Current logging level.
IdDictDictionary * m_muon_dict
int indet_field_value() const
Provide efficient access to individual field values, for subclass idhelpers.
bool is_forward(Identifier id) const
MultiRange build_multirange() const
Get MultiRange for full dictionary.
int dmat(const Identifier &id) const
return DMtype according to :
std::vector< unsigned int > m_muon_tech_bits
size_type m_SAMPLING_INDEX
virtual int initialize_from_dictionary(const IdDictMgr &dict_mgr) override
Initialization from the identifier dictionary.
MultiRange m_full_tile_region_range
IdDictFieldImplementation m_indet_part_impl
const std::string & version() const
Dictionary version.
bool is_lar_fcal(Identifier id) const
Exception class for Calo Identifiers.
std::string show_to_string(void) const
bool is_lar(Identifier id) const
int muon_field_value() const
void tile_region_id_checks(int pos_neg_z, int dmat, int sampling, int region) const
const IdDictRegion & region(size_t i) const
Region at index i.
AtlasDetectorID(const std::string &name, const std::string &group)
size_type m_DETZSIDE_INDEX
Identifier tile_region_id(IdentifierHash tile_region_hash_id) const
create a tile region id from hash id
element_type get_minimum() const
Query the values.
int region(const Identifier &id) const
return region according to :
size_type end_index() const
int calo_field_value() const
Identifier tile_zone_id(IdentifierHash tile_zone_hash_id) const
create a tile zone id from hash id
void add(element_type value)
Append a value into a new field.
int eta_min(const Identifier &id) const
min value of eta index (-999 == failure)
void pack(int value, Identifier &id) const
IdDictDictionary * m_tile_dict
IdentifierHash lar_zone_hash_binary_search(Identifier zoneId) const
IMessageSvc * m_msgSvc
pointer to the message service
size_type m_lar_region_hash_max
std::string m_dict_version
const IdDictDictionary * m_dict
element_type get_maximum() const
std::vector< Identifier > m_tile_zone_vec
bool m_do_checks
Flag for subclasses to know whether or not to perform checks.
static constexpr value_type MAX_BIT
const std::string & name() const
Dictionary name.
int lar_field_value() const
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
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.
std::vector< Identifier > m_lar_region_vec
virtual bool do_neighbours(void) const override
Neighbour initialization is performed by default One can switch or query this mode for any idHelper w...
IMessageSvc * getMessageSvc(bool quiet=false)
IdDictField * find_field(const std::string &name) const
bool is_lvl1_trig_towers(Identifier id) const
bool m_do_neighbours
Flag for subclasses to know whether or not to perform neighbour initialization.
void reset(Identifier &id) 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
void lar_region_id_checks(int pos_neg_z, int dmat, int sampling, int region) const
static constexpr value_type ALL_BITS
IdDictDictionary * find_dictionary(const std::string &name) const
Access dictionary by name.
MultiRange m_full_tile_zone_range
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
void set_bits(size_type bits, size_type bits_offset)
IdDictFieldImplementation m_calo_impl
bool m_is_initialized_from_dict
IdDictFieldImplementation m_lar_part_impl
ExpandedIdentifier indet_exp(void) const
Detector systems:
MultiRange m_full_lar_region_range
IdDictFieldImplementation m_muon_mdt_impl
int pos_neg_z(const Identifier &id) const
return pos_neg_z according to :
IdDictFieldImplementation m_lar_fcal_module_impl
size_type bits_offset() const
bool is_tile_dm(Identifier id) const
std::vector< HashCalc > m_lar_hash_calcs
IdDictFieldImplementation m_eta_impl
bool is_lar(const Identifier &zoneId) const
to disentangle between LAr and Tile dead material
IdDictDictionary * m_fwd_dict
bool is_tile(Identifier id) const
IdentifierHash tile_zone_hash(Identifier TileZoneId) const
create a tile hash id from zone id
IdContext region_context() const
access to IdContext's which define which levels of fields are contained in a region id
Range::field m_lvl1_onl_field
std::vector< Identifier > m_lar_zone_vec
bool m_quiet
If true, suppress DEBUG/INFO messages.
MsgStream & msg() const
The standard message stream.
IdDictFieldImplementation m_calodm_impl
size_type m_tile_region_hash_max
IdDictFieldImplementation m_muon_rpc_impl
IdDictFieldImplementation m_phi_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
IdDictFieldImplementation m_sampling_impl
size_type m_tile_zone_hash_max
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
Identifier region_id(int pos_neg_z, int dmat, int sampling, int region) const
build a region identifier valid for both LAr and Tiles
A MultiRange combines several Ranges.
IdentifierHash tile_zone_hash_binary_search(Identifier zoneId) const
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
int sampling(const Identifier &id) const
return sampling according to :
A Range describes the possible ranges for the field values of an ExpandedIdentifier.
ExpandedIdentifier calo_exp(void) const
ExpandedIdentifier fwd_exp(void) const
IdDictFieldImplementation m_muon_station_name_impl
int phi_max(const Identifier &id) const
max value of phi index (-999 == failure)
IdContext zone_context() const
access to IdContext's which define which levels of fields are contained in a zone id
MultiRange m_full_lar_zone_range
int match(const ExpandedIdentifier &id) const
Match an identifier.
IdentifierHash lar_zone_hash(Identifier LArZoneId) const
create a lar hash id from zone id
int eta(const Identifier &id) const
return eta
bool is_lumi(Identifier id) const
size_type m_calodm_region_index
IdDictFieldImplementation m_region_impl
bool reinitialize(const IdDictMgr &dict_mgr)
Test whether an idhelper should be reinitialized based on the change of tags.
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 tile_zone_id_checks(int pos_neg_z, int dat, int sampling, int region, int eta, int phi) const
ExpandedIdentifier lar_exp(void) const
std::vector< std::string > m_file_names
List of dictionary file names used by this helper.
std::vector< HashCalc > m_tile_hash_calcs
#define ATH_MSG_WARNING(x)
IdDictFieldImplementation m_dmat_impl
Identifier lar_zone_id(IdentifierHash lar_zone_hash_id) const
create a lar zone id from hash id
int phi(const Identifier &id) const
return phi
void lar_zone_id_checks(int pos_neg_z, int dat, int sampling, int region, int eta, int phi) const
std::string m_nm
Message source name.
int get_expanded_id(const Identifier &id, ExpandedIdentifier &exp_id, const IdContext *context) const
create expanded Identifier from Identifier (return == 0 for OK)
This is the individual specification for the range of one ExpandedIdentifier IdentifierField.
Identifier lar_region_id(IdentifierHash lar_region_hash_id) const
create a lar region id from hash id
void clear()
Erase all fields.
bool is_tile(const Identifier &zoneId) const
to disentangle between LAr and Tile dead material
IdDictDictionary * m_lar_dict
size_type m_lar_zone_hash_max
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...
Identifier zone_id(int pos_neg_z, int dat, int sampling, int region, int eta, int phi) const
build a zone identifier valid for both LAr and Tiles
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.
IdDictFieldImplementation m_pnz_reg_impl
std::vector< Identifier > m_tile_region_vec
void zone_id_checks(const Identifier ®ionId, int eta, int phi) const
Range::field m_lvl1_field
Identifier::size_type size_type