|  | ATLAS Offline Software
    | 
 
 
 
Helper class for jTower offline identifiers.  
 More...
#include <GTower_ID.h>
|  | 
| using | size_type = Identifier::size_type | 
|  | 
| enum | { NOT_VALID =999999
 } | 
|  | 
| 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... 
 | 
|  | 
|  | 
|  | GTower_ID () | 
|  | 
| virtual | ~GTower_ID () | 
|  | 
| virtual int | initialize_from_dictionary (const IdDictMgr &dict_mgr) | 
|  | initialization from the identifier dictionary  More... 
 | 
|  | 
| Identifier | tower_id (int pos_neg, int sampling, int region, int eta, int phi) const | 
|  | build a tower identifier  More... 
 | 
|  | 
| Identifier | tower_id (int pos_neg, 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 (IdentifierHash tower_hash_id) const | 
|  | create tower id from hash id  More... 
 | 
|  | 
| Identifier | region_id (int pos_neg, int sampling, int region) const | 
|  | build a region (of towers) identifier  More... 
 | 
|  | 
| Identifier | region_id (int pos_neg, int sampling, int region, bool checks) const | 
|  | 
| Identifier | region_id (IdentifierHash region_hash_id) const | 
|  | create region id from hash id  More... 
 | 
|  | 
| Identifier | region_id (const Identifier tower_Id) const | 
|  | 
| IdContext | region_context () const | 
|  | access to IdContext's which define which levels of fields are contained in the id  More... 
 | 
|  | 
| IdContext | tower_context () 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... 
 | 
|  | 
| IdentifierHash | calo_region_hash (const Identifier id) const | 
|  | 
| 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_base_from_dictionary (const IdDictMgr &dict_mgr, const std::string &t_pre) | 
|  | initialization from the identifier dictionary  More... 
 | 
|  | 
| size_type | tower_hash_max () const | 
|  | tower hash table max size  More... 
 | 
|  | 
| size_type | calo_region_hash_max () 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 | reg_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... 
 | 
|  | 
| int | pos_neg (const Identifier id) const | 
|  | return pos_neg 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 | 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... 
 | 
|  | 
| float | etaGranularity (const Identifier regId) const | 
|  | Return the eta granularity of a region, or NOT_VALID.  More...
 | 
|  | 
| float | phiGranularity (const Identifier regId) const | 
|  | Return the phi granularity of a region, or NOT_VALID.  More...
 | 
|  | 
| float | eta0 (const Identifier regId) const | 
|  | Return the minimum eta of region, or NOT_VALID.  More...
 | 
|  | 
| float | phi0 (const Identifier regId) const | 
|  | Return the minimum phi of region, or NOT_VALID.  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...
 
 | 
|  | 
| int | fill_vec_of_dict_regions (const std::string &group_name="") | 
|  | 
| const std::vector< const IdDictRegion * > & | dictRegions () const | 
|  | 
| 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, 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, int sampling, int region) const | 
|  | 
| int | initLevelsFromDict (const std::string &t_pre) | 
|  | 
| int | init_hashes () | 
|  | 
| int | init_neighbors () | 
|  | 
| void | initMessaging () const | 
|  | Initialize our message level and MessageSvc.  More... 
 | 
|  | 
Helper class for jTower offline identifiers. 
This class provides an interface to decode and generate offline identifiers for jTowers. 
Definition and range of values for the elements of the identifier are: 
 - Author
- based on code by RD Schaffer 
- 
maintained by Walter Hopkins 
Definition at line 33 of file GTower_ID.h.
◆ id_iterator
◆ id_range
◆ size_type
◆ anonymous enum
◆ anonymous enum
◆ HelperType
enum class for eventual final derived types of this class 
| Enumerator | 
|---|
| Unimplemented |  | 
| Silicon |  | 
| Pixel |  | 
| PLR |  | 
| SCT |  | 
| TRT |  | 
| LArEM |  | 
| LArFCal |  | 
| LArFCalSuperCell |  | 
| LArHEC |  | 
| LArHEC_SuperCell |  | 
| LARMiniFCal |  | 
| Tile |  | 
| TileSuperCell |  | 
| LArOnline |  | 
| LArOnlineSuperCell |  | 
| LArElectrode |  | 
| LArHVLine |  | 
| TileHardware |  | 
| TileTestbeam |  | 
| CaloCell |  | 
| CaloSuperCell |  | 
| CaloDM |  | 
| CaloLvl1 |  | 
| GTower |  | 
| JTower |  | 
| Muon |  | 
| LUCID |  | 
| LUCID_Hardware |  | 
| Zdc |  | 
| ZdcHardware |  | 
| TT |  | 
Definition at line 55 of file AtlasDetectorID.h.
   60       LArEM, LArFCal, LArFCalSuperCell,
 
   61       LArHEC, LArHEC_SuperCell, LARMiniFCal, 
 
   65       LArOnline, LArOnlineSuperCell,
 
   67       LArElectrode, LArHVLine,
 
   68       TileHardware, TileTestbeam, 
 
   75       LUCID, LUCID_Hardware, 
 
 
 
 
◆ ID
◆ GTower_ID()
◆ ~GTower_ID()
  
  | 
        
          | GTower_ID::~GTower_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 | 
 
 
◆ calo_region_hash()
◆ calo_region_hash_max()
◆ 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 | 
 
 
◆ dictRegions()
◆ do_checks()
  
  | 
        
          | bool AtlasDetectorID::do_checks | ( | void |  | ) | const |  | overridevirtualinherited | 
 
Checks are performed by default in debug compilation and NOT in optimized compilation. 
One can switch or query this mode for any idHelper with the following methods: 
Implements IdHelper.
Definition at line 476 of file AtlasDetectorID.cxx.
 
 
◆ do_neighbours()
  
  | 
        
          | bool AtlasDetectorID::do_neighbours | ( | void |  | ) | const |  | overridevirtualinherited | 
 
Neighbour initialization is performed by default One can switch or query this mode for any idHelper with the following method: 
Implements IdHelper.
Definition at line 483 of file AtlasDetectorID.cxx.
 
 
◆ eta()
return eta according to : 
 
