ATLAS Offline Software
IMuonRdoToPrepDataTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MUONCNVTOOLINTERFACES_IMUONRDOTOPREPDATATOOL_H
6 #define MUONCNVTOOLINTERFACES_IMUONRDOTOPREPDATATOOL_H
7 
8 #include "GaudiKernel/IAlgTool.h"
9 #include "GaudiKernel/EventContext.h"
10 
11 class IdentifierHash;
12 
13 
14 namespace Muon {
15 
23 class IMuonRdoToPrepDataTool : virtual public IAlgTool {
24  public:
26 
27  public:
32  virtual StatusCode decode(const EventContext& ctx,
33  const std::vector<IdentifierHash>& idVect) const = 0;
34 
36  virtual StatusCode decode(const EventContext& ctx,
37  const std::vector<uint32_t>& robIds) const = 0;
38 
40  virtual StatusCode provideEmptyContainer(const EventContext& ctx) const = 0;
41 };
42 }
43 
44 
45 #endif // !MUONCNVTOOLINTERFACES_IMUONRDOTOPREPDATATOOL_H
Muon::IMuonRdoToPrepDataTool::DeclareInterfaceID
DeclareInterfaceID(IMuonRdoToPrepDataTool, 1, 0)
Muon::IMuonRdoToPrepDataTool
Interface defining the tools used to convert Muon RDOs to MuonPrepRawData.
Definition: IMuonRdoToPrepDataTool.h:23
Muon
This class provides conversion from CSC RDO data to CSC Digits.
Definition: TrackSystemController.h:49
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Muon::IMuonRdoToPrepDataTool::decode
virtual StatusCode decode(const EventContext &ctx, const std::vector< IdentifierHash > &idVect) const =0
Decoding method.
Muon::IMuonRdoToPrepDataTool::provideEmptyContainer
virtual StatusCode provideEmptyContainer(const EventContext &ctx) const =0
Method to create the empty containers.. Only used for seeded decoding.
Muon::IMuonRdoToPrepDataTool::decode
virtual StatusCode decode(const EventContext &ctx, const std::vector< uint32_t > &robIds) const =0
Method for ROB based decoding. Shold decode all chambers asociated with the inputted ROB list.
IdentifierHash
Definition: IdentifierHash.h:38