![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
#include <LUCID_ID.h>
|
typedef Identifier::size_type | size_type |
|
typedef std::vector< Identifier >::const_iterator | const_id_iterator |
|
typedef MultiRange::const_identifier_factory | const_expanded_id_iterator |
|
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...
|
|
|
std::string | m_nm |
| Message source name. More...
|
|
boost::thread_specific_ptr< MsgStream > | m_msg_tls |
| MsgStream instance (a std::cout like with print-out levels) More...
|
|
std::atomic< IMessageSvc * > | m_imsg { nullptr } |
| MessageSvc pointer. More...
|
|
std::atomic< MSG::Level > | m_lvl { MSG::NIL } |
| Current logging level. More...
|
|
std::atomic_flag m_initialized | ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
| Messaging initialized (initMessaging) More...
|
|
Definition at line 23 of file LUCID_ID.h.
◆ const_expanded_id_iterator
◆ const_id_iterator
◆ size_type
◆ HelperType
enum class for eventual final derived types of this class
Enumerator |
---|
Unimplemented | |
Silicon | |
Pixel | |
PLR | |
SCT | |
TRT | |
LArEM | |
LArFCal | |
LArFCalSuperCell | |
LArHEC | |
LArHEC_SuperCell | |
LARMiniFCal | |
Tile | |
TileSuperCell | |
LArOnline | |
LArOnlineSuperCell | |
LArElectrode | |
LArHVLine | |
TileHardware | |
TileTestbeam | |
CaloCell | |
CaloSuperCell | |
CaloDM | |
CaloLvl1 | |
GTower | |
JTower | |
Muon | |
LUCID | |
LUCID_Hardware | |
Zdc | |
ZdcHardware | |
TT | |
Definition at line 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
◆ LUCID_ID()
LUCID_ID::LUCID_ID |
( |
void |
| ) |
|
◆ ~LUCID_ID()
LUCID_ID::~LUCID_ID |
( |
void |
| ) |
|
◆ 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()
std::vector< std::string > AtlasDetectorID::dict_names |
( |
void |
| ) |
const |
|
inherited |
◆ dict_tags()
std::vector< std::string > AtlasDetectorID::dict_tags |
( |
void |
| ) |
const |
|
inherited |
Version tags for subdet dictionaries.
Version tag for subdet dictionary.
Definition at line 723 of file AtlasDetectorID.cxx.
◆ dictionaryVersion()
std::string AtlasDetectorID::dictionaryVersion |
( |
void |
| ) |
const |
|
overridevirtualinherited |
◆ do_checks()
bool AtlasDetectorID::do_checks |
( |
void |
| ) |
const |
|
overridevirtualinherited |
Checks are performed by default in debug compilation and NOT in optimized compilation.
One can switch or query this mode for any idHelper with the following methods:
Implements IdHelper.
Definition at line 728 of file AtlasDetectorID.cxx.
◆ do_neighbours()
bool AtlasDetectorID::do_neighbours |
( |
void |
| ) |
const |
|
overridevirtualinherited |
Neighbour initialization is performed by default One can switch or query this mode for any idHelper with the following method:
Implements IdHelper.
Definition at line 738 of file AtlasDetectorID.cxx.
◆ file_names()
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_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.
◆ initialize_from_dictionary()
int AtlasDetectorID::initialize_from_dictionary |
( |
const IdDictMgr & |
dict_mgr | ) |
|
|
overridevirtualinherited |
Initialization from the identifier dictionary.
Implements IdHelper.
Reimplemented in SCT_ID, TRT_ID, SiliconID, LArOnline_SuperCellID, PixelID, MuonIdHelper, MdtIdHelper, CaloCell_Base_ID, sTgcIdHelper, CscIdHelper, MmIdHelper, TgcIdHelper, RpcIdHelper, PLR_ID, LArOnlineID_Base, CaloDM_ID, TileHWID, TileTBID, HGTD_ID, LArMiniFCAL_ID, LArElectrodeID, CaloLVL1_ID, LArEM_ID, LArEM_SuperCell_ID, TTOnlineID, LArHEC_ID, ZdcID, LArHVLineID, TileID, Tile_SuperCell_ID, LArFCAL_ID, LArHEC_SuperCell_ID, CaloCell_ID, LArFCAL_SuperCell_ID, GTower_ID, JTower_ID, and LArOnlineID.
Definition at line 320 of file AtlasDetectorID.cxx.
◆ initLevelsFromDict()
Definition at line 786 of file AtlasDetectorID.cxx.
842 ATH_MSG_WARNING(
"initLevelsFromDict - cannot access InnerDetector dictionary");
853 m_isHighLuminosityLHC = (versionString.find(
"ITk") != std::string::npos || versionString.find(
"P2-RUN4") != std::string::npos);
859 ATH_MSG_ERROR(
"initLevelsFromDict - unable to find 'part' field for InnerDetector dictionary");
865 if (
label->m_valued) {
869 ATH_MSG_ERROR(
"initLevelsFromDict - label Pixel does NOT have a value ");
874 ATH_MSG_ERROR(
"initLevelsFromDict - unable to find 'Pixel' label");
880 if (
label->m_valued) {
884 ATH_MSG_ERROR(
"initLevelsFromDict - label SCT does NOT have a value");
889 ATH_MSG_ERROR(
"initLevelsFromDict - unable to find 'SCT' label");
895 if (
label->m_valued) {
899 ATH_MSG_ERROR(
"initLevelsFromDict - label TRT does NOT have a value");
904 ATH_MSG_ERROR(
"initLevelsFromDict - unable to find 'TRT' label");
909 if(versionString.find(
"PLR") != std::string::npos || versionString.find(
"P2-RUN4") != std::string::npos) {
910 label =
field->find_label(
"LuminosityDetectors");
912 if (
label->m_valued) {
916 ATH_MSG_ERROR(
"initLevelsFromDict - label LuminosityDetectors does NOT have a value");
921 ATH_MSG_ERROR(
"initLevelsFromDict - unable to find 'LuminosityDetectors' label ");
928 if (
label->m_valued) {
932 ATH_MSG_ERROR(
"initLevelsFromDict - label HGTD does NOT have a value");
937 ATH_MSG_ERROR(
"initLevelsFromDict - unable to find 'HGTD' label");
949 ATH_MSG_WARNING(
"initLevelsFromDict - cannot access ForwardDetectors dictionary");
961 ATH_MSG_ERROR(
"initLevelsFromDict - unable to find 'part' field for ForwardDetectors dictionary");
967 if (
label->m_valued) {
971 ATH_MSG_ERROR(
"initLevelsFromDict - label ALFA does NOT have a value");
976 ATH_MSG_ERROR(
"initLevelsFromDict - unable to find 'ALFA' label");
982 if (
label->m_valued) {
986 ATH_MSG_ERROR(
"initLevelsFromDict - label BCM does NOT have a value");
991 ATH_MSG_ERROR(
"initLevelsFromDict - unable to find 'BCM' label");
996 if (
label->m_valued) {
1000 ATH_MSG_ERROR(
"initLevelsFromDict - label LUCID does NOT have a value");
1005 ATH_MSG_ERROR(
"initLevelsFromDict - unable to find 'LUCID' label");
1010 if (
label->m_valued) {
1014 ATH_MSG_ERROR(
"initLevelsFromDict - label ZDC does NOT have a value");
1019 ATH_MSG_ERROR(
"initLevelsFromDict - unable to find 'ZDC' label");
1027 ATH_MSG_WARNING(
"initLevelsFromDict - cannot access LArCalorimeter dictionary");
1036 ATH_MSG_ERROR(
"initLevelsFromDict - unable to find 'part' field for LArCalorimeter dictionary");
1042 if (
label->m_valued) {
1046 ATH_MSG_ERROR(
"initLevelsFromDict - label LArEM does NOT have a value");
1051 ATH_MSG_ERROR(
"initLevelsFromDict - unable to find 'LArEM' label");
1056 if (
label->m_valued) {
1060 ATH_MSG_ERROR(
"initLevelsFromDict - label LArHEC does NOT have a value");
1065 ATH_MSG_ERROR(
"initLevelsFromDict - unable to find 'LArHEC' label");
1070 if (
label->m_valued) {
1074 ATH_MSG_ERROR(
"initLevelsFromDict - label LArFCAL does NOT have a value");
1079 ATH_MSG_ERROR(
"initLevelsFromDict - unable to find 'LArFCAL' label");
1089 ATH_MSG_DEBUG(
"initLevelsFromDict - unable to find 'module' field for miniFCAL");
1100 ATH_MSG_WARNING(
"initLevelsFromDict - cannot access TileCalorimeter dictionary");
1112 ATH_MSG_WARNING(
"initLevelsFromDict - cannot access MuonSpectrometer dictionary");
1134 std::string stationNameString;
1135 std::vector<IdDictLabel*> stationNameLabels =
field->m_labels;
1138 int stationNameIndex;
1139 int maxStationNameIndex = -1;
1141 if (stationNameLabels[
i]->m_valued) {
1142 stationNameIndex = stationNameLabels[
i]->m_value;
1146 stationNameIndex = (
int)
i;
1148 if (stationNameIndex > maxStationNameIndex) {
1149 maxStationNameIndex = stationNameIndex;
1161 stationNameString = stationNameLabels[
i]->m_name;
1162 if (stationNameLabels[
i]->m_valued) {
1163 stationNameIndex = stationNameLabels[
i]->m_value;
1167 stationNameIndex = (
int)
i;
1173 bool stationNameFound =
false;
1174 bool technologyFound =
false;
1175 std::string techLabel;
1176 for (
size_type j = 0; j < muonRegions.size(); ++j) {
1182 stationNameFound =
false;
1183 technologyFound =
false;
1187 if (
range->m_field_name ==
"stationName") {
1189 if (
range->m_label == stationNameString) {
1191 stationNameFound =
true;
1199 }
else if (
range->m_field_name ==
"technology") {
1200 technologyFound =
true;
1201 techLabel =
range->m_label;
1204 if (stationNameFound && technologyFound) {
1206 if (techLabel ==
"MDT") {
1208 }
else if (techLabel ==
"RPC") {
1210 }
else if (techLabel ==
"CSC") {
1212 }
else if (techLabel ==
"TGC") {
1214 }
else if (techLabel ==
"MM") {
1216 }
else if (techLabel ==
"STGC") {
1241 ATH_MSG_ERROR(
"initLevelsFromDict - unable to find 'stationName' field for MuonSpectrometer dictionary");
1252 ATH_MSG_ERROR(
"initLevelsFromDict - unable to find 'technology' field for MuonSpectrometer dictionary");
1258 if (
label->m_valued) {
1262 ATH_MSG_ERROR(
"initLevelsFromDict - label MDT does NOT have a value");
1267 ATH_MSG_ERROR(
"initLevelsFromDict - unable to find 'MDT' label");
1272 if (
label->m_valued) {
1276 ATH_MSG_ERROR(
"initLevelsFromDict - label RPC does NOT have a value");
1281 ATH_MSG_ERROR(
"initLevelsFromDict - unable to find 'RPC' label");
1285 if (
label->m_valued) {
1289 ATH_MSG_ERROR(
"initLevelsFromDict - label TGC does NOT have a value");
1294 ATH_MSG_ERROR(
"initLevelsFromDict - unable to find 'TGC' label");
1298 if (
label->m_valued) {
1302 ATH_MSG_ERROR(
"initLevelsFromDict - label STGC does NOT have a value");
1308 ATH_MSG_DEBUG(
"initLevelsFromDict - there are no sTGC entries in the dictionary!");
1313 if (
label->m_valued) {
1317 ATH_MSG_ERROR(
"initLevelsFromDict - label MM does NOT have a value");
1323 ATH_MSG_DEBUG(
"initLevelsFromDict - there are no MM entries in the dictionary!");
1328 if (
label->m_valued) {
1332 ATH_MSG_ERROR(
"initLevelsFromDict - label CSC does NOT have a value");
1337 ATH_MSG_DEBUG(
"initLevelsFromDict - there are no CSC entries in the dictionary!");
1345 ATH_MSG_ERROR(
"initLevelsFromDict - Warning cannot access Calorimeter dictionary");
1357 ATH_MSG_ERROR(
"initLevelsFromDict - Could not get value for label 'negative_lvl1_side' of field 'DetZside' in dictionary " <<
m_calo_dict->
m_name);
1363 ATH_MSG_ERROR(
"initLevelsFromDict - Could not get value for label 'positive_lvl1_side' of field 'DetZside' in dictionary " <<
m_calo_dict->
m_name);
1372 ATH_MSG_ERROR(
"initLevelsFromDict - Could not get value for label 'negative_DMLar_side' of field 'DetZside' in dictionary " <<
m_calo_dict->
m_name);
1378 ATH_MSG_ERROR(
"initLevelsFromDict - Could not get value for label 'positive_DMLar_side' of field 'DetZside' in dictionary " <<
m_calo_dict->
m_name);
1387 ATH_MSG_ERROR(
"initLevelsFromDict - Could not get value for label 'negative_DMTile_side' of field 'DetZside' in dictionary " <<
m_calo_dict->
m_name);
1393 ATH_MSG_ERROR(
"initLevelsFromDict - Could not get value for label 'positive_DMTile_side' of field 'DetZside' in dictionary " <<
m_calo_dict->
m_name);
1418 ATH_MSG_ERROR(
"initLevelsFromDict - - unable to find 'subdet' field from dict "
1426 if (
label->m_valued) {
1430 ATH_MSG_ERROR(
"initLevelsFromDict - label InnerDetector does NOT have a value");
1435 ATH_MSG_ERROR(
"initLevelsFromDict - unable to find 'InnerDetector' label");
1440 label =
field->find_label(
"ForwardDetectors");
1442 if (
label->m_valued) {
1446 ATH_MSG_ERROR(
"initLevelsFromDict - label ForwardDetectors does NOT have a value");
1451 ATH_MSG_ERROR(
"initLevelsFromDict - unable to find 'ForwardDetectors' label");
1459 if (
label->m_valued) {
1463 ATH_MSG_ERROR(
"initLevelsFromDict - label LArCalorimeter does NOT have a value");
1468 ATH_MSG_ERROR(
"initLevelsFromDict - unable to find 'LArCalorimeter' label");
1473 label =
field->find_label(
"TileCalorimeter");
1475 if (
label->m_valued) {
1479 ATH_MSG_ERROR(
"initLevelsFromDict - label TileCalorimeter does NOT have a value");
1484 ATH_MSG_ERROR(
"initLevelsFromDict - unable to find 'TileCalorimeter' label");
1489 label =
field->find_label(
"MuonSpectrometer");
1491 if (
label->m_valued) {
1495 ATH_MSG_ERROR(
"initLevelsFromDict - label MuonSpectrometer does NOT have a value");
1500 ATH_MSG_ERROR(
"initLevelsFromDict - unable to find 'MuonSpectrometer' label");
1507 if (
label->m_valued) {
1511 ATH_MSG_ERROR(
"initLevelsFromDict - label Calorimeter does NOT have a value");
1516 ATH_MSG_ERROR(
"initLevelsFromDict - unable to find 'Calorimeter' label");
1522 if (top_dict->
m_name ==
"InnerDetector") {
1525 else if (top_dict->
m_name ==
"Calorimeter") {
1528 else if (top_dict->
m_name ==
"LArCalorimeter") {
1531 else if (top_dict->
m_name ==
"MuonSpectrometer") {
1532 name =
"stationName";
1534 else if (top_dict->
m_name ==
"TileCalorimeter") {
1537 else if (top_dict->
m_name ==
"ForwardDetectors") {
1549 <<
name <<
" from dict "
1555 ATH_MSG_ERROR(
"initLevelsFromDict - no top dictionary defined");
1588 ATH_MSG_ERROR(
"initLevelsFromDict - ERROR det implementation is not enumerated: "
◆ initMessaging()
void AthMessaging::initMessaging |
( |
| ) |
const |
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
◆ is_alfa()
bool AtlasDetectorID::is_alfa |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_bcm()
bool AtlasDetectorID::is_bcm |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_calo() [1/2]
◆ is_calo() [2/2]
bool AtlasDetectorID::is_calo |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_csc() [1/2]
◆ is_csc() [2/2]
bool AtlasDetectorID::is_csc |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_forward()
bool AtlasDetectorID::is_forward |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_hgtd() [1/2]
◆ is_hgtd() [2/2]
bool AtlasDetectorID::is_hgtd |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_indet() [1/2]
◆ is_indet() [2/2]
bool AtlasDetectorID::is_indet |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_lar() [1/2]
◆ is_lar() [2/2]
bool AtlasDetectorID::is_lar |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_lar_dm()
bool AtlasDetectorID::is_lar_dm |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_lar_em() [1/2]
◆ is_lar_em() [2/2]
bool AtlasDetectorID::is_lar_em |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_lar_fcal() [1/2]
◆ is_lar_fcal() [2/2]
bool AtlasDetectorID::is_lar_fcal |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_lar_hec() [1/2]
◆ is_lar_hec() [2/2]
bool AtlasDetectorID::is_lar_hec |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_lar_minifcal() [1/2]
◆ is_lar_minifcal() [2/2]
bool AtlasDetectorID::is_lar_minifcal |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_lucid()
bool AtlasDetectorID::is_lucid |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_lumi() [1/2]
◆ is_lumi() [2/2]
bool AtlasDetectorID::is_lumi |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_lvl1_online()
bool AtlasDetectorID::is_lvl1_online |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_lvl1_trig_towers()
bool AtlasDetectorID::is_lvl1_trig_towers |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_mdt() [1/2]
◆ is_mdt() [2/2]
bool AtlasDetectorID::is_mdt |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_mm() [1/2]
◆ is_mm() [2/2]
bool AtlasDetectorID::is_mm |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_muon() [1/2]
◆ is_muon() [2/2]
bool AtlasDetectorID::is_muon |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_pixel() [1/2]
◆ is_pixel() [2/2]
bool AtlasDetectorID::is_pixel |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_plr() [1/2]
◆ is_plr() [2/2]
bool AtlasDetectorID::is_plr |
( |
Identifier |
id | ) |
const |
|
inherited |
◆ is_rpc() [1/2]
◆ is_rpc() [2/2]
bool AtlasDetectorID::is_rpc |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_sct() [1/2]
◆ is_sct() [2/2]
bool AtlasDetectorID::is_sct |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_stgc() [1/2]
◆ is_stgc() [2/2]
bool AtlasDetectorID::is_stgc |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_tgc() [1/2]
◆ is_tgc() [2/2]
bool AtlasDetectorID::is_tgc |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_tile() [1/2]
◆ is_tile() [2/2]
bool AtlasDetectorID::is_tile |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_tile_dm()
bool AtlasDetectorID::is_tile_dm |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_trt() [1/2]
◆ is_trt() [2/2]
bool AtlasDetectorID::is_trt |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_zdc()
bool AtlasDetectorID::is_zdc |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ lar()
◆ lar_dm()
◆ lar_em()
◆ lar_em_exp()
◆ lar_em_field_value()
int AtlasDetectorID::lar_em_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ lar_exp()
◆ lar_fcal()
Identifier AtlasDetectorID::lar_fcal |
( |
void |
| ) |
const |
|
inherited |
◆ lar_fcal_exp()
◆ lar_fcal_field_value()
int AtlasDetectorID::lar_fcal_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ lar_field_value()
int AtlasDetectorID::lar_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ lar_hec()
Identifier AtlasDetectorID::lar_hec |
( |
void |
| ) |
const |
|
inherited |
◆ lar_hec_exp()
◆ lar_hec_field_value()
int AtlasDetectorID::lar_hec_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ lar_lvl1()
Identifier AtlasDetectorID::lar_lvl1 |
( |
void |
| ) |
const |
|
inherited |
◆ 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 |
◆ pixel()
◆ pixel_exp()
◆ pixel_field_value()
int AtlasDetectorID::pixel_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ plr_field_value()
int AtlasDetectorID::plr_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ print()
◆ print_to_string()
or provide the printout in string form
Definition at line 655 of file AtlasDetectorID.cxx.
663 unsigned int max_index = (context) ? context->
end_index() : 999;
694 if (!dict)
return (
result);
◆ register_dict_tag()
int AtlasDetectorID::register_dict_tag |
( |
const IdDictMgr & |
dict_mgr, |
|
|
const std::string & |
dict_name |
|
) |
| |
|
protectedinherited |
Register the file and tag names for a particular IdDict dictionary.
Definition at line 266 of file AtlasDetectorID.cxx.
273 if (!dict)
return(1);
◆ reinitialize()
Test whether an idhelper should be reinitialized based on the change of tags.
Definition at line 284 of file AtlasDetectorID.cxx.
294 ATH_MSG_ERROR(
"reinitialize: dict names and tags vectors not the same length ");
◆ rpc()
◆ rpc_field_value()
int AtlasDetectorID::rpc_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ sct()
◆ sct_exp()
◆ sct_field_value()
int AtlasDetectorID::sct_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ set_do_checks()
void AtlasDetectorID::set_do_checks |
( |
bool |
do_checks | ) |
|
|
overridevirtualinherited |
◆ set_do_neighbours()
void AtlasDetectorID::set_do_neighbours |
( |
bool |
do_neighbours | ) |
|
|
overridevirtualinherited |
◆ set_quiet()
void AtlasDetectorID::set_quiet |
( |
bool |
quiet | ) |
|
|
inherited |
◆ 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 |
◆ to_range()
◆ trt()
◆ trt_exp()
◆ trt_field_value()
int AtlasDetectorID::trt_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ zdc_exp()
◆ zdc_field_value()
int AtlasDetectorID::zdc_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ ATLAS_THREAD_SAFE
std::atomic_flag m_initialized AthMessaging::ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
|
mutableprivateinherited |
◆ m_ALFA_ID
int AtlasDetectorID::m_ALFA_ID {1} |
|
privateinherited |
◆ m_atlas_dict
◆ m_BCM_ID
int AtlasDetectorID::m_BCM_ID {3} |
|
privateinherited |
◆ m_calo_dict
◆ m_CALO_ID
int AtlasDetectorID::m_CALO_ID {10} |
|
privateinherited |
◆ m_calo_side_impl
◆ m_CSC_ID
int AtlasDetectorID::m_CSC_ID {1} |
|
privateinherited |
◆ m_det_impl
◆ m_DET_INDEX
◆ m_dict_names
std::vector<std::string> AtlasDetectorID::m_dict_names |
|
protectedinherited |
◆ m_dict_tags
std::vector<std::string> AtlasDetectorID::m_dict_tags |
|
protectedinherited |
◆ m_dict_version
std::string AtlasDetectorID::m_dict_version |
|
privateinherited |
◆ m_do_checks
bool AtlasDetectorID::m_do_checks {} |
|
protectedinherited |
Flag for subclasses to know whether or not to perform checks.
In general, this is set to false in optimized mode.
Definition at line 362 of file AtlasDetectorID.h.
◆ m_do_neighbours
bool AtlasDetectorID::m_do_neighbours {true} |
|
protectedinherited |
Flag for subclasses to know whether or not to perform neighbour initialization.
Definition at line 365 of file AtlasDetectorID.h.
◆ m_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_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_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_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_PIXEL_ID
int AtlasDetectorID::m_PIXEL_ID {1} |
|
privateinherited |
◆ m_quiet
bool AtlasDetectorID::m_quiet {} |
|
protectedinherited |
◆ m_RPC_ID
int AtlasDetectorID::m_RPC_ID {2} |
|
privateinherited |
◆ m_SCT_ID
int AtlasDetectorID::m_SCT_ID {2} |
|
privateinherited |
◆ m_STGC_ID
int AtlasDetectorID::m_STGC_ID {4} |
|
privateinherited |
◆ m_SUBDET_INDEX
size_type AtlasDetectorID::m_SUBDET_INDEX {999} |
|
privateinherited |
◆ m_TGC_ID
int AtlasDetectorID::m_TGC_ID {3} |
|
privateinherited |
◆ m_tile_dict
◆ m_tile_dm_field
◆ m_TILE_ID
int AtlasDetectorID::m_TILE_ID {5} |
|
privateinherited |
◆ m_TRT_ID
int AtlasDetectorID::m_TRT_ID {3} |
|
privateinherited |
◆ m_ZDC_ID
int AtlasDetectorID::m_ZDC_ID {7} |
|
privateinherited |
The documentation for this class was generated from the following files:
bool is_pixel(Identifier id) const
std::atomic< MSG::Level > m_lvl
Current logging level.
IDENTIFIER_TYPE value_type
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
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...
IdDictFieldImplementation m_indet_part_impl
AtlasDetectorIDHelper * m_helper
bool is_lar_fcal(Identifier id) const
std::string show_to_string(void) const
bool is_lar(Identifier id) const
int muon_field_value() const
int calo_field_value() const
bool match(element_type value) const
The basic match operation.
void pack(int value, Identifier &id) const
IdDictDictionary * m_tile_dict
size_type end_index(void) const
IMessageSvc * m_msgSvc
pointer to the message service
std::string m_dict_version
bool m_do_checks
Flag for subclasses to know whether or not to perform checks.
size_type m_MUON_SUBDET_INDEX
int m_LAR_FCAL_MODULE_INDEX
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.
virtual bool do_neighbours(void) const override
Neighbour initialization is performed by default One can switch or query this mode for any idHelper w...
size_type mdt_region_index()
IMessageSvc * getMessageSvc(bool quiet=false)
IdDictField * find_field(const std::string &name) const
bool is_lvl1_trig_towers(Identifier id) const
friend class AtlasDetectorIDHelper
bool m_do_neighbours
Flag for subclasses to know whether or not to perform neighbour initialization.
size_type rpc_region_index()
size_type lvl1_region_index()
Identifier::size_type size_type
Range::field m_tile_dm_field
IdDictDictionary * find_dictionary(const std::string &name) const
Access dictionary by name.
void set_ored_field(const Range::field &ored_field)
msgSvc
Provide convenience handles for various services.
IdDictDictionary * m_calo_dict
bool m_is_initialized_from_dict
IdDictFieldImplementation m_lar_part_impl
ExpandedIdentifier indet_exp(void) const
Detector systems:
IdDictFieldImplementation m_muon_mdt_impl
IdDictFieldImplementation m_lar_fcal_module_impl
bool is_tile_dm(Identifier id) const
std::vector< IdDictRegion * > m_regions
bool m_isHighLuminosityLHC
IdDictDictionary * m_fwd_dict
bool is_tile(Identifier id) const
std::string dict_tag(void) const
Access to the dictionary tag.
int initialize_from_dictionary(const IdDictMgr &dict_mgr, bool quiet)
Initialization from the identifier dictionary.
const Range::field & ored_field() const
Range::field m_lvl1_onl_field
size_type pixel_region_index()
bool do_neighbours() const
Check whether or not to init neighbours.
bool m_quiet
If true, suppress DEBUG/INFO messages.
MsgStream & msg() const
The standard message stream.
IdDictFieldImplementation m_muon_rpc_impl
std::vector< IdDictRegionEntry * > m_entries
int register_dict_tag(const IdDictMgr &dict_mgr, const std::string &dict_name)
Register the file and tag names for a particular IdDict dictionary.
bool is_calo(Identifier id) const
int tile_field_value() const
int get_label_value(const std::string &field, const std::string &label, int &value) const
std::string print_to_string(Identifier id, const IdContext *context=0) const
or provide the printout in string form
void add_value(element_type value)
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
ExpandedIdentifier fwd_exp(void) const
IdDictFieldImplementation m_muon_station_name_impl
size_type lar_em_region_index()
size_type lar_fcal_region_index()
bool is_lumi(Identifier id) const
bool is_lar_dm(Identifier id) const
LAr/Tile dead material:
bool is_muon(Identifier id) const
IdDictFieldImplementation m_det_impl
Data object for each calorimeter readout cell.
std::string show_to_string(Identifier id, const IdContext *context=0, char sep='.') const
or provide the printout in string form
std::string file_name(void) const
Access to file name.
ExpandedIdentifier lar_exp(void) const
std::vector< std::string > m_file_names
List of dictionary file names used by this helper.
#define ATH_MSG_WARNING(x)
std::string m_nm
Message source name.
bool do_checks() const
Check whether or not to do checks for ids.
IdDictDictionary * m_lar_dict
bool is_lvl1_online(Identifier id) const
mode get_mode() const
Query the values.
This is the individual specification for the range of one ExpandedIdentifier field.
void initMessaging() const
Initialize our message level and MessageSvc.
int initLevelsFromDict(const IdDictMgr &dict_mgr)
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.
std::vector< std::string > m_dict_tags
List of dictionary versions used by this helper.
std::vector< IdDictFieldImplementation > m_implementation
Range::field m_lvl1_field
std::vector< IdDictRegion * > m_all_regions