ATLAS Offline Software
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 
18 
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:
29  ,"actualInteractionsPerCrossingKey"
30  ,"EventInfo.actualInteractionsPerCrossing"
31  ,"Decoration for Actual Interaction Per Crossing"};
32 
34  ,"averageInteractionsPerCrossingKey"
35  ,"EventInfo.averageInteractionsPerCrossing"
36  ,"Decoration for Average Interaction Per Crossing"};
37 };
38 
39 #endif
SG::WriteDecorHandleKey< xAOD::EventInfo >
NoPileUpMuWriter::m_aveMuKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_aveMuKey
Definition: NoPileUpMuWriter.h:33
NoPileUpMuWriter::NoPileUpMuWriter
NoPileUpMuWriter(const std::string &name, ISvcLocator *pSvcLocator)
Definition: NoPileUpMuWriter.cxx:10
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
NoPileUpMuWriter::m_actMuKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_actMuKey
Definition: NoPileUpMuWriter.h:28
AthReentrantAlgorithm.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
EventInfo.h
NoPileUpMuWriter
Algorithm to write interactions per crossing (mu) into xAOD::EventInfo as decorations.
Definition: NoPileUpMuWriter.h:20
NoPileUpMuWriter::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition: NoPileUpMuWriter.cxx:22
NoPileUpMuWriter::initialize
virtual StatusCode initialize() override final
Definition: NoPileUpMuWriter.cxx:15