#include <TileCondIdTransforms.h>
|
| | TileCondIdTransforms (const std::string &type, const std::string &name, const IInterface *parent) |
| virtual | ~TileCondIdTransforms () |
| StatusCode | initialize () |
| StatusCode | finalize () |
| const TileHWID * | getTileHWID () const |
| void | getIndices (const HWIdentifier &hwid, unsigned int &ros, unsigned int &drawer, unsigned int &channel, unsigned int &adc) const |
| void | getIndices (const HWIdentifier &hwid, unsigned int &drawerIdx, unsigned int &channel, unsigned int &adc) const |
| void | getIndices (const HWIdentifier &hwid, unsigned int &drawerIdx, unsigned int &channel) const |
| void | getIndices (IdentifierHash hash_id, unsigned int &drawerIdx, unsigned int &channel) const |
| 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 |
Definition at line 16 of file TileCondIdTransforms.h.
◆ StoreGateSvc_t
◆ TileCondIdTransforms()
| TileCondIdTransforms::TileCondIdTransforms |
( |
const std::string & | type, |
|
|
const std::string & | name, |
|
|
const IInterface * | parent ) |
◆ ~TileCondIdTransforms()
| virtual TileCondIdTransforms::~TileCondIdTransforms |
( |
| ) |
|
|
inlinevirtual |
◆ declareGaudiProperty()
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
158 {
161 hndl.documentation());
162
163 }
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
◆ declareProperty()
Definition at line 145 of file AthCommonDataStore.h.
145 {
148 }
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
◆ detStore()
◆ evtStore()
◆ extraDeps_update_handler()
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
◆ finalize()
| StatusCode TileCondIdTransforms::finalize |
( |
| ) |
|
◆ getIndices() [1/4]
| void TileCondIdTransforms::getIndices |
( |
const HWIdentifier & | hwid, |
|
|
unsigned int & | drawerIdx, |
|
|
unsigned int & | channel ) const |
Definition at line 88 of file TileCondIdTransforms.cxx.
90 {
91
96}
static unsigned int getDrawerIdx(unsigned int ros, unsigned int drawer)
Returns a drawer hash.
◆ getIndices() [2/4]
| void TileCondIdTransforms::getIndices |
( |
const HWIdentifier & | hwid, |
|
|
unsigned int & | drawerIdx, |
|
|
unsigned int & | channel, |
|
|
unsigned int & | adc ) const |
◆ getIndices() [3/4]
| void TileCondIdTransforms::getIndices |
( |
const HWIdentifier & | hwid, |
|
|
unsigned int & | ros, |
|
|
unsigned int & | drawer, |
|
|
unsigned int & | channel, |
|
|
unsigned int & | adc ) const |
◆ getIndices() [4/4]
| void TileCondIdTransforms::getIndices |
( |
IdentifierHash | hash_id, |
|
|
unsigned int & | drawerIdx, |
|
|
unsigned int & | channel ) const |
Definition at line 100 of file TileCondIdTransforms.cxx.
102 {
103
104 if (hash_id < m_tileHWID->channel_hash_max()) {
105 HWIdentifier hwid =
m_tileHWID->channel_id(hash_id);
110 } else {
111 drawerIdx = 0;
113 }
114
115}
◆ getTileHWID()
◆ initialize()
| StatusCode TileCondIdTransforms::initialize |
( |
| ) |
|
Definition at line 38 of file TileCondIdTransforms.cxx.
38 {
39
41
42
44
45
47
48 return StatusCode::SUCCESS;
49}
#define CHECK(...)
Evaluate an expression and check for errors.
const ServiceHandle< StoreGateSvc > & detStore() const
◆ inputHandles()
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.
◆ interfaceID()
| const InterfaceID & TileCondIdTransforms::interfaceID |
( |
| ) |
|
|
static |
◆ msg()
◆ msgLvl()
◆ outputHandles()
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.
◆ renounce()
Definition at line 380 of file AthCommonDataStore.h.
381 {
384 }
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)
◆ renounceArray()
◆ sysInitialize()
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ updateVHKA()
Definition at line 308 of file AthCommonDataStore.h.
308 {
309
310
313 for (
auto k :
keys) {
315 }
316 }
317 }
std::vector< SG::VarHandleKeyArray * > m_vhka
◆ m_detStore
◆ m_evtStore
◆ m_tileHWID
◆ m_tileID
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files: