|
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 (void) |
|
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 (void) const |
| lar region hash table max size More...
|
|
size_type | lar_zone_hash_max (void) const |
| lar zone hash table max size More...
|
|
size_type | tile_region_hash_max (void) const |
| tile region hash table max size More...
|
|
size_type | tile_zone_hash_max (void) const |
| tile zone hash table max size More...
|
|
std::vector< Identifier >::const_iterator | lar_region_begin (void) const |
| begin iterator over lar regions More...
|
|
std::vector< Identifier >::const_iterator | lar_region_end (void) const |
| end iterator over lar regions More...
|
|
std::vector< Identifier >::const_iterator | tile_region_begin (void) const |
| begin iterator over tile regions More...
|
|
std::vector< Identifier >::const_iterator | tile_region_end (void) const |
| end iterator over tile regions More...
|
|
std::vector< Identifier >::const_iterator | lar_zone_begin (void) const |
| begin iterator over full set of LAr identifiers More...
|
|
std::vector< Identifier >::const_iterator | lar_zone_end (void) const |
| end iterator over full set of LAr identifiers More...
|
|
std::vector< Identifier >::const_iterator | tile_zone_begin (void) const |
| begin iterator over full set of Tile identifiers More...
|
|
std::vector< Identifier >::const_iterator | tile_zone_end (void) 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 (void) const |
| access to IdContext's which define which levels of fields are contained in a region id More...
|
|
IdContext | zone_context (void) 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 (void) |
|
int | init_lar_hashes (void) |
|
int | init_tile_hashes (void) |
|
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 Tile
LAr:
====
DeadMAT [1,3] 1=outside accordion ....
2=internal "cracks"
3=beam test
sampling [0,3] type 1 and type 2
? type 3
region [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 3
eta [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 test
sampling [0,3] type 1
0 type 2,3
region [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,3
eta [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,3
phi [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 60 of file AtlasDetectorID.h.
65 LArEM, LArFCal, LArFCalSuperCell,
66 LArHEC, LArHEC_SuperCell, LARMiniFCal,
70 LArOnline, LArOnlineSuperCell,
72 LArElectrode, LArHVLine,
73 TileHardware, TileTestbeam,
80 LUCID, LUCID_Hardware,
◆ ID
◆ CaloDM_ID()
CaloDM_ID::CaloDM_ID |
( |
void |
| ) |
|
◆ ~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 |
Version tags for subdet dictionaries.
Version tag for subdet dictionary.
Definition at line 723 of file AtlasDetectorID.cxx.
◆ dictionaryVersion()
std::string AtlasDetectorID::dictionaryVersion |
( |
void |
| ) |
const |
|
overridevirtualinherited |
◆ dmat()
return DMtype according to :
element range
------- -----
DeadMat [1,3] LAr
[1,3] Tile
failure 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 728 of file AtlasDetectorID.cxx.
◆ do_neighbours()
bool AtlasDetectorID::do_neighbours |
( |
void |
| ) |
const |
|
overridevirtualinherited |
Neighbour initialization is performed by default One can switch or query this mode for any idHelper with the following method:
Implements IdHelper.
Definition at line 738 of file AtlasDetectorID.cxx.
◆ eta()
◆ eta_max()
max value of eta index (-999 == failure)
- Warning
- input = REGION ID !!
Definition at line 79 of file CaloDM_ID.cxx.
92 for (
unsigned int i = 0;
i < (*zoneRange).size(); ++
i) {
94 if (
range.match(expId)) {
96 if (not eta_field.
empty()) {
◆ eta_min()
min value of eta index (-999 == failure)
- Warning
- input = REGION ID !!
Definition at line 46 of file CaloDM_ID.cxx.
59 for (
unsigned int i = 0;
i < (*zoneRange).size(); ++
i) {
61 if (
range.match(expId)) {
63 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 258 of file AtlasDetectorID.cxx.
◆ get_id()
Create compact id from hash id (return == 0 for OK)
Implements IdHelper.
Reimplemented in SCT_ID, TRT_ID, PixelID, SiliconID, MuonIdHelper, TileHWID, CaloIDHelper, TileTBID, Tile_Base_ID, HGTD_ID, CaloLVL1_ID, and JGTowerBase_ID.
Definition at line 250 of file AtlasDetectorID.cxx.
◆ helper()
virtual HelperType AtlasDetectorID::helper |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ hgtd()
◆ hgtd_exp()
◆ hgtd_field_value()
int AtlasDetectorID::hgtd_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ indet()
◆ indet_exp()
◆ indet_field_value()
int AtlasDetectorID::indet_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
Provide efficient access to individual field values, for subclass idhelpers.
Definition at line 611 of file AtlasDetectorID.h.
◆ init_lar_hashes()
int CaloDM_ID::init_lar_hashes |
( |
void |
| ) |
|
|
private |
Definition at line 882 of file CaloDM_ID.cxx.
888 std::stringstream strm;
893 unsigned int nids = 0;
894 std::set<Identifier>
ids;
898 auto first = rit.begin();
899 auto last = rit.end();
908 if(!(
ids.insert(zon_id)).second)
912 log << MSG::ERROR <<
" init_lar_hashes "
913 <<
" duplicated id for lardm id. nids= " << nids
919 std::cout <<
" CaloDM_ID::init_lar_hashes "
920 <<
" Error: duplicated id for lardm id. nids= " << nids
923 std::cout << std::endl;
933 log << MSG::ERROR <<
" init_lar_hashes "
934 <<
" set size NOT EQUAL to hash max. size " <<
ids.size()
939 std::cout <<
" CaloDM_ID::init_lar_hashes "
940 <<
" Error: set size NOT EQUAL to hash max. size " <<
ids.size()
948 std::set<Identifier>::const_iterator
first =
ids.begin();
949 std::set<Identifier>::const_iterator last =
ids.end();
963 auto first = rit.begin();
964 auto last = rit.end();
972 if(!(
ids.insert(reg_id)).second)
976 log << MSG::ERROR <<
" init_lar_hashes (regions) "
977 <<
" duplicated id for region id. nids= " << nids
983 std::cout <<
" CaloDM_ID::init_lar_hashes (regions) "
984 <<
" Error: duplicated id for region id. nids= " << nids
988 std::cout << std::endl;
998 log << MSG::ERROR <<
" init_lar_hashes "
999 <<
" set size NOT EQUAL to region hash max. size " <<
ids.size()
1004 std::cout <<
" CaloDM_ID::init_lar_hashes "
1005 <<
" Error: set size NOT EQUAL to region hash max. size " <<
ids.size()
◆ init_tile_hashes()
int CaloDM_ID::init_tile_hashes |
( |
void |
| ) |
|
|
private |
Definition at line 1025 of file CaloDM_ID.cxx.
1031 std::stringstream strm;
1036 unsigned int nids = 0;
1037 std::set<Identifier>
ids;
1041 auto first = rit.begin();
1042 auto last = rit.end();
1062 if(!(
ids.insert(zon_id)).second)
1066 log << MSG::ERROR <<
" init_tile_hashes "
1067 <<
" duplicated id for tiledm id. nids= " << nids
1073 std::cout <<
" CaloDM_ID::init_tile_hashes "
1074 <<
" Error: duplicated id for tiledm id. nids= " << nids
1077 std::cout << std::endl;
1087 log << MSG::ERROR <<
" init_tile_hashes "
1088 <<
" set size NOT EQUAL to hash max. size " <<
ids.size()
1093 std::cout <<
" CaloDM_ID::init_tile_hashes "
1094 <<
" Error: set size NOT EQUAL to hash max. size " <<
ids.size()
1102 std::set<Identifier>::const_iterator
first =
ids.begin();
1103 std::set<Identifier>::const_iterator last =
ids.end();
1117 auto first = rit.begin();
1118 auto last = rit.end();
1126 if(!(
ids.insert(reg_id)).second)
1130 log << MSG::ERROR <<
" init_tile_hashes (regions) "
1131 <<
" duplicated id for region id. nids= " << nids
1137 std::cout <<
" CaloDM_ID::init_tile_hashes (regions) "
1138 <<
" Error: duplicated id for region id. nids= " << nids
1142 std::cout << std::endl;
1152 log << MSG::ERROR <<
" init_tile_hashes "
1153 <<
" set size NOT EQUAL to region hash max. size " <<
ids.size()
1158 std::cout <<
" CaloDM_ID::init_tile_hashes "
1159 <<
" 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 170 of file CaloDM_ID.cxx.
175 std::string strg =
"initialize_from_dictionary";
180 std::cout << strg << std::endl;
182 std::stringstream strm;
186 if(
m_msgSvc)
log << MSG::INFO <<
"Request to reinitialize not satisfied - tags have not changed" <<
endmsg;
203 log << MSG::ERROR <<
" initialize_from_dict - cannot access Calorimeter dictionary " <<
endmsg;
207 std::cout <<
" CaloDM_ID::initialize_from_dict - cannot access Calorimeter dictionary "
223 log << MSG::ERROR <<
"Could not get value for label 'Calorimeter' of field 'subdet' in dictionary "
228 std::cout <<
"Could not get value for label 'Calorimeter' of field 'subdet' in dictionary "
235 int lardmCaloValue = -1;
241 log << MSG::ERROR <<
"Could not get value for label 'negative_DMLar_side' of field 'DetZside' in dictionary "
246 std::cout <<
"Could not get value for label 'negative_DMLar_side' of field 'DetZside' in dictionary "
253 int tiledmCaloValue = -1;
259 log << MSG::ERROR <<
"Could not get value for label 'negative_DMTile_side' of field 'DetZside' in dictionary "
265 std::cout <<
"Could not get value for label 'negative_DMTile_side' of field 'DetZside' in dictionary "
280 reg_id.
add(caloValue);
281 reg_id.
add(lardmCaloValue);
288 reg_id2.
add(caloValue);
289 reg_id2.
add(tiledmCaloValue);
306 std::cout <<
" CaloDM_ID::initialize_from_dict : "
348 int size = (1 << bits);
375 log << MSG::WARNING <<
" seting etamin to 0 because actual value not found for regId " <<
show_to_string(regId) <<
endmsg;
379 std::cout <<
"WARNING !!! seting etamin to 0 because actual value not found for regId " <<
show_to_string(regId) << std::endl;
384 hc.m_hash = min_hash;
393 log << MSG::WARNING <<
"min > " <<
size <<
" "
401 std::cout <<
"min > " <<
size <<
" "
417 log << MSG::ERROR <<
"lar zone ranges, id, hash, i = "
425 std::cout <<
" ***** Error ";
426 std::cout <<
"lar zone ranges, id, hash, i = "
447 log << MSG::WARNING <<
"seting etamin to 0 because actual value not found for regId " <<
show_to_string(regId) <<
endmsg;
451 std::cout <<
"WARNING !!! seting etamin to 0 because actual value not found for regId " <<
show_to_string(regId) << std::endl;
456 hc.m_hash = min_hash;
465 log << MSG::WARNING <<
"min > " <<
size <<
" "
473 std::cout <<
"min > " <<
size <<
" "
489 log << MSG::ERROR <<
"tile zone ranges, id, hash, i = "
497 std::cout <<
" ***** Error ";
498 std::cout <<
"tile zone ranges, id, hash, i = "
◆ initLevelsFromDict()
int CaloDM_ID::initLevelsFromDict |
( |
void |
| ) |
|
|
private |
Definition at line 632 of file CaloDM_ID.cxx.
638 std::stringstream strm;
642 log << MSG::ERROR <<
"initLevelsFromDict - dictionary NOT initialized "
647 std::cout <<
"CaloDM_ID::initLevelsFromDict - dictionary NOT initialized "
673 log << MSG::ERROR <<
"initLevelsFromDict - unable to find lardm region " <<
endmsg;
677 std::cout <<
"CaloDM_ID::initLevelsFromDict - unable to find lardm region "
693 log << MSG::ERROR <<
"initLevelsFromDict - unable to find 'subdet' field "
698 std::cout <<
"CaloDM_ID::initLevelsFromDict - unable to find 'subdet' field "
713 log << MSG::ERROR <<
"initLevelsFromDict - unable to find 'DetZside' field "
718 std::cout <<
"CaloDM_ID::initLevelsFromDict - unable to find 'DetZside' field "
733 log << MSG::ERROR <<
"initLevelsFromDict - unable to find 'DMvalue' field "
738 std::cout <<
"CaloDM_ID::initLevelsFromDict - unable to find 'DMvalue' field "
754 log << MSG::ERROR <<
"initLevelsFromDict - unable to find 'samplingvalue' field "
759 std::cout <<
"CaloDM_ID::initLevelsFromDict - unable to find 'samplingvalue' field "
774 log << MSG::ERROR <<
"initLevelsFromDict - unable to find 'DMregion' field " <<
endmsg;
778 std::cout <<
"CaloDM_ID::initLevelsFromDict - unable to find 'DMregion' field "
794 log << MSG::ERROR <<
"initLevelsFromDict - unable to find 'DMEta' field "
799 std::cout <<
"CaloDM_ID::initLevelsFromDict - unable to find 'DMEta' field "
814 log << MSG::ERROR <<
"initLevelsFromDict - unable to find 'phivalue' field "
819 std::cout <<
"CaloDM_ID::initLevelsFromDict - unable to find 'phivalue' field "
868 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 |
( |
void |
| ) |
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 |
( |
void |
| ) |
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 543 of file CaloDM_ID.cxx.
550 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 |
( |
void |
| ) |
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 |
( |
void |
| ) |
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 571 of file CaloDM_ID.cxx.
579 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 140 of file CaloDM_ID.cxx.
153 for (
unsigned int i = 0;
i < (*zoneRange).size(); ++
i) {
155 if (
range.match(expId)) {
157 if (not phi_field.
empty()) {
◆ phi_min()
min value of phi index (-999 == failure)
- Warning
- input = REGION ID !!
Definition at line 107 of file CaloDM_ID.cxx.
120 for (
unsigned int i = 0;
i < (*zoneRange).size(); ++
i) {
122 if (
range.match(expId)) {
124 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 Tile
failure 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 655 of file AtlasDetectorID.cxx.
663 unsigned int max_index = (context) ? context->
end_index() : 999;
694 if (!dict)
return (
result);
◆ 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 3
failure returns 0
Definition at line 651 of file CaloDM_ID.h.
◆ region_context()
IdContext CaloDM_ID::region_context |
( |
void |
| ) |
const |
access to IdContext's which define which levels of fields are contained in a region id
Definition at line 529 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 |
Register the file and tag names for a particular IdDict dictionary.
Definition at line 266 of file AtlasDetectorID.cxx.
273 if (!dict)
return(1);
◆ reinitialize()
Test whether an idhelper should be reinitialized based on the change of tags.
Definition at line 284 of file AtlasDetectorID.cxx.
294 ATH_MSG_ERROR(
"reinitialize: dict names and tags vectors not the same length ");
◆ rpc()
◆ rpc_field_value()
int AtlasDetectorID::rpc_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ sampling()
return sampling according to :
element range meaning
------- ----- -------
sampling [0,3] type 1 and type 2 (LAr only)
? type 3
failure 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 565 of file AtlasDetectorID.cxx.
◆ show_to_string()
or provide the printout in string form
Definition at line 574 of file AtlasDetectorID.cxx.
580 std::string
result(
"Unable to decode id");
581 unsigned int max_index = (context) ? context->
end_index() : 999;
615 if (!dict)
return (
result);
629 for (
unsigned int i = 0;
i < expId.
fields(); ++
i) {
632 sprintf (temp,
"%d", expId[
i]);
◆ stgc()
◆ stgc_field_value()
int AtlasDetectorID::stgc_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ subdet_context()
IdContext AtlasDetectorID::subdet_context |
( |
void |
| ) |
const |
|
inherited |
◆ 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 |
( |
void |
| ) |
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 |
( |
void |
| ) |
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 556 of file CaloDM_ID.cxx.
563 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 |
( |
void |
| ) |
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 |
( |
void |
| ) |
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 585 of file CaloDM_ID.cxx.
593 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()
IdContext CaloDM_ID::zone_context |
( |
void |
| ) |
const |
access to IdContext's which define which levels of fields are contained in a zone id
Definition at line 536 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 600 of file CaloDM_ID.cxx.
608 std::string errorMessage =
"CaloDM_ID::zone_id(regionId) result is not OK: ID= "
617 std::string errorMessage =
"CaloDM_ID::zone_id(regionId) result is not OK: ID, range = "
623 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 362 of file AtlasDetectorID.h.
◆ m_do_neighbours
bool AtlasDetectorID::m_do_neighbours {true} |
|
protectedinherited |
Flag for subclasses to know whether or not to perform neighbour initialization.
Definition at line 365 of file AtlasDetectorID.h.
◆ m_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 378 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_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.
const std::string & dict_tag(void) const
Access to the dictionary tag.
IdDictDictionary * m_muon_dict
int indet_field_value() const
Provide efficient access to individual field values, for subclass idhelpers.
bool is_forward(Identifier id) const
MultiRange build_multirange() const
Get MultiRange for full dictionary.
IdContext region_context(void) const
access to IdContext's which define which levels of fields are contained in a region id
int dmat(const Identifier &id) const
return DMtype according to :
std::vector< unsigned int > m_muon_tech_bits
int unpack(const Identifier &id, const ExpandedIdentifier &prefix, size_t index2, ExpandedIdentifier &unpackedId) const
Unpack the value_type id to an expanded Identifier, considering the provided prefix (result will incl...
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
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
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.
int lar_field_value() const
This class provides conversion from CSC RDO data to CSC Digits.
std::atomic< IMessageSvc * > m_imsg
MessageSvc pointer.
int unpack(Identifier id) const
Identifier manipulation methods.
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.
Range::field m_tile_dm_field
void lar_region_id_checks(int pos_neg_z, int dmat, int sampling, int region) const
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.
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
IdContext zone_context(void) const
access to IdContext's which define which levels of fields are contained in a zone id
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
std::vector< IdDictRegion * > m_regions
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
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
const std::string & file_name(void) const
Access to file name.
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
int init_lar_hashes(void)
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)
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
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
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
int initLevelsFromDict(void)
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
int init_tile_hashes(void)
Range::field m_lvl1_field
Identifier::size_type size_type