ATLAS Offline Software
MM_Overlay.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // Dear emacs, this is -*-c++-*-
6 
7 // Overlaying MmDigits from two different events for MM subdetectors.
8 //
9 // Andrei Gaponenko <agaponenko@lbl.gov>, 2006, 2007
10 // Ketevi A. Assamagan <ketevi@bnl.gov>, March 2008
11 // Piyali Banerjee <Piyali.Banerjee@cern.ch>, March 2011
12 // Alexandre Laurier <alexandre.laurier@cern.ch>, May 2019
13 
14 #ifndef MMOVERLAY_H
15 #define MMOVERLAY_H
16 
17 #include <string>
18 
21 
23 {
24 public:
25  MM_Overlay(const std::string &name,ISvcLocator *pSvcLocator);
26 
27  virtual StatusCode initialize() override final;
28  virtual StatusCode execute(const EventContext& ctx) const override final;
29 
30  float timeIntegrationWindow() const { return m_timeIntegrationWindow.value(); }
31 
32 private:
33  SG::ReadHandleKey<MmDigitContainer> m_bkgInputKey{this, "BkgInputKey", "Bkg_MM_DIGITS", "ReadHandleKey for Background Input MmDigitContainer"};
34  SG::ReadHandleKey<MmDigitContainer> m_signalInputKey{this, "SignalInputKey", "Sig_MM_DIGITS", "ReadHandleKey for Signal Input MmDigitContainer"};
35  SG::WriteHandleKey<MmDigitContainer> m_outputKey{this, "OutputKey", "MM_DIGITS", "WriteHandleKey for Output MmDigitContainer"};
36 
37  FloatProperty m_timeIntegrationWindow { this, "IntegrationWindow", 100.0, "Time Integration Window" };
38 
39 };
40 
41 #endif/* MMOVERLAY_H */
IDC_MuonOverlayBase.h
SG::ReadHandleKey< MmDigitContainer >
MM_Overlay::initialize
virtual StatusCode initialize() override final
Definition: MM_Overlay.cxx:72
MM_Overlay::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition: MM_Overlay.cxx:88
MM_Overlay::m_timeIntegrationWindow
FloatProperty m_timeIntegrationWindow
Definition: MM_Overlay.h:37
SG::WriteHandleKey< MmDigitContainer >
MM_Overlay
Definition: MM_Overlay.h:23
MmDigitContainer.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
MM_Overlay::m_signalInputKey
SG::ReadHandleKey< MmDigitContainer > m_signalInputKey
Definition: MM_Overlay.h:34
IDC_MuonOverlayBase
Definition: IDC_MuonOverlayBase.h:27
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
MM_Overlay::timeIntegrationWindow
float timeIntegrationWindow() const
Definition: MM_Overlay.h:30
MM_Overlay::MM_Overlay
MM_Overlay(const std::string &name, ISvcLocator *pSvcLocator)
Definition: MM_Overlay.cxx:66
MM_Overlay::m_bkgInputKey
SG::ReadHandleKey< MmDigitContainer > m_bkgInputKey
Definition: MM_Overlay.h:33
MM_Overlay::m_outputKey
SG::WriteHandleKey< MmDigitContainer > m_outputKey
Definition: MM_Overlay.h:35