![]() |
ATLAS Offline Software
|
TileCal RoI map to offline Identifier. More...
#include <TileRoI_Map.h>
Classes | |
| class | EtaPhiRegion |
Public Types | |
| typedef Identifier | TT_ID |
| typedef int | COLL_ID |
Public Member Functions | |
| TileRoI_Map (const std::string &type, const std::string &name, const IInterface *parent) | |
| constructor | |
| StatusCode | initialize () |
| define a RoI identifier type, two ints. | |
| virtual | ~TileRoI_Map () |
| TT_ID | TrigTowerID (const Identifier &id) const |
| return TrigTowerID for various queries. | |
| TT_ID | TrigTowerID (const HWIdentifier &id) const |
| const std::vector< COLL_ID > & | CollectionID (const TT_ID &id) const |
| reserve lookup. | |
| bool | validId (const TT_ID &tt_id) const |
| check validity | |
| bool | getEtaPhiRegion (unsigned int hashid, float &etamin, float &etamax, float &phimin, float &phimax) const |
| returns Eta-Phi Region for a hashed ID of the Collection. | |
| ServiceHandle< StoreGateSvc > & | evtStore () |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. | |
| const ServiceHandle< StoreGateSvc > & | detStore () const |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc. | |
| virtual StatusCode | sysInitialize () override |
| Perform system initialization for an algorithm. | |
| virtual StatusCode | sysStart () override |
| Handle START transition. | |
| virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. | |
| virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. | |
| Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T, V, H > &t) |
| void | updateVHKA (Gaudi::Details::PropertyBase &) |
| MsgStream & | msg () const |
| bool | msgLvl (const MSG::Level lvl) const |
Static Public Member Functions | |
| static const InterfaceID & | interfaceID () |
| AlgTool InterfaceID. | |
Protected Member Functions | |
| void | renounceArray (SG::VarHandleKeyArray &handlesArray) |
| remove all handles from I/O resolution | |
| std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > | renounce (T &h) |
| void | extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps) |
| Add StoreName to extra input/output deps as needed. | |
Private Types | |
| typedef std::map< Identifier, TT_ID > | OFFMAP |
| Map for offline ID and online id. | |
| typedef std::map< HWIdentifier, TT_ID > | ONLMAP |
| typedef std::vector< COLL_ID > | COLL_ID_VEC |
| typedef std::map< TT_ID, COLL_ID_VEC > | ROIMAP |
| typedef std::map< int, EtaPhiRegion > | E_P_MAP |
| typedef ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
Private Member Functions | |
| bool | addEntry (const HWIdentifier &adc_hwid) |
| void | printEtaPhiRegions () |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> | |
Private Attributes | |
| OFFMAP | m_offmap |
| ONLMAP | m_onlmap |
| ROIMAP | m_roimap |
| E_P_MAP | m_epmap |
| const TileID * | m_tileID {nullptr} |
| const TileHWID * | m_tileHWID {nullptr} |
| const TileDetDescrManager * | m_tileMgr {nullptr} |
| const TileCablingService * | m_cablingSvc {nullptr} |
| TileFragHash | m_idhash |
| Gaudi::Property< bool > | m_print {this, "Print", false} |
| StoreGateSvc_t | m_evtStore |
| Pointer to StoreGate (event store by default) | |
| StoreGateSvc_t | m_detStore |
| Pointer to StoreGate (detector store by default) | |
| std::vector< SG::VarHandleKeyArray * > | m_vhka |
| bool | m_varHandleArraysDeclared |
TileCal RoI map to offline Identifier.
Definition at line 32 of file TileRoI_Map.h.
| typedef int TileRoI_Map::COLL_ID |
Definition at line 47 of file TileRoI_Map.h.
|
private |
Definition at line 113 of file TileRoI_Map.h.
|
private |
Definition at line 116 of file TileRoI_Map.h.
|
private |
Map for offline ID and online id.
Definition at line 111 of file TileRoI_Map.h.
|
private |
Definition at line 112 of file TileRoI_Map.h.
|
private |
Definition at line 114 of file TileRoI_Map.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
| typedef Identifier TileRoI_Map::TT_ID |
Definition at line 46 of file TileRoI_Map.h.
| TileRoI_Map::TileRoI_Map | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent ) |
constructor
Definition at line 24 of file TileRoI_Map.cxx.
|
virtual |
Definition at line 62 of file TileRoI_Map.cxx.
|
private |
Definition at line 67 of file TileRoI_Map.cxx.
| const TileRoI_Map::COLL_ID_VEC & TileRoI_Map::CollectionID | ( | const TT_ID & | id | ) | const |
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
|
inlineinherited |
Definition at line 145 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 95 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 85 of file AthCommonDataStore.h.
|
protectedinherited |
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
| bool TileRoI_Map::getEtaPhiRegion | ( | unsigned int | hashid, |
| float & | etamin, | ||
| float & | etamax, | ||
| float & | phimin, | ||
| float & | phimax ) const |
returns Eta-Phi Region for a hashed ID of the Collection.
return false for invalid ID.
Definition at line 208 of file TileRoI_Map.cxx.
| StatusCode TileRoI_Map::initialize | ( | ) |
define a RoI identifier type, two ints.
iterator over all ADC Identifiers
Definition at line 31 of file TileRoI_Map.cxx.
|
overridevirtualinherited |
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
|
static |
AlgTool InterfaceID.
Definition at line 20 of file TileRoI_Map.cxx.
|
inlineinherited |
Definition at line 24 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 30 of file AthCommonMsg.h.
|
overridevirtualinherited |
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
|
private |
Definition at line 176 of file TileRoI_Map.cxx.
|
inlineprotectedinherited |
Definition at line 380 of file AthCommonDataStore.h.
|
inlineprotectedinherited |
remove all handles from I/O resolution
Definition at line 364 of file AthCommonDataStore.h.
|
overridevirtualinherited |
Perform system initialization for an algorithm.
We override this to declare all the elements of handle key arrays at the end of initialization. See comments on updateVHKA.
Reimplemented in asg::AsgMetadataTool, AthCheckedComponent< AthAlgTool >, AthCheckedComponent<::AthAlgTool >, and DerivationFramework::CfAthAlgTool.
|
overridevirtualinherited |
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
| TileRoI_Map::TT_ID TileRoI_Map::TrigTowerID | ( | const HWIdentifier & | id | ) | const |
Definition at line 141 of file TileRoI_Map.cxx.
| TileRoI_Map::TT_ID TileRoI_Map::TrigTowerID | ( | const Identifier & | id | ) | const |
return TrigTowerID for various queries.
Definition at line 123 of file TileRoI_Map.cxx.
|
inlineinherited |
Definition at line 308 of file AthCommonDataStore.h.
| bool TileRoI_Map::validId | ( | const TT_ID & | tt_id | ) | const |
|
private |
Definition at line 127 of file TileRoI_Map.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
private |
Definition at line 122 of file TileRoI_Map.h.
|
privateinherited |
Pointer to StoreGate (event store by default)
Definition at line 390 of file AthCommonDataStore.h.
|
private |
Definition at line 129 of file TileRoI_Map.h.
|
private |
Definition at line 118 of file TileRoI_Map.h.
|
private |
Definition at line 119 of file TileRoI_Map.h.
|
private |
Definition at line 130 of file TileRoI_Map.h.
|
private |
Definition at line 120 of file TileRoI_Map.h.
|
private |
Definition at line 125 of file TileRoI_Map.h.
|
private |
Definition at line 124 of file TileRoI_Map.h.
|
private |
Definition at line 126 of file TileRoI_Map.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.