ATLAS Offline Software
Loading...
Searching...
No Matches
IOVDbTestAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5/***************************************************************************
6 IOVDB test package
7 -----------------------------------------
8 ***************************************************************************/
9
10#ifndef IOVDBTESTALG_IOVDBTESTALG_H
11#define IOVDBTESTALG_IOVDBTESTALG_H
12
16
19#include "GaudiKernel/ServiceHandle.h"
20#include "GaudiKernel/ToolHandle.h"
21
22class EventInfo;
25
29
31{
32public:
33 IOVDbTestAlg (const std::string& name, ISvcLocator* pSvcLocator);
34 virtual ~IOVDbTestAlg();
35
36 virtual StatusCode initialize() override;
37 virtual StatusCode execute (const EventContext& ctx) const override;
38 virtual StatusCode finalize() override;
39
40private:
41
42 StatusCode createCondObjects (const EventContext& ctx) const;
43 StatusCode printCondObjects() const;
44 StatusCode streamOutCondObjects();
45 StatusCode registerCondObjects();
46 StatusCode readWithBeginRun();
47 void waitForSecond() const;
48 StatusCode registerIOV(const CLID& clid);
49
50 BooleanProperty m_writeCondObjs{this, "WriteCondObjs", false};
51 BooleanProperty m_regIOV{this, "RegisterIOV", false};
52 BooleanProperty m_readWriteCool{this, "ReadWriteCool", false};
53 BooleanProperty m_twoStepWriteReg{this, "TwoStepWriteReg", false};
54 BooleanProperty m_createExtraChans{this, "CreateExtraChanns", false};
55 BooleanProperty m_nameChans{this, "NameChanns", false};
56 BooleanProperty m_readInInit{this, "ReadInInit", false};
57 BooleanProperty m_writeOnlyCool{this, "WriteOnlyCool", false};
58 BooleanProperty m_fancylist{this, "FancyList", false};
59 BooleanProperty m_printLB{this, "PrintLB", false};
60 BooleanProperty m_writeNewTag{this, "WriteNewTag", false};
61 BooleanProperty m_readNewTag{this, "ReadNewTag", false};
62 BooleanProperty m_noStream{this, "NoStream", false};
63 IntegerProperty m_regTime{this, "RegTime", 0, "Register time in sec"};
64 StringProperty m_streamName{this, "StreamName", "CondStream1"};
65 IntegerProperty m_run{this, "run", 0};
66 BooleanProperty m_online{this, "online", false};
67 StringProperty m_tagID{this, "TagID", ""};
68
70 ToolHandle<IAthenaOutputStreamTool> m_streamer;
71};
72
73
74#endif // IOVDBTESTALG_IOVDBTESTALG_H
defines an "iterator" over instances of a given type in StoreGateSvc
uint32_t CLID
The Class ID type.
Interface to an output stream tool.
This is an interface to a tool used to register conditions objects in the Interval of Validity (IOV) ...
An algorithm that can be simultaneously executed in multiple threads.
This is a tool that allows streaming out of DataObjects.
This is an interface to a service used to register conditions objects in the Interval of Validity (IO...
BooleanProperty m_writeNewTag
BooleanProperty m_regIOV
virtual StatusCode finalize() override
StatusCode streamOutCondObjects()
IntegerProperty m_run
void waitForSecond() const
BooleanProperty m_twoStepWriteReg
StringProperty m_tagID
virtual StatusCode initialize() override
BooleanProperty m_online
BooleanProperty m_fancylist
BooleanProperty m_noStream
BooleanProperty m_readInInit
BooleanProperty m_createExtraChans
BooleanProperty m_writeCondObjs
StatusCode readWithBeginRun()
virtual StatusCode execute(const EventContext &ctx) const override
BooleanProperty m_readWriteCool
IOVDbTestAlg(const std::string &name, ISvcLocator *pSvcLocator)
virtual ~IOVDbTestAlg()
BooleanProperty m_printLB
ToolHandle< IAthenaOutputStreamTool > m_streamer
IntegerProperty m_regTime
BooleanProperty m_readNewTag
ServiceHandle< IIOVRegistrationSvc > m_regSvc
StatusCode registerCondObjects()
BooleanProperty m_nameChans
StatusCode printCondObjects() const
StringProperty m_streamName
StatusCode registerIOV(const CLID &clid)
BooleanProperty m_writeOnlyCool
StatusCode createCondObjects(const EventContext &ctx) const