ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Database
AthenaPOOL
AthenaPoolExample
AthenaPoolExampleAlgorithms
src
WriteCond.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef ATHENAPOOLEXAMPLEALGORITHMS_WRITECOND_H
6
#define ATHENAPOOLEXAMPLEALGORITHMS_WRITECOND_H
7
13
14
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
15
#include "
StoreGate/ReadHandleKey.h
"
16
17
class
ExampleHitContainer
;
18
19
namespace
AthPoolEx
{
20
24
class
WriteCond
:
public
AthReentrantAlgorithm
{
25
public
:
26
WriteCond
(
const
std::string& name, ISvcLocator* pSvcLocator);
27
virtual
~WriteCond
() =
default
;
28
29
public
:
31
virtual
StatusCode
initialize
() override final;
32
virtual StatusCode
execute
(
const
EventContext& ctx)
const
override final;
33
virtual StatusCode
stop
() override final;
34
35
private
:
36
Gaudi
::
Property
<
std
::
string
>
m_conditionName
{
this
,
"ConditionName"
,
"PedestalWriteData"
};
37
Gaudi::Property<double>
m_weight
{
this
,
"Weight"
, 0.0};
38
Gaudi::Property<double>
m_offset
{
this
,
"Offset"
, 0.0};
39
40
SG::ReadHandleKey<ExampleHitContainer>
m_exampleHitKey
{
this
,
"ExampleHitKey"
,
"MyHits"
};
41
};
42
43
}
// end AthPoolEx namespace
44
45
#endif
AthReentrantAlgorithm.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
AthPoolEx::WriteCond::m_offset
Gaudi::Property< double > m_offset
Definition
WriteCond.h:38
AthPoolEx::WriteCond::stop
virtual StatusCode stop() override final
Definition
WriteCond.cxx:59
AthPoolEx::WriteCond::~WriteCond
virtual ~WriteCond()=default
AthPoolEx::WriteCond::m_weight
Gaudi::Property< double > m_weight
Definition
WriteCond.h:37
AthPoolEx::WriteCond::WriteCond
WriteCond(const std::string &name, ISvcLocator *pSvcLocator)
Definition
WriteCond.cxx:20
AthPoolEx::WriteCond::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition
WriteCond.cxx:39
AthPoolEx::WriteCond::m_exampleHitKey
SG::ReadHandleKey< ExampleHitContainer > m_exampleHitKey
Definition
WriteCond.h:40
AthPoolEx::WriteCond::initialize
virtual StatusCode initialize() override final
Gaudi Service Interface method implementations:
Definition
WriteCond.cxx:25
AthPoolEx::WriteCond::m_conditionName
Gaudi::Property< std::string > m_conditionName
Definition
WriteCond.h:36
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
ExampleHitContainer
This class provides a data vector for ExampleHit objects in AthenaPool.
Definition
ExampleHitContainer.h:20
Property
Support class for PropertyMgr.
Definition
Property.h:23
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
const
AthPoolEx
Definition
PassNoneFilter.h:16
Gaudi
=============================================================================
Definition
CaloGPUClusterAndCellDataMonitorOptions.h:273
std
STL namespace.
private
#define private
Definition
testRead.cxx:27
Generated on
for ATLAS Offline Software by
1.17.0