|
ATLAS Offline Software
|
Go to the documentation of this file.
11 #include "GaudiKernel/MsgStream.h"
36 log << MSG::INFO <<
"Initialize from dictionary" <<
endmsg;
39 log << MSG::INFO <<
"Request to reinitialize not satisfied - tags have not changed" <<
endmsg;
53 log <<
MSG::FATAL <<
" PLR_ID::initialize_from_dict - cannot access InnerDetector dictionary "
66 log <<
MSG::FATAL <<
" PLR_ID::initialize_from_dict - cannot get plr id dictionary "
78 log <<
MSG::FATAL <<
"Could not get value for label 'barrel' of field 'barrel_endcap' in dictionary "
87 <<
"Set barrel field values: "
104 log << MSG::WARNING <<
105 "Could not get value for label 'negative_dbm' of field 'barrel_endcap' in dictionary "
117 log << MSG::WARNING <<
118 "Could not get value for label 'positive_dbm' of field 'barrel_endcap' in dictionary "
129 <<
"Set dbm field values: "
141 if (atlasDict->get_label_value(
"subdet",
"InnerDetector", inDetField)) {
142 log <<
MSG::FATAL <<
"Could not get value for label 'InnerDetector' of field 'subdet' in dictionary "
152 log <<
MSG::FATAL <<
"Could not get value for label 'LuminosityDetectors' of field 'part' in dictionary "
162 log <<
MSG::FATAL <<
"Could not get value for label 'PLR' of field 'PLR_or_BCM' in dictionary "
170 <<
"Found field values: InDet/LuminosityDetectors/PLR "
218 log <<
MSG::FATAL <<
" PLR_ID::initLevelsFromDict - dictionary NOT initialized " <<
endmsg;
239 log <<
MSG::FATAL <<
"PLR_ID::initLevelsFromDict - unable to find pixel region index: id, reg "
251 log <<
MSG::FATAL <<
"PLR_ID::initLevelsFromDict - unable to find 'subdet' field "
261 log <<
MSG::FATAL <<
"PLR_ID::initLevelsFromDict - unable to find 'part' field " <<
endmsg;
269 log <<
MSG::FATAL <<
"PLR_ID::initLevelsFromDict - unable to find 'PLR_or_BCM' field " <<
endmsg;
277 log << MSG::INFO<<
"Hardcoded value 3, field index "<<
field->m_index <<
endmsg;
280 log <<
MSG::FATAL <<
"PLR_ID::initLevelsFromDict - unable to find 'barrel_endcap' field " <<
endmsg;
288 log <<
MSG::FATAL <<
"PLR_ID::initLevelsFromDict - unable to find 'layer' field " <<
endmsg;
296 log <<
MSG::FATAL <<
"PLR_ID::initLevelsFromDict - unable to find 'phi_module' field " <<
endmsg;
304 log <<
MSG::FATAL <<
"PLR_ID::initLevelsFromDict - unable to find 'eta_module' field " <<
endmsg;
312 log <<
MSG::FATAL <<
"PLR_ID::initLevelsFromDict - unable to find 'phi_index' field " <<
endmsg;
320 log <<
MSG::FATAL <<
"PLR_ID::initLevelsFromDict - unable to find 'eta_index' field " <<
endmsg;
459 std::cout <<
"PLR_ID::initLevelsFromDict - found levels " << std::endl;
IdDictRegion * find_region(const std::string ®ion_name) const
int indet_field_value() const
Provide efficient access to individual field values, for subclass idhelpers.
IdDictFieldImplementation m_bec_impl
MultiRange build_multirange() const
Get MultiRange for full dictionary.
Identifier lumi(void) const
std::string show_to_string(void) const
IdDictFieldImplementation m_eta_mod_shift_impl
IdDictFieldImplementation m_bec_shift_impl
virtual int initialize_from_dictionary(const IdDictMgr &dict_mgr) override
Initialization from the identifier dictionary.
IdDictFieldImplementation m_indet_impl
size_type m_BARREL_EC_INDEX
IdDictFieldImplementation m_phi_index_impl
IdDictFieldImplementation m_plr_impl
size_type m_ETA_INDEX_INDEX
IdDictFieldImplementation m_phi_mod_shift_impl
MultiRange m_full_pixel_range
IdDictFieldImplementation m_eta_mod_impl
void pack(int value, Identifier &id) const
int plr_field_value() const
IMessageSvc * m_msgSvc
pointer to the message service
bool decode_index() const
size_type m_ETA_MODULE_INDEX
ExpandedIdentifier m_baseExpandedIdentifier
IdDictField * find_field(const std::string &name) const
virtual int initialize_from_dictionary(const IdDictMgr &dict_mgr) override
Initialization from the identifier dictionary.
IdDictFieldImplementation m_bec_eta_mod_impl
IdDictDictionary * find_dictionary(const std::string &name) const
Access dictionary by name.
Identifier m_baseIdentifier
size_type bits_offset() const
MultiRange m_full_wafer_range
std::vector< IdDictRegion * > m_regions
const Range::field & ored_field() const
int lumi_field_value() const
int register_dict_tag(const IdDictMgr &dict_mgr, const std::string &dict_name)
Register the file and tag names for a particular IdDict dictionary.
IdDictFieldImplementation m_lumi_impl
int get_label_value(const std::string &field, const std::string &label, int &value) const
virtual void setDictVersion(const IdDictMgr &dict_mgr, const std::string &name) override
A Range describes the possible ranges for the field values of an ExpandedIdentifier.
size_type m_pixel_region_index
bool is_lumi(Identifier id) const
bool reinitialize(const IdDictMgr &dict_mgr)
Test whether an idhelper should be reinitialized based on the change of tags.
value_type zeroing_mask() const
IdDictFieldImplementation m_eta_index_impl
IdDictFieldImplementation m_phi_mod_impl
Range::field m_barrel_field
IdDictFieldImplementation m_lay_disk_shift_impl
size_type m_LAYER_DISK_INDEX
unsigned long long value_type
size_type m_PHI_MODULE_INDEX
IdDictFieldImplementation m_lay_disk_impl
const IdDictDictionary * m_dict
std::vector< IdDictFieldImplementation > m_implementation
void add_value(element_type value)
size_type m_PHI_INDEX_INDEX