ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LumiBlock
LumiBlockComps
src
LumiBlockMuWriter.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef LUMIBLOCKCOMPS_LUMIBLOCKMUWRITER_H
6
#define LUMIBLOCKCOMPS_LUMIBLOCKMUWRITER_H
7
14
15
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
16
#include "
StoreGate/ReadCondHandleKey.h
"
17
#include "
LumiBlockData/LuminosityCondData.h
"
18
#include "
xAODEventInfo/EventInfo.h
"
19
20
#include "
StoreGate/WriteDecorHandleKey.h
"
21
22
class
LumiBlockMuWriter
:
public
AthReentrantAlgorithm
23
{
24
public
:
25
LumiBlockMuWriter
(
const
std::string& name, ISvcLocator* pSvcLocator);
26
27
virtual
StatusCode
initialize
()
override
;
28
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
29
30
private
:
31
SG::ReadCondHandleKey<LuminosityCondData>
m_lumiDataKey
{this
32
,
"LumiDataKey"
33
,
"LuminosityCondData"
34
,
"RCHK for LuminosityCondData"
};
35
36
SG::WriteDecorHandleKey<xAOD::EventInfo>
m_actMuKey
{this
37
,
"actualInteractionsPerCrossingKey"
38
,
"EventInfo.actualInteractionsPerCrossing"
39
,
"Decoration for Actual Interaction Per Crossing"
};
40
41
SG::WriteDecorHandleKey<xAOD::EventInfo>
m_aveMuKey
{this
42
,
"averageInteractionsPerCrossingKey"
43
,
"EventInfo.averageInteractionsPerCrossing"
44
,
"Decoration for Average Interaction Per Crossing"
};
45
46
};
47
48
#endif
AthReentrantAlgorithm.h
LuminosityCondData.h
Hold luminosity data produced by LuminosityCondAlg.
ReadCondHandleKey.h
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
LumiBlockMuWriter::m_actMuKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_actMuKey
Definition
LumiBlockMuWriter.h:36
LumiBlockMuWriter::m_aveMuKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_aveMuKey
Definition
LumiBlockMuWriter.h:41
LumiBlockMuWriter::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
LumiBlockMuWriter.cxx:25
LumiBlockMuWriter::LumiBlockMuWriter
LumiBlockMuWriter(const std::string &name, ISvcLocator *pSvcLocator)
Definition
LumiBlockMuWriter.cxx:9
LumiBlockMuWriter::initialize
virtual StatusCode initialize() override
Definition
LumiBlockMuWriter.cxx:14
LumiBlockMuWriter::m_lumiDataKey
SG::ReadCondHandleKey< LuminosityCondData > m_lumiDataKey
Definition
LumiBlockMuWriter.h:31
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition
StoreGate/StoreGate/WriteDecorHandleKey.h:90
EventInfo.h
Generated on
for ATLAS Offline Software by
1.17.0