 |
ATLAS Offline Software
|
Helper for the Liquid Argon Calorimeter cell identifiers.
More...
#include <LArOnlineID_Base.h>
|
| using | size_type = Identifier::size_type |
| |
| using | id_iterator = std::vector< HWIdentifier >::const_iterator |
| | Type for iterators over identifiers. More...
|
| |
| using | id_range = boost::iterator_range< id_iterator > |
| | Type for range over identifiers. More...
|
| |
| 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...
|
| |
|
| | LArOnlineID_Base (const std::string &name, const std::string &group, bool is_slar) |
| | Default constructor. More...
|
| |
| virtual | ~LArOnlineID_Base () |
| | Default destructor. More...
|
| |
| HWIdentifier | feedthrough_Id (int barrel_ec, int pos_neg, int feedthrough) const |
| | Create a feedthrough identifier from fields. More...
|
| |
| HWIdentifier | feedthrough_Id (int barrel_ec, int pos_neg, int feedthrough, bool checks) const |
| |
| HWIdentifier | feedthrough_Id (IdentifierHash feedthroughHash) const |
| | Create a feedthrough identifier from hash_id. More...
|
| |
| IdentifierHash | feedthrough_Hash (HWIdentifier feedthroughId) const |
| | Create hash id from feedthrough identifiers. More...
|
| |
| id_iterator | feedthrough_begin () const |
| | Return an iterator pointing to Feedthrough identifiers collection. More...
|
| |
| id_iterator | feedthrough_end () const |
| |
| id_range | feedthrough_range () const |
| |
| HWIdentifier | feb_Id (int barrel_ec, int pos_neg, int feedthrough, int slot) const |
| | Create feb_Id from fields. More...
|
| |
| HWIdentifier | feb_Id (int barrel_ec, int pos_neg, int feedthrough, int slot, bool checks) const |
| |
| HWIdentifier | feb_Id (IdentifierHash febHash) const |
| | create feb identifier from hash id More...
|
| |
| IdentifierHash | feb_Hash (HWIdentifier febId) const |
| | Create feb hash identifiers from feb identifiers. More...
|
| |
| id_iterator | feb_begin () const |
| | Returns an iterator pointing to a feb identifier collection. More...
|
| |
| id_iterator | feb_end () const |
| |
| id_range | feb_range () const |
| |
| HWIdentifier | channel_Id (int barrel_ec, int pos_neg, int feedthrough, int slot, int channel) const |
| | create channel identifier from fields More...
|
| |
| HWIdentifier | channel_Id (int barrel_ec, int pos_neg, int feedthrough, int slot, int channel, bool checks) const |
| |
| HWIdentifier | channel_Id (IdentifierHash channelHash) const |
| | Create channel identifiers from hash id. More...
|
| |
| IdentifierHash | channel_Hash (HWIdentifier channelId) const |
| | Create channel_hash from channel_Id. More...
|
| |
| id_iterator | channel_begin () const |
| | Returns an iterator pointing to a channel identifier collection. More...
|
| |
| id_iterator | channel_end () const |
| |
| id_range | channel_range () const |
| |
| HWIdentifier | feedthrough_Id (const HWIdentifier Id) const |
| | Define a channel identifier from a feedthrough identifier. More...
|
| |
| HWIdentifier | feb_Id (const HWIdentifier channelId) const |
| | Define a feb identifier from a channel identifier. More...
|
| |
| HWIdentifier | feb_Id (const HWIdentifier feedthroughId, int slot) const |
| | Define a feb identifier from a feedthrough identifier. More...
|
| |
| HWIdentifier | channel_Id (const HWIdentifier feedthroughId, int slot, int channel) const |
| | Define a channel identifier from a feedthrough identifier. More...
|
| |
| HWIdentifier | channel_Id (const HWIdentifier feedthroughId, int slot, int channel, bool checks) const |
| |
| HWIdentifier | channel_Id (const HWIdentifier febId, int channel) const |
| | Define a channel identifier from a feb identifier. More...
|
| |
| HWIdentifier | channel_Id (const HWIdentifier febId, int channel, bool checks) const |
| |
| size_type | feedthroughHashMax () const |
| | Define feedthrough hash tables max size. More...
|
| |
| size_type | febHashMax () const |
| | define feb hash tables max size More...
|
| |
| size_type | channelHashMax () const |
| | Define channel hash tables max size. More...
|
| |
| HWIdentifier | calib_module_Id (int barrel_ec, int pos_neg, int feedthrough, int slot) const |
| | Build calibration module identifier from fields. More...
|
| |
| HWIdentifier | calib_module_Id (IdentifierHash calibModuleHash) const |
| | Create calibration module identifier from hash identifiers. More...
|
| |
| IdentifierHash | calib_module_Hash (HWIdentifier calibModuleId) const |
| | create calibration module_hash identifier from module Identifier More...
|
| |
| id_iterator | calib_module_begin () const |
| | Return an iterator pointing to a calibFeb identifier 's collection. More...
|
| |
| id_iterator | calib_module_end () const |
| |
| id_range | calib_module_range () const |
| |
| HWIdentifier | calib_channel_Id (int barrel_ec, int pos_neg, int feedthrough, int slot, int channel) const |
| | create calibration channel identifiers from fields More...
|
| |
| HWIdentifier | calib_channel_Id (IdentifierHash calibChannelHash) const |
| | create calibration channel identifiers from hash identifiers More...
|
| |
| id_iterator | calib_channel_begin () const |
| | Return an iterator pointing to a collection of calibration channel identifiers. More...
|
| |
| id_iterator | calib_channel_end () const |
| |
| id_range | calib_channel_range () const |
| |
| HWIdentifier | calib_module_Id (const HWIdentifier ChannelId) const |
| | Define a calibration module identifier from a channel identifier. More...
|
| |
| HWIdentifier | calib_module_Id (const HWIdentifier FeedthroughId, int slot) const |
| | Define a calibration module identifier from a feedthrough identifier. More...
|
| |
| HWIdentifier | calib_channel_Id (const HWIdentifier FeedthroughId, int slot, int channel) const |
| | Define a calibration channel identifier from a feedthrough identifier. More...
|
| |
| HWIdentifier | calib_channel_Id (const HWIdentifier febId, int ChannelId) const |
| | Define a calibration channel identifier from a feb identifier. More...
|
| |
| IdentifierHash | calib_channel_Hash (HWIdentifier channelId) const |
| |
| size_type | calibModuleHashMax () const |
| | Define calibration module hash tables max size. More...
|
| |
| size_type | calibChannelHashMax () const |
| | Define calibration channel hash tables max size. More...
|
| |
| bool | isEMBchannel (const HWIdentifier id) const |
| |
| virtual bool | isEMECchannel (const HWIdentifier id) const =0 |
| |
| virtual bool | isHECchannel (const HWIdentifier id) const =0 |
| |
| bool | isFCALchannel (const HWIdentifier id) const |
| |
| virtual bool | isEMECIW (const HWIdentifier id) const =0 |
| |
| virtual bool | isEMECOW (const HWIdentifier id) const =0 |
| |
| bool | isEMBPS (const HWIdentifier id) const |
| |
| bool | isEMECPS (const HWIdentifier id) const |
| |
| bool | isPS (const HWIdentifier id) const |
| |
| bool | isNotWarmCableConnected (const HWIdentifier id) const |
| |
| bool | isCalibration (const HWIdentifier id) const |
| |
| bool | isHecOnline (const HWIdentifier id) const |
| |
| bool | isHecOnlineFebId (const HWIdentifier febId) const |
| |
| bool | isEMECinHECchannel (const HWIdentifier id) const |
| |
| bool | isEmBarrelOnline (const HWIdentifier id) const |
| |
| bool | isEmEndcapOnline (const HWIdentifier id) const |
| |
| bool | isEndcapOnline (const HWIdentifier id) const |
| |
| bool | isFcalOnline (const HWIdentifier id) const |
| |
| bool | isEmEndcapStandardOnline (const HWIdentifier id) const |
| |
| bool | isEmEndcapSpecialOnline (const HWIdentifier id) const |
| |
| int | channelInSlotMax (const HWIdentifier Id) const |
| | Return the Maximum channel number of a given feb slot. More...
|
| |
| std::string | feedthrough_name (const HWIdentifier id) const |
| | Return a string corresponding to a feedthrough name given an identifier. More...
|
| |
| std::string | channel_name (const HWIdentifier id) const |
| | Return a string corresponding to a feedthrough name given an identifier. More...
|
| |
| int | barrel_ec (const HWIdentifier id) const |
| | Return the position barrel or endcap of a hardware cell identifier:
barrel_ec = [0,1] : Barrel / EndCap. More...
|
| |
| int | pos_neg (const HWIdentifier id) const |
| | Return the side of a hardware cell identifier
pos_neg = [0,1] positive-side or negative-side Barrel/Endcap. More...
|
| |
| int | feedthrough (const HWIdentifier id) const |
| | Return the feedthrough of a hardware cell identifier :
feedthrough = [0,31] Barrel - A/C side or H/I half barrel
feedthrough = [1,25] Endcap-Standard EMEC 1.6<|eta|<2.4 - A/C side
feedthrough = [1,25] Endcap-Special EMEC 1.5<|eta|<1.6 and 2.4<|eta|<3.2
feedthrough = [1,25] HEC A/C side. More...
|
| |
| int | slot (const HWIdentifier id) const |
| | Return the slot number of a hardware cell identifier:
slot = [1,15] Slot-ID in top part of the crate (higher phi)
Note that a crate is = Slot(1-15)L + Slot(1-15)R. More...
|
| |
| int | channel (const HWIdentifier id) const |
| | Return the channel number of a hardware cell identifier
channel = [0,127] in all FEB. More...
|
| |
| int | is_slar (const HWIdentifier id) const |
| | Return whether the channel is in slar or not is_ slar = [0,1] in all FEB. More...
|
| |
| bool | isValidId (const HWIdentifier id) const |
| | Returns false if the identifier is not a LAr-online id or any of the sub-fields is out of range. More...
|
| |
| virtual int | initialize_from_dictionary (const IdDictMgr &dict_mgr) |
| | initialization from the identifier dictionary More...
|
| |
| IdContext | cryostatEndContext () const |
| | Define context for cryostat (obsolete) More...
|
| |
| IdContext | feedthroughContext () const |
| | Define context for feedthroughs. More...
|
| |
| IdContext | febContext () const |
| | Define context for feb. More...
|
| |
| IdContext | channelContext () const |
| | Define context for channel. 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 | feb_Hash_binary_search (HWIdentifier channelId) const |
| |
| IdentifierHash | channel_Hash_binary_search (HWIdentifier channelId) const |
| |
| void | channel_Id_checks (int barrel_ec, int pos_neg, int feedthrough, int slot, int channel) const |
| |
| void | channel_Id_checks (const HWIdentifier feedthroughId, int slot, int channel) const |
| |
| void | channel_Id_checks (const HWIdentifier febId, int channel) const |
| |
| void | feb_Id_checks (int barrel_ec, int pos_neg, int feedthrough, int slot) const |
| |
| void | feedthrough_Id_checks (int barrel_ec, int pos_neg, int feedthrough) const |
| |
| int | get_expanded_id (const HWIdentifier &id, ExpandedIdentifier &exp_id, const IdContext *context) const |
| | create expanded HWIdentifier from HWIdentifier (return == 0 for OK) More...
|
| |
| int | get_expanded_calib_id (const HWIdentifier &id, ExpandedIdentifier &exp_id, const IdContext *context) const |
| |
| int | initLevelsFromDict (const std::string &group_name) |
| |
| int | init_hashes () |
| |
| int | init_calib_hashes () |
| |
|
| 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...
|
| |
Helper for the Liquid Argon Calorimeter cell identifiers.
This class provides a hardware description of a calorimeter cell
- Author
- Arnaud Lucotte
LArCalorimeter fields:
Part: 4 = LArOnline barrel_ec : 0 = barrel 1 = end-cap pos_neg : 0 = negative eta side (C side) 1 = positive eta side (A side) feedthrough :
[0,31] = EM BARREL crates 00,01,04,07,08,11,12,13, 14,17,18,19,20,23,24 = EMEC Standard crates 02,09,15,21 = EMEC Special crates 03,10,16,22 = HEC crates (note: slots 1&2 are EMEC slots) 06 = FCAL crate
25-27 = sFCAL (is reported as FCAL) slot :
1 to 14 = EM BARREL crates 1 to 13 = Endcap Standard crates 1 to 15 = Endcap Special crates 5,6,7,8,9,10 = HEC in HEC crates 1,2 = EMEC in HEC crates 1 to 15 = FCAL crates 1 to 10 = sFCAL crates channel: 0 to 127
In the following, four contexts are defined:
- cryostatEndContext
- feedthroughContext
- febContext
- channelContext
Throw a LArOnlID_Exception if one parameter is out of range
Access Methods :
There are three types of methods:
- recommended methods
- methods that can still be used but with special care
- methods that are now obsolete
RECOMMENDED methods : bool isEMBchannel (const HWIdentifier Id) const; bool isEMECchannel (const HWIdentifier Id) const; bool isHECchannel (const HWIdentifier Id) const; bool isFCALchannel (const HWIdentifier Id) const; bool isEMECIW (const HWIdentifier Id) const; bool isEMECOW (const HWIdentifier Id) const; bool isEndcapOnline (const HWIdentifier Id) const; bool isEmEndcapStandardOnline(const HWIdentifier Id) const; bool isEmEndcapSpecialOnline (const HWIdentifier Id) const; bool isEMBPS (const HWIdentifier Id) const; bool isEMECPS (const HWIdentifier Id) const; bool isPS (const HWIdentifier Id) const;
USE-with-CARE methods (still used for historical reasons): bool isHecOnline (const HWIdentifier chId) const; bool isHecOnlineFebId(const HWIdentifier febId)const; bool isEMECinHECchannel(const HWIdentifier Id) const;
OBSOLETE methods : bool isEmBarrelOnline(const HWIdentifier chId) const; -> use isEMBchannel bool isEmEndcapOnline(const HWIdentifier chId) const; -> use isEMECchannel bool isFcalOnline (const HWIdentifier chId) const; -> use isFCALchannel
int channelInSlotMax (const HWIdentifier Id) const;
Definition at line 96 of file LArOnlineID_Base.h.
◆ id_iterator
◆ id_range
◆ size_type
◆ anonymous enum
◆ HelperType
enum class for eventual final derived types of this class
| Enumerator |
|---|
| Unimplemented | |
| Silicon | |
| Pixel | |
| PLR | |
| SCT | |
| TRT | |
| LArEM | |
| LArFCal | |
| LArFCalSuperCell | |
| LArHEC | |
| LArHEC_SuperCell | |
| LARMiniFCal | |
| Tile | |
| TileSuperCell | |
| LArOnline | |
| LArOnlineSuperCell | |
| LArElectrode | |
| LArHVLine | |
| TileHardware | |
| TileTestbeam | |
| CaloCell | |
| CaloSuperCell | |
| CaloDM | |
| CaloLvl1 | |
| GTower | |
| JTower | |
| Muon | |
| LUCID | |
| LUCID_Hardware | |
| Zdc | |
| ZdcHardware | |
| TT | |
Definition at line 55 of file AtlasDetectorID.h.
60 LArEM, LArFCal, LArFCalSuperCell,
61 LArHEC, LArHEC_SuperCell, LARMiniFCal,
65 LArOnline, LArOnlineSuperCell,
67 LArElectrode, LArHVLine,
68 TileHardware, TileTestbeam,
75 LUCID, LUCID_Hardware,
◆ ID
◆ LArOnlineID_Base()
| LArOnlineID_Base::LArOnlineID_Base |
( |
const std::string & |
name, |
|
|
const std::string & |
group, |
|
|
bool |
is_slar |
|
) |
| |
◆ ~LArOnlineID_Base()
| LArOnlineID_Base::~LArOnlineID_Base |
( |
| ) |
|
|
virtualdefault |
◆ alfa_exp()
◆ alfa_field_value()
| int AtlasDetectorID::alfa_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ barrel_ec()
Return the position barrel or endcap of a hardware cell identifier:
barrel_ec = [0,1] : Barrel / EndCap.
Definition at line 1942 of file LArOnlineID_Base.cxx.
◆ bcm_exp()
◆ bcm_field_value()
| int AtlasDetectorID::bcm_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ calib_channel_begin()
Return an iterator pointing to a collection of calibration channel identifiers.
Definition at line 705 of file LArOnlineID_Base.h.
◆ calib_channel_end()
◆ calib_channel_Hash()
◆ calib_channel_Id() [1/4]
Define a calibration channel identifier from a feb identifier.
Definition at line 646 of file LArOnlineID_Base.h.
◆ calib_channel_Id() [2/4]
Define a calibration channel identifier from a feedthrough identifier.
Definition at line 633 of file LArOnlineID_Base.h.
◆ calib_channel_Id() [3/4]
create calibration channel identifiers from hash identifiers
Definition at line 656 of file LArOnlineID_Base.h.
◆ calib_channel_Id() [4/4]
| HWIdentifier LArOnlineID_Base::calib_channel_Id |
( |
int |
barrel_ec, |
|
|
int |
pos_neg, |
|
|
int |
feedthrough, |
|
|
int |
slot, |
|
|
int |
channel |
|
) |
| const |
|
inline |
◆ calib_channel_range()
◆ calib_module_begin()
Return an iterator pointing to a calibFeb identifier 's collection.
Definition at line 689 of file LArOnlineID_Base.h.
◆ calib_module_end()
◆ calib_module_Hash()
◆ calib_module_Id() [1/4]
Define a calibration module identifier from a channel identifier.
Definition at line 592 of file LArOnlineID_Base.h.
◆ calib_module_Id() [2/4]
Define a calibration module identifier from a feedthrough identifier.
Definition at line 582 of file LArOnlineID_Base.h.
◆ calib_module_Id() [3/4]
Create calibration module identifier from hash identifiers.
Definition at line 600 of file LArOnlineID_Base.h.
◆ calib_module_Id() [4/4]
| HWIdentifier LArOnlineID_Base::calib_module_Id |
( |
int |
barrel_ec, |
|
|
int |
pos_neg, |
|
|
int |
feedthrough, |
|
|
int |
slot |
|
) |
| const |
|
inline |
◆ calib_module_range()
◆ calibChannelHashMax()
◆ calibModuleHashMax()
◆ calo()
◆ calo_exp()
◆ calo_field_value()
| int AtlasDetectorID::calo_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ channel()
Return the channel number of a hardware cell identifier
channel = [0,127] in all FEB.
Definition at line 1967 of file LArOnlineID_Base.cxx.
◆ channel_begin()
◆ channel_end()
◆ channel_Hash()
◆ channel_Hash_binary_search()
◆ channel_Id() [1/7]
◆ channel_Id() [2/7]
◆ channel_Id() [3/7]
◆ channel_Id() [4/7]
◆ channel_Id() [5/7]
◆ channel_Id() [6/7]
| HWIdentifier LArOnlineID_Base::channel_Id |
( |
int |
barrel_ec, |
|
|
int |
pos_neg, |
|
|
int |
feedthrough, |
|
|
int |
slot, |
|
|
int |
channel |
|
) |
| const |
◆ channel_Id() [7/7]
| HWIdentifier LArOnlineID_Base::channel_Id |
( |
int |
barrel_ec, |
|
|
int |
pos_neg, |
|
|
int |
feedthrough, |
|
|
int |
slot, |
|
|
int |
channel, |
|
|
bool |
checks |
|
) |
| const |
◆ channel_Id_checks() [1/3]
| void LArOnlineID_Base::channel_Id_checks |
( |
const HWIdentifier |
febId, |
|
|
int |
channel |
|
) |
| const |
|
protected |
Definition at line 706 of file LArOnlineID_Base.cxx.
715 std::string errorMessage =
"LArOnlineID_Base::channel_Id_checks(febId) result is not OK: ID = "
724 std::string errorMessage =
"LArOnlineID_Base::channel_Id_checks(febId) result is not OK: ID, range = "
◆ channel_Id_checks() [2/3]
| void LArOnlineID_Base::channel_Id_checks |
( |
const HWIdentifier |
feedthroughId, |
|
|
int |
slot, |
|
|
int |
channel |
|
) |
| const |
|
protected |
Definition at line 732 of file LArOnlineID_Base.cxx.
741 std::string errorMessage =
"LArOnlineID_Base::channel_Id_checks(feedthroughId) result is not OK: ID = "
750 std::string errorMessage =
"LArOnlineID_Base::channel_Id_checks(feedthroughId) result is not OK: ID, range = "
◆ channel_Id_checks() [3/3]
| void LArOnlineID_Base::channel_Id_checks |
( |
int |
barrel_ec, |
|
|
int |
pos_neg, |
|
|
int |
feedthrough, |
|
|
int |
slot, |
|
|
int |
channel |
|
) |
| const |
|
protected |
Definition at line 687 of file LArOnlineID_Base.cxx.
698 std::string errorMessage =
"LArOnlineID_Base::channel_Id_checks() result is not OK: ID, range = "
◆ channel_name()
Return a string corresponding to a feedthrough name given an identifier.
Definition at line 225 of file LArOnlineID_Base.cxx.
227 std::ostringstream
s1;
230 int Nslot =
slot(
id);
232 std::string det_barrel_endcap =
"NODETE";
233 std::string det_side =
"/X-SIDE";
235 if(
barrel_ec(
id) == 0 ) det_barrel_endcap =
"BARREL";
236 if(
barrel_ec(
id) == 1 ) det_barrel_endcap =
"ENDCAP";
237 if(
pos_neg(
id) == 1 ) det_side =
"/A-SIDE";
238 if(
pos_neg(
id) == 0 ) det_side =
"/C-SIDE";
240 s1 << det_barrel_endcap
244 <<
"/CHAN-" << Nchan;
◆ channel_range()
◆ channelContext()
| IdContext LArOnlineID_Base::channelContext |
( |
| ) |
const |
◆ channelHashMax()
◆ channelInSlotMax()
Return the Maximum channel number of a given feb slot.
Definition at line 293 of file LArOnlineID_Base.cxx.
303 if (
range.match(expId)) {
305 if (!channel_in_slot_field.
empty()) {
306 int channel_in_slotmax = channel_in_slot_field.
get_maximum();
307 if (
result < channel_in_slotmax)
result = channel_in_slotmax + 1;
◆ cryostatEndContext()
| IdContext LArOnlineID_Base::cryostatEndContext |
( |
| ) |
const |
◆ csc()
◆ csc_field_value()
| int AtlasDetectorID::csc_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ detsystem_context()
| IdContext AtlasDetectorID::detsystem_context |
( |
void |
| ) |
const |
|
inherited |
◆ dict_names()
| const std::vector< std::string > & AtlasDetectorID::dict_names |
( |
void |
| ) |
const |
|
inherited |
◆ dict_tags()
| const std::vector< std::string > & AtlasDetectorID::dict_tags |
( |
void |
| ) |
const |
|
inherited |
◆ dictionaryVersion()
| std::string AtlasDetectorID::dictionaryVersion |
( |
void |
| ) |
const |
|
overridevirtualinherited |
◆ do_checks()
| bool AtlasDetectorID::do_checks |
( |
void |
| ) |
const |
|
overridevirtualinherited |
Checks are performed by default in debug compilation and NOT in optimized compilation.
One can switch or query this mode for any idHelper with the following methods:
Implements IdHelper.
Definition at line 476 of file AtlasDetectorID.cxx.
◆ do_neighbours()
| bool AtlasDetectorID::do_neighbours |
( |
void |
| ) |
const |
|
overridevirtualinherited |
Neighbour initialization is performed by default One can switch or query this mode for any idHelper with the following method:
Implements IdHelper.
Definition at line 483 of file AtlasDetectorID.cxx.
◆ feb_begin()
◆ feb_end()
◆ feb_Hash()
Create feb hash identifiers from feb identifiers.
Definition at line 1516 of file LArOnlineID_Base.cxx.
1526 if (!hc.m_slot_values.empty()) {
1528 int slotValue =
slot(febId);
1529 for (
int i = 0; (
unsigned int)
i < hc.m_slot_values.size(); ++
i) {
1530 if (slotValue == hc.m_slot_values[
i])
return (hc.m_hash +
i);
1534 log << MSG::WARNING <<
"LArOnlineID_Base::feb_Hash - ***** WARNING: could not match slot value for has calculation " <<
endmsg;
1536 std::cout <<
"LArOnlineID_Base::feb_Hash - ***** WARNING: could not match slot value for has calculation " << std::endl;
1540 return (hc.m_hash + slotIndex);
◆ feb_Hash_binary_search()
◆ feb_Id() [1/5]
◆ feb_Id() [2/5]
◆ feb_Id() [3/5]
◆ feb_Id() [4/5]
| HWIdentifier LArOnlineID_Base::feb_Id |
( |
int |
barrel_ec, |
|
|
int |
pos_neg, |
|
|
int |
feedthrough, |
|
|
int |
slot |
|
) |
| const |
◆ feb_Id() [5/5]
| HWIdentifier LArOnlineID_Base::feb_Id |
( |
int |
barrel_ec, |
|
|
int |
pos_neg, |
|
|
int |
feedthrough, |
|
|
int |
slot, |
|
|
bool |
checks |
|
) |
| const |
◆ feb_Id_checks()
| void LArOnlineID_Base::feb_Id_checks |
( |
int |
barrel_ec, |
|
|
int |
pos_neg, |
|
|
int |
feedthrough, |
|
|
int |
slot |
|
) |
| const |
|
protected |
◆ feb_range()
◆ febContext()
| IdContext LArOnlineID_Base::febContext |
( |
| ) |
const |
◆ febHashMax()
◆ feedthrough()
Return the feedthrough of a hardware cell identifier :
feedthrough = [0,31] Barrel - A/C side or H/I half barrel
feedthrough = [1,25] Endcap-Standard EMEC 1.6<|eta|<2.4 - A/C side
feedthrough = [1,25] Endcap-Special EMEC 1.5<|eta|<1.6 and 2.4<|eta|<3.2
feedthrough = [1,25] HEC A/C side.
Definition at line 1948 of file LArOnlineID_Base.cxx.
◆ feedthrough_begin()
Return an iterator pointing to Feedthrough identifiers collection.
Definition at line 1435 of file LArOnlineID_Base.cxx.
◆ feedthrough_end()
◆ feedthrough_Hash()
◆ feedthrough_Id() [1/4]
◆ feedthrough_Id() [2/4]
◆ feedthrough_Id() [3/4]
| HWIdentifier LArOnlineID_Base::feedthrough_Id |
( |
int |
barrel_ec, |
|
|
int |
pos_neg, |
|
|
int |
feedthrough |
|
) |
| const |
◆ feedthrough_Id() [4/4]
| HWIdentifier LArOnlineID_Base::feedthrough_Id |
( |
int |
barrel_ec, |
|
|
int |
pos_neg, |
|
|
int |
feedthrough, |
|
|
bool |
checks |
|
) |
| const |
◆ feedthrough_Id_checks()
| void LArOnlineID_Base::feedthrough_Id_checks |
( |
int |
barrel_ec, |
|
|
int |
pos_neg, |
|
|
int |
feedthrough |
|
) |
| const |
|
protected |
◆ feedthrough_name()
Return a string corresponding to a feedthrough name given an identifier.
Definition at line 79 of file LArOnlineID_Base.cxx.
◆ feedthrough_range()
◆ feedthroughContext()
| IdContext LArOnlineID_Base::feedthroughContext |
( |
| ) |
const |
◆ feedthroughHashMax()
◆ 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_calib_id()
◆ get_expanded_id()
◆ get_hash()
Create hash id from compact id (return == 0 for OK)
Implements IdHelper.
Reimplemented in SCT_ID, TRT_ID, PixelID, SiliconID, MuonIdHelper, TileHWID, CaloIDHelper, TileTBID, Tile_Base_ID, HGTD_ID, CaloLVL1_ID, and JGTowerBase_ID.
Definition at line 195 of file AtlasDetectorID.cxx.
◆ get_id()
Create compact id from hash id (return == 0 for OK)
Implements IdHelper.
Reimplemented in SCT_ID, TRT_ID, PixelID, SiliconID, MuonIdHelper, TileHWID, CaloIDHelper, TileTBID, Tile_Base_ID, HGTD_ID, CaloLVL1_ID, and JGTowerBase_ID.
Definition at line 189 of file AtlasDetectorID.cxx.
◆ group()
| const std::string & AtlasDetectorID::group |
( |
| ) |
const |
|
inherited |
◆ helper()
| virtual HelperType AtlasDetectorID::helper |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ hgtd()
◆ hgtd_exp()
◆ hgtd_field_value()
| int AtlasDetectorID::hgtd_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ indet()
◆ indet_exp()
◆ indet_field_value()
| int AtlasDetectorID::indet_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
Provide efficient access to individual field values, for subclass idhelpers.
Definition at line 606 of file AtlasDetectorID.h.
◆ init_calib_hashes()
| int LArOnlineID_Base::init_calib_hashes |
( |
| ) |
|
|
protected |
Definition at line 1981 of file LArOnlineID_Base.cxx.
1985 unsigned int nids=0;
1986 std::set<HWIdentifier>
ids;
1990 for (
const auto & exp_id : rit) {
1996 if(!(
ids.insert(
id)).second) {
1998 log << MSG::WARNING <<
" LArOnlineID_Base::init_calib_Hashes "
1999 <<
" Error: duplicated id for channel id. nids= " << nids
2002 std::cout <<
" LArOnlineID_Base::init_calib_Hashes "
2003 <<
" Error: duplicated id for channel id. nids= " << nids
2012 unsigned int nidtb=0;
2013 std::set<HWIdentifier>::const_iterator
first =
ids.begin();
2014 std::set<HWIdentifier>::const_iterator last =
ids.end();
2015 for (;
first != last && nidtb < nids; ++
first) {
2028 for (
const auto & exp_id : rit) {
2033 if(!(
ids.insert(febId)).second){
2035 log << MSG::WARNING <<
" LArOnlineID_Base::init_calibhashes "
2036 <<
" Warning: duplicated id for feb id. nids= " << nids
2039 std::cout <<
" LArOnlineID_Base::init_calibhashes "
2040 <<
" Error: duplicated id for feb id. nids= " << nids
2044 std::cout << std::endl;
2054 for (;
first != last && nidtb < nids; ++
first)
◆ init_hashes()
| int LArOnlineID_Base::init_hashes |
( |
| ) |
|
|
protected |
Definition at line 1130 of file LArOnlineID_Base.cxx.
1141 unsigned int nids = 0;
1142 std::set<HWIdentifier>
ids;
1147 for (
const auto & exp_id : rit)
1154 if(!(
ids.insert(
id)).second)
1156 strg1 =
" init_hashes: duplicated id for channel nb = "+
std::to_string(nids);
1166 std::cout <<
"LArOnlineID_Base::Error" << strg1 << std::endl;
1168 std::cout << strg3 << std::endl;
1176 strg1 =
" init_hashes ";
1187 std::cout <<
"LArOnlineID_Base::" << strg1 << std::endl;
1188 std::cout <<
"Error" << strg2 << std::endl;
1189 std::cout << strg3 << std::endl;
1194 std::set<HWIdentifier>::const_iterator
first =
ids.begin();
1195 std::set<HWIdentifier>::const_iterator last =
ids.end();
1211 for (
const auto & exp_id: rit) {
1215 if(!(
ids.insert(feedthroughId)).second){
1216 strg1 =
" init_hashes: duplicated id for feedthrough nb = "+
std::to_string(nids);
1226 std::cout <<
"LArOnlineID_Base:: Error" << strg1 << std::endl;
1228 std::cout << strg3 << std::endl;
1236 strg1 =
" init_hashes ";
1237 strg2 =
" set size NOT EQUAL to feedthrough hash max. size "+
std::to_string(
ids.size());
1247 std::cout <<
"LArOnlineID_Base::" << strg1 << std::endl;
1248 std::cout <<
" Error:" << strg2 << std::endl;
1249 std::cout << strg3 << std::endl;
1272 for (
const auto & exp_id :rit)
1278 if(!(
ids.insert(febId)).second)
1280 strg1 =
" init_hashes: duplicated id for FEB nb = "+
std::to_string(nids);
1290 std::cout <<
"LArOnlineID_Base::Error:" << strg1 << std::endl;
1292 std::cout << strg3 << std::endl;
1300 strg1 =
" init_hashes ";
1301 strg2 =
" set size NOT EQUAL to FEB hash max. size "+
std::to_string(
ids.size());
1311 std::cout <<
"LArOnlineID_Base::" << strg1 << std::endl;
1312 std::cout <<
"Error:" << strg2 << std::endl;
1313 std::cout << strg3 << std::endl;
◆ initialize_from_dictionary()
| int LArOnlineID_Base::initialize_from_dictionary |
( |
const IdDictMgr & |
dict_mgr | ) |
|
|
virtual |
initialization from the identifier dictionary
Reimplemented from AtlasDetectorID.
Reimplemented in LArOnline_SuperCellID, and LArOnlineID.
Definition at line 321 of file LArOnlineID_Base.cxx.
326 std::string strg =
"initialize_from_dictionary";
331 std::cout << strg << std::endl;
349 std::string strg =
" initialize_from_dictionary - cannot access LArCalorimeter dictionary ";
354 std::cout <<
"LArOnlineID_Base::" << strg << std::endl;
373 if (atlasDict->
get_label_value(
"subdet",
"LArCalorimeter", larField)) {
374 std::stringstream strm;
375 strm << atlasDict->
name();
376 std::string strg=
" Could not get value for label 'LArCalorimeter' of field 'subdet' in dictionary "+strm.str();
381 std::cout <<
"LArOnlineID_Base:" << strg << std::endl;
387 int larOnlineField = -4;
389 std::stringstream strm;
391 std::string strg =
"Could not get value for label 'LArOnline' of field 'part' in dictionary "+strm.str();
396 std::cout << strg << std::endl;
402 int larOnlineCalibField = -5;
404 std::stringstream strm;
406 std::string strg =
"Could not get value for label 'LArOnlineCalib' of field 'part' in dictionary "+strm.str();
411 std::cout << strg << std::endl;
423 region_id2.
add(larField);
424 region_id2.
add(larOnlineCalibField);
432 std::string strg0=
" initialize_from_dictionary :";
434 std::string strg2=
" feedthrough slot range -> " + (std::string)
m_full_feb_range;
443 std::cout << strg0 << std::endl;
444 std::cout << strg1 << std::endl;
445 std::cout << strg2 << std::endl;
446 std::cout << strg3 << std::endl;
455 std::string strg0=
"=> initialize_from_dictionary : ";
464 std::cout << strg0 << std::endl;
465 std::cout << strg2 << std::endl;
466 std::cout << strg3 << std::endl;
476 std::cout <<
"LArOnlineID_Base: " << strg << std::endl;
503 int size = (1 << bits);
517 hc.m_hash = min_hash;
530 std::cout << strg << std::endl;
531 std::cout << strg1 << std::endl;
532 std::cout << strg2 << std::endl;
541 strg =
" ***** Error channel ranges, id, hash, i = "+
show_to_string(
id);
550 std::cout << strg << std::endl;
551 std::cout << strg1 << std::endl;
552 std::cout << strg2 << std::endl;
596 hc.m_hash = min_hash;
605 std::cout <<
" ***** Warning cannot get ft expanded id for " <<
show_to_string(
min) << std::endl;
608 unsigned int nrangesFound = 0;
623 if (nrangesFound > 1) {
630 hc.m_slot_values.reserve(hc.m_slot_values.size() + nvalues);
631 for (
unsigned int j = 0; j < nvalues; ++j) {
632 hc.m_slot_values.push_back(j + slotField.
get_minimum());
638 log << MSG::WARNING <<
" ***** Warning feb range slot field is NOT both_bounded - id, slot mode: "
641 std::cout <<
" ***** Error feb range slot field is NOT both_bounded - id, slot mode: "
661 std::cout << strg << std::endl;
670 strg =
" ***** Error feb ranges, id, hash, i = " +
676 std::cout << strg << std::endl;
◆ initLevelsFromDict()
| int LArOnlineID_Base::initLevelsFromDict |
( |
const std::string & |
group_name | ) |
|
|
protected |
Definition at line 847 of file LArOnlineID_Base.cxx.
855 log << MSG::ERROR <<
"initLevelsFromDict - dictionary NOT initialized "
859 std::cout <<
"LArEM_ID::initLevelsFromDict - dictionary NOT initialized "
885 strg =
"initLevelsFromDict - unable to find laronline region ";
892 std::cout <<
"LAronline_ID::" << strg << std::endl;
904 strg=
"initLevelsFromDict - unable to find 'subdet' field ";
911 std::cout <<
"LArOnlineID_Base::" << strg << std::endl;
924 strg=
"initLevelsFromDict - unable to find 'part' field ";
931 std::cout <<
"LArOnlineID_Base::" << strg << std::endl;
944 strg=
"initLevelsFromDict - unable to find 'barrel-endcap' field ";
951 std::cout <<
"LArOnlineID_Base::" << strg << std::endl;
964 strg=
"initLevelsFromDict - unable to find 'barrel-endcap' field ";
971 std::cout <<
"LArOnlineID_Base::" << strg << std::endl;
989 strg =
"initLevelsFromDict - unable to find 'feedthrough' field ";
996 std::cout <<
"LArOnlineID_Base::" << strg << std::endl;
1002 std::string slot_name;
1004 slot_name+=
"slar_slot";
1015 strg =
"initLevelsFromDict - unable to find 'slot' field ";
1022 std::cout <<
"LArOnlineID_Base::" << strg << std::endl;
1041 strg =
"initLevelsFromDict - unable to find 'channel_in_slot' field ";
1048 std::cout <<
"LArOnlineID_Base::" << strg << std::endl;
1062 strg =
"initLevelsFromDict - unable to find 'slar' field ";
1069 std::cout <<
"LArOnline_SuperCellID::" << strg << std::endl;
1079 log << MSG::ERROR <<
"initLevelsFromDict - cannot find "
1111 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/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_slar()
Return whether the channel is in slar or not is_ slar = [0,1] in all FEB.
Definition at line 1973 of file LArOnlineID_Base.cxx.
◆ 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 |
◆ isCalibration()
◆ isEmBarrelOnline()
◆ isEMBchannel()
◆ isEMBPS()
◆ isEMECchannel()
◆ isEMECinHECchannel()
◆ isEMECIW()
◆ isEMECOW()
◆ isEMECPS()
◆ isEmEndcapOnline()
◆ isEmEndcapSpecialOnline()
◆ isEmEndcapStandardOnline()
◆ isEndcapOnline()
◆ isFCALchannel()
◆ isFcalOnline()
◆ isHECchannel()
◆ isHecOnline()
◆ isHecOnlineFebId()
◆ isNotWarmCableConnected()
◆ isPS()
◆ isValidId()
Returns false if the identifier is not a LAr-online id or any of the sub-fields is out of range.
Definition at line 1333 of file LArOnlineID_Base.cxx.
1340 if (laronlineid!=s_lar_online_field_value && laronlineid!=s_lar_onlineCalib_field_value)
return false;
1343 if (channel<0 || channel>128)
return false;
1348 if (
slot<1)
return false;
1349 if (
ft<0)
return false;
1351 if (
ft>31)
return false;
1352 if (
slot>14)
return false;
1355 if (
ft>27)
return false;
1356 if (
ft==2 ||
ft==9 ||
ft==15 ||
ft==21){
1357 if (
slot >15)
return false;
1360 if (
slot>15)
return false;
1362 else if (
ft>24 &&
ft<28) {
1363 if (
slot>10)
return false;
1365 else if (
ft==3 ||
ft==10 ||
ft==16 ||
ft==22) {
1369 if (
slot>13)
return false;
◆ 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 |
◆ pos_neg()
Return the side of a hardware cell identifier
pos_neg = [0,1] positive-side or negative-side Barrel/Endcap.
Definition at line 1954 of file LArOnlineID_Base.cxx.
◆ print()
◆ print_to_string()
or provide the printout in string form
Definition at line 427 of file AtlasDetectorID.cxx.
434 unsigned int max_index = (context) ? context->
end_index() : 999;
458 ATH_MSG_WARNING(__func__<<
":"<<__LINE__<<
" No dictionary could be associated to "<<
id);
◆ register_dict_tag()
| int AtlasDetectorID::register_dict_tag |
( |
const IdDictMgr & |
dict_mgr, |
|
|
const std::string & |
dict_name |
|
) |
| |
|
protectedinherited |
◆ reinitialize()
Test whether an idhelper should be reinitialized based on the change of tags.
Definition at line 221 of file AtlasDetectorID.cxx.
232 ATH_MSG_ERROR(
"reinitialize: dict names and tags vectors not the same length ");
◆ rpc()
◆ rpc_field_value()
| int AtlasDetectorID::rpc_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ sct()
◆ sct_exp()
◆ sct_field_value()
| int AtlasDetectorID::sct_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ set_do_checks()
| void AtlasDetectorID::set_do_checks |
( |
bool |
do_checks | ) |
|
|
overridevirtualinherited |
◆ set_do_neighbours()
| void AtlasDetectorID::set_do_neighbours |
( |
bool |
do_neighbours | ) |
|
|
overridevirtualinherited |
◆ set_quiet()
| void AtlasDetectorID::set_quiet |
( |
bool |
quiet | ) |
|
|
inherited |
◆ setDictVersion()
|
|
overrideprotectedvirtualinherited |
◆ setLevel()
| void AthMessaging::setLevel |
( |
MSG::Level |
lvl | ) |
|
|
inherited |
◆ setMessageSvc()
| void AtlasDetectorID::setMessageSvc |
( |
IMessageSvc * |
msgSvc | ) |
|
|
overridevirtualinherited |
◆ show()
Short print out of any identifier (optionally provide separation character - default is '.
'):
Definition at line 359 of file AtlasDetectorID.cxx.
◆ show_to_string()
or provide the printout in string form
Definition at line 365 of file AtlasDetectorID.cxx.
368 std::string
result(
"Unable to decode id");
369 unsigned int max_index = (context) ? context->
end_index() : 999;
371 if (!
id.is_valid()) {
403 if (dict->unpack(
m_group, compact,
prefix, max_index, expId)) {
411 for (
unsigned int i = 0;
i < expId.fields(); ++
i) {
◆ slot()
Return the slot number of a hardware cell identifier:
slot = [1,15] Slot-ID in top part of the crate (higher phi)
Note that a crate is = Slot(1-15)L + Slot(1-15)R.
Definition at line 1961 of file LArOnlineID_Base.cxx.
◆ 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_bec_ft_impl
◆ m_bec_impl
◆ m_bec_index
◆ m_bec_slot_impl
◆ m_calib_channel_vec
| std::vector<HWIdentifier> LArOnlineID_Base::m_calib_channel_vec |
|
protected |
◆ m_calib_module_vec
| std::vector<HWIdentifier> LArOnlineID_Base::m_calib_module_vec |
|
protected |
◆ m_calibChannelHashMax
| size_type LArOnlineID_Base::m_calibChannelHashMax |
|
protected |
◆ m_calibModuleHashMax
| size_type LArOnlineID_Base::m_calibModuleHashMax |
|
protected |
◆ m_calo_dict
◆ m_CALO_ID
| int AtlasDetectorID::m_CALO_ID {10} |
|
privateinherited |
◆ m_calo_side_impl
◆ m_chan_hash_calcs
| std::vector<HashCalc> LArOnlineID_Base::m_chan_hash_calcs |
|
protected |
◆ m_channel_in_slot_impl
◆ m_channel_in_slot_index
| size_type LArOnlineID_Base::m_channel_in_slot_index |
|
protected |
◆ m_channel_vec
◆ m_channelHashMax
◆ m_CSC_ID
| int AtlasDetectorID::m_CSC_ID {1} |
|
privateinherited |
◆ m_det_impl
◆ m_DET_INDEX
◆ m_dict
◆ m_dict_names
| std::vector<std::string> AtlasDetectorID::m_dict_names |
|
protectedinherited |
◆ m_dict_tags
| std::vector<std::string> AtlasDetectorID::m_dict_tags |
|
protectedinherited |
◆ m_dict_version
| std::string AtlasDetectorID::m_dict_version |
|
privateinherited |
◆ m_do_checks
| bool AtlasDetectorID::m_do_checks {} |
|
protectedinherited |
Flag for subclasses to know whether or not to perform checks.
In general, this is set to false in optimized mode.
Definition at line 363 of file AtlasDetectorID.h.
◆ m_do_neighbours
| bool AtlasDetectorID::m_do_neighbours {true} |
|
protectedinherited |
Flag for subclasses to know whether or not to perform neighbour initialization.
Definition at line 366 of file AtlasDetectorID.h.
◆ m_feb_hash_calcs
| std::vector<HashCalcFeb> LArOnlineID_Base::m_feb_hash_calcs |
|
protected |
◆ m_feb_vec
◆ m_febHashMax
◆ m_feedthrough_impl
◆ m_feedthrough_index
| size_type LArOnlineID_Base::m_feedthrough_index |
|
protected |
◆ m_feedthrough_vec
| std::vector<HWIdentifier> LArOnlineID_Base::m_feedthrough_vec |
|
protected |
◆ m_feedthroughHashMax
| size_type LArOnlineID_Base::m_feedthroughHashMax |
|
protected |
◆ m_file_names
| std::vector<std::string> AtlasDetectorID::m_file_names |
|
protectedinherited |
List of dictionary file names used by this helper.
Definition at line 379 of file AtlasDetectorID.h.
◆ m_full_calib_laronline_range
| MultiRange LArOnlineID_Base::m_full_calib_laronline_range |
|
protected |
◆ m_full_calib_module_range
| MultiRange LArOnlineID_Base::m_full_calib_module_range |
|
protected |
◆ m_full_channel_range
◆ m_full_feb_range
◆ m_full_feedthrough_range
| MultiRange LArOnlineID_Base::m_full_feedthrough_range |
|
protected |
◆ m_full_laronline_range
| MultiRange LArOnlineID_Base::m_full_laronline_range |
|
protected |
◆ m_fwd_dict
◆ m_FWD_ID
| int AtlasDetectorID::m_FWD_ID {13} |
|
privateinherited |
◆ m_fwd_part_impl
◆ m_group
| std::string AtlasDetectorID::m_group |
|
protectedinherited |
◆ m_helper
◆ m_HGTD_ID
| int AtlasDetectorID::m_HGTD_ID {4} |
|
privateinherited |
◆ m_imsg
| std::atomic<IMessageSvc*> AthMessaging::m_imsg { nullptr } |
|
mutableprivateinherited |
◆ m_indet_dict
◆ m_INDET_ID
| int AtlasDetectorID::m_INDET_ID {2} |
|
privateinherited |
◆ m_indet_part_impl
◆ m_is_initialized_from_dict
| bool AtlasDetectorID::m_is_initialized_from_dict {} |
|
privateinherited |
◆ m_isHighLuminosityLHC
| bool AtlasDetectorID::m_isHighLuminosityLHC {} |
|
privateinherited |
◆ m_lar_dict
◆ m_lar_dm_field
◆ m_LAR_EM_ID
| int AtlasDetectorID::m_LAR_EM_ID {1} |
|
privateinherited |
◆ m_LAR_FCAL_ID
| int AtlasDetectorID::m_LAR_FCAL_ID {3} |
|
privateinherited |
◆ m_lar_fcal_module_impl
◆ m_LAR_FCAL_MODULE_INDEX
| int AtlasDetectorID::m_LAR_FCAL_MODULE_INDEX {999} |
|
privateinherited |
◆ m_LAR_HEC_ID
| int AtlasDetectorID::m_LAR_HEC_ID {2} |
|
privateinherited |
◆ m_LAR_ID
| int AtlasDetectorID::m_LAR_ID {4} |
|
privateinherited |
◆ m_lar_impl
◆ m_lar_index
◆ m_lar_part_impl
◆ m_laronline_impl
◆ m_laronline_index
| size_type LArOnlineID_Base::m_laronline_index |
|
protected |
◆ m_laronlineRegion_index
| size_type LArOnlineID_Base::m_laronlineRegion_index |
|
protected |
◆ 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_side_impl
◆ m_side_index
◆ m_slar_impl
◆ m_slar_index
◆ m_slot_impl
◆ m_slot_index
◆ 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_this_is_slar
| bool LArOnlineID_Base::m_this_is_slar |
|
protected |
◆ 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:
IdDictRegion * find_region(const std::string ®ion_name) const
bool is_pixel(Identifier id) const
std::atomic< MSG::Level > m_lvl
Current logging level.
IdDictDictionary * m_muon_dict
int indet_field_value() const
Provide efficient access to individual field values, for subclass idhelpers.
bool is_forward(Identifier id) const
MultiRange build_multirange() const
Get MultiRange for full dictionary.
std::vector< unsigned int > m_muon_tech_bits
IdentifierHash channel_Hash(HWIdentifier channelId) const
Create channel_hash from channel_Id.
virtual int initialize_from_dictionary(const IdDictMgr &dict_mgr) override
Initialization from the identifier dictionary.
IdDictFieldImplementation m_indet_part_impl
IdDictFieldImplementation m_slar_impl
Identifier::size_type size_type
const std::string & version() const
Dictionary version.
std::string feedthrough_name(const HWIdentifier id) const
Return a string corresponding to a feedthrough name given an identifier.
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
IdDictFieldImplementation m_feedthrough_impl
const IdDictRegion & region(size_t i) const
Region at index i.
AtlasDetectorID(const std::string &name, const std::string &group)
virtual bool isEMECIW(const HWIdentifier id) const =0
element_type get_minimum() const
Query the values.
size_type end_index() const
int calo_field_value() const
void feb_Id_checks(int barrel_ec, int pos_neg, int feedthrough, int slot) const
std::vector< HWIdentifier > m_channel_vec
void add(element_type value)
Append a value into a new field.
int slot(const HWIdentifier id) const
Return the slot number of a hardware cell identifier: slot = [1,15] Slot-ID in top part of the crat...
void pack(int value, Identifier &id) const
IdDictDictionary * m_tile_dict
IdDictFieldImplementation m_slot_impl
IdDictFieldImplementation m_laronline_impl
IMessageSvc * m_msgSvc
pointer to the message service
boost::iterator_range< id_iterator > id_range
Type for range over identifiers.
std::string m_dict_version
const element_vector & get_values() const
element_type get_maximum() const
id_iterator feb_begin() const
Returns an iterator pointing to a feb identifier collection.
id_iterator feedthrough_begin() const
Return an iterator pointing to Feedthrough identifiers collection.
bool m_do_checks
Flag for subclasses to know whether or not to perform checks.
static constexpr value_type MAX_BIT
HWIdentifier calib_module_Id(int barrel_ec, int pos_neg, int feedthrough, int slot) const
Build calibration module identifier from fields.
const std::string & name() const
Dictionary name.
size_type m_laronline_index
const IdDictDictionary * m_dict
IdContext feedthroughContext() const
Define context for feedthroughs.
int lar_field_value() const
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
IdDictFieldImplementation m_side_impl
int barrel_ec(const HWIdentifier id) const
Return the position barrel or endcap of a hardware cell identifier: barrel_ec = [0,...
std::atomic< IMessageSvc * > m_imsg
MessageSvc pointer.
int unpack(Identifier id) const
Identifier manipulation methods.
const std::string & file_name() const
Access to file name.
id_iterator channel_end() const
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
size_type m_feedthroughHashMax
virtual std::string dictionaryVersion(void) const override
std::vector< HWIdentifier > m_calib_channel_vec
IdDictFieldImplementation m_bec_slot_impl
size_type m_calibModuleHashMax
bool m_do_neighbours
Flag for subclasses to know whether or not to perform neighbour initialization.
void reset(Identifier &id) const
std::vector< HashCalcFeb > m_feb_hash_calcs
bool isFCALchannel(const HWIdentifier id) const
int is_slar(const HWIdentifier id) const
Return whether the channel is in slar or not is_ slar = [0,1] in all FEB.
IdDictFieldImplementation m_channel_in_slot_impl
const IdDictFieldImplementation & implementation(size_t i) const
bool match(element_type value) const
The basic match operation Given a value, test to see if it satisfies the constraints for this field.
Range::field m_tile_dm_field
MultiRange m_full_feedthrough_range
size_type unpackToIndex(Identifier id) const
Unpack a single field index of the id.
IdDictGroup * find_group(const std::string &group_name) const
int channel(const HWIdentifier id) const
Return the channel number of a hardware cell identifier channel = [0,127] in all FEB.
static constexpr value_type ALL_BITS
IdDictDictionary * find_dictionary(const std::string &name) const
Access dictionary by name.
msgSvc
Provide convenience handles for various services.
bool empty() const
If true, this field does not have any constraints, and may hold any value representable by element_ty...
std::string m_group
Group name.
IdDictDictionary * m_calo_dict
void set_bits(size_type bits, size_type bits_offset)
bool m_is_initialized_from_dict
IdDictFieldImplementation m_lar_part_impl
ExpandedIdentifier indet_exp(void) const
Detector systems:
size_type m_calibChannelHashMax
IdContext channelContext() const
Define context for channel.
virtual bool isEMECOW(const HWIdentifier id) const =0
Exception class for LAr online Identifiers.
IdDictFieldImplementation m_muon_mdt_impl
bool isEMECPS(const HWIdentifier id) const
IdDictFieldImplementation m_lar_fcal_module_impl
int get_expanded_id(const HWIdentifier &id, ExpandedIdentifier &exp_id, const IdContext *context) const
create expanded HWIdentifier from HWIdentifier (return == 0 for OK)
size_type bits_offset() const
bool is_tile_dm(Identifier id) const
HWIdentifier channel_Id(int barrel_ec, int pos_neg, int feedthrough, int slot, int channel) const
create channel identifier from fields
int pos_neg(const HWIdentifier id) const
Return the side of a hardware cell identifier pos_neg = [0,1] positive-side or negative-side Barrel...
int initLevelsFromDict(const std::string &group_name)
IdDictDictionary * m_fwd_dict
bool is_tile(Identifier id) const
const std::string & group() const
Group name for this helper.
size_type m_channelHashMax
MultiRange m_full_calib_laronline_range
IdContext febContext() const
Define context for feb.
Range::field m_lvl1_onl_field
bool m_quiet
If true, suppress DEBUG/INFO messages.
MsgStream & msg() const
The standard message stream.
bool isEnumerated() const
HWIdentifier feb_Id(int barrel_ec, int pos_neg, int feedthrough, int slot) const
Create feb_Id from fields.
IdDictFieldImplementation m_muon_rpc_impl
size_type m_feedthrough_index
IdentifierHash channel_Hash_binary_search(HWIdentifier channelId) const
int register_dict_tag(const IdDictMgr &dict_mgr, const std::string &dict_name)
Register the file and tag names for a particular IdDict dictionary.
bool is_calo(Identifier id) const
int tile_field_value() const
id_iterator feb_end() const
int get_label_value(const std::string &field, const std::string &label, int &value) const
std::vector< HWIdentifier > m_feedthrough_vec
IdDictFieldImplementation m_lar_impl
Field Implementation.
std::string print_to_string(Identifier id, const IdContext *context=0) const
or provide the printout in string form
IdentifierHash feb_Hash_binary_search(HWIdentifier channelId) const
virtual bool isEMECchannel(const HWIdentifier id) const =0
std::string to_string(const DetectorType &type)
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
id_iterator calib_channel_end() 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.
id_iterator calib_channel_begin() const
Return an iterator pointing to a collection of calibration channel identifiers.
ExpandedIdentifier fwd_exp(void) const
IdDictFieldImplementation m_muon_station_name_impl
bool isEMBchannel(const HWIdentifier id) const
std::vector< HashCalc > m_chan_hash_calcs
IdDictFieldImplementation m_bec_impl
void channel_Id_checks(int barrel_ec, int pos_neg, int feedthrough, int slot, int channel) const
int match(const ExpandedIdentifier &id) const
Match an identifier.
int feedthrough(const HWIdentifier id) const
Return the feedthrough of a hardware cell identifier : feedthrough = [0,31] Barrel - A/C side or H/...
bool is_lumi(Identifier id) const
void feedthrough_Id_checks(int barrel_ec, int pos_neg, int feedthrough) const
bool reinitialize(const IdDictMgr &dict_mgr)
Test whether an idhelper should be reinitialized based on the change of tags.
MultiRange m_full_feb_range
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::vector< HWIdentifier > m_feb_vec
const std::string & dict_tag() const
Access to the dictionary tag.
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)
id_iterator feedthrough_end() const
id_iterator calib_module_begin() const
Return an iterator pointing to a calibFeb identifier 's collection.
MultiRange m_full_laronline_range
std::string m_nm
Message source name.
bool isEMBPS(const HWIdentifier id) const
This is the individual specification for the range of one ExpandedIdentifier IdentifierField.
void clear()
Erase all fields.
IdDictDictionary * m_lar_dict
unsigned long long value_type
bool is_lvl1_online(Identifier id) const
MultiRange m_full_calib_module_range
id_iterator calib_module_end() const
void initMessaging() const
Initialize our message level and MessageSvc.
size_type cardinality() const
Computes a possible cardinality from all ranges.
size_type m_channel_in_slot_index
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
boost::thread_specific_ptr< MsgStream > m_msg_tls
MsgStream instance (a std::cout like with print-out levels)
std::string channel_name(const HWIdentifier id) const
Return a string corresponding to a feedthrough name given an identifier.
std::vector< HWIdentifier > m_calib_module_vec
virtual bool do_checks(void) const override
Checks are performed by default in debug compilation and NOT in optimized compilation.
size_type m_laronlineRegion_index
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.
HWIdentifier calib_channel_Id(int barrel_ec, int pos_neg, int feedthrough, int slot, int channel) const
create calibration channel identifiers from fields
IdDictFieldImplementation m_bec_ft_impl
id_iterator channel_begin() const
Returns an iterator pointing to a channel identifier collection.
IdentifierHash feb_Hash(HWIdentifier febId) const
Create feb hash identifiers from feb identifiers.
bool match(std::string s1, std::string s2)
match the individual directories of two strings
HWIdentifier feedthrough_Id(int barrel_ec, int pos_neg, int feedthrough) const
Create a feedthrough identifier from fields.
Range::field m_lvl1_field
Identifier::size_type size_type