ATLAS Offline Software
Loading...
Searching...
No Matches
RPC_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 MUONRPCRAWDATAPROVIDERTOOLCORE_H
6#define MUONRPCRAWDATAPROVIDERTOOLCORE_H
7
10#include "GaudiKernel/ToolHandle.h"
17
18
19namespace Muon {
28 public:
29 RPC_RawDataProviderToolCore(const std::string& t, const std::string& n, const IInterface* p);
30
31 virtual ~RPC_RawDataProviderToolCore() = default;
32
33 virtual StatusCode initialize() override;
34
35 protected:
36 // This function does all the actual work of decoding the data
37 StatusCode convertIntoContainers(const std::vector<const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment*>& vecRobs,
38 const std::vector<IdentifierHash>& collections, RpcPadContainer* pad,
39 RpcSectorLogicContainer* logic, const bool& decodeSL) const;
40
41 std::vector<IdentifierHash> to_be_converted(const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment& robFrag,
42 const std::vector<IdentifierHash>& coll) const;
43
44 SG::ReadCondHandleKey<RpcCablingCondData> m_readKey{this, "ReadKey", "RpcCablingCondData", "Key of RpcCablingCondData"};
45
46 // Rob Data Provider handle
48
49 // ROD decoding tool
50 ToolHandle<IRpcROD_Decoder> m_decoder{this, "Decoder", "Muon::RpcROD_Decoder/RpcROD_Decoder"};
51
52 // WriteHandleKey for RPC PAD container
53 SG::WriteHandleKey<RpcPadContainer> m_containerKey{this, "RdoLocation", "RPCPAD", "Name of the RPCPAD produced by RawDataProvider"};
54 // WriteHandleKey for RPC sector logic container
55 SG::WriteHandleKey<RpcSectorLogicContainer> m_sec{this, "RPCSec", "RPC_SECTORLOGIC",
56 "Name of the RPC_SECTORLOGIC produced by RawDataProvider"};
57
58 }; // class RPC_RawDataProviderToolCore
59} // namespace Muon
60
61#endif // MUONRPCRAWDATAPROVIDERTOOLCORE_H
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
SG::ReadCondHandleKey< RpcCablingCondData > m_readKey
std::vector< IdentifierHash > to_be_converted(const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment &robFrag, const std::vector< IdentifierHash > &coll) const
StatusCode convertIntoContainers(const std::vector< const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment * > &vecRobs, const std::vector< IdentifierHash > &collections, RpcPadContainer *pad, RpcSectorLogicContainer *logic, const bool &decodeSL) const
SG::WriteHandleKey< RpcPadContainer > m_containerKey
virtual ~RPC_RawDataProviderToolCore()=default
ServiceHandle< IROBDataProviderSvc > m_robDataProvider
SG::WriteHandleKey< RpcSectorLogicContainer > m_sec
RPC_RawDataProviderToolCore(const std::string &t, const std::string &n, const IInterface *p)
Use IdentifiableContainer with RpcPad.
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.
eformat::ROBFragment< PointerType > ROBFragment
Definition RawEvent.h:27