ATLAS Offline Software
Loading...
Searching...
No Matches
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
21namespace 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
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
This container provides access to collections of CSC RDOs and a mechanism for recording them.
virtual ~CSC_RawDataProviderToolCore()=default
default destructor
CSC_RawDataProviderToolCore(const std::string &t, const std::string &n, const IInterface *p)
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
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
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
virtual StatusCode initialize() override
standard Athena-Algorithm method
ServiceHandle< IROBDataProviderSvc > m_robDataProvider
ToolHandle< ICSC_ROD_Decoder > m_decoder
member variables for algorithm properties:
ServiceHandle< CSCcablingSvc > m_cabling
SG::WriteHandleKey< CscRawDataContainer > m_containerKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.