|
ATLAS Offline Software
|
#include <SCT_ID.h>
|
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...
|
|
|
typedef Identifier::size_type | size_type |
|
typedef std::vector< Identifier >::const_iterator | const_id_iterator |
|
typedef MultiRange::const_identifier_factory | const_expanded_id_iterator |
|
|
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...
|
|
|
| SCT_ID (void) |
|
virtual | ~SCT_ID (void)=default |
|
AtlasDetectorID::HelperType | helper () const override final |
| This is an SCT_ID helper. More...
|
|
|
Identifier | module_id (int barrel_ec, int layer_disk, int phi_module, int eta_module) const |
| For a single crystal. More...
|
|
Identifier | module_id (int barrel_ec, int layer_disk, int phi_module, int eta_module, bool checks) const |
|
Identifier | module_id (const Identifier &wafer_id) const |
| For a module from a wafer id. More...
|
|
Identifier | wafer_id (int barrel_ec, int layer_disk, int phi_module, int eta_module, int side) const |
| For a single side of module. More...
|
|
Identifier | wafer_id (int barrel_ec, int layer_disk, int phi_module, int eta_module, int side, bool checks) const |
|
Identifier | wafer_id (const Identifier &strip_id) const |
| For a single side of module from a strip id. More...
|
|
Identifier | wafer_id (const ExpandedIdentifier &expId) const |
| For a side of module from ExpandedId. More...
|
|
Identifier | wafer_id (const IdentifierHash &wafer_hash) const |
| From hash - optimized. More...
|
|
Identifier | strip_id (int barrel_ec, int layer_disk, int phi_module, int eta_module, int side, int strip) const |
| For an individual strip. More...
|
|
Identifier | strip_id (int barrel_ec, int layer_disk, int phi_module, int eta_module, int side, int strip, bool check) const |
|
Identifier | strip_id (int barrel_ec, int layer_disk, int phi_module, int eta_module, int side, int row, int strip) const |
|
Identifier | strip_id (int barrel_ec, int layer_disk, int phi_module, int eta_module, int side, int row, int strip, bool checks) const |
|
Identifier | strip_id (const Identifier &wafer_id, int strip) const |
|
Identifier | strip_id (const Identifier &wafer_id, int row, int strip) const |
|
|
size_type | wafer_hash_max (void) const |
|
size_type | strip_hash_max (void) const |
|
|
const_id_iterator | wafer_begin (void) const |
| Iterators over full set of ids. Wafer iterator is sorted. More...
|
|
const_id_iterator | wafer_end (void) const |
|
const_expanded_id_iterator | strip_begin (void) const |
| For strip ids, only expanded id iterators are available. More...
|
|
const_expanded_id_iterator | strip_end (void) const |
|
|
IdentifierHash | wafer_hash (const Identifier &wafer_id) const |
| wafer hash from id - optimized More...
|
|
bool | is_barrel (const Identifier &id) const |
| Test for barrel - WARNING: id MUST be sct id, otherwise answer is not accurate. Use SiliconID for generic test. More...
|
|
int | barrel_ec (const Identifier &id) const |
| Values of different levels (failure returns 0) More...
|
|
int | layer_disk (const Identifier &id) const |
|
int | phi_module (const Identifier &id) const |
|
int | eta_module (const Identifier &id) const |
|
int | side (const Identifier &id) const |
|
int | row (const Identifier &id) const |
|
int | strip (const Identifier &id) const |
|
int | layer_disk_max (const Identifier &id) const |
| Max/Min values for each field (-999 == failure) More...
|
|
int | phi_module_max (const Identifier &id) const |
|
int | eta_module_max (const Identifier &id) const |
|
int | eta_module_min (const Identifier &id) const |
|
int | strip_max (const Identifier &id) const |
|
|
int | get_prev_in_phi (const IdentifierHash &id, IdentifierHash &prev) const |
| Previous wafer hash in phi (return == 0 for neighbor found) More...
|
|
int | get_next_in_phi (const IdentifierHash &id, IdentifierHash &next) const |
| Next wafer hash in phi (return == 0 for neighbor found) More...
|
|
int | get_prev_in_eta (const IdentifierHash &id, IdentifierHash &prev) const |
| Previous wafer hash in eta (return == 0 for neighbor found) More...
|
|
int | get_next_in_eta (const IdentifierHash &id, IdentifierHash &next) const |
| Next wafer hash in eta (return == 0 for neighbor found) More...
|
|
int | get_other_side (const IdentifierHash &id, IdentifierHash &other) const |
| Wafer hash on other side. More...
|
|
IdentifierHash | get_prev_in_phi (const IdentifierHash &id) const |
| The same, but without reference argument for returning value_type; failure is indicated by returning an invalid identifierHash. More...
|
|
IdentifierHash | get_next_in_phi (const IdentifierHash &id) const |
| Next wafer hash in phi (return == 0 for neighbor found) More...
|
|
IdentifierHash | get_prev_in_eta (const IdentifierHash &id) const |
| Previous wafer hash in eta (return == 0 for neighbor found) More...
|
|
IdentifierHash | get_next_in_eta (const IdentifierHash &id) const |
| Next wafer hash in eta (return == 0 for neighbor found) More...
|
|
IdentifierHash | get_other_side (const IdentifierHash &id) const |
| Wafer hash on other side. More...
|
|
bool | is_phi_module_max (const Identifier &id) const |
|
bool | is_eta_module_min (const Identifier &id) const |
| For the barrel. More...
|
|
bool | is_eta_module_max (const Identifier &id) const |
| For the barrel. More...
|
|
std::array< IdentifierHash, 5 > | neighbours_by_eta (const IdentifierHash &idh) const |
|
std::array< IdentifierHash, 5 > | neighbours_by_phi (const IdentifierHash &idh) const |
|
std::array< std::function< IdentifierHash(const IdentifierHash &)>, 5 > | neighbour_calls_by_eta () const |
| return functions to give neighbours in order: opposite, eta minus, eta plus, phi minus, phi plus : in case you dont want to create temporary array of IdentifierHashes (to be investigated in context of SP formation) More...
|
|
|
IdContext | wafer_context (void) const |
|
IdContext | strip_context (void) const |
|
|
virtual int | get_id (const IdentifierHash &hash_id, Identifier &id, const IdContext *context=0) const override final |
| Create compact id from hash id (return == 0 for OK) More...
|
|
virtual int | get_hash (const Identifier &id, IdentifierHash &hash_id, const IdContext *context=0) const override final |
| Create hash id from compact id (return == 0 for OK) More...
|
|
int | base_bit (void) const |
| Return the lowest bit position used in the channel id. More...
|
|
Identifier::diff_type | calc_offset (const Identifier &base, const Identifier &target) const |
| Calculate a channel offset between the two identifiers. More...
|
|
Identifier | strip_id_offset (const Identifier &base, Identifier::diff_type offset) const |
| Create an identifier with a given base and channel offset. 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...
|
|
|
enum | ExpandedIdIndices {
INDET,
SCT,
BARREL_EC,
LAYER_DISK,
PHI,
ETA,
SIDE,
STRIP,
ROW,
NUM_INDICES
} |
|
typedef std::vector< Identifier > | id_vec |
|
typedef id_vec::const_iterator | id_vec_it |
|
typedef std::vector< IdentifierHash > | hash_vec |
|
typedef hash_vec::const_iterator | hash_vec_it |
|
std::array< std::function< IdentifierHash(const IdentifierHash &)>, 5 > | m_neighboursByEta |
|
size_type | m_sct_region_index {0} |
|
std::array< size_t, NUM_INDICES > | m_indices {0,1,2,3,4,5,6,7,999} |
|
const IdDictDictionary * | m_dict |
|
MultiRange | m_full_wafer_range |
|
MultiRange | m_full_strip_range |
|
size_type | m_wafer_hash_max |
|
size_type | m_strip_hash_max |
|
Range::field | m_barrel_field |
|
id_vec | m_wafer_vec |
|
hash_vec | m_prev_phi_wafer_vec |
|
hash_vec | m_next_phi_wafer_vec |
|
hash_vec | m_prev_eta_wafer_vec |
|
hash_vec | m_next_eta_wafer_vec |
|
bool | m_hasRows |
|
IdDictFieldImplementation | m_indet_impl |
|
IdDictFieldImplementation | m_sct_impl |
|
IdDictFieldImplementation | m_bec_impl |
|
IdDictFieldImplementation | m_lay_disk_impl |
|
IdDictFieldImplementation | m_phi_mod_impl |
|
IdDictFieldImplementation | m_eta_mod_impl |
|
IdDictFieldImplementation | m_side_impl |
|
IdDictFieldImplementation | m_row_impl |
|
IdDictFieldImplementation | m_strip_impl |
|
Identifier | strip_id (const ExpandedIdentifier &strip_id) const |
| Create strip Identifier from expanded id, which is returned by the id_iterators. More...
|
|
void | get_expanded_id (const Identifier &id, ExpandedIdentifier &exp_id, const IdContext *context=0) const |
| Create expanded id from compact id (return == 0 for OK) More...
|
|
virtual int | initialize_from_dictionary (const IdDictMgr &dict_mgr) override final |
| Initialization from the identifier dictionary. More...
|
|
void | localMessage (const std::string &msgTxt, const std::string &func, const MSG::Level &lvl) const |
|
void | wafer_id_checks (int barrel_ec, int layer_disk, int phi_module, int eta_module, int side) const |
|
void | strip_id_checks (int barrel_ec, int layer_disk, int phi_module, int eta_module, int side, int strip) const |
|
void | strip_id_checks (int barrel_ec, int layer_disk, int phi_module, int eta_module, int side, int row, int strip) const |
|
int | getMaxField (const Identifier &id, const ExpandedIdIndices &fieldIndx) const |
|
void | strip_id_checks (const ExpandedIdentifier &expId) const |
|
int | initLevelsFromDict (void) |
|
int | init_hashes (void) |
|
int | init_neighbors (void) |
|
IdentifierHash | nextInSequence (const IdentifierHash &id, const hash_vec &vectorOfHashes) const |
|
Identifier | idForCheck (const Identifier &id) const |
|
@class SCT_ID
@brief This is an Identifier helper class for the SCT
subdetector. This class is a factory for creating compact
Identifier objects and IdentifierHash or hash ids. And it also
allows decoding of these ids.
Definition and the range of values for the levels of the
identifier are:
** element range meaning
** ------- ----- -------
**
** barrel_ec 0 barrel
** -2 / 2 neg ec / pos ec
** layer_disk 0 to 3 for barrel
** 0 to 8 for ec
** phi_module 0 to <56 for barrel (depends upon layer)
** 0 to <52 for ec (depends upon wheel)
** eta_module -6 to -1 for neg barrel, along z
** 1 to 6 for pos barrel, along z
** 0 to 2 for ec, along r
** side 0 to 1 inner/outer of pairs of Si crystals
** strip 0 to 767 strip number
**
Definition at line 67 of file SCT_ID.h.
◆ const_expanded_id_iterator
◆ const_id_iterator
◆ hash_vec
◆ hash_vec_it
◆ id_vec
◆ id_vec_it
◆ size_type
◆ ExpandedIdIndices
Enumerator |
---|
INDET | |
SCT | |
BARREL_EC | |
LAYER_DISK | |
PHI | |
ETA | |
SIDE | |
STRIP | |
ROW | |
NUM_INDICES | |
Definition at line 310 of file SCT_ID.h.
◆ 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
◆ SCT_ID()
Definition at line 30 of file SCT_ID.cxx.
32 m_neighboursByEta{invalidHashFunc, invalidHashFunc, invalidHashFunc , invalidHashFunc, invalidHashFunc},
◆ ~SCT_ID()
virtual SCT_ID::~SCT_ID |
( |
void |
| ) |
|
|
virtualdefault |
◆ alfa_exp()
◆ alfa_field_value()
int AtlasDetectorID::alfa_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ barrel_ec()
Values of different levels (failure returns 0)
Definition at line 728 of file SCT_ID.h.
◆ base_bit()
int SCT_ID::base_bit |
( |
void |
| ) |
const |
|
inline |
Return the lowest bit position used in the channel id.
Definition at line 695 of file SCT_ID.h.
◆ bcm_exp()
◆ bcm_field_value()
int AtlasDetectorID::bcm_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ calc_offset()
Calculate a channel offset between the two identifiers.
Definition at line 679 of file SCT_ID.h.
◆ 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.
◆ eta_module()
◆ eta_module_max()
◆ eta_module_min()
◆ 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_expanded_id()
Create expanded id from compact id (return == 0 for OK)
Definition at line 690 of file SCT_ID.cxx.
◆ get_hash()
◆ get_id()
Create compact id from hash id (return == 0 for OK)
Reimplemented from AtlasDetectorID.
Definition at line 666 of file SCT_ID.cxx.
683 localMessage(
"Do not know how to calculate strip id from hash yet!!", __func__, MSG::ERROR );
◆ get_next_in_eta() [1/2]
Next wafer hash in eta (return == 0 for neighbor found)
Next wafer hash in eta.
Definition at line 371 of file SCT_ID.cxx.
◆ get_next_in_eta() [2/2]
Next wafer hash in eta (return == 0 for neighbor found)
Definition at line 425 of file SCT_ID.cxx.
◆ get_next_in_phi() [1/2]
Next wafer hash in phi (return == 0 for neighbor found)
Next wafer hash in phi.
Definition at line 361 of file SCT_ID.cxx.
◆ get_next_in_phi() [2/2]
Next wafer hash in phi (return == 0 for neighbor found)
Definition at line 405 of file SCT_ID.cxx.
◆ get_other_side() [1/2]
Wafer hash on other side.
Definition at line 376 of file SCT_ID.cxx.
381 if (!
get_id(hashId,
id, &wafer_context1)) {
382 return(
side(
id) ? hashId - 1 : hashId + 1);
◆ get_other_side() [2/2]
◆ get_prev_in_eta() [1/2]
Previous wafer hash in eta (return == 0 for neighbor found)
Previous wafer hash in eta.
Definition at line 366 of file SCT_ID.cxx.
◆ get_prev_in_eta() [2/2]
Previous wafer hash in eta (return == 0 for neighbor found)
Definition at line 415 of file SCT_ID.cxx.
◆ get_prev_in_phi() [1/2]
The same, but without reference argument for returning value_type; failure is indicated by returning an invalid identifierHash.
Definition at line 356 of file SCT_ID.cxx.
◆ get_prev_in_phi() [2/2]
Previous wafer hash in phi (return == 0 for neighbor found)
Definition at line 395 of file SCT_ID.cxx.
◆ getMaxField()
Definition at line 126 of file SCT_ID.cxx.
133 for (
unsigned int i = 0;
i != useRange.size(); ++
i) {
135 if (
range.match(expId)) {
139 if (fieldIndx ==
ETA or fieldIndx ==
STRIP){
◆ helper()
|
inlinefinaloverridevirtual |
◆ hgtd()
◆ hgtd_exp()
◆ hgtd_field_value()
int AtlasDetectorID::hgtd_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ idForCheck()
◆ indet()
◆ indet_exp()
◆ indet_field_value()
int AtlasDetectorID::indet_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
Provide efficient access to individual field values, for subclass idhelpers.
Definition at line 611 of file AtlasDetectorID.h.
◆ init_hashes()
int SCT_ID::init_hashes |
( |
void |
| ) |
|
|
private |
Definition at line 308 of file SCT_ID.cxx.
318 unsigned int nids = 0;
319 std::set<Identifier>
ids;
327 if (!(
ids.insert(
id)).second) {
328 const std::string errMsg =
"Error: duplicated id for wafer id. nid " +
std::to_string(nids) +
" compact id " +
id.getString() +
" id " + std::string(exp_id);
342 std::set<Identifier>::const_iterator
first =
ids.begin();
343 std::set<Identifier>::const_iterator last =
ids.end();
◆ init_neighbors()
int SCT_ID::init_neighbors |
( |
void |
| ) |
|
|
private |
Definition at line 458 of file SCT_ID.cxx.
493 if (
get_hash(
id, hash_id, &wcontext)) {
500 unsigned short index = hash_id;
511 if (
get_hash(
id, hash_id, &wcontext)) {
512 const std::string errMsg =
"- unable to get previous phi hash, exp/compact " +
id.getString();
524 if (
get_hash(
id, hash_id, &wcontext)) {
525 const std::string errMsg =
"- unable to get next phi hash, exp/compact " +
id.getString();
537 if (
get_hash(
id, hash_id, &wcontext)) {
538 const std::string errMsg =
"- unable to get previous eta hash, exp/compact " +
id.getString();
550 if (
get_hash(
id, hash_id, &wcontext)) {
551 const std::string errMsg =
"- unable to get next eta hash, exp/compact " +
id.getString();
◆ initialize_from_dictionary()
Initialization from the identifier dictionary.
insert now valid calls to the m_neighboursByEta
Reimplemented from AtlasDetectorID.
Definition at line 214 of file SCT_ID.cxx.
219 localMessage(
"Request to reinitialize not satisfied - tags have not changed", __func__, MSG::INFO);
233 localMessage(
" - cannot access InnerDetector dictionary ",__func__, MSG::ERROR);
245 const std::string errMsg =
"Could not get value for label 'barrel' of field 'barrel_endcap' in dictionary " +
m_dict->
m_name;
251 std::string dbgMsg =
"Set barrel field values: " + std::string(
m_barrel_field);
264 if (atlasDict->
get_label_value(
"subdet",
"InnerDetector", inDetField)) {
265 const std::string errMsg =
"Could not get value for label 'InnerDetector' of field 'subdet' in dictionary " + atlasDict->
m_name;
273 const std::string errMsg=
"Could not get value for label 'SCT' of field 'part' in dictionary " +
m_dict->
m_name;
◆ initLevelsFromDict()
int SCT_ID::initLevelsFromDict |
( |
void |
| ) |
|
|
private |
Definition at line 563 of file SCT_ID.cxx.
565 localMessage(
"- dictionary NOT initialized", __func__, MSG::ERROR);
583 auto findField = [
this](
const std::string &
name,
const size_t indx){
595 if (not findField(
"subdet",
INDET))
return 1;
596 if (not findField(
"part",
SCT))
return 1;
597 if (not findField(
"barrel_endcap",
BARREL_EC))
return 1;
598 if (not findField(
"layer",
LAYER_DISK))
return 1;
599 if (not findField(
"phi_module",
PHI))
return 1;
600 if (not findField(
"eta_module",
ETA))
return 1;
601 if (not findField(
"side",
SIDE))
return 1;
603 if (not findField(
"strip",
STRIP))
return 1;
◆ 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_barrel()
Test for barrel - WARNING: id MUST be sct id, otherwise answer is not accurate. Use SiliconID for generic test.
Definition at line 721 of file SCT_ID.h.
◆ 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_eta_module_max()
◆ is_eta_module_min()
◆ 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_phi_module_max()
◆ 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 |
◆ layer_disk()
◆ layer_disk_max()
Max/Min values for each field (-999 == failure)
Definition at line 151 of file SCT_ID.cxx.
◆ localMessage()
void SCT_ID::localMessage |
( |
const std::string & |
msgTxt, |
|
|
const std::string & |
func, |
|
|
const MSG::Level & |
lvl |
|
) |
| const |
|
private |
Definition at line 740 of file SCT_ID.cxx.
741 const std::array<std::string, MSG::NUM_LEVELS>
prefix={
"",
"VERBOSE ",
"DEBUG ",
"INFO ",
"WARNING ",
"ERROR ",
"FATAL ",
" "};
747 if (lvl >
MSG::DEBUG) std::cout<<
prefix[lvl]<<
"SCT_ID::"<<func<<
" "<<msgTxt<<std::endl;
749 std::cout<<
prefix[lvl]<<
"SCT_ID::"<<func<<
" "<<msgTxt<<std::endl;
◆ 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 |
◆ module_id() [1/3]
For a module from a wafer id.
Definition at line 425 of file SCT_ID.h.
◆ module_id() [2/3]
Identifier SCT_ID::module_id |
( |
int |
barrel_ec, |
|
|
int |
layer_disk, |
|
|
int |
phi_module, |
|
|
int |
eta_module |
|
) |
| const |
|
inline |
For a single crystal.
Definition at line 416 of file SCT_ID.h.
◆ module_id() [3/3]
Identifier SCT_ID::module_id |
( |
int |
barrel_ec, |
|
|
int |
layer_disk, |
|
|
int |
phi_module, |
|
|
int |
eta_module, |
|
|
bool |
checks |
|
) |
| const |
|
inline |
◆ 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 |
◆ neighbour_calls_by_eta()
return functions to give neighbours in order: opposite, eta minus, eta plus, phi minus, phi plus : in case you dont want to create temporary array of IdentifierHashes (to be investigated in context of SP formation)
Definition at line 389 of file SCT_ID.cxx.
◆ neighbours_by_eta()
Definition at line 757 of file SCT_ID.cxx.
758 if (
size_type index = idh; index<m_wafer_hash_max) return std::array<IdentifierHash, 5>{
763 else return invalidHashes;
◆ neighbours_by_phi()
Definition at line 768 of file SCT_ID.cxx.
769 if (
size_type index = idh; index<m_wafer_hash_max) return std::array<IdentifierHash, 5>{
774 else return invalidHashes;
◆ nextInSequence()
Definition at line 769 of file SCT_ID.h.
771 if (
index < vectorOfHashes.size()) {
772 return vectorOfHashes[
index];
◆ phi_module()
◆ phi_module_max()
◆ 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;
696 if (
dict->unpack(compact,
◆ 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 ");
◆ row()
◆ 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;
617 if (
dict->unpack(compact,
629 for (
unsigned int i = 0;
i < expId.
fields(); ++
i) {
632 sprintf (temp,
"%d", expId[
i]);
◆ side()
◆ stgc()
◆ stgc_field_value()
int AtlasDetectorID::stgc_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ strip()
◆ strip_begin()
For strip ids, only expanded id iterators are available.
Use following "strip_id" method to obtain a compact identifier
Definition at line 656 of file SCT_ID.cxx.
◆ strip_context()
IdContext SCT_ID::strip_context |
( |
void |
| ) |
const |
|
inline |
◆ strip_end()
◆ strip_hash_max()
◆ strip_id() [1/7]
Create strip Identifier from expanded id, which is returned by the id_iterators.
Definition at line 597 of file SCT_ID.h.
◆ strip_id() [2/7]
◆ strip_id() [3/7]
◆ strip_id() [4/7]
Identifier SCT_ID::strip_id |
( |
int |
barrel_ec, |
|
|
int |
layer_disk, |
|
|
int |
phi_module, |
|
|
int |
eta_module, |
|
|
int |
side, |
|
|
int |
row, |
|
|
int |
strip |
|
) |
| const |
|
inline |
◆ strip_id() [5/7]
Identifier SCT_ID::strip_id |
( |
int |
barrel_ec, |
|
|
int |
layer_disk, |
|
|
int |
phi_module, |
|
|
int |
eta_module, |
|
|
int |
side, |
|
|
int |
row, |
|
|
int |
strip, |
|
|
bool |
checks |
|
) |
| const |
|
inline |
◆ strip_id() [6/7]
Identifier SCT_ID::strip_id |
( |
int |
barrel_ec, |
|
|
int |
layer_disk, |
|
|
int |
phi_module, |
|
|
int |
eta_module, |
|
|
int |
side, |
|
|
int |
strip |
|
) |
| const |
|
inline |
For an individual strip.
Definition at line 535 of file SCT_ID.h.
◆ strip_id() [7/7]
Identifier SCT_ID::strip_id |
( |
int |
barrel_ec, |
|
|
int |
layer_disk, |
|
|
int |
phi_module, |
|
|
int |
eta_module, |
|
|
int |
side, |
|
|
int |
strip, |
|
|
bool |
check |
|
) |
| const |
|
inline |
◆ strip_id_checks() [1/3]
◆ strip_id_checks() [2/3]
void SCT_ID::strip_id_checks |
( |
int |
barrel_ec, |
|
|
int |
layer_disk, |
|
|
int |
phi_module, |
|
|
int |
eta_module, |
|
|
int |
side, |
|
|
int |
row, |
|
|
int |
strip |
|
) |
| const |
|
private |
◆ strip_id_checks() [3/3]
void SCT_ID::strip_id_checks |
( |
int |
barrel_ec, |
|
|
int |
layer_disk, |
|
|
int |
phi_module, |
|
|
int |
eta_module, |
|
|
int |
side, |
|
|
int |
strip |
|
) |
| const |
|
private |
◆ strip_id_offset()
Create an identifier with a given base and channel offset.
Definition at line 687 of file SCT_ID.h.
◆ strip_max()
◆ 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 |
◆ wafer_begin()
Iterators over full set of ids. Wafer iterator is sorted.
Definition at line 648 of file SCT_ID.cxx.
◆ wafer_context()
IdContext SCT_ID::wafer_context |
( |
void |
| ) |
const |
|
inline |
◆ wafer_end()
◆ wafer_hash()
wafer hash from id - optimized
Definition at line 492 of file SCT_ID.h.
◆ wafer_hash_max()
◆ wafer_id() [1/5]
For a side of module from ExpandedId.
Definition at line 449 of file SCT_ID.cxx.
◆ wafer_id() [2/5]
For a single side of module from a strip id.
Definition at line 475 of file SCT_ID.h.
◆ wafer_id() [3/5]
From hash - optimized.
Definition at line 486 of file SCT_ID.h.
◆ wafer_id() [4/5]
Identifier SCT_ID::wafer_id |
( |
int |
barrel_ec, |
|
|
int |
layer_disk, |
|
|
int |
phi_module, |
|
|
int |
eta_module, |
|
|
int |
side |
|
) |
| const |
|
inline |
For a single side of module.
Definition at line 464 of file SCT_ID.h.
◆ wafer_id() [5/5]
Identifier SCT_ID::wafer_id |
( |
int |
barrel_ec, |
|
|
int |
layer_disk, |
|
|
int |
phi_module, |
|
|
int |
eta_module, |
|
|
int |
side, |
|
|
bool |
checks |
|
) |
| const |
|
inline |
◆ wafer_id_checks()
void SCT_ID::wafer_id_checks |
( |
int |
barrel_ec, |
|
|
int |
layer_disk, |
|
|
int |
phi_module, |
|
|
int |
eta_module, |
|
|
int |
side |
|
) |
| const |
|
private |
◆ 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_barrel_field
◆ m_BCM_ID
int AtlasDetectorID::m_BCM_ID {3} |
|
privateinherited |
◆ m_bec_impl
◆ 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
◆ 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_eta_mod_impl
◆ m_file_names
std::vector<std::string> AtlasDetectorID::m_file_names |
|
protectedinherited |
List of dictionary file names used by this helper.
Definition at line 378 of file AtlasDetectorID.h.
◆ m_full_strip_range
◆ m_full_wafer_range
◆ m_fwd_dict
◆ m_FWD_ID
int AtlasDetectorID::m_FWD_ID {13} |
|
privateinherited |
◆ m_fwd_part_impl
◆ m_hasRows
◆ 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_impl
◆ m_indet_part_impl
◆ m_indices
std::array<size_t, NUM_INDICES> SCT_ID::m_indices {0,1,2,3,4,5,6,7,999} |
|
private |
◆ 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_lay_disk_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_neighboursByEta
◆ m_next_eta_wafer_vec
◆ m_next_phi_wafer_vec
◆ m_nm
std::string AthMessaging::m_nm |
|
privateinherited |
◆ m_phi_mod_impl
◆ m_PIXEL_ID
int AtlasDetectorID::m_PIXEL_ID {1} |
|
privateinherited |
◆ m_prev_eta_wafer_vec
◆ m_prev_phi_wafer_vec
◆ m_quiet
bool AtlasDetectorID::m_quiet {} |
|
protectedinherited |
◆ m_row_impl
◆ m_RPC_ID
int AtlasDetectorID::m_RPC_ID {2} |
|
privateinherited |
◆ m_SCT_ID
int AtlasDetectorID::m_SCT_ID {2} |
|
privateinherited |
◆ m_sct_impl
◆ m_sct_region_index
◆ m_side_impl
◆ m_STGC_ID
int AtlasDetectorID::m_STGC_ID {4} |
|
privateinherited |
◆ m_strip_hash_max
◆ m_strip_impl
◆ 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_wafer_hash_max
◆ m_wafer_vec
◆ 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.
MultiRange m_full_wafer_range
IDENTIFIER_TYPE value_type
IdDictDictionary * m_muon_dict
int indet_field_value() const
Provide efficient access to individual field values, for subclass idhelpers.
int get_next_in_phi(const IdentifierHash &id, IdentifierHash &next) const
Next wafer hash in phi (return == 0 for neighbor found)
bool is_forward(Identifier id) const
MultiRange build_multirange() const
Get MultiRange for full dictionary.
std::vector< unsigned int > m_muon_tech_bits
int base_bit(void) const
Return the lowest bit position used in the channel id.
virtual int initialize_from_dictionary(const IdDictMgr &dict_mgr) override
Initialization from the identifier dictionary.
IdDictFieldImplementation m_indet_part_impl
IdDictFieldImplementation m_eta_mod_impl
hash_vec m_prev_phi_wafer_vec
bool is_lar_fcal(Identifier id) const
int get_prev_in_phi(const IdentifierHash &id, IdentifierHash &prev) const
Previous wafer hash in phi (return == 0 for neighbor found)
identifier_factory factory_begin()
std::string show_to_string(void) const
bool is_lar(Identifier id) const
int muon_field_value() const
identifier_factory factory_end()
size_type cardinalityUpTo(const ExpandedIdentifier &id) const
int calo_field_value() const
IdDictFieldImplementation m_side_impl
size_type m_wafer_hash_max
size_type m_sct_region_index
bool match(element_type value) const
The basic match operation.
int eta_module_max(const Identifier &id) const
void pack(int value, Identifier &id) const
IdDictDictionary * m_tile_dict
hash_vec m_prev_eta_wafer_vec
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.
int barrel_ec(const Identifier &id) const
Values of different levels (failure returns 0)
int phi_module(const Identifier &id) const
int lar_field_value() const
This class provides conversion from CSC RDO data to CSC Digits.
int phi_module_max(const Identifier &id) const
IdDictFieldImplementation m_sct_impl
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...
void get_expanded_id(const Identifier &id, ExpandedIdentifier &exp_id, const IdContext *context=0) const
Create expanded id from compact id (return == 0 for OK)
id_vec::const_iterator id_vec_it
Identifier module_id(int barrel_ec, int layer_disk, int phi_module, int eta_module) const
For a single crystal.
IdDictFieldImplementation m_indet_impl
IMessageSvc * getMessageSvc(bool quiet=false)
IdDictField * find_field(const std::string &name) const
bool is_lvl1_trig_towers(Identifier id) const
std::array< std::function< IdentifierHash(const IdentifierHash &)>, 5 > m_neighboursByEta
virtual int get_id(const IdentifierHash &hash_id, Identifier &id, const IdContext *context=0) const override final
Create compact id from hash id (return == 0 for OK)
bool m_do_neighbours
Flag for subclasses to know whether or not to perform neighbour initialization.
void reset(Identifier &id) const
bool get_next(element_type current, element_type &next) const
hash_vec m_next_eta_wafer_vec
MultiRange m_full_strip_range
IdDictFieldImplementation m_strip_impl
Range::field m_tile_dm_field
Range::field m_barrel_field
IdDictDictionary * find_dictionary(const std::string &name) const
Access dictionary by name.
hash_vec m_next_phi_wafer_vec
int initLevelsFromDict(void)
msgSvc
Provide convenience handles for various services.
IdDictFieldImplementation m_row_impl
IdDictFieldImplementation m_phi_mod_impl
IdDictDictionary * m_calo_dict
bool m_is_initialized_from_dict
IdDictFieldImplementation m_lar_part_impl
ExpandedIdentifier indet_exp(void) const
Detector systems:
int row(const Identifier &id) const
IdDictFieldImplementation m_muon_mdt_impl
IdDictFieldImplementation m_lar_fcal_module_impl
virtual int get_hash(const Identifier &id, IdentifierHash &hash_id, const IdContext *context=0) const override final
Create hash id from compact id (return == 0 for OK)
Identifier::size_type size_type
bool is_tile_dm(Identifier id) const
IdDictFieldImplementation m_lay_disk_impl
std::vector< IdDictRegion * > m_regions
IdDictFieldImplementation m_bec_impl
IdDictDictionary * m_fwd_dict
bool is_tile(Identifier id) const
IdContext wafer_context(void) const
IdentifierHash wafer_hash(const Identifier &wafer_id) const
wafer hash from id - optimized
int get_other_side(const IdentifierHash &id, IdentifierHash &other) const
Wafer hash on other side.
IdentifierHash nextInSequence(const IdentifierHash &id, const hash_vec &vectorOfHashes) const
Range::field m_lvl1_onl_field
bool m_quiet
If true, suppress DEBUG/INFO messages.
element_type get_minimum() const
MsgStream & msg() const
The standard message stream.
bool is_valid() const
Check if id is in a valid state.
IdDictFieldImplementation m_muon_rpc_impl
int sct_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.
bool is_calo(Identifier id) const
int eta_module_min(const Identifier &id) const
int tile_field_value() const
int get_label_value(const std::string &field, const std::string &label, int &value) const
size_type begin_index(void) 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)
const IdDictDictionary * m_dict
std::string to_string(const DetectorType &type)
IdDictDictionary * m_indet_dict
void localMessage(const std::string &msgTxt, const std::string &func, const MSG::Level &lvl) const
IdDictFieldImplementation m_calo_side_impl
bool is_indet(Identifier id) const
int layer_disk(const Identifier &id) const
std::vector< std::string > m_dict_names
List of dictionary names used by this helper.
Range::field m_lar_dm_field
void wafer_id_checks(int barrel_ec, int layer_disk, int phi_module, int eta_module, int side) const
A Range describes the possible ranges for the field values of an ExpandedIdentifier.
ExpandedIdentifier fwd_exp(void) const
IdDictFieldImplementation m_muon_station_name_impl
int get_prev_in_eta(const IdentifierHash &id, IdentifierHash &prev) const
Previous wafer hash in eta (return == 0 for neighbor found)
int get_next_in_eta(const IdentifierHash &id, IdentifierHash &next) const
Next wafer hash in eta (return == 0 for neighbor found)
element_type get_maximum() const
int match(const ExpandedIdentifier &id) const
Match an identifier.
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.
bool get_previous(element_type current, element_type &previous) const
Returns false if previous/next is at end of range, or not possible.
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
ExpandedIdentifier lar_exp(void) const
int getMaxField(const Identifier &id, const ExpandedIdIndices &fieldIndx) const
std::vector< std::string > m_file_names
List of dictionary file names used by this helper.
int strip(const Identifier &id) const
std::string m_nm
Message source name.
int eta_module(const Identifier &id) const
size_type m_strip_hash_max
IdDictDictionary * m_lar_dict
std::array< size_t, NUM_INDICES > m_indices
int side(const Identifier &id) const
bool is_lvl1_online(Identifier id) const
This is the individual specification for the range of one ExpandedIdentifier field.
void initMessaging() const
Initialize our message level and MessageSvc.
size_type cardinality() const
Computes a possible cardinality from all ranges.
Identifier wafer_id(int barrel_ec, int layer_disk, int phi_module, int eta_module, int side) const
For a single side of module.
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.
void strip_id_checks(int barrel_ec, int layer_disk, int phi_module, int eta_module, int side, int strip) const
IDENTIFIER_DIFF_TYPE diff_type
Range::field m_lvl1_field
Identifier strip_id(int barrel_ec, int layer_disk, int phi_module, int eta_module, int side, int strip) const
For an individual strip.