 |
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, V, H > &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 |
|
|
StatusCode | createCondObjects (const EventContext &ctx) const |
|
StatusCode | printCondObjects () const |
|
StatusCode | streamOutCondObjects () |
|
StatusCode | registerCondObjects () |
|
StatusCode | readWithBeginRun () |
|
void | waitForSecond () const |
|
StatusCode | testCallBack (IOVSVC_CALLBACK_ARGS) |
|
StatusCode | registerIOV (const CLID &clid) |
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyArrayType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleType &) |
| specialization for handling Gaudi::Property<SG::VarHandleBase> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &t, const SG::NotHandleType &) |
| specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More...
|
|
|
BooleanProperty | m_writeCondObjs {this, "WriteCondObjs", false} |
|
BooleanProperty | m_regIOV {this, "RegisterIOV", false} |
|
BooleanProperty | m_readWriteCool {this, "ReadWriteCool", false} |
|
BooleanProperty | m_twoStepWriteReg {this, "TwoStepWriteReg", false} |
|
BooleanProperty | m_createExtraChans {this, "CreateExtraChanns", false} |
|
BooleanProperty | m_nameChans {this, "NameChanns", false} |
|
BooleanProperty | m_readInInit {this, "ReadInInit", false} |
|
BooleanProperty | m_writeOnlyCool {this, "WriteOnlyCool", false} |
|
BooleanProperty | m_fancylist {this, "FancyList", false} |
|
BooleanProperty | m_printLB {this, "PrintLB", false} |
|
BooleanProperty | m_writeNewTag {this, "WriteNewTag", false} |
|
BooleanProperty | m_readNewTag {this, "ReadNewTag", false} |
|
BooleanProperty | m_noStream {this, "NoStream", false} |
|
IntegerProperty | m_regTime {this, "RegTime", 0, "Register time in sec"} |
|
StringProperty | m_streamName {this, "StreamName", "CondStream1"} |
|
IntegerProperty | m_run {this, "run", 0} |
|
BooleanProperty | m_online {this, "online", false} |
|
StringProperty | m_tagID {this, "TagID", ""} |
|
ServiceHandle< IIOVRegistrationSvc > | m_regSvc |
|
ToolHandle< IAthenaOutputStreamTool > | m_streamer |
|
DataObjIDColl | m_extendedExtraObjects |
| Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks. More...
|
|
StoreGateSvc_t | m_evtStore |
| Pointer to StoreGate (event store by default) More...
|
|
StoreGateSvc_t | m_detStore |
| Pointer to StoreGate (detector store by default) More...
|
|
std::vector< SG::VarHandleKeyArray * > | m_vhka |
|
bool | m_varHandleArraysDeclared |
|
Algorithm to test writing conditions data and reading them back.
Definition at line 35 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()
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 75 of file AthCommonReentrantAlgorithm.cxx.
◆ createCondObjects()
StatusCode IOVDbTestAlg::createCondObjects |
( |
const EventContext & |
ctx | ) |
const |
|
private |
Definition at line 142 of file IOVDbTestAlg.cxx.
148 unsigned long long timestamp = ctx.eventID().time_stamp();
150 elemMap->
set(ctx.eventID().time_stamp(),
"mdt element map");
152 elemMap->
set(ctx.eventID().run_number(), ctx.eventID().event_number(),
"mdt element map");
164 for (
unsigned int i = 0;
i < 10; ++
i) {
167 unsigned long long timestamp = ctx.eventID().time_stamp();
169 elemMap->
set(ctx.eventID().time_stamp() + 10*
i,
"mdt element map");
171 elemMap->
set(ctx.eventID().run_number() +
i, ctx.eventID().event_number(),
"mdt element map");
178 ATH_CHECK(
detStore()->record(elemMapColl,
"/IOVDbTest/IOVDbTestMDTEleMapColl") );
182 HepGeom::Point3D<double>
x(1.0, 2.0, 3.0);
183 HepGeom::Point3D<double>
y(4.0, 5.0, 6.0);
186 x = HepGeom::Point3D<double>(11.0, 22.0, 33.0);
187 y = HepGeom::Point3D<double>(44.0, 55.0, 66.0);
189 amdbCorr->
set(
x,
y,
"amdb correction");
196 coral::AttributeListSpecification* attrSpec =
new coral::AttributeListSpecification();
197 attrSpec->extend(
"xPosition",
"float");
198 attrSpec->extend(
"id",
"int");
199 attrSpec->extend(
"name",
"string");
201 if (!attrSpec->size()) {
203 return(StatusCode::FAILURE);
212 (*attrList)[
"xPosition"].setValue((
float)
m_run);
213 (*attrList)[
"id"].setValue((
int)7);
214 (*attrList)[
"name"].setValue(std::string(
"TestAttrList"));
217 (*attrList)[
"xPosition"].setValue((
float)125.0);
218 (*attrList)[
"id"].setValue((
int)27);
219 (*attrList)[
"name"].setValue(std::string(
"TestAttrListNEWTAG"));
221 std::ostringstream attrStr1;
223 attrList->toOutputStream( attrStr1 );
232 coral::AttributeListSpecification* fanSpec =
new coral::AttributeListSpecification();
233 fanSpec->extend(
"FanBool",
"bool");
234 fanSpec->extend(
"FanInt",
"int");
235 fanSpec->extend(
"FanUInt",
"unsigned int");
236 fanSpec->extend(
"FanI64",
"long long");
237 fanSpec->extend(
"FanU64",
"unsigned long long");
238 fanSpec->extend(
"FanFloat",
"float");
239 fanSpec->extend(
"FanDouble",
"double");
240 fanSpec->extend(
"FanSmallString",
"string");
241 fanSpec->extend(
"FanBigString",
"string");
242 fanSpec->extend(
"FanBlob",
"blob");
245 (*fanList)[
"FanBool"].data<
bool>()=
true;
246 (*fanList)[
"FanInt"].data<
int>()=-12345;
247 (*fanList)[
"FanUInt"].data<
unsigned int>()=12345;
248 (*fanList)[
"FanI64"].data<
long long>()=-98765432100LL;
249 (*fanList)[
"FanU64"].data<
unsigned long long>()=98765432100LL;
250 (*fanList)[
"FanFloat"].data<
float>()=1.2345;
251 (*fanList)[
"FanDouble"].data<
double>()=1.23456789;
252 (*fanList)[
"FanSmallString"].data<std::string>()=
"small string";
253 (*fanList)[
"FanBigString"].data<std::string>()=
"potentially long string";
256 unsigned int blobsize=2000;
257 blob.resize(blobsize);
258 unsigned char*
p=
static_cast<unsigned char*
>(
blob.startingAddress());
259 for (
unsigned int i=0;
i<blobsize;++
i,++
p) *
p=(
i % 256);
261 std::ostringstream fanstr;
262 fanList->toOutputStream(fanstr);
274 attrList0[
"xPosition"].setValue((
float)35.0);
275 attrList0[
"id"].setValue((
int)17);
276 attrList0[
"name"].setValue(std::string(
"TestAttrList"));
279 std::ostringstream attrStr2;
280 attrList0.toOutputStream( attrStr2 );
285 attrList1[
"xPosition"].setValue((
float)45.0);
286 attrList1[
"id"].setValue((
int)27);
287 attrList1[
"name"].setValue(std::string(
"TestAttrList"));
290 std::ostringstream attrStr3;
291 attrList1.toOutputStream( attrStr3 );
296 attrList2[
"xPosition"].setValue((
float)55.0);
297 attrList2[
"id"].setValue((
int)37);
298 attrList2[
"name"].setValue(std::string(
"TestAttrList"));
301 std::ostringstream attrStr4;
302 attrList2.toOutputStream( attrStr4 );
309 attrList3[
"xPosition"].setValue((
float)65.0);
310 attrList3[
"id"].setValue((
int)47);
311 attrList3[
"name"].setValue(std::string(
"TestAttrList"));
314 std::ostringstream attrStr5;
315 attrList3.toOutputStream( attrStr5 );
323 <<
" till " <<
range.stop().run() <<
" " <<
range.stop().event() );
326 attrList4[
"xPosition"].setValue((
float)75.0);
327 attrList4[
"id"].setValue((
int)57);
328 attrList4[
"name"].setValue(std::string(
"TestAttrList"));
331 std::ostringstream attrStr6;
332 attrList4.toOutputStream( attrStr6 );
339 ATH_MSG_DEBUG(
"Add min : since " << range1.start().run() <<
" " << range1.start().event() <<
" till " << range1.stop().run() <<
" " << range1.stop().event() );
345 citr!=attrListColl->
end();++citr) {
347 std::ostringstream
name;
353 ATH_CHECK(
detStore()->record(attrListColl,
"/IOVDbTest/IOVDbTestAttrListColl") );
355 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 553 of file IOVDbTestAlg.cxx.
580 msg() <<
MSG::DEBUG <<
"Event (run,ev,lb:time): [" << ctx.eventID().run_number() <<
"," << ctx.eventID().event_number();
581 if (
m_printLB)
msg() <<
"," << ctx.eventID().lumi_block();
582 msg() <<
":" << ctx.eventID().time_stamp() <<
"]" <<
endmsg;
588 if (2 != ctx.eventID().run_number() || 5 != ctx.eventID().event_number()) {
589 ATH_MSG_DEBUG(
"Event NOT selected for creating conditions objects " );
590 return StatusCode::SUCCESS;
603 ATH_MSG_DEBUG(
"Calling printCondObjects" <<
m_online<<
"\t"<<ctx.eventID().run_number()<<
"\t"<<ctx.eventID().event_number() );
606 if (
m_online && 2 == ctx.eventID().run_number() && 9 == ctx.eventID().event_number())
611 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()
Return the list of extra output dependencies.
This list is extended to include symlinks implied by inheritance relations.
Definition at line 94 of file AthCommonReentrantAlgorithm.cxx.
◆ filterPassed()
◆ 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()
◆ 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 360 of file IOVDbTestAlg.cxx.
378 ATH_MSG_INFO (
"Retrieved /IOVDbTest/IOVDbTestAMDBCorrection" );
381 HepGeom::Point3D<double> rot = amdbCorr->
getRotation();
384 <<
" trans " << trans.x() <<
" " << trans.y() <<
" " << trans.z()
385 <<
" rot " << rot.x() <<
" " << rot.y() <<
" " << rot.z() );
392 ATH_MSG_INFO(
"Retrieved /IOVDbTest/IOVDbTestAMDBCorrection-NEWTAG" );
395 HepGeom::Point3D<double> rot = amdbCorr->
getRotation();
398 <<
" trans " << trans.x() <<
" " << trans.y() <<
" " << trans.z()
399 <<
" rot " << rot.x() <<
" " << rot.y() <<
" " << rot.z() );
411 std::ostringstream attrStr1;
412 attrList->
print( attrStr1 );
420 std::ostringstream attrStr1;
421 attrList->
print( attrStr1 );
422 ATH_MSG_DEBUG(
"Attribute list NEWTAG: " << attrStr1.str() );
429 std::ostringstream fanstr;
430 attrList->
print( fanstr );
434 const unsigned char*
p=
static_cast<const unsigned char*
>
435 (
blob.startingAddress());
437 for (
int i=0;
i<
blob.size();++
i,++
p)
if (*
p!=(
i % 256)) ++nerr;
439 " data mismatches!" );
447 std::ostringstream attrStr2;
455 std::ostringstream attrStr1;
456 (*first).second.toOutputStream( attrStr1 );
466 " Attribute list " << attrStr1.str() <<
endmsg;
472 if (iovIt != attrListColl->
iov_end()) {
474 if(
range.start().isTimestamp()) {
476 <<
" till " <<
range.stop().timestamp() );
480 <<
range.start().event()
481 <<
" till " <<
range.stop().run() <<
" "
482 <<
range.stop().event() );
492 if (
detStore()->
retrieve(attrList,
"/Simulation/Parameters").isFailure() ) {
498 std::ostringstream attrStr;
499 attrList->
print( attrStr );
503 if (
detStore()->
retrieve(attrList,
"/Digitization/Parameters").isFailure()) {
509 std::ostringstream attrStr;
510 attrList->
print( attrStr );
526 ATH_MSG_ERROR(
"Must fill in channel numbers! Number of objects: " << elemMapColl->
size()
527 <<
" Number of channels: " << elemMapColl->
chan_size() );
528 return(StatusCode::FAILURE);
531 bool hasIOVs = (elemMapColl->
iov_size() == elemMapColl->
size());
534 for (
unsigned int i = 0;
i < elemMapColl->
size(); ++
i, ++itChan) {
540 <<
" channel " << (*itChan);
548 return StatusCode::SUCCESS;
◆ readWithBeginRun()
StatusCode IOVDbTestAlg::readWithBeginRun |
( |
| ) |
|
|
private |
Definition at line 124 of file IOVDbTestAlg.cxx.
135 incSvc->fireIncident( Incident(
name(), IncidentType::BeginRun, Gaudi::Hive::currentContext()) );
137 return StatusCode::SUCCESS;
◆ registerCondObjects()
StatusCode IOVDbTestAlg::registerCondObjects |
( |
| ) |
|
|
private |
Definition at line 665 of file IOVDbTestAlg.cxx.
669 std::string
tag =
"no tag";
700 ATH_CHECK(
m_regSvc->registerIOV(
"AthenaAttributeList",
"/IOVDbTest/IOVDbTestAttrList",
"") );
710 ATH_CHECK(
m_regSvc->registerIOV(
"AthenaAttributeList",
"/IOVDbTest/IOVDbTestFancyList",
"") );
736 return StatusCode::SUCCESS;
◆ registerIOV()
StatusCode IOVDbTestAlg::registerIOV |
( |
const CLID & |
clid | ) |
|
|
private |
◆ renounce()
◆ renounceArray()
◆ setFilterPassed()
◆ streamOutCondObjects()
StatusCode IOVDbTestAlg::streamOutCondObjects |
( |
| ) |
|
|
private |
Definition at line 638 of file IOVDbTestAlg.cxx.
644 typeKeys.emplace_back(
"IOVDbTestMDTEleMap",
"");
645 typeKeys.emplace_back(
"IOVDbTestAmdbCorrection",
"");
646 typeKeys.emplace_back(
"IOVDbTestMDTEleMapColl",
"");
651 for (
unsigned int i = 0;
i < typeKeys.size(); ++
i) {
658 return StatusCode::SUCCESS;
◆ sysExecute()
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 85 of file AthCommonReentrantAlgorithm.cxx.
◆ sysInitialize()
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 61 of file AthCommonReentrantAlgorithm.cxx.
110 if (
sc.isFailure()) {
118 if ( cs.retrieve().isFailure() ) {
120 return StatusCode::SUCCESS;
122 if (cs->regHandle(
this,*
h).isFailure()) {
123 sc = StatusCode::FAILURE;
124 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 78 of file IOVDbTestAlg.cxx.
80 msg() <<
MSG::INFO <<
"IOVDbTestAlg::testCallBack callback invoked for keys: i = " <<
i <<
" ";
81 for (std::list<std::string>::const_iterator itr=
keys.begin(); itr!=
keys.end(); ++itr) {
85 return StatusCode::SUCCESS;
◆ updateVHKA()
◆ waitForSecond()
void IOVDbTestAlg::waitForSecond |
( |
| ) |
const |
|
private |
Definition at line 49 of file IOVDbTestAlg.cxx.
63 while((msgqueue_id = msgget(
key, 0660)) == -1) {
64 printf(
"waiting for message here.\n");
67 printf(
"Recieving a message ...\n");
70 msgrcv(msgqueue_id,
reinterpret_cast< msgbuf *
>(&qbuf), 80, 123, 0);
72 printf(
"Type: %ld Text: %s\n", qbuf.mtype, qbuf.mtext);
74 msgctl(msgqueue_id, IPC_RMID, 0);
◆ m_createExtraChans
BooleanProperty IOVDbTestAlg::m_createExtraChans {this, "CreateExtraChanns", false} |
|
private |
◆ m_detStore
◆ m_evtStore
◆ m_extendedExtraObjects
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
Empty if no symlinks were found.
Definition at line 114 of file AthCommonReentrantAlgorithm.h.
◆ m_fancylist
BooleanProperty IOVDbTestAlg::m_fancylist {this, "FancyList", false} |
|
private |
◆ m_nameChans
BooleanProperty IOVDbTestAlg::m_nameChans {this, "NameChanns", false} |
|
private |
◆ m_noStream
BooleanProperty IOVDbTestAlg::m_noStream {this, "NoStream", false} |
|
private |
◆ m_online
BooleanProperty IOVDbTestAlg::m_online {this, "online", false} |
|
private |
◆ m_printLB
BooleanProperty IOVDbTestAlg::m_printLB {this, "PrintLB", false} |
|
private |
◆ m_readInInit
BooleanProperty IOVDbTestAlg::m_readInInit {this, "ReadInInit", false} |
|
private |
◆ m_readNewTag
BooleanProperty IOVDbTestAlg::m_readNewTag {this, "ReadNewTag", false} |
|
private |
◆ m_readWriteCool
BooleanProperty IOVDbTestAlg::m_readWriteCool {this, "ReadWriteCool", false} |
|
private |
◆ m_regIOV
BooleanProperty IOVDbTestAlg::m_regIOV {this, "RegisterIOV", false} |
|
private |
◆ m_regSvc
◆ m_regTime
IntegerProperty IOVDbTestAlg::m_regTime {this, "RegTime", 0, "Register time in sec"} |
|
private |
◆ m_run
IntegerProperty IOVDbTestAlg::m_run {this, "run", 0} |
|
private |
◆ m_streamer
◆ m_streamName
StringProperty IOVDbTestAlg::m_streamName {this, "StreamName", "CondStream1"} |
|
private |
◆ m_tagID
StringProperty IOVDbTestAlg::m_tagID {this, "TagID", ""} |
|
private |
◆ m_twoStepWriteReg
BooleanProperty IOVDbTestAlg::m_twoStepWriteReg {this, "TwoStepWriteReg", false} |
|
private |
◆ m_varHandleArraysDeclared
◆ m_vhka
◆ m_writeCondObjs
BooleanProperty IOVDbTestAlg::m_writeCondObjs {this, "WriteCondObjs", false} |
|
private |
◆ m_writeNewTag
BooleanProperty IOVDbTestAlg::m_writeNewTag {this, "WriteNewTag", false} |
|
private |
◆ m_writeOnlyCool
BooleanProperty IOVDbTestAlg::m_writeOnlyCool {this, "WriteOnlyCool", false} |
|
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.
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
An algorithm that can be simultaneously executed in multiple threads.
void set(const HepGeom::Point3D< double > &trans, const HepGeom::Point3D< double > &rot, const std::string &name)
ChanNameMap::const_iterator name_const_iterator
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Basic time unit for IOVSvc. Hold time as a combination of run and event numbers.
virtual const DataObjIDColl & extraOutputDeps() const override
Return the list of extra output dependencies.
BooleanProperty m_writeCondObjs
void waitForSecond() const
const std::string & name() const
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
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
StatusCode printCondObjects() const
virtual StatusCode sysExecute(const EventContext &ctx) override
Execute an algorithm.
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)
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
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
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.
virtual StatusCode sysInitialize() override
Override sysInitialize.
StatusCode createCondObjects(const EventContext &ctx) const
iov_const_iterator chanIOVPair(ChanNum chanNum) const
Access to Chan/IOV pairs via channel number: returns map iterator.
DataObjIDColl m_extendedExtraObjects
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
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.
name_const_iterator name_end() const