ATLAS Offline Software
MdtDigitToMdtRDO.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MDTDIGITTOMDTRDO_H
6 #define MDTDIGITTOMDTRDO_H
7 
9 #include "GaudiKernel/ServiceHandle.h"
17 
19 public:
20  MdtDigitToMdtRDO(const std::string& name, ISvcLocator* pSvcLocator);
21  virtual ~MdtDigitToMdtRDO() = default;
22  virtual StatusCode initialize() override final;
23  virtual StatusCode execute(const EventContext& ctx) const override final;
24 
25 private:
26  // NOTE: although this function has no clients in release 22, currently the Run2 trigger simulation is still run in
27  // release 21 on RDOs produced in release 22. Since release 21 accesses the TagInfo, it needs to be written to the
28  // RDOs produced in release 22. The fillTagInfo() function thus needs to stay in release 22 until the workflow changes
30 
31 protected:
33  bool m_BMGpresent{false};
35  ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc{this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
36  SG::WriteHandleKey<MdtCsmContainer> m_csmContainerKey{this, "OutputObjectName", "MDTCSM", "WriteHandleKey for Output MdtCsmContainer"};
37  SG::ReadHandleKey<MdtDigitContainer> m_digitContainerKey{this, "InputObjectName", "MDT_DIGITS",
38  "ReadHandleKey for Input MdtDigitContainer"};
39  SG::ReadCondHandleKey<MuonMDT_CablingMap> m_cablingKey{this, "CablingKey", "MuonMDT_CablingMap", "Key of MuonMDT_CablingMap"};
40  SG::ReadCondHandleKey<MdtCondDbData> m_condKey{this, "ConditionsKey", "MdtCondDbData", "Key of MDT condition data"};
41 
42 };
43 
44 #endif
MdtDigitToMdtRDO::m_BMG_station_name
int m_BMG_station_name
Definition: MdtDigitToMdtRDO.h:34
MdtDigitToMdtRDO::m_csmContainerKey
SG::WriteHandleKey< MdtCsmContainer > m_csmContainerKey
Definition: MdtDigitToMdtRDO.h:36
MdtDigitToMdtRDO::m_cablingKey
SG::ReadCondHandleKey< MuonMDT_CablingMap > m_cablingKey
Definition: MdtDigitToMdtRDO.h:39
MdtDigitToMdtRDO::MdtDigitToMdtRDO
MdtDigitToMdtRDO(const std::string &name, ISvcLocator *pSvcLocator)
Definition: MdtDigitToMdtRDO.cxx:29
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
SG::ReadHandleKey< MdtDigitContainer >
MdtCsmContainer.h
protected
#define protected
Definition: DetDescrConditionsDict_dict_fixes.cxx:14
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
MdtDigitToMdtRDO::~MdtDigitToMdtRDO
virtual ~MdtDigitToMdtRDO()=default
MdtDigitToMdtRDO::fillTagInfo
StatusCode fillTagInfo() const
Definition: MdtDigitToMdtRDO.cxx:185
SG::WriteHandleKey< MdtCsmContainer >
MuonMDT_CablingMap.h
MdtDigitToMdtRDO::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition: MdtDigitToMdtRDO.cxx:54
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
MdtDigitToMdtRDO::m_condKey
SG::ReadCondHandleKey< MdtCondDbData > m_condKey
Definition: MdtDigitToMdtRDO.h:40
ReadCondHandleKey.h
AthReentrantAlgorithm.h
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
MdtDigitToMdtRDO::initialize
virtual StatusCode initialize() override final
Definition: MdtDigitToMdtRDO.cxx:33
MdtDigitToMdtRDO::m_BMGpresent
bool m_BMGpresent
Definition: MdtDigitToMdtRDO.h:33
SG::ReadCondHandleKey< MuonMDT_CablingMap >
MdtDigitContainer.h
MdtDigitToMdtRDO::m_digitContainerKey
SG::ReadHandleKey< MdtDigitContainer > m_digitContainerKey
Definition: MdtDigitToMdtRDO.h:37
MdtDigitToMdtRDO
Definition: MdtDigitToMdtRDO.h:18
MdtDigitToMdtRDO::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition: MdtDigitToMdtRDO.h:35
MdtCondDbData.h
IMuonIdHelperSvc.h
ServiceHandle< Muon::IMuonIdHelperSvc >