ATLAS Offline Software
IPixelRawDataProviderTool.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 IPIXELRAWDATABYTESTREAMCNV_PIXELRAWDATAPROVIDERTOOL_H
6 #define IPIXELRAWDATABYTESTREAMCNV_PIXELRAWDATAPROVIDERTOOL_H
7 
8 #include "GaudiKernel/IAlgTool.h"
12 // the tool to decode a ROB frament
13 class IPixelRawDataProviderTool : virtual public IAlgTool
14 {
15 
16  public:
17 
19  static const InterfaceID& interfaceID( ) ;
20 
23 
25  virtual StatusCode convert( std::vector<const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment*>& vecRobs,
26  IPixelRDO_Container* rdoIdc,
27  IDCInDetBSErrContainer& decodingErrors,
28  const EventContext& ctx) const = 0;
29 
31  virtual int SizeOfIDCInDetBSErrContainer() const =0;
32 
33 };
34 
35 inline const InterfaceID& IPixelRawDataProviderTool::interfaceID(){
36 static const InterfaceID IID_IPixelRawDataProviderTool("IPixelRawDataProviderTool", 1, 0);
37 return IID_IPixelRawDataProviderTool;
38 }
39 
40 #endif
IDCInDetBSErrContainer
IDC like storage for BS errors, TODO, customise implementation further so that we store int rather th...
Definition: IDCInDetBSErrContainer.h:19
IPixelRawDataProviderTool
Definition: IPixelRawDataProviderTool.h:14
EventContainers::IIdentifiableCont
Definition: IIdentifiableCont.h:13
RawEvent.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IPixelRawDataProviderTool::convert
virtual StatusCode convert(std::vector< const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment * > &vecRobs, IPixelRDO_Container *rdoIdc, IDCInDetBSErrContainer &decodingErrors, const EventContext &ctx) const =0
this is the main decoding method
IPixelRawDataProviderTool::SizeOfIDCInDetBSErrContainer
virtual int SizeOfIDCInDetBSErrContainer() const =0
Size of IDCInDetBSErrContainer.
IPixelRawDataProviderTool::interfaceID
static const InterfaceID & interfaceID()
AlgTool InterfaceID.
Definition: IPixelRawDataProviderTool.h:35
PixelRDO_Container.h
IPixelRawDataProviderTool::~IPixelRawDataProviderTool
virtual ~IPixelRawDataProviderTool()
destructor
Definition: IPixelRawDataProviderTool.h:22
IDCInDetBSErrContainer.h