collect GUID related operations and provide caching
More...
#include <TrigSerializeGuidHelper.h>
collect GUID related operations and provide caching
- Author
- Jiri Masik Jiri..nosp@m.Masi.nosp@m.k@cer.nosp@m.n.ch
Definition at line 18 of file TrigSerializeGuidHelper.h.
◆ StoreGateSvc_t
◆ TrigSerializeGuidHelper()
| TrigSerializeGuidHelper::TrigSerializeGuidHelper |
( |
const std::string & | name, |
|
|
const std::string & | type, |
|
|
const IInterface * | parent ) |
◆ ~TrigSerializeGuidHelper()
| TrigSerializeGuidHelper::~TrigSerializeGuidHelper |
( |
| ) |
|
|
virtual |
◆ ClassNameToInts()
| StatusCode TrigSerializeGuidHelper::ClassNameToInts |
( |
const std::string & | clname, |
|
|
uint32_t * | iarr ) |
|
virtual |
- Returns
- StatusCode
Implements ITrigSerGuidHelperBase.
Definition at line 28 of file TrigSerializeGuidHelper.cxx.
28 {
29 iarr[0] = iarr[1] = iarr[2] = iarr[3] = 0;
30
32
37 ATH_MSG_DEBUG( clname <<
" to ROOT known as " << cl <<
" has " <<
"ClassID=" << gecko );
38
40 iarr[0] =
guid.data1();
41 iarr[1] =
guid.data2() << 16 |
guid.data3();
42 iarr[2] =
guid.data4(0) << 24 |
guid.data4(1) << 16 |
guid.data4(2) << 8 |
guid.data4(3);
43 iarr[3] =
guid.data4(4) << 24 |
guid.data4(5) << 16 |
guid.data4(6) << 8 |
guid.data4(7);
44 }
45 else{
46 ATH_MSG_WARNING(
"property list has no ClassID for class name " << clname <<
" aka (" << cl <<
")" );
47 return StatusCode::FAILURE;
48 }
49
50 return StatusCode::SUCCESS;
51}
#define ATH_MSG_WARNING(x)
TPropertyListAdapter RootPropertyList
std::string PropertyAsString(const std::string &key) const
Bool_t HasProperty(const std::string &key) const
static TScopeAdapter ByNameNoQuiet(const std::string &name, Bool_t load=kTRUE)
std::string remapToDictName(const std::string &s)
cl
print [x.__class__ for x in toList(dqregion.getSubRegions()) ]
◆ 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
◆ 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 & ITrigSerializeGuidHelper::interfaceID |
( |
| ) |
|
|
inlinestaticinherited |
Definition at line 48 of file ITrigSerGuidHelper.h.
static const InterfaceID IID_ITrigSerGuidHelper("ITrigSerGuidHelper", 1, 0)
Declaration of the interface ID ( interface id, major version, minor version)
◆ IntsToClassName()
| StatusCode TrigSerializeGuidHelper::IntsToClassName |
( |
const uint32_t * | iarr, |
|
|
std::string & | clname ) |
|
virtual |
- Returns
- StatusCode
Implements ITrigSerGuidHelperBase.
Definition at line 53 of file TrigSerializeGuidHelper.cxx.
53 {
54
56 guid.setData1(iarr[0]);
57 guid.setData2(iarr[1] >> 16);
58 guid.setData3(iarr[1] & 0xFFFF);
59 guid.setData4(iarr[2] >> 24, 0);
60 guid.setData4(iarr[2] >> 16, 1);
61 guid.setData4(iarr[2] >> 8, 2);
62 guid.setData4(iarr[2] & 0xFF, 3);
63 guid.setData4(iarr[3] >> 24, 4);
64 guid.setData4(iarr[3] >> 16, 5);
65 guid.setData4(iarr[3] >> 8, 6);
66 guid.setData4(iarr[3] & 0xFF, 7);
67
69
70 if( clname != "" ) {
71
72
73
75 if( g != guid ) {
76
77 clname = "";
78 }
79 }
80
81 if( clname == "" ) {
84 }
85
87
88 if (clname.empty()){
89 return StatusCode::FAILURE;
90 }
91
92 return StatusCode::SUCCESS;
93}
static const TypeH forGuid(const Guid &info)
Access classes by Guid.
static Guid guid(const TypeH &id)
Determine Guid (normalized string form) from reflection type.
◆ msg()
◆ msgLvl()
| bool AthCommonMsg< AlgTool >::msgLvl |
( |
const MSG::Level | lvl | ) |
const |
|
inlineinherited |
◆ 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_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files: