|
ATLAS Offline Software
|
Algorithm to test writing conditions data and reading them back.
More...
#include <IOVDbTestAlg.h>
|
| IOVDbTestAlg (const std::string &name, ISvcLocator *pSvcLocator) |
|
virtual | ~IOVDbTestAlg () |
|
virtual StatusCode initialize | ATLAS_NOT_THREAD_SAFE () override |
|
virtual StatusCode | execute (const EventContext &ctx) const override |
|
virtual StatusCode | finalize () override |
|
virtual StatusCode | sysInitialize () override |
| Override sysInitialize. More...
|
|
virtual bool | isClonable () const override |
| Specify if the algorithm is clonable. More...
|
|
virtual unsigned int | cardinality () const override |
| Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant. More...
|
|
virtual StatusCode | sysExecute (const EventContext &ctx) override |
| Execute an algorithm. More...
|
|
virtual const DataObjIDColl & | extraOutputDeps () const override |
| Return the list of extra output dependencies. More...
|
|
virtual bool | filterPassed (const EventContext &ctx) const |
|
virtual void | setFilterPassed (bool state, const EventContext &ctx) const |
|
ServiceHandle< StoreGateSvc > & | evtStore () |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | evtStore () const |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | detStore () const |
| The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
virtual StatusCode | sysStart () override |
| Handle START transition. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. More...
|
|
Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T > &t) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc="none") |
| Declare a new Gaudi property. More...
|
|
void | updateVHKA (Gaudi::Details::PropertyBase &) |
|
MsgStream & | msg () const |
|
MsgStream & | msg (const MSG::Level lvl) const |
|
bool | msgLvl (const MSG::Level lvl) const |
|
Algorithm to test writing conditions data and reading them back.
Definition at line 36 of file IOVDbTestAlg.h.
◆ StoreGateSvc_t
◆ IOVDbTestAlg()
IOVDbTestAlg::IOVDbTestAlg |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
pSvcLocator |
|
) |
| |
◆ ~IOVDbTestAlg()
IOVDbTestAlg::~IOVDbTestAlg |
( |
| ) |
|
|
virtual |
◆ ATLAS_NOT_THREAD_SAFE()
virtual StatusCode initialize IOVDbTestAlg::ATLAS_NOT_THREAD_SAFE |
( |
| ) |
|
|
overridevirtual |
◆ cardinality()
unsigned int AthReentrantAlgorithm::cardinality |
( |
| ) |
const |
|
overridevirtualinherited |
Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant.
Override this to return 0 for reentrant algorithms.
Override this to return 0 for reentrant algorithms.
Definition at line 55 of file AthReentrantAlgorithm.cxx.
◆ createCondObjects()
StatusCode IOVDbTestAlg::createCondObjects |
( |
const EventContext & |
ctx | ) |
const |
|
private |
Definition at line 176 of file IOVDbTestAlg.cxx.
182 unsigned long long timestamp = ctx.eventID().time_stamp();
184 elemMap->
set(ctx.eventID().time_stamp(),
"mdt element map");
186 elemMap->
set(ctx.eventID().run_number(), ctx.eventID().event_number(),
"mdt element map");
198 for (
unsigned int i = 0;
i < 10; ++
i) {
201 unsigned long long timestamp = ctx.eventID().time_stamp();
203 elemMap->
set(ctx.eventID().time_stamp() + 10*
i,
"mdt element map");
205 elemMap->
set(ctx.eventID().run_number() +
i, ctx.eventID().event_number(),
"mdt element map");
212 ATH_CHECK(
detStore()->record(elemMapColl,
"/IOVDbTest/IOVDbTestMDTEleMapColl") );
216 HepGeom::Point3D<double>
x(1.0, 2.0, 3.0);
217 HepGeom::Point3D<double>
y(4.0, 5.0, 6.0);
220 x = HepGeom::Point3D<double>(11.0, 22.0, 33.0);
221 y = HepGeom::Point3D<double>(44.0, 55.0, 66.0);
223 amdbCorr->
set(
x,
y,
"amdb correction");
230 coral::AttributeListSpecification* attrSpec =
new coral::AttributeListSpecification();
231 attrSpec->extend(
"xPosition",
"float");
232 attrSpec->extend(
"id",
"int");
233 attrSpec->extend(
"name",
"string");
235 if (!attrSpec->size()) {
237 return(StatusCode::FAILURE);
246 (*attrList)[
"xPosition"].setValue((
float)
m_run);
247 (*attrList)[
"id"].setValue((
int)7);
248 (*attrList)[
"name"].setValue(std::string(
"TestAttrList"));
251 (*attrList)[
"xPosition"].setValue((
float)125.0);
252 (*attrList)[
"id"].setValue((
int)27);
253 (*attrList)[
"name"].setValue(std::string(
"TestAttrListNEWTAG"));
255 std::ostringstream attrStr1;
257 attrList->toOutputStream( attrStr1 );
266 coral::AttributeListSpecification* fanSpec =
new coral::AttributeListSpecification();
267 fanSpec->extend(
"FanBool",
"bool");
268 fanSpec->extend(
"FanInt",
"int");
269 fanSpec->extend(
"FanUInt",
"unsigned int");
270 fanSpec->extend(
"FanI64",
"long long");
271 fanSpec->extend(
"FanU64",
"unsigned long long");
272 fanSpec->extend(
"FanFloat",
"float");
273 fanSpec->extend(
"FanDouble",
"double");
274 fanSpec->extend(
"FanSmallString",
"string");
275 fanSpec->extend(
"FanBigString",
"string");
276 fanSpec->extend(
"FanBlob",
"blob");
279 (*fanList)[
"FanBool"].data<
bool>()=
true;
280 (*fanList)[
"FanInt"].data<
int>()=-12345;
281 (*fanList)[
"FanUInt"].data<
unsigned int>()=12345;
282 (*fanList)[
"FanI64"].data<
long long>()=-98765432100LL;
283 (*fanList)[
"FanU64"].data<
unsigned long long>()=98765432100LL;
284 (*fanList)[
"FanFloat"].data<
float>()=1.2345;
285 (*fanList)[
"FanDouble"].data<
double>()=1.23456789;
286 (*fanList)[
"FanSmallString"].data<std::string>()=
"small string";
287 (*fanList)[
"FanBigString"].data<std::string>()=
"potentially long string";
290 unsigned int blobsize=2000;
291 blob.resize(blobsize);
292 unsigned char*
p=
static_cast<unsigned char*
>(
blob.startingAddress());
293 for (
unsigned int i=0;
i<blobsize;++
i,++
p) *
p=(
i % 256);
295 std::ostringstream fanstr;
296 fanList->toOutputStream(fanstr);
308 attrList0[
"xPosition"].setValue((
float)35.0);
309 attrList0[
"id"].setValue((
int)17);
310 attrList0[
"name"].setValue(std::string(
"TestAttrList"));
313 std::ostringstream attrStr2;
314 attrList0.toOutputStream( attrStr2 );
319 attrList1[
"xPosition"].setValue((
float)45.0);
320 attrList1[
"id"].setValue((
int)27);
321 attrList1[
"name"].setValue(std::string(
"TestAttrList"));
324 std::ostringstream attrStr3;
325 attrList1.toOutputStream( attrStr3 );
330 attrList2[
"xPosition"].setValue((
float)55.0);
331 attrList2[
"id"].setValue((
int)37);
332 attrList2[
"name"].setValue(std::string(
"TestAttrList"));
335 std::ostringstream attrStr4;
336 attrList2.toOutputStream( attrStr4 );
343 attrList3[
"xPosition"].setValue((
float)65.0);
344 attrList3[
"id"].setValue((
int)47);
345 attrList3[
"name"].setValue(std::string(
"TestAttrList"));
348 std::ostringstream attrStr5;
349 attrList3.toOutputStream( attrStr5 );
357 <<
" till " <<
range.stop().run() <<
" " <<
range.stop().event() );
360 attrList4[
"xPosition"].setValue((
float)75.0);
361 attrList4[
"id"].setValue((
int)57);
362 attrList4[
"name"].setValue(std::string(
"TestAttrList"));
365 std::ostringstream attrStr6;
366 attrList4.toOutputStream( attrStr6 );
373 ATH_MSG_DEBUG(
"Add min : since " << range1.start().run() <<
" " << range1.start().event() <<
" till " << range1.stop().run() <<
" " << range1.stop().event() );
379 citr!=attrListColl->
end();++citr) {
381 std::ostringstream
name;
387 ATH_CHECK(
detStore()->record(attrListColl,
"/IOVDbTest/IOVDbTestAttrListColl") );
389 return StatusCode::SUCCESS;
◆ declareGaudiProperty() [1/4]
specialization for handling Gaudi::Property<SG::VarHandleKeyArray>
Definition at line 170 of file AthCommonDataStore.h.
175 hndl.documentation());
◆ declareGaudiProperty() [2/4]
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
161 hndl.documentation());
◆ declareGaudiProperty() [3/4]
specialization for handling Gaudi::Property<SG::VarHandleBase>
Definition at line 184 of file AthCommonDataStore.h.
189 hndl.documentation());
◆ declareGaudiProperty() [4/4]
◆ declareProperty() [1/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleBase
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 245 of file AthCommonDataStore.h.
250 this->declare(hndl.
vhKey());
251 hndl.
vhKey().setOwner(
this);
◆ declareProperty() [2/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleKey
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 221 of file AthCommonDataStore.h.
◆ declareProperty() [3/6]
◆ declareProperty() [4/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This is the generic version, for types that do not derive from SG::VarHandleKey
. It just forwards to the base class version of declareProperty
.
Definition at line 333 of file AthCommonDataStore.h.
◆ declareProperty() [5/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This dispatches to either the generic declareProperty
or the one for VarHandle/Key/KeyArray.
Definition at line 352 of file AthCommonDataStore.h.
◆ declareProperty() [6/6]
◆ detStore()
◆ evtStore() [1/2]
◆ evtStore() [2/2]
◆ execute()
StatusCode IOVDbTestAlg::execute |
( |
const EventContext & |
ctx | ) |
const |
|
overridevirtual |
Definition at line 587 of file IOVDbTestAlg.cxx.
614 msg() <<
MSG::DEBUG <<
"Event (run,ev,lb:time): [" << ctx.eventID().run_number() <<
"," << ctx.eventID().event_number();
615 if (
m_printLB)
msg() <<
"," << ctx.eventID().lumi_block();
616 msg() <<
":" << ctx.eventID().time_stamp() <<
"]" <<
endmsg;
622 if (2 != ctx.eventID().run_number() || 5 != ctx.eventID().event_number()) {
623 ATH_MSG_DEBUG(
"Event NOT selected for creating conditions objects " );
624 return StatusCode::SUCCESS;
637 ATH_MSG_DEBUG(
"Calling printCondObjects" <<
m_online<<
"\t"<<ctx.eventID().run_number()<<
"\t"<<ctx.eventID().event_number() );
640 if (
m_online && 2 == ctx.eventID().run_number() && 9 == ctx.eventID().event_number())
645 return StatusCode::SUCCESS;
◆ 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
◆ extraOutputDeps()
const DataObjIDColl & AthReentrantAlgorithm::extraOutputDeps |
( |
| ) |
const |
|
overridevirtualinherited |
Return the list of extra output dependencies.
This list is extended to include symlinks implied by inheritance relations.
Definition at line 79 of file AthReentrantAlgorithm.cxx.
86 return Algorithm::extraOutputDeps();
◆ filterPassed()
virtual bool AthReentrantAlgorithm::filterPassed |
( |
const EventContext & |
ctx | ) |
const |
|
inlinevirtualinherited |
◆ finalize()
StatusCode IOVDbTestAlg::finalize |
( |
| ) |
|
|
overridevirtual |
◆ 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.
◆ isClonable()
bool AthReentrantAlgorithm::isClonable |
( |
| ) |
const |
|
overridevirtualinherited |
Specify if the algorithm is clonable.
Reentrant algorithms are clonable.
Reimplemented in Simulation::BeamEffectsAlg, InDet::SiTrackerSpacePointFinder, InDet::SCT_Clusterization, InDet::SiSPSeededTrackFinder, SCTRawDataProvider, InDet::GNNSeedingTrackMaker, SCT_PrepDataToxAOD, RoIBResultToxAOD, SCT_CablingCondAlgFromCoraCool, SCT_ReadCalibDataTestAlg, SCT_CablingCondAlgFromText, InDet::SiSPGNNTrackMaker, SCT_ReadCalibChipDataTestAlg, SCT_TestCablingAlg, SCT_ConfigurationConditionsTestAlg, ITkPixelCablingAlg, ITkStripCablingAlg, SCTEventFlagWriter, SCT_ConditionsSummaryTestAlg, SCT_ModuleVetoTestAlg, SCT_MonitorConditionsTestAlg, SCT_LinkMaskingTestAlg, SCT_MajorityConditionsTestAlg, SCT_RODVetoTestAlg, SCT_SensorsTestAlg, SCT_TdaqEnabledTestAlg, SCT_SiliconConditionsTestAlg, SCTSiLorentzAngleTestAlg, SCT_ByteStreamErrorsTestAlg, SCT_ConditionsParameterTestAlg, SCT_FlaggedConditionTestAlg, SCT_StripVetoTestAlg, SCT_RawDataToxAOD, and SCTSiPropertiesTestAlg.
Definition at line 44 of file AthReentrantAlgorithm.cxx.
◆ msg() [1/2]
◆ msg() [2/2]
◆ 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.
◆ printCondObjects()
StatusCode IOVDbTestAlg::printCondObjects |
( |
| ) |
const |
|
private |
Definition at line 394 of file IOVDbTestAlg.cxx.
412 ATH_MSG_INFO (
"Retrieved /IOVDbTest/IOVDbTestAMDBCorrection" );
415 HepGeom::Point3D<double> rot = amdbCorr->
getRotation();
418 <<
" trans " << trans.x() <<
" " << trans.y() <<
" " << trans.z()
419 <<
" rot " << rot.x() <<
" " << rot.y() <<
" " << rot.z() );
426 ATH_MSG_INFO(
"Retrieved /IOVDbTest/IOVDbTestAMDBCorrection-NEWTAG" );
429 HepGeom::Point3D<double> rot = amdbCorr->
getRotation();
432 <<
" trans " << trans.x() <<
" " << trans.y() <<
" " << trans.z()
433 <<
" rot " << rot.x() <<
" " << rot.y() <<
" " << rot.z() );
445 std::ostringstream attrStr1;
446 attrList->
print( attrStr1 );
454 std::ostringstream attrStr1;
455 attrList->
print( attrStr1 );
456 ATH_MSG_DEBUG(
"Attribute list NEWTAG: " << attrStr1.str() );
463 std::ostringstream fanstr;
464 attrList->
print( fanstr );
468 const unsigned char*
p=
static_cast<const unsigned char*
>
469 (
blob.startingAddress());
471 for (
int i=0;
i<
blob.size();++
i,++
p)
if (*
p!=(
i % 256)) ++nerr;
473 " data mismatches!" );
481 std::ostringstream attrStr2;
489 std::ostringstream attrStr1;
490 (*first).second.toOutputStream( attrStr1 );
500 " Attribute list " << attrStr1.str() <<
endmsg;
506 if (iovIt != attrListColl->
iov_end()) {
508 if(
range.start().isTimestamp()) {
510 <<
" till " <<
range.stop().timestamp() );
514 <<
range.start().event()
515 <<
" till " <<
range.stop().run() <<
" "
516 <<
range.stop().event() );
526 if (
detStore()->
retrieve(attrList,
"/Simulation/Parameters").isFailure() ) {
532 std::ostringstream attrStr;
533 attrList->
print( attrStr );
537 if (
detStore()->
retrieve(attrList,
"/Digitization/Parameters").isFailure()) {
543 std::ostringstream attrStr;
544 attrList->
print( attrStr );
560 ATH_MSG_ERROR(
"Must fill in channel numbers! Number of objects: " << elemMapColl->
size()
561 <<
" Number of channels: " << elemMapColl->
chan_size() );
562 return(StatusCode::FAILURE);
565 bool hasIOVs = (elemMapColl->
iov_size() == elemMapColl->
size());
568 for (
unsigned int i = 0;
i < elemMapColl->
size(); ++
i, ++itChan) {
570 msg() << MSG::INFO <<
"Found " << elemMap->
name()
574 <<
" channel " << (*itChan);
576 msg() << MSG::INFO <<
" iov " << (*itIOV);
582 return StatusCode::SUCCESS;
◆ readWithBeginRun()
StatusCode IOVDbTestAlg::readWithBeginRun |
( |
| ) |
|
|
private |
Definition at line 158 of file IOVDbTestAlg.cxx.
169 incSvc->fireIncident( Incident(
name(), IncidentType::BeginRun, Gaudi::Hive::currentContext()) );
171 return StatusCode::SUCCESS;
◆ registerCondObjects()
StatusCode IOVDbTestAlg::registerCondObjects |
( |
| ) |
|
|
private |
Definition at line 706 of file IOVDbTestAlg.cxx.
710 std::string
tag =
"no tag";
741 ATH_CHECK(
m_regSvc->registerIOV(
"AthenaAttributeList",
"/IOVDbTest/IOVDbTestAttrList",
"") );
751 ATH_CHECK(
m_regSvc->registerIOV(
"AthenaAttributeList",
"/IOVDbTest/IOVDbTestFancyList",
"") );
777 return StatusCode::SUCCESS;
◆ registerIOV()
StatusCode IOVDbTestAlg::registerIOV |
( |
const CLID & |
clid | ) |
|
|
private |
◆ renounce()
◆ renounceArray()
◆ setFilterPassed()
virtual void AthReentrantAlgorithm::setFilterPassed |
( |
bool |
state, |
|
|
const EventContext & |
ctx |
|
) |
| const |
|
inlinevirtualinherited |
◆ streamOutCondObjects()
StatusCode IOVDbTestAlg::streamOutCondObjects |
( |
| ) |
|
|
private |
Definition at line 672 of file IOVDbTestAlg.cxx.
681 typeKeys[
index] = mdtPair;
684 typeKeys[
index] = amdbCorr;
687 typeKeys[
index] = mdtCollPair;
692 for (
unsigned int i = 0;
i < typeKeys.size(); ++
i) {
699 return StatusCode::SUCCESS;
◆ sysExecute()
StatusCode AthReentrantAlgorithm::sysExecute |
( |
const EventContext & |
ctx | ) |
|
|
overridevirtualinherited |
Execute an algorithm.
We override this in order to work around an issue with the Algorithm base class storing the event context in a member variable that can cause crashes in MT jobs.
Definition at line 67 of file AthReentrantAlgorithm.cxx.
69 return Gaudi::Algorithm::sysExecute (ctx);
◆ sysInitialize()
StatusCode AthReentrantAlgorithm::sysInitialize |
( |
| ) |
|
|
overridevirtualinherited |
Override sysInitialize.
Override sysInitialize from the base class.
Loop through all output handles, and if they're WriteCondHandles, automatically register them and this Algorithm with the CondSvc
Scan through all outputHandles, and if they're WriteCondHandles, register them with the CondSvc
Reimplemented from AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >.
Reimplemented in InputMakerBase, and HypoBase.
Definition at line 96 of file AthReentrantAlgorithm.cxx.
107 if ( cs.retrieve().isFailure() ) {
109 return StatusCode::SUCCESS;
111 if (cs->regHandle(
this,*
h).isFailure()) {
112 sc = StatusCode::FAILURE;
113 ATH_MSG_ERROR(
"unable to register WriteCondHandle " <<
h->fullKey()
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ testCallBack()
Definition at line 112 of file IOVDbTestAlg.cxx.
114 msg() << MSG::INFO <<
"IOVDbTestAlg::testCallBack callback invoked for keys: i = " <<
i <<
" ";
115 for (std::list<std::string>::const_iterator itr=
keys.begin(); itr!=
keys.end(); ++itr) {
116 msg() << *itr <<
" ";
119 return StatusCode::SUCCESS;
◆ updateVHKA()
◆ waitForSecond()
void IOVDbTestAlg::waitForSecond |
( |
| ) |
const |
|
private |
Definition at line 83 of file IOVDbTestAlg.cxx.
97 while((msgqueue_id = msgget(
key, 0660)) == -1) {
98 printf(
"waiting for message here.\n");
101 printf(
"Recieving a message ...\n");
104 msgrcv(msgqueue_id, (
struct msgbuf *)(&qbuf), 80, 123, 0);
106 printf(
"Type: %ld Text: %s\n", qbuf.mtype, qbuf.mtext);
108 msgctl(msgqueue_id, IPC_RMID, 0);
◆ m_createExtraChans
BooleanProperty IOVDbTestAlg::m_createExtraChans |
|
private |
◆ m_detStore
◆ m_evtStore
◆ m_extendedExtraObjects
DataObjIDColl AthReentrantAlgorithm::m_extendedExtraObjects |
|
privateinherited |
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
Empty if no symlinks were found.
Definition at line 153 of file AthReentrantAlgorithm.h.
◆ m_fancylist
BooleanProperty IOVDbTestAlg::m_fancylist |
|
private |
◆ m_nameChans
BooleanProperty IOVDbTestAlg::m_nameChans |
|
private |
◆ m_noStream
BooleanProperty IOVDbTestAlg::m_noStream |
|
private |
◆ m_online
BooleanProperty IOVDbTestAlg::m_online |
|
private |
◆ m_printLB
BooleanProperty IOVDbTestAlg::m_printLB |
|
private |
◆ m_readInInit
BooleanProperty IOVDbTestAlg::m_readInInit |
|
private |
◆ m_readNewTag
BooleanProperty IOVDbTestAlg::m_readNewTag |
|
private |
◆ m_readWriteCool
BooleanProperty IOVDbTestAlg::m_readWriteCool |
|
private |
◆ m_regIOV
BooleanProperty IOVDbTestAlg::m_regIOV |
|
private |
◆ m_regSvc
◆ m_regTime
IntegerProperty IOVDbTestAlg::m_regTime |
|
private |
◆ m_run
IntegerProperty IOVDbTestAlg::m_run |
|
private |
◆ m_streamer
◆ m_streamName
StringProperty IOVDbTestAlg::m_streamName |
|
private |
◆ m_tagID
std::string IOVDbTestAlg::m_tagID |
|
private |
◆ m_twoStepWriteReg
BooleanProperty IOVDbTestAlg::m_twoStepWriteReg |
|
private |
◆ m_varHandleArraysDeclared
◆ m_vhka
◆ m_writeCondObjs
BooleanProperty IOVDbTestAlg::m_writeCondObjs |
|
private |
◆ m_writeNewTag
BooleanProperty IOVDbTestAlg::m_writeNewTag |
|
private |
◆ m_writeOnlyCool
BooleanProperty IOVDbTestAlg::m_writeOnlyCool |
|
private |
The documentation for this class was generated from the following files:
ChanVec::const_iterator chan_const_iterator
def retrieve(aClass, aKey=None)
const_iterator end() const
BooleanProperty m_writeNewTag
Validity Range object. Holds two IOVTimes (start and stop)
void set(int runNumber, int eventNumber, const std::string &name)
iov_const_iterator iov_end() const
static constexpr uint32_t MAXRUN
BooleanProperty m_readNewTag
BooleanProperty m_writeOnlyCool
chan_const_iterator chan_begin() const
Access to Channel numbers via iterators.
void print(std::ostream &os) const
print to simulate function provided by old POOL AttributeList
CondMultChanCollection< IOVDbTestMDTEleMap > IOVDbTestMDTEleMapColl
This typedef represents a collection of IOVDbTestMDTEleMap objects.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
StatusCode registerCondObjects()
A CondMultChanCollection is a template class which can hold a collection of T* objects which are inte...
BooleanProperty m_readWriteCool
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)
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
bool msgLvl(const MSG::Level lvl) const
const_iterator begin() const
Access to Chan/AttributeList pairs via iterators.
chan_size_type chan_size() const
number of channels
This class is a collection of AttributeLists where each one is associated with a channel number....
BooleanProperty m_nameChans
const std::string & name() const
ChanIOVMap::const_iterator iov_const_iterator
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual void setOwner(IDataHandleHolder *o)=0
void set(const HepGeom::Point3D< double > &trans, const HepGeom::Point3D< double > &rot, const std::string &name)
ChanNameMap::const_iterator name_const_iterator
Basic time unit for IOVSvc. Hold time as a combination of run and event numbers.
StringProperty m_streamName
BooleanProperty m_writeCondObjs
void waitForSecond() const
const std::string & name() const
AthReentrantAlgorithm()
Default constructor:
IntegerProperty m_regTime
ServiceHandle< IIOVRegistrationSvc > m_regSvc
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
::StatusCode StatusCode
StatusCode definition for legacy code.
ToolHandle< IAthenaOutputStreamTool > m_streamer
StatusCode printCondObjects() const
static constexpr uint64_t MAXTIMESTAMP
HepGeom::Point3D< double > getTranslation() const
An AttributeList represents a logical row of attributes in a metadata table. The name and type of eac...
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
DataObjIDColl m_extendedExtraObjects
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
iov_const_iterator iov_begin() const
Access to IOVs via iterators.
IOVVec::const_iterator iov_const_iterator
BooleanProperty m_fancylist
iov_size_type iov_size() const
number of IOVs
virtual void renounce()=0
static constexpr uint32_t MAXEVENT
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
void add(ChanNum chanNum)
Adding in channel numbers.
name_size_type name_size() const
number of Chan/Name pairs
virtual StatusCode sysInitialize() override
Override sysInitialize.
BooleanProperty m_noStream
value_type push_back(value_type pElem)
Add an element to the end of the collection.
static constexpr uint32_t MINEVENT
BooleanProperty m_twoStepWriteReg
BooleanProperty m_readInInit
StatusCode streamOutCondObjects()
#define ATH_MSG_WARNING(x)
ChanAttrListMap::const_iterator const_iterator
name_const_iterator chanNamePair(ChanNum chanNum) const
Access to Chan/Name pairs via channel number: returns map iterator.
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
StatusCode createCondObjects(const EventContext &ctx) const
iov_const_iterator chanIOVPair(ChanNum chanNum) const
Access to Chan/IOV pairs via channel number: returns map iterator.
bool add(ChanNum chanNum, const AttributeList &attributeList)
Adding in chan/attrList pairs.
BooleanProperty m_createExtraChans
BooleanProperty m_printLB
HepGeom::Point3D< double > getRotation() const
size_type size() const noexcept
Returns the number of elements in the collection.
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
name_const_iterator name_end() const