ATLAS Offline Software
IITkPixelRawDataProviderTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef IITkPixelRawDataProviderTool_h
6 #define IITkPixelRawDataProviderTool_h
7 
8 #include "GaudiKernel/IAlgTool.h"
9 #include "ByteStreamData/RawEvent.h" //ROBFragment typedef
10 #include "InDetRawData/PixelRDO_Container.h"// typedef
11 
12 
13 #include <string>
14 #include <vector>
15 
16 class InterfaceID;
17 class EventContext;
18 class StatusCode;
19 
20 
21 // the tool to decode a ROB frament
22 class IITkPixelRawDataProviderTool : virtual public IAlgTool{
23 
24  public:
25 
27  static const InterfaceID& interfaceID( );
28 
29  virtual ~IITkPixelRawDataProviderTool() = default;
30 
32  virtual StatusCode convert( std::vector<const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment*>& vecRobs,
33  IPixelRDO_Container* rdoIdc,
34  const EventContext& ctx) const = 0;
35 
36 };
37 
38 inline const InterfaceID& IITkPixelRawDataProviderTool::interfaceID(){
39  static const InterfaceID IID_IITkPixelRawDataProviderTool("IITkPixelRawDataProviderTool", 1, 0);
40  return IID_IITkPixelRawDataProviderTool;
41 }
42 
43 #endif
IITkPixelRawDataProviderTool::interfaceID
static const InterfaceID & interfaceID()
AlgTool InterfaceID.
Definition: IITkPixelRawDataProviderTool.h:38
EventContainers::IIdentifiableCont
Definition: IIdentifiableCont.h:13
IITkPixelRawDataProviderTool::~IITkPixelRawDataProviderTool
virtual ~IITkPixelRawDataProviderTool()=default
RawEvent.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
PixelRDO_Container.h
IITkPixelRawDataProviderTool
Definition: IITkPixelRawDataProviderTool.h:22
IITkPixelRawDataProviderTool::convert
virtual StatusCode convert(std::vector< const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment * > &vecRobs, IPixelRDO_Container *rdoIdc, const EventContext &ctx) const =0
this is the main decoding method