ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
PileUpComps
src
NoPileUpMuWriter.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 PILEUPCOMPS_NOPILEUPMUWRITER_H
6
#define PILEUPCOMPS_NOPILEUPMUWRITER_H
7
14
15
#include <
AthenaBaseComps/AthReentrantAlgorithm.h
>
16
#include <
StoreGate/WriteDecorHandleKey.h
>
17
#include <
xAODEventInfo/EventInfo.h
>
18
19
class
NoPileUpMuWriter
:
public
AthReentrantAlgorithm
20
{
21
public
:
22
NoPileUpMuWriter
(
const
std::string& name, ISvcLocator* pSvcLocator);
23
24
virtual
StatusCode
initialize
()
override
final
;
25
virtual
StatusCode
execute
(
const
EventContext& ctx)
const
override
final
;
26
27
private
:
28
SG::WriteDecorHandleKey<xAOD::EventInfo>
m_actMuKey
{this
29
,
"actualInteractionsPerCrossingKey"
30
,
"EventInfo.actualInteractionsPerCrossing"
31
,
"Decoration for Actual Interaction Per Crossing"
};
32
33
SG::WriteDecorHandleKey<xAOD::EventInfo>
m_aveMuKey
{this
34
,
"averageInteractionsPerCrossingKey"
35
,
"EventInfo.averageInteractionsPerCrossing"
36
,
"Decoration for Average Interaction Per Crossing"
};
37
};
38
39
#endif
AthReentrantAlgorithm.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
NoPileUpMuWriter::initialize
virtual StatusCode initialize() override final
Definition
NoPileUpMuWriter.cxx:15
NoPileUpMuWriter::m_aveMuKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_aveMuKey
Definition
NoPileUpMuWriter.h:33
NoPileUpMuWriter::m_actMuKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_actMuKey
Definition
NoPileUpMuWriter.h:28
NoPileUpMuWriter::NoPileUpMuWriter
NoPileUpMuWriter(const std::string &name, ISvcLocator *pSvcLocator)
Definition
NoPileUpMuWriter.cxx:10
NoPileUpMuWriter::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition
NoPileUpMuWriter.cxx:22
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