ATLAS Offline Software
MdtOverlay.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 MdtDigits from two different events for MDT 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 
13 #ifndef MDTOVERLAY_H
14 #define MDTOVERLAY_H
15 
16 #include <string>
17 
20 
22 {
23 public:
24  MdtOverlay(const std::string &name,ISvcLocator *pSvcLocator);
25 
26  virtual StatusCode initialize() override final;
27  virtual StatusCode execute(const EventContext& ctx) const override final;
28 
29  float adcIntegrationWindow() const { return m_adcIntegrationWindow.value(); }
30 
31 private:
32  SG::ReadHandleKey<MdtDigitContainer> m_bkgInputKey{this, "BkgInputKey", "Bkg_MDT_DIGITS", "ReadHandleKey for Background Input MdtDigitContainer"};
33  SG::ReadHandleKey<MdtDigitContainer> m_signalInputKey{this, "SignalInputKey", "Sig_MDT_DIGITS", "ReadHandleKey for Signal Input MdtDigitContainer"};
34  SG::WriteHandleKey<MdtDigitContainer> m_outputKey{this, "OutputKey", "MDT_DIGITS", "WriteHandleKey for Output MdtDigitContainer"};
35 
36  FloatProperty m_adcIntegrationWindow { this, "IntegrationWindow", 20.0, "ADC Integration Window" };
37 
38 };
39 
40 #endif/* MDTOVERLAY_H */
IDC_MuonOverlayBase.h
MdtOverlay::m_bkgInputKey
SG::ReadHandleKey< MdtDigitContainer > m_bkgInputKey
Definition: MdtOverlay.h:32
MdtOverlay::MdtOverlay
MdtOverlay(const std::string &name, ISvcLocator *pSvcLocator)
Definition: MdtOverlay.cxx:64
SG::ReadHandleKey< MdtDigitContainer >
SG::WriteHandleKey< MdtDigitContainer >
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
MdtOverlay::adcIntegrationWindow
float adcIntegrationWindow() const
Definition: MdtOverlay.h:29
IDC_MuonOverlayBase
Definition: IDC_MuonOverlayBase.h:27
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
MdtOverlay
Definition: MdtOverlay.h:22
MdtOverlay::m_signalInputKey
SG::ReadHandleKey< MdtDigitContainer > m_signalInputKey
Definition: MdtOverlay.h:33
MdtDigitContainer.h
MdtOverlay::initialize
virtual StatusCode initialize() override final
Definition: MdtOverlay.cxx:70
MdtOverlay::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition: MdtOverlay.cxx:86
MdtOverlay::m_adcIntegrationWindow
FloatProperty m_adcIntegrationWindow
Definition: MdtOverlay.h:36
MdtOverlay::m_outputKey
SG::WriteHandleKey< MdtDigitContainer > m_outputKey
Definition: MdtOverlay.h:34