ATLAS Offline Software
RecMuCTPIByteStreamTool.h
Go to the documentation of this file.
1 // Dear emacs, this is -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 #ifndef TRIGT1RESULTBYTESTREAM_RECMUCTPIBYTESTREAMTOOL_H
8 #define TRIGT1RESULTBYTESTREAM_RECMUCTPIBYTESTREAMTOOL_H
9 
10 // Gaudi/Athena include(s):
13 
14 // Trigger include(s):
16 
17 // Local include(s):
18 #include "MuCTPISrcIdMap.h"
19 
20 // Forward declaration(s):
21 class MuCTPI_RIO;
22 
37 
38 private:
40 
41 public:
43  RecMuCTPIByteStreamTool( const std::string& type, const std::string& name,
44  const IInterface* parent );
45 
47  static const InterfaceID& interfaceID();
48 
50  virtual StatusCode initialize() override;
51 
53  StatusCode convert( const ROBF* rob, MuCTPI_RIO*& cont );
54 
55 private:
58 
59  ToolHandle<LVL1::ITrigT1MuonRecRoiTool> m_rpcRoITool {
60  this, "RPCRecRoiSvc", "LVL1::TrigT1RPCRecRoiTool/TrigT1RPCRecRoiTool", "RPC RoI reconstruction tool"
61  };
62  ToolHandle<LVL1::ITrigT1MuonRecRoiTool> m_tgcRoITool {
63  this, "TGCRecRoiSvc", "LVL1::TrigT1TGCRecRoiTool/TrigT1TGCRecRoiTool", "TGC RoI reconstruction tool"
64  };
65 
66 }; // class RecMuCTPIByteStreamTool
67 
68 #endif // TRIGT1RESULTBYTESTREAM_RECMUCTPIBYTESTREAMTOOL_H
RecMuCTPIByteStreamTool::m_rpcRoITool
ToolHandle< LVL1::ITrigT1MuonRecRoiTool > m_rpcRoITool
Definition: RecMuCTPIByteStreamTool.h:59
RecMuCTPIByteStreamTool
Tool doing the ByteStream -> MuCTPI_RIO conversion.
Definition: RecMuCTPIByteStreamTool.h:36
RecMuCTPIByteStreamTool::convert
StatusCode convert(const ROBF *rob, MuCTPI_RIO *&cont)
Convert ROBFragment to MuCTPI_RIO.
Definition: RecMuCTPIByteStreamTool.cxx:70
RecMuCTPIByteStreamTool::RecMuCTPIByteStreamTool
RecMuCTPIByteStreamTool(const std::string &type, const std::string &name, const IInterface *parent)
Default constructor.
Definition: RecMuCTPIByteStreamTool.cxx:32
MuCTPI_RIO
Reconstruction Input Object of the MuCTPI hardware and simulation.
Definition: MuCTPI_RIO.h:43
RecMuCTPIByteStreamTool::m_tgcRoITool
ToolHandle< LVL1::ITrigT1MuonRecRoiTool > m_tgcRoITool
Definition: RecMuCTPIByteStreamTool.h:62
RecMuCTPIByteStreamTool::ROBF
OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment ROBF
Definition: RecMuCTPIByteStreamTool.h:39
eformat::ROBFragment
Definition: L1CaloBsDecoderUtil.h:12
RawEvent.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
MuCTPISrcIdMap
This class provides conversion between Lower level Source ID to higher level source ID for MuCTPI Byt...
Definition: MuCTPISrcIdMap.h:16
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
ITrigT1MuonRecRoiTool.h
RecMuCTPIByteStreamTool::m_srcIdMap
MuCTPISrcIdMap m_srcIdMap
Object storing the various IDs of the MuCTPI fragment.
Definition: RecMuCTPIByteStreamTool.h:57
RecMuCTPIByteStreamTool::interfaceID
static const InterfaceID & interfaceID()
AlgTool InterfaceID.
Definition: RecMuCTPIByteStreamTool.cxx:22
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
MuCTPISrcIdMap.h
RecMuCTPIByteStreamTool::initialize
virtual StatusCode initialize() override
Function to initialise the tool.
Definition: RecMuCTPIByteStreamTool.cxx:45
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
AthAlgTool
Definition: AthAlgTool.h:26