ATLAS Offline Software
CSC_RawDataProviderToolCore.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 MUONCSC_CNVTOOLS_CSC_RAWDATAPROVIDERTOOLCORE_H
6 #define MUONCSC_CNVTOOLS_CSC_RAWDATAPROVIDERTOOLCORE_H
7 
11 #include "CSC_Hid2RESrcID.h"
13 #include "GaudiKernel/ServiceHandle.h"
14 #include "GaudiKernel/ToolHandle.h"
20 
21 namespace Muon {
22 
24  public:
25  CSC_RawDataProviderToolCore(const std::string& t, const std::string& n, const IInterface* p);
26 
28  virtual ~CSC_RawDataProviderToolCore() = default;
29 
31  virtual StatusCode initialize() override;
32 
33  protected:
35  StatusCode convertIntoContainer(const std::vector<const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment*>& vecRobs,
36  const EventContext& ctx, CscRawDataContainer& container) const;
37 
39  ToolHandle<ICSC_ROD_Decoder> m_decoder{this, "Decoder", "Muon::CscROD_Decoder/CscROD_Decoder"};
40 
41  ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc{this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
42 
44  "Name of the CSCRDO produced by RawDataProvider"};
45  SG::ReadHandleKey<xAOD::EventInfo> m_eventInfoKey{this, "EventInfoKey", "EventInfo", ""};
47 
50  };
51 } // namespace Muon
52 
53 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
CscRawDataContainer.h
Muon::CSC_RawDataProviderToolCore::m_hid2re
CSC_Hid2RESrcID m_hid2re
Definition: CSC_RawDataProviderToolCore.h:46
Muon::CSC_RawDataProviderToolCore::CSC_RawDataProviderToolCore
CSC_RawDataProviderToolCore(const std::string &t, const std::string &n, const IInterface *p)
Definition: CSC_RawDataProviderToolCore.cxx:20
Muon::CSC_RawDataProviderToolCore::m_robDataProvider
ServiceHandle< IROBDataProviderSvc > m_robDataProvider
Definition: CSC_RawDataProviderToolCore.h:48
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
Muon::CSC_RawDataProviderToolCore::m_containerKey
SG::WriteHandleKey< CscRawDataContainer > m_containerKey
Definition: CSC_RawDataProviderToolCore.h:43
SG::ReadHandleKey< xAOD::EventInfo >
Muon
This class provides conversion from CSC RDO data to CSC Digits.
Definition: TrackSystemController.h:45
CSC_Hid2RESrcID
Definition: CSC_Hid2RESrcID.h:24
ICSC_ROD_Decoder.h
Muon::CSC_RawDataProviderToolCore
Definition: CSC_RawDataProviderToolCore.h:23
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
Muon::CSC_RawDataProviderToolCore::m_decoder
ToolHandle< ICSC_ROD_Decoder > m_decoder
member variables for algorithm properties:
Definition: CSC_RawDataProviderToolCore.h:39
SG::WriteHandleKey< CscRawDataContainer >
Muon::CSC_RawDataProviderToolCore::initialize
virtual StatusCode initialize() override
standard Athena-Algorithm method
Definition: CSC_RawDataProviderToolCore.cxx:25
beamspotman.n
n
Definition: beamspotman.py:731
RawEvent.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Muon::CSC_RawDataProviderToolCore::convertIntoContainer
StatusCode convertIntoContainer(const std::vector< const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment * > &vecRobs, const EventContext &ctx, CscRawDataContainer &container) const
function to decode the passed ROB fragments into the passed container
Definition: CSC_RawDataProviderToolCore.cxx:46
AthAlgTool.h
Muon::CSC_RawDataProviderToolCore::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition: CSC_RawDataProviderToolCore.h:41
Muon::CSC_RawDataProviderToolCore::m_cabling
ServiceHandle< CSCcablingSvc > m_cabling
Definition: CSC_RawDataProviderToolCore.h:49
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
Muon::CSC_RawDataProviderToolCore::~CSC_RawDataProviderToolCore
virtual ~CSC_RawDataProviderToolCore()=default
default destructor
CSC_Hid2RESrcID.h
CscRawDataContainer
This container provides access to collections of CSC RDOs and a mechanism for recording them.
Definition: CscRawDataContainer.h:23
Muon::CSC_RawDataProviderToolCore::m_eventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
Definition: CSC_RawDataProviderToolCore.h:45
AthAlgTool
Definition: AthAlgTool.h:26
IROBDataProviderSvc.h
IMuonIdHelperSvc.h
CSCcablingSvc.h
ServiceHandle< Muon::IMuonIdHelperSvc >