ATLAS Offline Software
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 
19 
21 
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:
32  ,"LumiDataKey"
33  ,"LuminosityCondData"
34  ,"RCHK for LuminosityCondData"};
35 
37  ,"actualInteractionsPerCrossingKey"
38  ,"EventInfo.actualInteractionsPerCrossing"
39  ,"Decoration for Actual Interaction Per Crossing"};
40 
42  ,"averageInteractionsPerCrossingKey"
43  ,"EventInfo.averageInteractionsPerCrossing"
44  ,"Decoration for Average Interaction Per Crossing"};
45 
46 };
47 
48 #endif
SG::WriteDecorHandleKey< xAOD::EventInfo >
LumiBlockMuWriter::LumiBlockMuWriter
LumiBlockMuWriter(const std::string &name, ISvcLocator *pSvcLocator)
Definition: LumiBlockMuWriter.cxx:9
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
LumiBlockMuWriter::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: LumiBlockMuWriter.cxx:25
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
LumiBlockMuWriter::initialize
virtual StatusCode initialize() override
Definition: LumiBlockMuWriter.cxx:14
LumiBlockMuWriter::m_actMuKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_actMuKey
Definition: LumiBlockMuWriter.h:36
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LumiBlockMuWriter
Algorithm to write interactions per crossing (mu) into xAOD::EventInfo as decorations.
Definition: LumiBlockMuWriter.h:23
LumiBlockMuWriter::m_aveMuKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_aveMuKey
Definition: LumiBlockMuWriter.h:41
LumiBlockMuWriter::m_lumiDataKey
SG::ReadCondHandleKey< LuminosityCondData > m_lumiDataKey
Definition: LumiBlockMuWriter.h:31
LuminosityCondData.h
Hold luminosity data produced by LuminosityCondAlg.
ReadCondHandleKey.h
AthReentrantAlgorithm.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
EventInfo.h
SG::ReadCondHandleKey< LuminosityCondData >