ATLAS Offline Software
STGC_Overlay.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // Dear emacs, this is -*-c++-*-
6 
7 // Overlaying sTgcDigits from two different events for sTgc 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 STGCOVERLAY_H
15 #define STGCOVERLAY_H
16 
17 #include <string>
18 
21 
23 {
24 public:
25  STGC_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<sTgcDigitContainer> m_bkgInputKey{this, "BkgInputKey", "Bkg_sTGC_DIGITS", "ReadHandleKey for Background Input sTgcDigitContainer"};
34  SG::ReadHandleKey<sTgcDigitContainer> m_signalInputKey{this, "SignalInputKey", "Sig_sTGC_DIGITS", "ReadHandleKey for Signal Input sTgcDigitContainer"};
35  SG::WriteHandleKey<sTgcDigitContainer> m_outputKey{this, "OutputKey", "sTGC_DIGITS", "WriteHandleKey for Output sTgcDigitContainer"};
36 
37  FloatProperty m_timeIntegrationWindow { this, "IntegrationWindow", 30.0, "Time Integration Window" };
38 
39 };
40 
41 #endif/* STGCOVERLAY_H */
IDC_MuonOverlayBase.h
SG::ReadHandleKey< sTgcDigitContainer >
STGC_Overlay::timeIntegrationWindow
float timeIntegrationWindow() const
Definition: STGC_Overlay.h:30
STGC_Overlay::m_outputKey
SG::WriteHandleKey< sTgcDigitContainer > m_outputKey
Definition: STGC_Overlay.h:35
SG::WriteHandleKey< sTgcDigitContainer >
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
STGC_Overlay::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition: STGC_Overlay.cxx:85
IDC_MuonOverlayBase
Definition: IDC_MuonOverlayBase.h:27
STGC_Overlay::m_bkgInputKey
SG::ReadHandleKey< sTgcDigitContainer > m_bkgInputKey
Definition: STGC_Overlay.h:33
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
STGC_Overlay
Definition: STGC_Overlay.h:23
STGC_Overlay::m_signalInputKey
SG::ReadHandleKey< sTgcDigitContainer > m_signalInputKey
Definition: STGC_Overlay.h:34
STGC_Overlay::STGC_Overlay
STGC_Overlay(const std::string &name, ISvcLocator *pSvcLocator)
Definition: STGC_Overlay.cxx:63
sTgcDigitContainer.h
STGC_Overlay::m_timeIntegrationWindow
FloatProperty m_timeIntegrationWindow
Definition: STGC_Overlay.h:37
STGC_Overlay::initialize
virtual StatusCode initialize() override final
Definition: STGC_Overlay.cxx:69