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
18#include "GaudiKernel/ServiceHandle.h"
19#include "GaudiKernel/ToolHandle.h"
20
21class EventInfo;
24
28
30{
31public:
32 IOVDbTestAlg (const std::string& name, ISvcLocator* pSvcLocator);
33 virtual ~IOVDbTestAlg();
34
35 virtual StatusCode initialize() override;
36 virtual StatusCode execute (const EventContext& ctx) const override;
37 virtual StatusCode finalize() override;
38
39private:
40
41 StatusCode createCondObjects (const EventContext& ctx) const;
42 StatusCode printCondObjects() const;
43 StatusCode streamOutCondObjects();
44 StatusCode registerCondObjects();
45 void waitForSecond() const;
46 StatusCode registerIOV(const CLID& clid);
47
48 BooleanProperty m_writeCondObjs{this, "WriteCondObjs", false};
49 BooleanProperty m_regIOV{this, "RegisterIOV", false};
50 BooleanProperty m_readWriteCool{this, "ReadWriteCool", false};
51 BooleanProperty m_twoStepWriteReg{this, "TwoStepWriteReg", false};
52 BooleanProperty m_createExtraChans{this, "CreateExtraChanns", false};
53 BooleanProperty m_nameChans{this, "NameChanns", false};
54 BooleanProperty m_writeOnlyCool{this, "WriteOnlyCool", false};
55 BooleanProperty m_fancylist{this, "FancyList", false};
56 BooleanProperty m_printLB{this, "PrintLB", false};
57 BooleanProperty m_writeNewTag{this, "WriteNewTag", false};
58 BooleanProperty m_readNewTag{this, "ReadNewTag", false};
59 BooleanProperty m_noStream{this, "NoStream", false};
60 IntegerProperty m_regTime{this, "RegTime", 0, "Register time in sec"};
61 StringProperty m_streamName{this, "StreamName", "CondStream1"};
62 IntegerProperty m_run{this, "run", 0};
63 BooleanProperty m_online{this, "online", false};
64 StringProperty m_tagID{this, "TagID", ""};
65
67 ToolHandle<IAthenaOutputStreamTool> m_streamer;
68};
69
70
71#endif // IOVDBTESTALG_IOVDBTESTALG_H
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 class provides general information about an event.
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_createExtraChans
BooleanProperty m_writeCondObjs
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