 |
ATLAS Offline Software
|
Helper class for offline TT identifiers.
More...
#include <CaloLVL1_ID.h>
|
class | HashCalc |
| small class holding the starting hash value, the min eta and the number of phi bins of each region More...
|
|
|
typedef Identifier::size_type | size_type |
|
typedef std::vector< Identifier >::const_iterator | id_iterator |
| Type for iterators over identifiers. More...
|
|
typedef boost::iterator_range< id_iterator > | id_range |
| 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...
|
|
|
| CaloLVL1_ID (void) |
|
virtual | ~CaloLVL1_ID () |
|
Identifier | tower_id (int pos_neg_z, int sampling, int region, int eta, int phi) const |
| build a tower identifier More...
|
|
Identifier | tower_id (int pos_neg_z, int sampling, int region, int eta, int phi, bool checks) const |
|
Identifier | tower_id (const Identifier regionId, int eta, int phi) const |
| build a tower identifier More...
|
|
Identifier | tower_id (const Identifier regionId, int eta, int phi, bool checks) const |
|
Identifier | tower_id (const Identifier layerId) const |
| build a tower identifier More...
|
|
Identifier | region_id (int pos_neg_z, int sampling, int region) const |
| build a region (of towers) identifier More...
|
|
Identifier | region_id (int pos_neg_z, int sampling, int region, bool checks) const |
|
Identifier | region_id (const Identifier tower_or_layerId) const |
| build a region (of towers) identifier More...
|
|
Identifier | layer_id (int pos_neg_z, int sampling, int region, int eta, int phi, int layer) const |
| build a layer identifier More...
|
|
Identifier | layer_id (int pos_neg_z, int sampling, int region, int eta, int phi, int layer, bool checks) const |
|
Identifier | layer_id (const Identifier towerId, int layer) const |
| build a layer identifier More...
|
|
Identifier | layer_id (const Identifier towerId, int layer, bool checks) const |
|
IdContext | region_context (void) const |
| access to IdContext's which define which levels of fields are contained in the id More...
|
|
IdContext | tower_context (void) const |
| access to IdContext's which define which levels of fields are contained in the id More...
|
|
IdContext | layer_context (void) const |
| access to IdContext's which define which levels of fields are contained in the id More...
|
|
virtual int | get_id (const IdentifierHash &hash_id, Identifier &id, const IdContext *context=0) const |
| 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 |
| create hash id from compact id (return == 0 for OK) More...
|
|
Identifier | region_id (IdentifierHash region_hash_id) const |
| create region id from hash id More...
|
|
Identifier | tower_id (IdentifierHash tower_hash_id) const |
| create tower id from hash id More...
|
|
IdentifierHash | tower_hash (Identifier towerId) const |
| create hash id from tower id More...
|
|
IdentifierHash | tower_hash_binary_search (Identifier towerId) const |
| create hash id from tower id – method NOT optimised, please use tower_hash() above More...
|
|
virtual int | initialize_from_dictionary (const IdDictMgr &dict_mgr) |
| initialization from the identifier dictionary More...
|
|
size_type | tower_hash_max (void) const |
| tower hash table max size More...
|
|
size_type | layer_hash_max (void) const |
| layer hash table max size More...
|
|
size_type | region_hash_max (void) const |
| region hash table max size More...
|
|
id_iterator | region_begin () const |
| begin iterator over regions More...
|
|
id_iterator | region_end () const |
| end iterator over regions More...
|
|
id_range | region_range () const |
| range over regions More...
|
|
id_iterator | tower_begin () const |
| begin iterator over towers More...
|
|
id_iterator | tower_end () const |
| end iterator over towers More...
|
|
id_range | tower_range () const |
| range over towers More...
|
|
id_iterator | layer_begin () const |
| begin iterators over layers More...
|
|
id_iterator | layer_end () const |
| end iterators over layers More...
|
|
id_range | layer_range () const |
| range over layers More...
|
|
bool | is_tile (const Identifier id) const |
| Test wether given tower or layer is part of the Tile Calorimeter. More...
|
|
bool | is_emb (const Identifier id) const |
| Test wether given tower or layer is part of the EM barrel. More...
|
|
bool | is_barrel_end (const Identifier id) const |
| Test wether given tower or layer is part of the EM barrel END. More...
|
|
bool | is_emec (const Identifier id) const |
| Test wether given tower or layer is part of the EM end-cap. More...
|
|
bool | is_hec (const Identifier id) const |
| Test wether given tower or layer is part of the HEC. More...
|
|
bool | is_fcal (const Identifier id) const |
| Test wether given tower or layer is part of the FCAL. More...
|
|
int | pos_neg_z (const Identifier id) const |
| return pos_neg_z according to :
More...
|
|
int | sampling (const Identifier id) const |
| return sampling according to :
More...
|
|
int | region (const Identifier id) const |
| return region according to :
More...
|
|
int | eta (const Identifier id) const |
| return eta according to :
More...
|
|
int | phi (const Identifier id) const |
| return phi according to :
More...
|
|
int | layer (const Identifier id) const |
| return layer according to :
More...
|
|
int | eta_min (const Identifier regId) const |
| min value of eta index (-999 == failure) More...
|
|
int | eta_max (const Identifier regId) const |
| max value of eta index (-999 == failure) More...
|
|
int | phi_max (const Identifier regId) const |
| min value of phi index (-999 == failure) More...
|
|
int | layer_max (const Identifier regId) const |
| max value of phi index (-999 == failure) More...
|
|
int | get_prev_in_phi (const IdentifierHash &id, IdentifierHash &prev) const |
| access to hashes for neighbours in phi – towers only (no extended) return == 0 for neighbours found
More...
|
|
int | get_next_in_phi (const IdentifierHash &id, IdentifierHash &next) const |
| access to hashes for neighbours in phi – towers only (no extended) return == 0 for neighbours found
More...
|
|
int | get_prev_in_eta (const IdentifierHash &id, IdentifierHash &prev) const |
| access to hashes for neighbours in eta – towers only (no extended) return == 0 for neighbours found
More...
|
|
int | get_next_in_eta (const IdentifierHash &id, IdentifierHash &next) const |
| access to hashes for neighbours in eta – towers only (no extended) return == 0 for neighbours found
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...
|
|
|
int | get_expanded_id (const Identifier &id, ExpandedIdentifier &exp_id, const IdContext *context) const |
| create expanded Identifier from Identifier (return == 0 for OK) More...
|
|
void | tower_id_checks (int pos_neg_z, int sampling, int region, int eta, int phi) const |
|
void | tower_id_checks (const Identifier regionId, int eta, int phi) const |
|
void | region_id_checks (int pos_neg_z, int sampling, int region) const |
|
void | layer_id_checks (int pos_neg_z, int sampling, int region, int eta, int phi, int layer) const |
|
void | layer_id_checks (const Identifier towerId, int layer) const |
|
int | initLevelsFromDict (void) |
|
int | init_hashes (void) |
|
int | init_neighbors (void) |
|
void | initMessaging () const |
| Initialize our message level and MessageSvc. More...
|
|
Helper class for offline TT identifiers.
This class provides an interface to decode and generate offline identifiers for the Calorimeter Trigger Towers.
Definition and range of values for the elements of the identifier are (ATL-SOFT-2001-004):
element range meaning
DETZSIDE +/-1 positive/negative
LVL1sampling 0 EM
" 1 Hadronic
region [0,3] 4 regions of different eta/phi granularity
eta [0,24] region 0(|eta|<2.5), granularity = 0.1
" [0,2] region 1(2.5<|eta|<3.1), granularity = 0.2
" 0 region 2(3.1<|eta|<3.2), granularity = 0.1
" [0,3] region 3(3.2<|eta|<4.9), granularity = 0.4
phi [0,63] region 0(|eta|<2.5), granularity = 0.1
" [0,31] region 1(2.5<|eta|<3.1), granularity = 0.2
" [0,31] region 2(3.1<|eta|<3.2), granularity = 0.2
" [0,15] region 3(3.2<|eta|<4.9), granularity = 0.4
Added May 2003 : 'extended' identifiers include 'layer' information :
element range meaning
layer [0,3] 0==PS 1==Front 2==Middle 3==Back in regions 0-2
[0,1] 0== FCAL2, 1== FCAL3 in region 3
- Author
- F Ledroit
Definition at line 65 of file CaloLVL1_ID.h.
◆ id_iterator
Type for iterators over identifiers.
Definition at line 152 of file CaloLVL1_ID.h.
◆ 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 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
◆ CaloLVL1_ID()
CaloLVL1_ID::CaloLVL1_ID |
( |
void |
| ) |
|
◆ ~CaloLVL1_ID()
CaloLVL1_ID::~CaloLVL1_ID |
( |
| ) |
|
|
virtualdefault |
◆ alfa_exp()
◆ alfa_field_value()
int AtlasDetectorID::alfa_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ bcm_exp()
◆ bcm_field_value()
int AtlasDetectorID::bcm_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ calo()
◆ calo_exp()
◆ calo_field_value()
int AtlasDetectorID::calo_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ csc()
◆ csc_field_value()
int AtlasDetectorID::csc_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ detsystem_context()
IdContext AtlasDetectorID::detsystem_context |
( |
void |
| ) |
const |
|
inherited |
◆ dict_names()
const std::vector< std::string > & AtlasDetectorID::dict_names |
( |
void |
| ) |
const |
|
inherited |
◆ dict_tags()
const std::vector< std::string > & AtlasDetectorID::dict_tags |
( |
void |
| ) |
const |
|
inherited |
◆ 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 457 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 464 of file AtlasDetectorID.cxx.
◆ eta()
return eta according to :
element range meaning
eta [0,24] region 0(|eta|<2.5), granularity = 0.1
" [0,2] region 1(2.5<|eta|<3.1), granularity = 0.2
" 0 region 2(3.1<|eta|<3.2), granularity = 0.1
" [0,3] region 3(3.2<|eta|<4.9), granularity = 0.4
failure returns 0
Definition at line 653 of file CaloLVL1_ID.h.
◆ eta_max()
max value of eta index (-999 == failure)
- Warning
- input = REGION ID !!
Definition at line 474 of file CaloLVL1_ID.cxx.
482 if (
range.match(expId)) {
484 if (not eta_field.
empty()) {
◆ eta_min()
min value of eta index (-999 == failure)
- Warning
- input = REGION ID !!
Definition at line 448 of file CaloLVL1_ID.cxx.
456 if (
range.match(expId)) {
458 if (not eta_field.
empty()) {
◆ file_names()
const std::vector< std::string > & AtlasDetectorID::file_names |
( |
void |
| ) |
const |
|
inherited |
◆ fix_barrel_ec()
std::string AtlasDetectorID::fix_barrel_ec |
( |
const std::string & |
barrel_ec | ) |
const |
|
protectedinherited |
◆ forward_field_value()
int AtlasDetectorID::forward_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ fwd_exp()
◆ get_expanded_id()
◆ get_hash()
create hash id from compact id (return == 0 for OK)
Reimplemented from AtlasDetectorID.
Definition at line 144 of file CaloLVL1_ID.cxx.
181 std::string errorMessage =
182 "Error in CaloLVL1_ID::get_hash, invalid context ";
◆ get_id()
create compact id from hash id (return == 0 for OK)
Reimplemented from AtlasDetectorID.
Definition at line 69 of file CaloLVL1_ID.cxx.
72 std::stringstream strm;
91 strg =
" hash_id out of range "+strm.str();
98 std::cout << strg << std::endl;
110 strg =
" hash_id out of range "+strm.str();
117 std::cout << strg << std::endl;
129 strg =
" hash_id out of range "+strm.str();
136 std::cout << strg << std::endl;
◆ get_next_in_eta()
access to hashes for neighbours in eta – towers only (no extended) return == 0 for neighbours found
Definition at line 574 of file CaloLVL1_ID.cxx.
◆ get_next_in_phi()
access to hashes for neighbours in phi – towers only (no extended) return == 0 for neighbours found
Definition at line 550 of file CaloLVL1_ID.cxx.
◆ get_prev_in_eta()
access to hashes for neighbours in eta – towers only (no extended) return == 0 for neighbours found
Definition at line 562 of file CaloLVL1_ID.cxx.
◆ get_prev_in_phi()
access to hashes for neighbours in phi – towers only (no extended) return == 0 for neighbours found
Definition at line 538 of file CaloLVL1_ID.cxx.
◆ helper()
virtual HelperType AtlasDetectorID::helper |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ hgtd()
◆ hgtd_exp()
◆ hgtd_field_value()
int AtlasDetectorID::hgtd_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ indet()
◆ indet_exp()
◆ indet_field_value()
int AtlasDetectorID::indet_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
Provide efficient access to individual field values, for subclass idhelpers.
Definition at line 611 of file AtlasDetectorID.h.
◆ init_hashes()
int CaloLVL1_ID::init_hashes |
( |
void |
| ) |
|
|
private |
Definition at line 939 of file CaloLVL1_ID.cxx.
942 std::stringstream strm;
943 std::stringstream strm1;
944 std::stringstream strm2;
951 unsigned int nids = 0;
952 std::set<Identifier>
ids;
956 auto first = rit.begin();
957 auto last = rit.end();
965 if(!(
ids.insert(tow_id)).second)
969 log << MSG::ERROR <<
" init_hashes "
970 <<
" duplicated id for TT id. nids= " << nids
971 <<
" compact Id " <<
endmsg;
975 std::cout <<
" CaloLVL1_ID::init_hashes "
976 <<
" Error: duplicated id for TT id. nids= " << nids
989 log << MSG::ERROR <<
" init_hashes "
990 <<
" set size NOT EQUAL to hash max. size " <<
ids.size()
996 std::cout <<
" CaloLVL1_ID::init_hashes "
997 <<
" Error: set size NOT EQUAL to hash max. size " <<
ids.size()
1005 std::set<Identifier>::const_iterator
first =
ids.begin();
1006 std::set<Identifier>::const_iterator last =
ids.end();
1021 auto first = rit.begin();
1022 auto last = rit.end();
1032 if(!(
ids.insert(lay_id)).second)
1036 log << MSG::ERROR <<
" init_hashes "
1037 <<
" duplicated id for extended TT id. nids= " << nids
1042 std::cout <<
" CaloLVL1_ID::init_hashes "
1043 <<
" Error: duplicated id for extended TT id. nids= " << nids
1056 log << MSG::ERROR <<
" init_hashes "
1057 <<
" set size NOT EQUAL to hash max. size " <<
ids.size()
1063 std::cout <<
" CaloLVL1_ID::init_hashes "
1064 <<
" Error: set size NOT EQUAL to hash max. size " <<
ids.size()
1088 auto first = rit.begin();
1089 auto last = rit.end();
1095 if(!(
ids.insert(reg_id)).second)
1099 log << MSG::ERROR <<
" LArEM_ID::init_hashes "
1100 <<
" duplicated id for region id. nids= " << nids
1101 <<
" compact Id " <<
endmsg;
1105 std::cout <<
" LArEM_ID::init_hashes "
1106 <<
" Error: duplicated id for region id. nids= " << nids
1110 std::cout << std::endl;
1120 log << MSG::ERROR <<
" LArEM_ID::init_hashes "
1121 <<
" set size NOT EQUAL to region hash max. size " <<
ids.size()
1127 std::cout <<
" LArEM_ID::init_hashes "
1128 <<
" Error: set size NOT EQUAL to region hash max. size " <<
ids.size()
◆ init_neighbors()
int CaloLVL1_ID::init_neighbors |
( |
void |
| ) |
|
|
private |
Definition at line 1147 of file CaloLVL1_ID.cxx.
1162 auto first = rit.begin();
1163 auto last = rit.end();
1187 if (
get_hash(
id, hash_id,&tcontext))
1191 log << MSG::ERROR <<
" init_neighbors - unable to get hash, compact = " <<
endmsg;
1195 std::cout <<
" CaloLVL1_ID::init_neighbors - unable to get hash, compact = ";
1197 std::cout << std::endl;
1203 unsigned short index = hash_id;
1215 if (
get_hash(
id, hash_id,&tcontext))
1219 log << MSG::ERROR <<
" init_neighbors - unable to get previous phi hash, exp/compact " <<
endmsg;
1223 std::cout <<
" CaloLVL1_ID::init_neighbors - unable to get previous phi hash, exp/compact ";
1239 if (
get_hash(
id, hash_id,&tcontext))
1243 log << MSG::ERROR <<
" init_neighbors - unable to get next phi hash, exp/compact "<<
endmsg;
1247 std::cout <<
" CaloLVL1_ID::init_neighbors - unable to get next phi hash, exp/compact ";
1262 if (
get_hash(
id, hash_id,&tcontext))
1266 log << MSG::ERROR <<
" init_neighbors - unable to get previous eta hash, exp/compact "<<
endmsg;
1270 std::cout <<
" CaloLVL1_ID::init_neighbors - unable to get previous eta hash, exp/compact ";
1286 if (
get_hash(
id, hash_id,&tcontext))
1290 log << MSG::ERROR <<
" init_neighbors - unable to get next eta hash, exp/compact ";
1294 std::cout <<
" CaloLVL1_ID::init_neighbors - unable to get next eta hash, exp/compact ";
◆ initialize_from_dictionary()
int CaloLVL1_ID::initialize_from_dictionary |
( |
const IdDictMgr & |
dict_mgr | ) |
|
|
virtual |
initialization from the identifier dictionary
Reimplemented from AtlasDetectorID.
Definition at line 193 of file CaloLVL1_ID.cxx.
196 std::string strg =
"initialize_from_dictionary";
201 std::cout << strg << std::endl;
213 std::stringstream strm;
214 std::stringstream strm1;
215 std::stringstream strm2;
228 strg=
" initialize_from_dict - cannot access LVL1Calorimeter dictionary ";
234 std::cout << strg << std::endl;
248 strg=
"Could not get value for label 'Calorimeter' of field 'subdet' in dictionary "+strm.str();
255 std::cout << strg << std::endl;
260 int lvl1CaloValue = -1;
268 strg =
" Could not get value for label 'positive_lvl1_side' of field 'DetZside in dictionary"+strm.str();
275 std::cout << strg << std::endl;
286 reg_id.
add(caloValue);
287 reg_id.
add(lvl1CaloValue);
301 strg =
" CaloLVL1_ID::initialize_from_dict : ";
302 strg1 =
" tower range -> "+strm1.str();
303 strg2 =
" layer range -> "+strm2.str();
312 std::cout << strg << std::endl;
313 std::cout << strg1 << std::endl;
314 std::cout << strg2 << std::endl;
348 int size = (1 << bits);
376 hc.m_hash = min_hash;
386 strg =
"Min > "+strm.str();
387 strg1=
" "+strm1.str();
388 strg2=
" "+strm2.str();
397 std::cout << strg << std::endl;
398 std::cout << strg1 << std::endl;
399 std::cout << strg2 << std::endl;
417 strg =
" ***** Error tower ranges, id, hash, i = "+strm.str();
418 strg1=
" , "+strm1.str();
419 strg2=
" , "+strm2.str();
428 std::cout << strg << std::endl;
429 std::cout << strg1 << std::endl;
430 std::cout << strg2 << std::endl;
◆ initLevelsFromDict()
int CaloLVL1_ID::initLevelsFromDict |
( |
void |
| ) |
|
|
private |
Definition at line 693 of file CaloLVL1_ID.cxx.
696 std::stringstream strm;
697 std::stringstream strm1;
698 std::stringstream strm2;
699 std::stringstream strm3;
700 std::stringstream strm4;
701 std::stringstream strm5;
702 std::stringstream strm6;
703 std::stringstream strm7;
714 strg=
"initLevelsFromDict - dictionary NOT initialized ";
720 std::cout << strg << std::endl;
743 strg =
"initLevelsFromDict - unable to find lvl1 region ";
749 std::cout << strg << std::endl;
761 strg=
"initLevelsFromDict - unable to find 'subdet' field ";
768 std::cout << strg << std::endl;
779 strg=
"initLevelsFromDict - unable to find 'DetZside' field ";
786 std::cout << strg << std::endl;
797 strg=
"initLevelsFromDict - unable to find 'LVL1sampling' field ";
803 std::cout << strg << std::endl;
815 strg=
"initLevelsFromDict - unable to find 'region' field ";
822 std::cout << strg << std::endl;
835 strg=
"initLevelsFromDict - unable to find 'eta' field ";
842 std::cout << strg << std::endl;
854 strg=
"initLevelsFromDict - unable to find 'phi' field ";
861 std::cout << strg << std::endl;
872 strg=
"initLevelsFromDict - unable to find 'layer' field ";
878 std::cout << strg << std::endl;
903 strg =
"decode index and bit fields for each level: ";
904 strg1=
"calo "+strm1.str();
905 strg2=
"detzside "+strm2.str();
906 strg3=
"samp "+strm3.str();
907 strg4=
"reg "+strm4.str();
908 strg5=
"eta "+strm5.str();
909 strg6=
"phi "+strm6.str();
910 strg7=
"layer "+strm7.str();
924 std::cout << strg << std::endl;
925 std::cout << strg1 << std::endl;
926 std::cout << strg2 << std::endl;
927 std::cout << strg3 << std::endl;
928 std::cout << strg4 << std::endl;
929 std::cout << strg5 << std::endl;
930 std::cout << strg6 << std::endl;
931 std::cout << strg7 << 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_barrel_end()
Test wether given tower or layer is part of the EM barrel END.
- Warning
- does NOT take as input a REGION identifier
Definition at line 690 of file CaloLVL1_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_emb()
Test wether given tower or layer is part of the EM barrel.
- Warning
- does NOT take as input a REGION identifier
-
excluding 'barrel end'!
Definition at line 684 of file CaloLVL1_ID.h.
◆ is_emec()
Test wether given tower or layer is part of the EM end-cap.
- Warning
- does NOT take as input a REGION identifier
Definition at line 696 of file CaloLVL1_ID.h.
◆ is_fcal()
Test wether given tower or layer is part of the FCAL.
- Warning
- does NOT take as input a REGION identifier
Definition at line 710 of file CaloLVL1_ID.h.
◆ is_forward()
bool AtlasDetectorID::is_forward |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_hec()
Test wether given tower or layer is part of the HEC.
- Warning
- does NOT take as input a REGION identifier
Definition at line 703 of file CaloLVL1_ID.h.
◆ is_hgtd() [1/2]
◆ is_hgtd() [2/2]
bool AtlasDetectorID::is_hgtd |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_indet() [1/2]
◆ is_indet() [2/2]
bool AtlasDetectorID::is_indet |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_lar() [1/2]
◆ is_lar() [2/2]
bool AtlasDetectorID::is_lar |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_lar_dm()
bool AtlasDetectorID::is_lar_dm |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_lar_em() [1/2]
◆ is_lar_em() [2/2]
bool AtlasDetectorID::is_lar_em |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_lar_fcal() [1/2]
◆ is_lar_fcal() [2/2]
bool AtlasDetectorID::is_lar_fcal |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_lar_hec() [1/2]
◆ is_lar_hec() [2/2]
bool AtlasDetectorID::is_lar_hec |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_lar_minifcal() [1/2]
◆ is_lar_minifcal() [2/2]
bool AtlasDetectorID::is_lar_minifcal |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_lucid()
bool AtlasDetectorID::is_lucid |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_lumi() [1/2]
◆ is_lumi() [2/2]
bool AtlasDetectorID::is_lumi |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_lvl1_online()
bool AtlasDetectorID::is_lvl1_online |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_lvl1_trig_towers()
bool AtlasDetectorID::is_lvl1_trig_towers |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_mdt() [1/2]
◆ is_mdt() [2/2]
bool AtlasDetectorID::is_mdt |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_mm() [1/2]
◆ is_mm() [2/2]
bool AtlasDetectorID::is_mm |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_muon() [1/2]
◆ is_muon() [2/2]
bool AtlasDetectorID::is_muon |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_pixel() [1/2]
◆ is_pixel() [2/2]
bool AtlasDetectorID::is_pixel |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_plr() [1/2]
◆ is_plr() [2/2]
bool AtlasDetectorID::is_plr |
( |
Identifier |
id | ) |
const |
|
inherited |
◆ is_rpc() [1/2]
◆ is_rpc() [2/2]
bool AtlasDetectorID::is_rpc |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_sct() [1/2]
◆ is_sct() [2/2]
bool AtlasDetectorID::is_sct |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_stgc() [1/2]
◆ is_stgc() [2/2]
bool AtlasDetectorID::is_stgc |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_tgc() [1/2]
◆ is_tgc() [2/2]
bool AtlasDetectorID::is_tgc |
( |
Identifier |
id | ) |
const |
|
inlineinherited |
◆ is_tile() [1/2]
◆ is_tile() [2/2]
◆ 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()
return layer according to :
element range meaning
layer [0,3] region 0, 1, 2 (|eta|<3.2) : 4 em samplings or 4 had samplings
" [0,1] region 3 (3.2<|eta|<4.9) : 1 em sampling or 2 had samplings
failure returns 0
Definition at line 665 of file CaloLVL1_ID.h.
◆ layer_begin()
◆ layer_context()
IdContext CaloLVL1_ID::layer_context |
( |
void |
| ) |
const |
access to IdContext's which define which levels of fields are contained in the id
id for towers with layers ("extended" id)
Definition at line 61 of file CaloLVL1_ID.cxx.
◆ layer_end()
◆ layer_hash_max()
◆ layer_id() [1/4]
◆ layer_id() [2/4]
◆ layer_id() [3/4]
Identifier CaloLVL1_ID::layer_id |
( |
int |
pos_neg_z, |
|
|
int |
sampling, |
|
|
int |
region, |
|
|
int |
eta, |
|
|
int |
phi, |
|
|
int |
layer |
|
) |
| const |
|
inline |
◆ layer_id() [4/4]
Identifier CaloLVL1_ID::layer_id |
( |
int |
pos_neg_z, |
|
|
int |
sampling, |
|
|
int |
region, |
|
|
int |
eta, |
|
|
int |
phi, |
|
|
int |
layer, |
|
|
bool |
checks |
|
) |
| const |
|
inline |
◆ layer_id_checks() [1/2]
void CaloLVL1_ID::layer_id_checks |
( |
const Identifier |
towerId, |
|
|
int |
layer |
|
) |
| const |
|
private |
Definition at line 670 of file CaloLVL1_ID.cxx.
678 std::string errorMessage =
"CaloLVL1_ID::layer_id(towerId, layer) result is not OK: ID= "
686 std::string errorMessage =
"CaloLVL1_ID::layer_id(towerId) result is not OK: ID, range = "
◆ layer_id_checks() [2/2]
void CaloLVL1_ID::layer_id_checks |
( |
int |
pos_neg_z, |
|
|
int |
sampling, |
|
|
int |
region, |
|
|
int |
eta, |
|
|
int |
phi, |
|
|
int |
layer |
|
) |
| const |
|
private |
Definition at line 656 of file CaloLVL1_ID.cxx.
664 std::string errorMessage =
"CaloLVL1_ID::layer_id(field values) result is not OK: ID, range = "
◆ layer_max()
max value of phi index (-999 == failure)
- Warning
- input = REGION ID !!
Definition at line 516 of file CaloLVL1_ID.cxx.
524 if (
range.match(expId)) {
526 if (not lay_field.
empty()) {
◆ layer_range()
◆ lucid_exp()
◆ lucid_field_value()
int AtlasDetectorID::lucid_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ lumi()
◆ lumi_exp()
◆ lumi_field_value()
int AtlasDetectorID::lumi_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ mdt()
◆ mdt_field_value()
int AtlasDetectorID::mdt_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ mm()
◆ mm_field_value()
int AtlasDetectorID::mm_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ msg() [1/2]
MsgStream & AthMessaging::msg |
( |
| ) |
const |
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 164 of file AthMessaging.h.
◆ msg() [2/2]
MsgStream & AthMessaging::msg |
( |
const MSG::Level |
lvl | ) |
const |
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 179 of file AthMessaging.h.
180 {
return msg() << lvl; }
◆ msgLvl()
bool AthMessaging::msgLvl |
( |
const MSG::Level |
lvl | ) |
const |
|
inlineinherited |
Test the output level.
- Parameters
-
lvl | The message level to test against |
- Returns
- boolean Indicating if messages at given level will be printed
- Return values
-
true | Messages at level "lvl" will be printed |
Definition at line 151 of file AthMessaging.h.
◆ muon()
◆ muon_exp()
◆ muon_field_value()
int AtlasDetectorID::muon_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ phi()
return phi according to :
element range meaning
phi [0,63] region 0(|eta|<2.5), granularity = 0.1
" [0,31] region 1(2.5<|eta|<3.1), granularity = 0.2
" [0,31] region 2(3.1<|eta|<3.2), granularity = 0.2
" [0,15] region 3(3.2<|eta|<4.9), granularity = 0.4
failure returns 0
Definition at line 659 of file CaloLVL1_ID.h.
◆ phi_max()
min value of phi index (-999 == failure)
- Warning
- input = REGION ID !!
Definition at line 495 of file CaloLVL1_ID.cxx.
503 if (
range.match(expId)) {
505 if (not phi_field.
empty()) {
◆ pixel()
◆ pixel_exp()
◆ pixel_field_value()
int AtlasDetectorID::pixel_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ plr_field_value()
int AtlasDetectorID::plr_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ pos_neg_z()
return pos_neg_z according to :
element range meaning
------- ----- -------
DETZSIDE +/-1 positive/negative
failure returns 0
Definition at line 635 of file CaloLVL1_ID.h.
◆ print()
◆ print_to_string()
or provide the printout in string form
Definition at line 408 of file AtlasDetectorID.cxx.
415 unsigned int max_index = (context) ? context->
end_index() : 999;
439 ATH_MSG_WARNING(__func__<<
":"<<__LINE__<<
" No dictionary could be associated to "<<
id);
442 if (dict->unpack(compact,
prefix, max_index,
" ",
result)) {
◆ region()
return region according to :
element range meaning
------- ----- -------
region [0,3] 4 regions of different eta/phi granularity
failure returns 0
Definition at line 647 of file CaloLVL1_ID.h.
◆ region_begin()
◆ region_context()
IdContext CaloLVL1_ID::region_context |
( |
void |
| ) |
const |
access to IdContext's which define which levels of fields are contained in the id
id for towers ("reduced" id)
Definition at line 47 of file CaloLVL1_ID.cxx.
◆ region_end()
◆ region_hash_max()
◆ region_id() [1/4]
build a region (of towers) identifier
Definition at line 464 of file CaloLVL1_ID.h.
◆ region_id() [2/4]
◆ region_id() [3/4]
Identifier CaloLVL1_ID::region_id |
( |
int |
pos_neg_z, |
|
|
int |
sampling, |
|
|
int |
region |
|
) |
| const |
|
inline |
build a region (of towers) identifier
Definition at line 502 of file CaloLVL1_ID.h.
◆ region_id() [4/4]
Identifier CaloLVL1_ID::region_id |
( |
int |
pos_neg_z, |
|
|
int |
sampling, |
|
|
int |
region, |
|
|
bool |
checks |
|
) |
| const |
|
inline |
◆ region_id_checks()
void CaloLVL1_ID::region_id_checks |
( |
int |
pos_neg_z, |
|
|
int |
sampling, |
|
|
int |
region |
|
) |
| const |
|
private |
Definition at line 643 of file CaloLVL1_ID.cxx.
650 std::string errorMessage =
"CaloLVL1_ID::region_id() result is not OK: ID, range = "
◆ region_range()
◆ 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 206 of file AtlasDetectorID.cxx.
217 ATH_MSG_ERROR(
"reinitialize: dict names and tags vectors not the same length ");
◆ rpc()
◆ rpc_field_value()
int AtlasDetectorID::rpc_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ sampling()
return sampling according to :
element range meaning
LVL1sampling 0 EM
" 1 Hadronic
failure returns 0
Definition at line 641 of file CaloLVL1_ID.h.
◆ sct()
◆ sct_exp()
◆ sct_field_value()
int AtlasDetectorID::sct_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ set_do_checks()
void AtlasDetectorID::set_do_checks |
( |
bool |
do_checks | ) |
|
|
overridevirtualinherited |
◆ set_do_neighbours()
void AtlasDetectorID::set_do_neighbours |
( |
bool |
do_neighbours | ) |
|
|
overridevirtualinherited |
◆ set_quiet()
void AtlasDetectorID::set_quiet |
( |
bool |
quiet | ) |
|
|
inherited |
◆ setDictVersion()
|
overrideprotectedvirtualinherited |
◆ setLevel()
void AthMessaging::setLevel |
( |
MSG::Level |
lvl | ) |
|
|
inherited |
◆ setMessageSvc()
void AtlasDetectorID::setMessageSvc |
( |
IMessageSvc * |
msgSvc | ) |
|
|
overridevirtualinherited |
◆ show()
Short print out of any identifier (optionally provide separation character - default is '.
'):
Definition at line 344 of file AtlasDetectorID.cxx.
◆ show_to_string()
or provide the printout in string form
Definition at line 350 of file AtlasDetectorID.cxx.
353 std::string
result(
"Unable to decode id");
354 unsigned int max_index = (context) ? context->
end_index() : 999;
384 if (dict->unpack(compact,
prefix, max_index, expId)) {
392 for (
unsigned int i = 0;
i < expId.fields(); ++
i) {
◆ stgc()
◆ stgc_field_value()
int AtlasDetectorID::stgc_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ subdet_context()
IdContext AtlasDetectorID::subdet_context |
( |
void |
| ) |
const |
|
inherited |
◆ tgc()
◆ tgc_field_value()
int AtlasDetectorID::tgc_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ tile()
◆ tile_dm()
Identifier AtlasDetectorID::tile_dm |
( |
void |
| ) |
const |
|
inherited |
◆ tile_exp()
◆ tile_field_value()
int AtlasDetectorID::tile_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ to_range()
◆ tower_begin()
◆ tower_context()
IdContext CaloLVL1_ID::tower_context |
( |
void |
| ) |
const |
access to IdContext's which define which levels of fields are contained in the id
id for towers ("normal" id)
Definition at line 54 of file CaloLVL1_ID.cxx.
◆ tower_end()
◆ tower_hash()
create hash id from tower id
Definition at line 728 of file CaloLVL1_ID.h.
731 return (hc.m_hash + (
eta(towerId)-hc.m_etamin)*hc.m_nphi +
phi(towerId));
◆ tower_hash_binary_search()
◆ tower_hash_max()
◆ tower_id() [1/6]
◆ tower_id() [2/6]
◆ tower_id() [3/6]
◆ tower_id() [4/6]
◆ tower_id() [5/6]
Identifier CaloLVL1_ID::tower_id |
( |
int |
pos_neg_z, |
|
|
int |
sampling, |
|
|
int |
region, |
|
|
int |
eta, |
|
|
int |
phi |
|
) |
| const |
|
inline |
◆ tower_id() [6/6]
Identifier CaloLVL1_ID::tower_id |
( |
int |
pos_neg_z, |
|
|
int |
sampling, |
|
|
int |
region, |
|
|
int |
eta, |
|
|
int |
phi, |
|
|
bool |
checks |
|
) |
| const |
|
inline |
◆ tower_id_checks() [1/2]
void CaloLVL1_ID::tower_id_checks |
( |
const Identifier |
regionId, |
|
|
int |
eta, |
|
|
int |
phi |
|
) |
| const |
|
private |
Definition at line 621 of file CaloLVL1_ID.cxx.
629 std::string errorMessage =
"CaloLVL1_ID::tower_id(regionId) result is not OK: ID= "
637 std::string errorMessage =
"CaloLVL1_ID::tower_id(regionId,field values) result is not OK: ID, range = "
◆ tower_id_checks() [2/2]
void CaloLVL1_ID::tower_id_checks |
( |
int |
pos_neg_z, |
|
|
int |
sampling, |
|
|
int |
region, |
|
|
int |
eta, |
|
|
int |
phi |
|
) |
| const |
|
private |
Definition at line 606 of file CaloLVL1_ID.cxx.
614 std::string errorMessage =
"CaloLVL1_ID::tower_id() result is not OK: ID, range = "
◆ tower_range()
◆ trt()
◆ trt_exp()
◆ trt_field_value()
int AtlasDetectorID::trt_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ zdc_exp()
◆ zdc_field_value()
int AtlasDetectorID::zdc_field_value |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ ATLAS_THREAD_SAFE
std::atomic_flag m_initialized AthMessaging::ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
|
mutableprivateinherited |
◆ m_ALFA_ID
int AtlasDetectorID::m_ALFA_ID {1} |
|
privateinherited |
◆ m_atlas_dict
◆ m_BCM_ID
int AtlasDetectorID::m_BCM_ID {3} |
|
privateinherited |
◆ m_calo_dict
◆ m_CALO_ID
int AtlasDetectorID::m_CALO_ID {10} |
|
privateinherited |
◆ m_calo_impl
◆ m_CALO_INDEX
◆ m_calo_side_impl
◆ m_CSC_ID
int AtlasDetectorID::m_CSC_ID {1} |
|
privateinherited |
◆ m_det_impl
◆ m_DET_INDEX
◆ m_DETZSIDE_INDEX
◆ m_dict
◆ m_dict_names
std::vector<std::string> AtlasDetectorID::m_dict_names |
|
protectedinherited |
◆ m_dict_tags
std::vector<std::string> AtlasDetectorID::m_dict_tags |
|
protectedinherited |
◆ m_dict_version
std::string AtlasDetectorID::m_dict_version |
|
privateinherited |
◆ m_do_checks
bool AtlasDetectorID::m_do_checks {} |
|
protectedinherited |
Flag for subclasses to know whether or not to perform checks.
In general, this is set to false in optimized mode.
Definition at line 362 of file AtlasDetectorID.h.
◆ m_do_neighbours
bool AtlasDetectorID::m_do_neighbours {true} |
|
protectedinherited |
Flag for subclasses to know whether or not to perform neighbour initialization.
Definition at line 365 of file AtlasDetectorID.h.
◆ m_eta_impl
◆ m_ETA_INDEX
◆ m_file_names
std::vector<std::string> AtlasDetectorID::m_file_names |
|
protectedinherited |
List of dictionary file names used by this helper.
Definition at line 378 of file AtlasDetectorID.h.
◆ m_full_layer_range
◆ m_full_region_range
◆ m_full_tower_range
◆ m_fwd_dict
◆ m_FWD_ID
int AtlasDetectorID::m_FWD_ID {13} |
|
privateinherited |
◆ m_fwd_part_impl
◆ m_hash_calcs
std::vector<HashCalc> CaloLVL1_ID::m_hash_calcs |
|
private |
◆ m_helper
◆ m_HGTD_ID
int AtlasDetectorID::m_HGTD_ID {4} |
|
privateinherited |
◆ m_imsg
std::atomic<IMessageSvc*> AthMessaging::m_imsg { nullptr } |
|
mutableprivateinherited |
◆ m_indet_dict
◆ m_INDET_ID
int AtlasDetectorID::m_INDET_ID {2} |
|
privateinherited |
◆ m_indet_part_impl
◆ m_is_initialized_from_dict
bool AtlasDetectorID::m_is_initialized_from_dict {} |
|
privateinherited |
◆ m_isHighLuminosityLHC
bool AtlasDetectorID::m_isHighLuminosityLHC {} |
|
privateinherited |
◆ m_lar_dict
◆ m_lar_dm_field
◆ m_LAR_EM_ID
int AtlasDetectorID::m_LAR_EM_ID {1} |
|
privateinherited |
◆ m_LAR_FCAL_ID
int AtlasDetectorID::m_LAR_FCAL_ID {3} |
|
privateinherited |
◆ m_lar_fcal_module_impl
◆ m_LAR_FCAL_MODULE_INDEX
int AtlasDetectorID::m_LAR_FCAL_MODULE_INDEX {999} |
|
privateinherited |
◆ m_LAR_HEC_ID
int AtlasDetectorID::m_LAR_HEC_ID {2} |
|
privateinherited |
◆ m_LAR_ID
int AtlasDetectorID::m_LAR_ID {4} |
|
privateinherited |
◆ m_lar_part_impl
◆ m_layer_hash_max
◆ m_layer_impl
◆ m_LAYER_INDEX
◆ m_layer_vec
◆ m_LUCID_ID
int AtlasDetectorID::m_LUCID_ID {5} |
|
privateinherited |
◆ m_LUMI_ID
int AtlasDetectorID::m_LUMI_ID {3} |
|
privateinherited |
◆ m_LUMI_PLR_ID
int AtlasDetectorID::m_LUMI_PLR_ID {1} |
|
privateinherited |
◆ m_lvl
std::atomic<MSG::Level> AthMessaging::m_lvl { MSG::NIL } |
|
mutableprivateinherited |
◆ m_lvl1_field
◆ m_lvl1_impl
◆ m_lvl1_onl_field
◆ m_lvl1_region_index
◆ 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_next_eta_vec
std::vector<unsigned short> CaloLVL1_ID::m_next_eta_vec |
|
private |
◆ m_next_phi_vec
std::vector<unsigned short> CaloLVL1_ID::m_next_phi_vec |
|
private |
◆ m_nm
std::string AthMessaging::m_nm |
|
privateinherited |
◆ m_phi_impl
◆ m_PHI_INDEX
◆ m_PIXEL_ID
int AtlasDetectorID::m_PIXEL_ID {1} |
|
privateinherited |
◆ m_pnz_reg_impl
◆ m_prev_eta_vec
std::vector<unsigned short> CaloLVL1_ID::m_prev_eta_vec |
|
private |
◆ m_prev_phi_vec
std::vector<unsigned short> CaloLVL1_ID::m_prev_phi_vec |
|
private |
◆ m_quiet
bool AtlasDetectorID::m_quiet {} |
|
protectedinherited |
◆ m_region_hash_max
◆ m_region_impl
◆ m_REGION_INDEX
◆ m_region_vec
◆ m_RPC_ID
int AtlasDetectorID::m_RPC_ID {2} |
|
privateinherited |
◆ m_sampling_impl
◆ m_SAMPLING_INDEX
◆ m_SCT_ID
int AtlasDetectorID::m_SCT_ID {2} |
|
privateinherited |
◆ m_STGC_ID
int AtlasDetectorID::m_STGC_ID {4} |
|
privateinherited |
◆ m_SUBDET_INDEX
size_type AtlasDetectorID::m_SUBDET_INDEX {999} |
|
privateinherited |
◆ m_TGC_ID
int AtlasDetectorID::m_TGC_ID {3} |
|
privateinherited |
◆ m_tile_dict
◆ m_tile_dm_field
◆ m_TILE_ID
int AtlasDetectorID::m_TILE_ID {5} |
|
privateinherited |
◆ m_tower_hash_max
◆ m_tower_vec
◆ m_TRT_ID
int AtlasDetectorID::m_TRT_ID {3} |
|
privateinherited |
◆ m_ZDC_ID
int AtlasDetectorID::m_ZDC_ID {7} |
|
privateinherited |
The documentation for this class was generated from the following files:
IdDictRegion * find_region(const std::string ®ion_name) const
bool is_pixel(Identifier id) const
std::atomic< MSG::Level > m_lvl
Current logging level.
const std::string & dict_tag(void) const
Access to the dictionary tag.
IdDictDictionary * m_muon_dict
int indet_field_value() const
Provide efficient access to individual field values, for subclass idhelpers.
boost::iterator_range< id_iterator > id_range
Type for range over identifiers.
std::vector< unsigned short > m_next_phi_vec
bool is_forward(Identifier id) const
MultiRange build_multirange() const
Get MultiRange for full dictionary.
IdContext tower_context(void) const
access to IdContext's which define which levels of fields are contained in the id
std::vector< unsigned int > m_muon_tech_bits
virtual int initialize_from_dictionary(const IdDictMgr &dict_mgr) override
Initialization from the identifier dictionary.
IdDictFieldImplementation m_indet_part_impl
int get_expanded_id(const Identifier &id, ExpandedIdentifier &exp_id, const IdContext *context) const
create expanded Identifier from Identifier (return == 0 for OK)
void layer_id_checks(int pos_neg_z, int sampling, int region, int eta, int phi, int layer) const
bool is_lar_fcal(Identifier id) const
Exception class for Calo Identifiers.
std::vector< unsigned short > m_prev_eta_vec
std::string show_to_string(void) const
bool is_lar(Identifier id) const
int muon_field_value() const
IdContext region_context(void) const
access to IdContext's which define which levels of fields are contained in the id
IdDictFieldImplementation m_sampling_impl
element_type get_minimum() const
Query the values.
int phi_max(const Identifier regId) const
min value of phi index (-999 == failure)
IdDictFieldImplementation m_phi_impl
size_type end_index() const
int calo_field_value() const
IdDictFieldImplementation m_region_impl
void add(element_type value)
Append a value into a new field.
std::vector< Identifier > m_region_vec
void pack(int value, Identifier &id) const
IdDictDictionary * m_tile_dict
int region(const Identifier id) const
return region according to :
void show() const
Send to std::cout.
const IdDictDictionary * m_dict
IMessageSvc * m_msgSvc
pointer to the message service
std::string m_dict_version
element_type get_maximum() const
IdDictFieldImplementation m_layer_impl
bool m_do_checks
Flag for subclasses to know whether or not to perform checks.
Identifier region_id(int pos_neg_z, int sampling, int region) const
build a region (of towers) identifier
static constexpr value_type MAX_BIT
id_iterator layer_end() const
end iterators over layers
int lar_field_value() const
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
std::atomic< IMessageSvc * > m_imsg
MessageSvc pointer.
int unpack(Identifier id) const
Identifier manipulation methods.
IdContext layer_context(void) const
access to IdContext's which define which levels of fields are contained in the id
virtual bool do_neighbours(void) const override
Neighbour initialization is performed by default One can switch or query this mode for any idHelper w...
id_iterator tower_end() const
end iterator over towers
int layer(const Identifier id) const
return layer according to :
IMessageSvc * getMessageSvc(bool quiet=false)
IdDictField * find_field(const std::string &name) const
bool is_lvl1_trig_towers(Identifier id) const
bool m_do_neighbours
Flag for subclasses to know whether or not to perform neighbour initialization.
void reset(Identifier &id) const
id_iterator region_end() const
end iterator over regions
MultiRange m_full_layer_range
Identifier layer_id(int pos_neg_z, int sampling, int region, int eta, int phi, int layer) const
build a layer identifier
int phi(const Identifier id) const
return phi according to :
bool match(element_type value) const
The basic match operation.
Range::field m_tile_dm_field
std::vector< unsigned short > m_next_eta_vec
size_type begin_index() const
IdDictFieldImplementation m_eta_impl
static constexpr value_type ALL_BITS
IdDictDictionary * find_dictionary(const std::string &name) const
Access dictionary by name.
id_iterator region_begin() const
begin iterator over regions
msgSvc
Provide convenience handles for various services.
IdDictDictionary * m_calo_dict
std::vector< HashCalc > m_hash_calcs
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:
std::vector< unsigned short > m_prev_phi_vec
std::vector< Identifier > m_tower_vec
IdDictFieldImplementation m_muon_mdt_impl
int eta_min(const Identifier regId) const
min value of eta index (-999 == failure)
IdDictFieldImplementation m_lar_fcal_module_impl
size_type bits_offset() const
bool is_tile_dm(Identifier id) const
std::vector< IdDictRegion * > m_regions
virtual int get_hash(const Identifier &id, IdentifierHash &hash_id, const IdContext *context=0) const
create hash id from compact id (return == 0 for OK)
IdDictDictionary * m_fwd_dict
bool get_next(element_type current, element_type &next) const
bool is_tile(Identifier id) const
size_type m_DETZSIDE_INDEX
Range::field m_lvl1_onl_field
bool m_quiet
If true, suppress DEBUG/INFO messages.
MsgStream & msg() const
The standard message stream.
IdDictFieldImplementation m_muon_rpc_impl
int register_dict_tag(const IdDictMgr &dict_mgr, const std::string &dict_name)
Register the file and tag names for a particular IdDict dictionary.
bool is_calo(Identifier id) const
const std::string & file_name(void) const
Access to file name.
int tile_field_value() const
int get_label_value(const std::string &field, const std::string &label, int &value) const
IdDictFieldImplementation m_lvl1_impl
std::string print_to_string(Identifier id, const IdContext *context=0) const
or provide the printout in string form
size_type m_SAMPLING_INDEX
size_type m_region_hash_max
IdDictFieldImplementation m_pnz_reg_impl
IdDictDictionary * m_indet_dict
IdDictFieldImplementation m_calo_side_impl
bool is_indet(Identifier id) const
IdentifierHash tower_hash_binary_search(Identifier towerId) const
create hash id from tower id – method NOT optimised, please use tower_hash() above
std::vector< std::string > m_dict_names
List of dictionary names used by this helper.
int eta(const Identifier id) const
return eta according to :
Range::field m_lar_dm_field
A Range describes the possible ranges for the field values of an ExpandedIdentifier.
ExpandedIdentifier calo_exp(void) const
ExpandedIdentifier fwd_exp(void) const
IdDictFieldImplementation m_muon_station_name_impl
size_type m_lvl1_region_index
MultiRange m_full_region_range
void region_id_checks(int pos_neg_z, int sampling, int region) const
int pos_neg_z(const Identifier id) const
return pos_neg_z according to :
int match(const ExpandedIdentifier &id) const
Match an identifier.
std::vector< Identifier > m_layer_vec
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 is_lar_dm(Identifier id) const
LAr/Tile dead material:
void tower_id_checks(int pos_neg_z, int sampling, int region, int eta, int phi) const
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
std::vector< std::string > m_file_names
List of dictionary file names used by this helper.
#define ATH_MSG_WARNING(x)
std::string m_nm
Message source name.
This is the individual specification for the range of one ExpandedIdentifier IdentifierField.
id_iterator tower_begin() const
begin iterator over towers
int sampling(const Identifier id) const
return sampling according to :
IdDictFieldImplementation m_calo_impl
void clear()
Erase all fields.
bool get_previous(element_type current, element_type &previous) const
Returns false if previous/next is at end of range, or not possible.
IdDictDictionary * m_lar_dict
unsigned long long value_type
bool is_lvl1_online(Identifier id) const
int initLevelsFromDict(void)
IdentifierHash tower_hash(Identifier towerId) const
create hash id from tower id
void initMessaging() const
Initialize our message level and MessageSvc.
size_type cardinality() const
Computes a possible cardinality from all ranges.
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
boost::thread_specific_ptr< MsgStream > m_msg_tls
MsgStream instance (a std::cout like with print-out levels)
size_type m_layer_hash_max
MultiRange m_full_tower_range
Identifier tower_id(int pos_neg_z, int sampling, int region, int eta, int phi) const
build a tower identifier
virtual bool do_checks(void) const override
Checks are performed by default in debug compilation and NOT in optimized compilation.
This class saves the "context" of an expanded identifier (ExpandedIdentifier) for compact or hash ver...
std::vector< std::string > m_dict_tags
List of dictionary versions used by this helper.
id_iterator layer_begin() const
begin iterators over layers
size_type m_tower_hash_max
Range::field m_lvl1_field
Identifier::size_type size_type