ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
AtlasTest
DatabaseTest
IOVDbTestAlg
src
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
13
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
14
#include "
IOVDbTestConditions/IOVDbTestMDTEleMap.h
"
15
#include "
AthenaKernel/IAthenaOutputStreamTool.h
"
16
17
#include "
RegistrationServices/IIOVRegistrationSvc.h
"
18
#include "GaudiKernel/ServiceHandle.h"
19
#include "GaudiKernel/ToolHandle.h"
20
21
class
EventInfo
;
22
class
IIOVRegistrationSvc
;
23
class
IAthenaOutputStreamTool
;
24
28
29
class
IOVDbTestAlg
:
public
AthReentrantAlgorithm
30
{
31
public
:
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
39
private
:
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
66
ServiceHandle<IIOVRegistrationSvc>
m_regSvc
;
67
ToolHandle<IAthenaOutputStreamTool>
m_streamer
;
68
};
69
70
71
#endif
// IOVDBTESTALG_IOVDBTESTALG_H
AthReentrantAlgorithm.h
CLID
uint32_t CLID
The Class ID type.
Definition
Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
IAthenaOutputStreamTool.h
Interface to an output stream tool.
IIOVRegistrationSvc.h
This is an interface to a tool used to register conditions objects in the Interval of Validity (IOV) ...
IOVDbTestMDTEleMap.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
IAthenaOutputStreamTool
This is a tool that allows streaming out of DataObjects.
Definition
IAthenaOutputStreamTool.h:69
IIOVRegistrationSvc
This is an interface to a service used to register conditions objects in the Interval of Validity (IO...
Definition
IIOVRegistrationSvc.h:49
IOVDbTestAlg::m_writeNewTag
BooleanProperty m_writeNewTag
Definition
IOVDbTestAlg.h:57
IOVDbTestAlg::m_regIOV
BooleanProperty m_regIOV
Definition
IOVDbTestAlg.h:49
IOVDbTestAlg::finalize
virtual StatusCode finalize() override
Definition
IOVDbTestAlg.cxx:568
IOVDbTestAlg::streamOutCondObjects
StatusCode streamOutCondObjects()
Definition
IOVDbTestAlg.cxx:590
IOVDbTestAlg::m_run
IntegerProperty m_run
Definition
IOVDbTestAlg.h:62
IOVDbTestAlg::waitForSecond
void waitForSecond() const
Definition
IOVDbTestAlg.cxx:43
IOVDbTestAlg::m_twoStepWriteReg
BooleanProperty m_twoStepWriteReg
Definition
IOVDbTestAlg.h:51
IOVDbTestAlg::m_tagID
StringProperty m_tagID
Definition
IOVDbTestAlg.h:64
IOVDbTestAlg::initialize
virtual StatusCode initialize() override
Definition
IOVDbTestAlg.cxx:73
IOVDbTestAlg::m_online
BooleanProperty m_online
Definition
IOVDbTestAlg.h:63
IOVDbTestAlg::m_fancylist
BooleanProperty m_fancylist
Definition
IOVDbTestAlg.h:55
IOVDbTestAlg::m_noStream
BooleanProperty m_noStream
Definition
IOVDbTestAlg.h:59
IOVDbTestAlg::m_createExtraChans
BooleanProperty m_createExtraChans
Definition
IOVDbTestAlg.h:52
IOVDbTestAlg::m_writeCondObjs
BooleanProperty m_writeCondObjs
Definition
IOVDbTestAlg.h:48
IOVDbTestAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
IOVDbTestAlg.cxx:505
IOVDbTestAlg::m_readWriteCool
BooleanProperty m_readWriteCool
Definition
IOVDbTestAlg.h:50
IOVDbTestAlg::IOVDbTestAlg
IOVDbTestAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
IOVDbTestAlg.cxx:30
IOVDbTestAlg::~IOVDbTestAlg
virtual ~IOVDbTestAlg()
Definition
IOVDbTestAlg.cxx:39
IOVDbTestAlg::m_printLB
BooleanProperty m_printLB
Definition
IOVDbTestAlg.h:56
IOVDbTestAlg::m_streamer
ToolHandle< IAthenaOutputStreamTool > m_streamer
Definition
IOVDbTestAlg.h:67
IOVDbTestAlg::m_regTime
IntegerProperty m_regTime
Definition
IOVDbTestAlg.h:60
IOVDbTestAlg::m_readNewTag
BooleanProperty m_readNewTag
Definition
IOVDbTestAlg.h:58
IOVDbTestAlg::m_regSvc
ServiceHandle< IIOVRegistrationSvc > m_regSvc
Definition
IOVDbTestAlg.h:66
IOVDbTestAlg::registerCondObjects
StatusCode registerCondObjects()
Definition
IOVDbTestAlg.cxx:617
IOVDbTestAlg::m_nameChans
BooleanProperty m_nameChans
Definition
IOVDbTestAlg.h:53
IOVDbTestAlg::printCondObjects
StatusCode printCondObjects() const
Definition
IOVDbTestAlg.cxx:312
IOVDbTestAlg::m_streamName
StringProperty m_streamName
Definition
IOVDbTestAlg.h:61
IOVDbTestAlg::registerIOV
StatusCode registerIOV(const CLID &clid)
IOVDbTestAlg::m_writeOnlyCool
BooleanProperty m_writeOnlyCool
Definition
IOVDbTestAlg.h:54
IOVDbTestAlg::createCondObjects
StatusCode createCondObjects(const EventContext &ctx) const
Definition
IOVDbTestAlg.cxx:94
ServiceHandle
Definition
ClusterMakerTool.h:36
EventInfo
Definition
EventInfo.py:1
Generated on
for ATLAS Offline Software by
1.17.0