GTower
element           range              meaning
-------           -----              -------
eta              [0,15]         region 0(|eta|<3.2), granularity = 0.2
"                [0,2]          region 1(3.2<|eta|<4.9), granularity = 0.6 ***** NEEDS IMPROVEMENT *****
JTowers
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.1
"                [0]            region 2(3.1|eta|<3.2), granularity = 0.1
"                [0,2]          region 3(3.2|eta|<4.9), granularity = 0.6
failure returns 0
 
Definition at line 484 of file JGTowerBase_ID.h.
 
 
◆ eta0()
Return the minimum eta of region, or NOT_VALID. 
- Parameters
- 
  
  
Definition at line 504 of file JGTowerBase_ID.cxx.
 
 
◆ eta_max()
max value of eta index (-999 == failure) 
- Warning
- input = REGION ID !! 
Definition at line 448 of file JGTowerBase_ID.cxx.
  456       if (
range.match(expId)) {
 
  458     if (not eta_field.
empty()) {
 
 
 
 
◆ eta_min()
min value of eta index (-999 == failure) 
- Warning
- input = REGION ID !! 
Definition at line 422 of file JGTowerBase_ID.cxx.
  430       if (
range.match(expId)) {
 
  432     if (not eta_field.
empty()) {
 
 
 
 
◆ etaGranularity()
Return the eta granularity of a region, or NOT_VALID. 
- Parameters
- 
  
  
Definition at line 490 of file JGTowerBase_ID.cxx.
 
 
◆ file_names()
  
  | 
        
          | const std::vector< std::string > & AtlasDetectorID::file_names | ( | void |  | ) | const |  | inherited | 
 
 
◆ fill_vec_of_dict_regions()
  
  | 
        
          | int JGTowerBase_ID::fill_vec_of_dict_regions | ( | const std::string & | group_name = "" | ) |  |  | 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 119 of file JGTowerBase_ID.cxx.
  148       std::string errorMessage =
 
  149         "Error in JGTowerBase_ID::get_hash, invalid context ";
 
 
 
 
◆ get_id()
create compact id from hash id (return == 0 for OK) 
Reimplemented from AtlasDetectorID.
Definition at line 63 of file JGTowerBase_ID.cxx.
   66   std::stringstream strm;
 
   85       strg = 
" hash_id out of range "+strm.str();
 
   92           std::cout << strg << std::endl;
 
  104       strg = 
" hash_id out of range "+strm.str();
 
  111           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 555 of file JGTowerBase_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 531 of file JGTowerBase_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 543 of file JGTowerBase_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 519 of file JGTowerBase_ID.cxx.
 
 
◆ group()
  
  | 
        
          | const std::string & AtlasDetectorID::group | ( |  | ) | const |  | inherited | 
 
 
◆ helper()
  
  | 
        
          | virtual HelperType AtlasDetectorID::helper | ( |  | ) | const |  | inlinevirtualinherited | 
 
 
◆ hgtd()
◆ hgtd_exp()
◆ hgtd_field_value()
  
  | 
        
          | int AtlasDetectorID::hgtd_field_value | ( |  | ) | const |  | inlineprotectedinherited | 
 
 
◆ indet()
◆ indet_exp()
◆ indet_field_value()
  
  | 
        
          | int AtlasDetectorID::indet_field_value | ( |  | ) | const |  | inlineprotectedinherited | 
 
Provide efficient access to individual field values, for subclass idhelpers. 
Definition at line 606 of file AtlasDetectorID.h.
 
 
◆ init_hashes()
  
  | 
        
          | int JGTowerBase_ID::init_hashes | ( |  | ) |  |  | privateinherited | 
 
Definition at line 855 of file JGTowerBase_ID.cxx.
  858   std::stringstream strm;
 
  859   std::stringstream strm1;
 
  860   std::stringstream strm2;
 
  867   unsigned int nids = 0;
 
  868   std::set<Identifier> 
ids;
 
  872     auto first = rit.begin();
 
  873     auto last  = rit.end();
 
  881       if(!(
ids.insert(tow_id)).second)
 
  885           log << MSG::ERROR << 
" init_hashes " 
  886           << 
" duplicated id for J/GTower id. nids= " << nids
 
  887           << 
" compact Id  " << 
endmsg; 
 
  891           std::cout << 
" JGTowerBase_ID::init_hashes " 
  892             << 
" Error: duplicated id for J/GTower id. nids= " << nids
 
  905       log << MSG::ERROR << 
" init_hashes " 
  906           << 
" set size NOT EQUAL to hash max. size " << 
ids.size()
 
  912       std::cout << 
" JGTowerBase_ID::init_hashes " 
  913             << 
" Error: set size NOT EQUAL to hash max. size " << 
ids.size()
 
  921   std::set<Identifier>::const_iterator 
first = 
ids.begin();
 
  922   std::set<Identifier>::const_iterator last  = 
ids.end();
 
  935     auto first = rit.begin();
 
  936     auto last  = rit.end();
 
  942       if(!(
ids.insert(reg_id)).second)
 
  946           log << MSG::ERROR << 
" JGTowerBase_ID::init_hashes " 
  947           << 
"  duplicated id for region id. nids= " << nids
 
  948           << 
" compact Id  " << 
endmsg;
 
  952           std::cout << 
" JGTowerBase_ID::init_hashes " 
  953             << 
" Error: duplicated id for region id. nids= " << nids
 
  957           std::cout << std::endl;
 
  967       log << MSG::ERROR << 
" JGTowerBase_ID::init_hashes " 
  968           << 
"  set size NOT EQUAL to region hash max. size " << 
ids.size()
 
  974       std::cout << 
" JGTowerBase_ID::init_hashes " 
  975             << 
" Error: set size NOT EQUAL to region hash max. size " << 
ids.size()
 
 
 
 
◆ init_neighbors()
  
  | 
        
          | int JGTowerBase_ID::init_neighbors | ( |  | ) |  |  | privateinherited | 
 
Definition at line 994 of file JGTowerBase_ID.cxx.
 1009     auto first = rit.begin();
 
 1010     auto last  = rit.end();
 
 1034       if (
get_hash(
id, hash_id,&tcontext)) 
 
 1038           log << MSG::ERROR << 
" init_neighbors - unable to get hash, compact = " << 
endmsg;
 
 1042           std::cout << 
" JGTowerBase_ID::init_neighbors - unable to get hash, compact = ";
 
 1044           std::cout << std::endl;
 
 1050       unsigned short index = hash_id;
 
 1062     if (
get_hash(
id, hash_id,&tcontext)) 
 
 1066         log << MSG::ERROR << 
" init_neighbors - unable to get previous phi hash, exp/compact " << 
endmsg;
 
 1070         std::cout << 
" JGTowerBase_ID::init_neighbors - unable to get previous phi hash, exp/compact ";
 
 1086     if (
get_hash(
id, hash_id,&tcontext)) 
 
 1090         log << MSG::ERROR << 
" init_neighbors - unable to get next phi hash, exp/compact "<<
endmsg;
 
 1094         std::cout << 
" JGTowerBase_ID::init_neighbors - unable to get next phi hash, exp/compact ";
 
 1109     if (
get_hash(
id, hash_id,&tcontext)) 
 
 1113         log << MSG::ERROR << 
" init_neighbors - unable to get previous eta hash, exp/compact "<< 
endmsg;
 
 1117         std::cout << 
" JGTowerBase_ID::init_neighbors - unable to get previous eta hash, exp/compact ";
 
 1133     if (
get_hash(
id, hash_id,&tcontext)) 
 
 1137         log << MSG::ERROR << 
" init_neighbors - unable to get next eta hash, exp/compact ";
 
 1141         std::cout << 
" JGTowerBase_ID::init_neighbors - unable to get next eta hash, exp/compact ";
 
 
 
 
◆ initialize_base_from_dictionary()
  
  | 
        
          | int JGTowerBase_ID::initialize_base_from_dictionary | ( | const IdDictMgr & | dict_mgr, |  
          |  |  | const std::string & | t_pre |  
          |  | ) |  |  |  | virtualinherited | 
 
initialization from the identifier dictionary 
Definition at line 168 of file JGTowerBase_ID.cxx.
  171   std::string strg = 
"initialize_from_dictionary";
 
  176     std::cout << strg << std::endl;
 
  188   std::stringstream strm;
 
  189   std::stringstream strm1;
 
  190   std::stringstream strm2;
 
  203       strg= 
" initialize_from_dict - cannot access Calorimeter dictionary ";
 
  209       std::cout << strg << std::endl;
 
  222       strg= 
"Could not get value for label 'Calorimeter' of field 'subdet' in dictionary "+strm.str(); 
 
  229       std::cout << strg << std::endl;
 
  234   int jgtowerCaloValue   = -1;
 
  242       strg = 
" Could not get value for label positive_lvl1_side of field 'DetZside in dictionary"+strm.str();
 
  249       std::cout << strg << std::endl;
 
  260   reg_id.
add(caloValue);
 
  261   reg_id.
add(jgtowerCaloValue); 
 
  276   strg  = 
" JGTowerBase_ID::initialize_from_dict : ";
 
  277   strg1 = 
" tower range -> "+strm1.str();
 
  286       std::cout << strg << std::endl;
 
  287       std::cout << strg1 << std::endl;
 
  288       std::cout << strg2 << std::endl;
 
  322   int size = (1 << bits);
 
  350     hc.m_hash   = min_hash;
 
  360     strg = 
"Min > "+strm.str();
 
  361     strg1= 
" "+strm1.str();
 
  362     strg2= 
" "+strm2.str();
 
  371         std::cout << strg << std::endl;
 
  372         std::cout << strg1 << std::endl;
 
  373         std::cout << strg2 << std::endl;
 
  391     strg = 
" *****  Error tower ranges, id, hash, i = "+strm.str();
 
  392     strg1= 
" , "+strm1.str();
 
  393     strg2= 
" , "+strm2.str();
 
  402         std::cout << strg << std::endl;
 
  403         std::cout << strg1 << std::endl;
 
  404         std::cout << strg2 << std::endl;
 
 
 
 
◆ initialize_from_dictionary()
  
  | 
        
          | int GTower_ID::initialize_from_dictionary | ( | const IdDictMgr & | dict_mgr | ) |  |  | virtual | 
 
 
◆ initLevelsFromDict()
  
  | 
        
          | int JGTowerBase_ID::initLevelsFromDict | ( | const std::string & | t_pre | ) |  |  | privateinherited | 
 
Definition at line 633 of file JGTowerBase_ID.cxx.
  636   std::stringstream strm;
 
  637   std::stringstream strm1;
 
  638   std::stringstream strm2;
 
  639   std::stringstream strm3;
 
  640   std::stringstream strm4;
 
  641   std::stringstream strm5;
 
  642   std::stringstream strm6;
 
  643   std::stringstream strm7;
 
  654       strg= 
"initLevelsFromDict - dictionary NOT initialized ";
 
  660       std::cout << strg << std::endl;
 
  682       strg = 
"initLevelsFromDict - unable to find jgtower region ";
 
  688       std::cout << strg << std::endl;
 
  700       strg=  
"initLevelsFromDict - unable to find 'subdet' field ";
 
  707       std::cout << strg << std::endl;
 
  718       strg= 
"initLevelsFromDict - unable to find 'DetZside' field ";
 
  725       std::cout << strg << std::endl;
 
  737       strg=
"initLevelsFromDict - unable to find '"+t_pre+
"sampling' field ";
 
  744       std::cout << strg << std::endl;
 
  756       strg=
"initLevelsFromDict - unable to find 'region' field ";
 
  763       std::cout << strg << std::endl;
 
  776       strg= 
"initLevelsFromDict - unable to find 'eta' field ";
 
  783       std::cout << strg << std::endl;
 
  795       strg= 
"initLevelsFromDict - unable to find 'phi' field ";
 
  802       std::cout << strg << std::endl;
 
  823   strg = 
"decode index and bit fields for each level: ";
 
  824   strg1= 
"calo  "+strm1.str();
 
  825   strg2= 
"detzside  "+strm2.str();
 
  826   strg3= 
"sampling  "+strm3.str();
 
  827   strg4= 
"reg  "+strm4.str();
 
  828   strg5= 
"eta  "+strm5.str();
 
  829   strg6= 
"phi  "+strm6.str();
 
  842       std::cout << strg << std::endl;
 
  843       std::cout << strg1 << std::endl;
 
  844       std::cout << strg2 << std::endl;
 
  845       std::cout << strg3 << std::endl;
 
  846       std::cout << strg4 << std::endl;
 
  847       std::cout << strg5 << std::endl;
 
  848       std::cout << strg6 << std::endl;
 
 
 
 
◆ initMessaging()
  
  | 
        
          | void AthMessaging::initMessaging | ( |  | ) | const |  | privateinherited | 
 
Initialize our message level and MessageSvc. 
This method should only be called once. 
Definition at line 39 of file AthMessaging.cxx.
 
 
◆ is_alfa()
  
  | 
        
          | bool AtlasDetectorID::is_alfa | ( | Identifier | id | ) | const |  | inlineinherited | 
 
 
◆ is_bcm()
  
  | 
        
          | bool AtlasDetectorID::is_bcm | ( | Identifier | id | ) | const |  | inlineinherited | 
 
 
◆ is_calo() [1/2]
◆ is_calo() [2/2]
  
  | 
        
          | bool AtlasDetectorID::is_calo | ( | Identifier | id | ) | const |  | inlineinherited | 
 
 
◆ is_csc() [1/2]
◆ is_csc() [2/2]
  
  | 
        
          | bool AtlasDetectorID::is_csc | ( | Identifier | id | ) | const |  | inlineinherited | 
 
 
◆ is_forward()
  
  | 
        
          | bool AtlasDetectorID::is_forward | ( | Identifier | id | ) | const |  | inlineinherited | 
 
 
◆ is_hgtd() [1/2]
◆ is_hgtd() [2/2]
  
  | 
        
          | bool AtlasDetectorID::is_hgtd | ( | Identifier | id | ) | const |  | inlineinherited | 
 
 
◆ is_indet() [1/2]
◆ is_indet() [2/2]
  
  | 
        
          | bool AtlasDetectorID::is_indet | ( | Identifier | id | ) | const |  | inlineinherited | 
 
 
◆ is_lar() [1/2]
◆ is_lar() [2/2]
  
  | 
        
          | bool AtlasDetectorID::is_lar | ( | Identifier | id | ) | const |  | inlineinherited | 
 
 
◆ is_lar_dm()
  
  | 
        
          | bool AtlasDetectorID::is_lar_dm | ( | Identifier | id | ) | const |  | inlineinherited | 
 
 
◆ is_lar_em() [1/2]
◆ is_lar_em() [2/2]
  
  | 
        
          | bool AtlasDetectorID::is_lar_em | ( | Identifier | id | ) | const |  | inlineinherited | 
 
 
◆ is_lar_fcal() [1/2]
◆ is_lar_fcal() [2/2]
  
  | 
        
          | bool AtlasDetectorID::is_lar_fcal | ( | Identifier | id | ) | const |  | inlineinherited | 
 
 
◆ is_lar_hec() [1/2]
◆ is_lar_hec() [2/2]
  
  | 
        
          | bool AtlasDetectorID::is_lar_hec | ( | Identifier | id | ) | const |  | inlineinherited | 
 
 
◆ is_lar_minifcal() [1/2]
◆ is_lar_minifcal() [2/2]
  
  | 
        
          | bool AtlasDetectorID::is_lar_minifcal | ( | Identifier | id | ) | const |  | inlineinherited | 
 
 
◆ is_lucid()
  
  | 
        
          | bool AtlasDetectorID::is_lucid | ( | Identifier | id | ) | const |  | inlineinherited | 
 
 
◆ is_lumi() [1/2]
◆ is_lumi() [2/2]
  
  | 
        
          | bool AtlasDetectorID::is_lumi | ( | Identifier | id | ) | const |  | inlineinherited | 
 
 
◆ is_lvl1_online()
  
  | 
        
          | bool AtlasDetectorID::is_lvl1_online | ( | Identifier | id | ) | const |  | inlineinherited | 
 
 
◆ is_lvl1_trig_towers()
  
  | 
        
          | bool AtlasDetectorID::is_lvl1_trig_towers | ( | Identifier | id | ) | const |  | inlineinherited | 
 
 
◆ is_mdt() [1/2]
◆ is_mdt() [2/2]
  
  | 
        
          | bool AtlasDetectorID::is_mdt | ( | Identifier | id | ) | const |  | inlineinherited | 
 
 
◆ is_mm() [1/2]
◆ is_mm() [2/2]
  
  | 
        
          | bool AtlasDetectorID::is_mm | ( | Identifier | id | ) | const |  | inlineinherited | 
 
 
◆ is_muon() [1/2]
◆ is_muon() [2/2]
  
  | 
        
          | bool AtlasDetectorID::is_muon | ( | Identifier | id | ) | const |  | inlineinherited | 
 
 
◆ is_pixel() [1/2]
◆ is_pixel() [2/2]
  
  | 
        
          | bool AtlasDetectorID::is_pixel | ( | Identifier | id | ) | const |  | inlineinherited | 
 
 
◆ is_plr() [1/2]
◆ is_plr() [2/2]
  
  | 
        
          | bool AtlasDetectorID::is_plr | ( | Identifier | id | ) | const |  | inherited | 
 
 
◆ is_rpc() [1/2]
◆ is_rpc() [2/2]
  
  | 
        
          | bool AtlasDetectorID::is_rpc | ( | Identifier | id | ) | const |  | inlineinherited | 
 
 
◆ is_sct() [1/2]
◆ is_sct() [2/2]
  
  | 
        
          | bool AtlasDetectorID::is_sct | ( | Identifier | id | ) | const |  | inlineinherited | 
 
 
◆ is_stgc() [1/2]
◆ is_stgc() [2/2]
  
  | 
        
          | bool AtlasDetectorID::is_stgc | ( | Identifier | id | ) | const |  | inlineinherited | 
 
 
◆ is_tgc() [1/2]
◆ is_tgc() [2/2]
  
  | 
        
          | bool AtlasDetectorID::is_tgc | ( | Identifier | id | ) | const |  | inlineinherited | 
 
 
◆ is_tile() [1/2]
◆ is_tile() [2/2]
  
  | 
        
          | bool AtlasDetectorID::is_tile | ( | Identifier | id | ) | const |  | inlineinherited | 
 
 
◆ is_tile_dm()
  
  | 
        
          | bool AtlasDetectorID::is_tile_dm | ( | Identifier | id | ) | const |  | inlineinherited | 
 
 
◆ is_trt() [1/2]
◆ is_trt() [2/2]
  
  | 
        
          | bool AtlasDetectorID::is_trt | ( | Identifier | id | ) | const |  | inlineinherited | 
 
 
◆ is_zdc()
  
  | 
        
          | bool AtlasDetectorID::is_zdc | ( | Identifier | id | ) | const |  | inlineinherited | 
 
 
◆ lar()
◆ lar_dm()
◆ lar_em()
◆ lar_em_exp()
◆ lar_em_field_value()
  
  | 
        
          | int AtlasDetectorID::lar_em_field_value | ( |  | ) | const |  | inlineprotectedinherited | 
 
 
◆ lar_exp()
◆ lar_fcal()
  
  | 
        
          | Identifier AtlasDetectorID::lar_fcal | ( | void |  | ) | const |  | inherited | 
 
 
◆ lar_fcal_exp()
◆ lar_fcal_field_value()
  
  | 
        
          | int AtlasDetectorID::lar_fcal_field_value | ( |  | ) | const |  | inlineprotectedinherited | 
 
 
◆ lar_field_value()
  
  | 
        
          | int AtlasDetectorID::lar_field_value | ( |  | ) | const |  | inlineprotectedinherited | 
 
 
◆ lar_hec()
  
  | 
        
          | Identifier AtlasDetectorID::lar_hec | ( | void |  | ) | const |  | inherited | 
 
 
◆ lar_hec_exp()
◆ lar_hec_field_value()
  
  | 
        
          | int AtlasDetectorID::lar_hec_field_value | ( |  | ) | const |  | inlineprotectedinherited | 
 
 
◆ lar_lvl1()
  
  | 
        
          | Identifier AtlasDetectorID::lar_lvl1 | ( | void |  | ) | const |  | inherited | 
 
 
◆ lucid_exp()
◆ lucid_field_value()
  
  | 
        
          | int AtlasDetectorID::lucid_field_value | ( |  | ) | const |  | inlineprotectedinherited | 
 
 
◆ lumi()
◆ lumi_exp()
◆ lumi_field_value()
  
  | 
        
          | int AtlasDetectorID::lumi_field_value | ( |  | ) | const |  | inlineprotectedinherited | 
 
 
◆ mdt()
◆ mdt_field_value()
  
  | 
        
          | int AtlasDetectorID::mdt_field_value | ( |  | ) | const |  | inlineprotectedinherited | 
 
 
◆ mm()
◆ mm_field_value()
  
  | 
        
          | int AtlasDetectorID::mm_field_value | ( |  | ) | const |  | inlineprotectedinherited | 
 
 
◆ msg() [1/2]
  
  | 
        
          | MsgStream & AthMessaging::msg | ( |  | ) | const |  | inlineinherited | 
 
The standard message stream. 
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked. 
Definition at line 164 of file AthMessaging.h.
 
 
◆ msg() [2/2]
  
  | 
        
          | MsgStream & AthMessaging::msg | ( | const MSG::Level | lvl | ) | const |  | inlineinherited | 
 
The standard message stream. 
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked. 
Definition at line 179 of file AthMessaging.h.
  180 { 
return msg() << lvl; }
 
 
 
◆ msgLvl()
  
  | 
        
          | bool AthMessaging::msgLvl | ( | const MSG::Level | lvl | ) | const |  | inlineinherited | 
 
Test the output level. 
- Parameters
- 
  
    | lvl | The message level to test against |  
 
- Returns
- boolean Indicating if messages at given level will be printed 
- Return values
- 
  
    | true | Messages at level "lvl" will be printed |  
 
Definition at line 151 of file AthMessaging.h.
 
 
◆ muon()
◆ muon_exp()
◆ muon_field_value()
  
  | 
        
          | int AtlasDetectorID::muon_field_value | ( |  | ) | const |  | inlineprotectedinherited | 
 
 
◆ phi()
return phi according to : 
 
GTower
element           range              meaning
-------           -----              -------
phi              [0,31]         region 0(|eta|<3.2), granularity = 0.2
"                [0,15]         region 1(3.2<|eta|<4.9), granularity = 0.4
JTower
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 1(3.1<|eta|<3.2), granularity = 0.2
"                [0,15]         region 1(3.2<|eta|<4.9), granularity = 0.4
failure returns 0
 
Definition at line 490 of file JGTowerBase_ID.h.
 
 
◆ phi0()
Return the minimum phi of region, or NOT_VALID. 
- Parameters
- 
  
  
Definition at line 511 of file JGTowerBase_ID.cxx.
 
 
◆ phi_max()
min value of phi index (-999 == failure) 
- Warning
- input = REGION ID !! 
Definition at line 469 of file JGTowerBase_ID.cxx.
  477       if (
range.match(expId)) {
 
  479     if (not phi_field.
empty()) {
 
 
 
 
◆ phiGranularity()
Return the phi granularity of a region, or NOT_VALID. 
- Parameters
- 
  
  
Definition at line 497 of file JGTowerBase_ID.cxx.
 
 
◆ pixel()
◆ pixel_exp()
◆ pixel_field_value()
  
  | 
        
          | int AtlasDetectorID::pixel_field_value | ( |  | ) | const |  | inlineprotectedinherited | 
 
 
◆ plr_field_value()
  
  | 
        
          | int AtlasDetectorID::plr_field_value | ( |  | ) | const |  | inlineprotectedinherited | 
 
 
◆ pos_neg()
return pos_neg according to : 
 
element           range              meaning
-------           -----              -------
DETZSIDE           +/-1             positive/negative
failure returns 0
 
Definition at line 467 of file JGTowerBase_ID.h.
 
 
◆ print()
◆ print_to_string()
or provide the printout in string form 
Definition at line 427 of file AtlasDetectorID.cxx.
  434         unsigned int max_index = (context) ? context->
end_index() : 999;
 
  458             ATH_MSG_WARNING(__func__<<
":"<<__LINE__<<
" No dictionary could be associated to "<<
id);
 
 
 
 
◆ reg_range()
◆ region()
return region according to : 
 
GTowers
element           range              meaning
-------           -----              -------
region           [0,1]            2 regions of different eta/phi granularity (FCAL and not FCAL)
JTowers
element           range              meaning
-------           -----              -------
region           [0,3]            4 regions of different eta/phi granularity
failure returns 0
 
Definition at line 478 of file JGTowerBase_ID.h.
 
 
◆ region_begin()
◆ region_context()
  
  | 
        
          | IdContext JGTowerBase_ID::region_context | ( |  | ) | const |  | inherited | 
 
access to IdContext's which define which levels of fields are contained in the id 
id for towers ("reduced" id) 
Definition at line 49 of file JGTowerBase_ID.cxx.
 
 
◆ region_end()
◆ region_id() [1/4]
◆ region_id() [2/4]
◆ region_id() [3/4]
  
  | 
        
          | Identifier JGTowerBase_ID::region_id | ( | int | pos_neg, |  
          |  |  | int | sampling, |  
          |  |  | int | region |  
          |  | ) |  | const |  | inlineinherited | 
 
 
◆ region_id() [4/4]
  
  | 
        
          | Identifier JGTowerBase_ID::region_id | ( | int | pos_neg, |  
          |  |  | int | sampling, |  
          |  |  | int | region, |  
          |  |  | bool | checks |  
          |  | ) |  | const |  | inlineinherited | 
 
 
◆ region_id_checks()
  
  | 
        
          | void JGTowerBase_ID::region_id_checks | ( | int | pos_neg, |  
          |  |  | int | sampling, |  
          |  |  | int | region |  
          |  | ) |  | const |  | privateinherited | 
 
Definition at line 620 of file JGTowerBase_ID.cxx.
  627     std::string errorMessage = 
"JGTowerBase_ID::region_id() result is not OK: ID, 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 221 of file AtlasDetectorID.cxx.
  232         ATH_MSG_ERROR(
"reinitialize: dict names and tags vectors not the same length ");
 
 
 
 
◆ rpc()
◆ rpc_field_value()
  
  | 
        
          | int AtlasDetectorID::rpc_field_value | ( |  | ) | const |  | inlineprotectedinherited | 
 
 
◆ sampling()
return sampling according to : 
 
element           range              meaning
LVL1sampling         0                EM
"                    1                Hadronic
failure returns 0
 
Definition at line 473 of file JGTowerBase_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 359 of file AtlasDetectorID.cxx.
 
 
◆ show_to_string()
or provide the printout in string form 
Definition at line 365 of file AtlasDetectorID.cxx.
  368     std::string 
result(
"Unable to decode id");
 
  369     unsigned int max_index = (context) ? context->
end_index() : 999;
 
  371     if (!
id.is_valid()) {
 
  403     if (dict->unpack(
m_group, compact, 
prefix, max_index, expId)) {
 
  411     for (
unsigned int i = 0; 
i < expId.fields(); ++
i) {
 
 
 
 
◆ 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 JGTowerBase_ID::tower_context | ( |  | ) | const |  | inherited | 
 
access to IdContext's which define which levels of fields are contained in the id 
id for towers ("normal" id) 
Definition at line 56 of file JGTowerBase_ID.cxx.
 
 
◆ tower_end()
◆ tower_hash()
create hash id from tower id 
Definition at line 586 of file JGTowerBase_ID.h.
  589     return (hc.m_hash + (
eta(towerId)-hc.m_etamin)*hc.m_nphi + 
phi(towerId));
 
 
 
 
◆ tower_hash_binary_search()
◆ tower_hash_max()
◆ tower_id() [1/5]
◆ tower_id() [2/5]
◆ tower_id() [3/5]
◆ tower_id() [4/5]
  
  | 
        
          | Identifier JGTowerBase_ID::tower_id | ( | int | pos_neg, |  
          |  |  | int | sampling, |  
          |  |  | int | region, |  
          |  |  | int | eta, |  
          |  |  | int | phi |  
          |  | ) |  | const |  | inlineinherited | 
 
 
◆ tower_id() [5/5]
  
  | 
        
          | Identifier JGTowerBase_ID::tower_id | ( | int | pos_neg, |  
          |  |  | int | sampling, |  
          |  |  | int | region, |  
          |  |  | int | eta, |  
          |  |  | int | phi, |  
          |  |  | bool | checks |  
          |  | ) |  | const |  | inlineinherited | 
 
 
◆ tower_id_checks() [1/2]
  
  | 
        
          | void JGTowerBase_ID::tower_id_checks | ( | const Identifier | regionId, |  
          |  |  | int | eta, |  
          |  |  | int | phi |  
          |  | ) |  | const |  | privateinherited | 
 
Definition at line 598 of file JGTowerBase_ID.cxx.
  606     std::string errorMessage = 
"JGTowerBase_ID::tower_id(regionId) result is not OK: ID= " 
  614     std::string errorMessage = 
"JGTowerBase_ID::tower_id(regionId,field values) result is not OK: ID, range = " 
 
 
 
◆ tower_id_checks() [2/2]
  
  | 
        
          | void JGTowerBase_ID::tower_id_checks | ( | int | pos_neg, |  
          |  |  | int | sampling, |  
          |  |  | int | region, |  
          |  |  | int | eta, |  
          |  |  | int | phi |  
          |  | ) |  | const |  | privateinherited | 
 
Definition at line 583 of file JGTowerBase_ID.cxx.
  592     std::string errorMessage = 
"JGTowerBase_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_region_hash_max
  
  | 
        
          | size_type JGTowerBase_ID::m_calo_region_hash_max |  | privateinherited | 
 
 
◆ 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 363 of file AtlasDetectorID.h.
 
 
◆ m_do_neighbours
  
  | 
        
          | bool AtlasDetectorID::m_do_neighbours {true} |  | protectedinherited | 
 
Flag for subclasses to know whether or not to perform neighbour initialization. 
Definition at line 366 of file AtlasDetectorID.h.
 
 
◆ m_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 379 of file AtlasDetectorID.h.
 
 
◆ m_full_reg_range
◆ m_full_tower_range
◆ m_fwd_dict
◆ m_FWD_ID
  
  | 
        
          | int AtlasDetectorID::m_FWD_ID {13} |  | privateinherited | 
 
 
◆ m_fwd_part_impl
◆ m_group
  
  | 
        
          | std::string AtlasDetectorID::m_group |  | protectedinherited | 
 
 
◆ m_hash_calcs
  
  | 
        
          | std::vector<HashCalc> JGTowerBase_ID::m_hash_calcs |  | privateinherited | 
 
 
◆ 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_jgtower_impl
◆ m_jgtower_region_index
  
  | 
        
          | size_type JGTowerBase_ID::m_jgtower_region_index |  | privateinherited | 
 
 
◆ m_lar_dict
◆ m_lar_dm_field
◆ m_LAR_EM_ID
  
  | 
        
          | int AtlasDetectorID::m_LAR_EM_ID {1} |  | privateinherited | 
 
 
◆ m_LAR_FCAL_ID
  
  | 
        
          | int AtlasDetectorID::m_LAR_FCAL_ID {3} |  | privateinherited | 
 
 
◆ m_lar_fcal_module_impl
◆ m_LAR_FCAL_MODULE_INDEX
  
  | 
        
          | int AtlasDetectorID::m_LAR_FCAL_MODULE_INDEX {999} |  | privateinherited | 
 
 
◆ m_LAR_HEC_ID
  
  | 
        
          | int AtlasDetectorID::m_LAR_HEC_ID {2} |  | privateinherited | 
 
 
◆ m_LAR_ID
  
  | 
        
          | int AtlasDetectorID::m_LAR_ID {4} |  | privateinherited | 
 
 
◆ m_lar_part_impl
◆ m_LUCID_ID
  
  | 
        
          | int AtlasDetectorID::m_LUCID_ID {5} |  | privateinherited | 
 
 
◆ m_LUMI_ID
  
  | 
        
          | int AtlasDetectorID::m_LUMI_ID {3} |  | privateinherited | 
 
 
◆ m_LUMI_PLR_ID
  
  | 
        
          | int AtlasDetectorID::m_LUMI_PLR_ID {1} |  | privateinherited | 
 
 
◆ m_lvl
  
  | 
        
          | std::atomic<MSG::Level> AthMessaging::m_lvl { MSG::NIL } |  | mutableprivateinherited | 
 
 
◆ m_lvl1_field
◆ m_lvl1_onl_field
◆ m_MDT_ID
  
  | 
        
          | int AtlasDetectorID::m_MDT_ID {0} |  | privateinherited | 
 
 
◆ m_MM_ID
  
  | 
        
          | int AtlasDetectorID::m_MM_ID {5} |  | privateinherited | 
 
 
◆ m_msg_tls
  
  | 
        
          | boost::thread_specific_ptr<MsgStream> AthMessaging::m_msg_tls |  | mutableprivateinherited | 
 
MsgStream instance (a std::cout like with print-out levels) 
Definition at line 132 of file AthMessaging.h.
 
 
◆ m_msgSvc
  
  | 
        
          | IMessageSvc* AtlasDetectorID::m_msgSvc {} |  | protectedinherited | 
 
 
◆ m_muon_dict
◆ m_MUON_ID
  
  | 
        
          | int AtlasDetectorID::m_MUON_ID {7} |  | privateinherited | 
 
 
◆ m_muon_mdt_impl
◆ m_muon_rpc_impl
◆ m_muon_station_name_impl
◆ m_MUON_SUBDET_INDEX
  
  | 
        
          | size_type AtlasDetectorID::m_MUON_SUBDET_INDEX {999} |  | privateinherited | 
 
 
◆ m_muon_tech_bits
  
  | 
        
          | std::vector<unsigned int> AtlasDetectorID::m_muon_tech_bits |  | privateinherited | 
 
 
◆ m_next_eta_vec
  
  | 
        
          | std::vector<unsigned short> JGTowerBase_ID::m_next_eta_vec |  | privateinherited | 
 
 
◆ m_next_phi_vec
  
  | 
        
          | std::vector<unsigned short> JGTowerBase_ID::m_next_phi_vec |  | privateinherited | 
 
 
◆ 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> JGTowerBase_ID::m_prev_eta_vec |  | privateinherited | 
 
 
◆ m_prev_phi_vec
  
  | 
        
          | std::vector<unsigned short> JGTowerBase_ID::m_prev_phi_vec |  | privateinherited | 
 
 
◆ m_quiet
  
  | 
        
          | bool AtlasDetectorID::m_quiet {} |  | protectedinherited | 
 
 
◆ m_region_impl
◆ m_REGION_INDEX
◆ m_region_vec
  
  | 
        
          | std::vector<Identifier> JGTowerBase_ID::m_region_vec |  | privateinherited | 
 
 
◆ 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
  
  | 
        
          | std::vector<Identifier> JGTowerBase_ID::m_tower_vec |  | privateinherited | 
 
 
◆ m_TRT_ID
  
  | 
        
          | int AtlasDetectorID::m_TRT_ID {3} |  | privateinherited | 
 
 
◆ m_vecOfDictRegions
◆ m_ZDC_ID
  
  | 
        
          | int AtlasDetectorID::m_ZDC_ID {7} |  | privateinherited | 
 
 
The documentation for this class was generated from the following files:
 
IdDictRegion * find_region(const std::string ®ion_name) const
bool is_pixel(Identifier id) const
std::atomic< MSG::Level > m_lvl
Current logging level.
IdDictDictionary * m_muon_dict
int indet_field_value() const
Provide efficient access to individual field values, for subclass idhelpers.
id_iterator tower_begin() const
begin iterator over towers
bool is_forward(Identifier id) const
std::vector< const IdDictRegion * > m_vecOfDictRegions
List of IdDictRegion objects.
int eta(const Identifier id) const
return eta according to :
MultiRange build_multirange() const
Get MultiRange for full dictionary.
std::vector< unsigned int > m_muon_tech_bits
int fill_vec_of_dict_regions(const std::string &group_name="")
virtual int initialize_from_dictionary(const IdDictMgr &dict_mgr) override
Initialization from the identifier dictionary.
IdDictFieldImplementation m_indet_part_impl
std::vector< unsigned short > m_prev_eta_vec
const std::string & version() const
Dictionary version.
bool is_lar_fcal(Identifier id) const
Exception class for Calo Identifiers.
std::string show_to_string(void) const
bool is_lar(Identifier id) const
int muon_field_value() const
void tower_id_checks(int pos_neg, int sampling, int region, int eta, int phi) const
IdentifierHash calo_region_hash(const Identifier id) const
const IdDictRegion & region(size_t i) const
Region at index i.
IdentifierHash tower_hash(Identifier towerId) const
create hash id from tower id
element_type get_minimum() const
Query the values.
int phi(const Identifier id) const
return phi according to :
size_type end_index() const
int calo_field_value() const
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)
IdDictFieldImplementation m_sampling_impl
void add(element_type value)
Append a value into a new field.
std::vector< unsigned short > m_next_eta_vec
int sampling(const Identifier id) const
return sampling according to :
int region(const Identifier id) const
return region according to :
void pack(int value, Identifier &id) const
IdDictDictionary * m_tile_dict
void show() const
Send to std::cout.
IdContext tower_context() const
access to IdContext's which define which levels of fields are contained in the id
IMessageSvc * m_msgSvc
pointer to the message service
int phi_max(const Identifier regId) const
min value of phi index (-999 == failure)
std::string m_dict_version
element_type get_maximum() const
IdContext region_context() const
access to IdContext's which define which levels of fields are contained in the id
bool m_do_checks
Flag for subclasses to know whether or not to perform checks.
static constexpr value_type MAX_BIT
const std::string & name() const
Dictionary name.
IdDictFieldImplementation m_region_impl
std::vector< Identifier > m_region_vec
int lar_field_value() const
IdDictFieldImplementation m_pnz_reg_impl
std::atomic< IMessageSvc * > m_imsg
MessageSvc pointer.
int unpack(Identifier id) const
Identifier manipulation methods.
const std::string & file_name() const
Access to file name.
std::vector< unsigned short > m_prev_phi_vec
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 region_end() const
end iterator over regions
IMessageSvc * getMessageSvc(bool quiet=false)
IdDictField * find_field(const std::string &name) const
bool is_lvl1_trig_towers(Identifier id) const
MultiRange m_full_reg_range
boost::iterator_range< id_iterator > id_range
Type for range over identifiers.
size_type m_calo_region_hash_max
std::vector< HashCalc > m_hash_calcs
id_iterator tower_end() const
end iterator over towers
bool m_do_neighbours
Flag for subclasses to know whether or not to perform neighbour initialization.
void reset(Identifier &id) const
size_type m_SAMPLING_INDEX
size_type m_jgtower_region_index
virtual int initialize_base_from_dictionary(const IdDictMgr &dict_mgr, const std::string &t_pre)
initialization from the identifier dictionary
bool match(element_type value) const
The basic match operation Given a value, test to see if it satisfies the constraints for this field.
id_iterator region_begin() const
begin iterator over regions
Range::field m_tile_dm_field
size_type begin_index() const
static constexpr value_type ALL_BITS
IdDictDictionary * find_dictionary(const std::string &name) const
Access dictionary by name.
msgSvc
Provide convenience handles for various services.
bool empty() const
If true, this field does not have any constraints, and may hold any value representable by element_ty...
std::string m_group
Group name.
IdDictDictionary * m_calo_dict
void set_bits(size_type bits, size_type bits_offset)
bool m_is_initialized_from_dict
IdDictFieldImplementation m_lar_part_impl
ExpandedIdentifier indet_exp(void) const
Detector systems:
JGTowerBase_ID(const std::string &name, const std::string &group)
IdDictFieldImplementation m_muon_mdt_impl
IdDictFieldImplementation m_lar_fcal_module_impl
size_type bits_offset() const
bool is_tile_dm(Identifier id) const
std::vector< Identifier > m_tower_vec
IdDictDictionary * m_fwd_dict
bool get_next(element_type current, element_type &next) const
bool is_tile(Identifier id) const
std::vector< unsigned short > m_next_phi_vec
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
const IdDictDictionary * m_dict
int register_dict_tag(const IdDictMgr &dict_mgr, const std::string &dict_name)
Register the file and tag names for a particular IdDict dictionary.
bool is_calo(Identifier id) const
int tile_field_value() const
void region_id_checks(int pos_neg, int sampling, int region) const
int get_label_value(const std::string &field, const std::string &label, int &value) const
std::string print_to_string(Identifier id, const IdContext *context=0) const
or provide the printout in string form
Identifier region_id(int pos_neg, int sampling, int region) const
build a region (of towers) identifier
IdDictFieldImplementation m_jgtower_impl
IdDictDictionary * m_indet_dict
IdDictFieldImplementation m_calo_side_impl
bool is_indet(Identifier id) const
std::vector< std::string > m_dict_names
List of dictionary names used by this helper.
Range::field m_lar_dm_field
A Range describes the possible ranges for the field values of an ExpandedIdentifier.
ExpandedIdentifier calo_exp(void) const
size_type m_tower_hash_max
ExpandedIdentifier fwd_exp(void) const
IdDictFieldImplementation m_muon_station_name_impl
size_type m_DETZSIDE_INDEX
Identifier tower_id(int pos_neg, int sampling, int region, int eta, int phi) const
build a tower identifier
struct TBPatternUnitContext Muon
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 is_lar_dm(Identifier id) const
LAr/Tile dead material:
int pos_neg(const Identifier id) const
return pos_neg according to :
IdentifierHash tower_hash_binary_search(Identifier towerId) const
create hash id from tower id – method NOT optimised, please use tower_hash() above
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
const std::string & dict_tag() const
Access to the dictionary tag.
ExpandedIdentifier lar_exp(void) const
std::vector< std::string > m_file_names
List of dictionary file names used by this helper.
#define ATH_MSG_WARNING(x)
std::string m_nm
Message source name.
int initLevelsFromDict(const std::string &t_pre)
int eta_min(const Identifier regId) const
min value of eta index (-999 == failure)
This is the individual specification for the range of one ExpandedIdentifier IdentifierField.
int get_expanded_id(const Identifier &id, ExpandedIdentifier &exp_id, const IdContext *context) const
create expanded Identifier from Identifier (return == 0 for OK)
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
IdDictFieldImplementation m_phi_impl
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)
MultiRange m_full_tower_range
IdDictFieldImplementation m_calo_impl
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.
constexpr std::initializer_list< int > Tile
Range::field m_lvl1_field
Identifier::size_type size_type
IdDictFieldImplementation m_eta_impl