ATLAS Offline Software
ITkStripRawDataProvider.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ITKSTRIPS_BYTESTREAMCNV_ITKSTRIPRAWDATAPROVIDER_H
6 #define ITKSTRIPS_BYTESTREAMCNV_ITKSTRIPRAWDATAPROVIDER_H
7 
9 
11 
17 
22 #include "GaudiKernel/ServiceHandle.h"
23 #include "GaudiKernel/ToolHandle.h"
24 
27 class SCT_ID;
28 
36 {
37  public:
38 
39  using AthReentrantAlgorithm::AthReentrantAlgorithm;
40 
42  virtual ~ITkStripRawDataProvider() = default;
43 
45  virtual StatusCode initialize() override;
46 
48  virtual StatusCode execute(const EventContext& ctx) const override;
49 
50  private:
51 
54  "ROBDataProviderSvc",
55  "ROBDataProviderSvc"};
56 
58  ToolHandle<IRegSelTool> m_regionSelector{this,
59  "RegSelTool",
60  "RegSelTool/RegSel_SCT"};
61 
63  ToolHandle<IITkStripRawDataProviderTool> m_rawDataTool{this,
64  "ProviderTool",
65  "ITkStripRawDataProviderTool",
66  "ITkStrips Raw Data Provider Tool"};
67 
69  ToolHandle<IITkStripCablingTool> m_cabling{this,
70  "ITkStripCablingTool",
71  "ITkStripCablingTool",
72  "Tool to retrieve ITk Cabling"};
73 
76  const SCT_ID* m_sctID{nullptr};
77 
79  BooleanProperty m_roiSeeded{this, "isRoI_Seeded", false, "Use RoI"};
80 
82  Gaudi::Property<bool> m_useDataPoolWithCache{
83  this, "useDataPoolWithCache", false, "use DataPool With Cache"};
84 
87  "RoIs",
88  "",
89  "RoIs to read in"};
90 
93  "RDOKey",
94  "SCT_RDOs",
95  "SCT RDO key"};
96 
99  "LVL1IDKey",
100  "SCT_LVL1ID",
101  "SCT LVL1ID key"};
102 
105  "BCIDKey",
106  "SCT_BCID",
107  "SCT BCID key"};
108 
111  "IDCByteStreamErrContainer",
112  "SCT_ByteStreamErrs",
113  "SCT BS error key for IDC variant"};
114 
115 
119 
120  Gaudi::Property<bool> m_storeInDetTimeColls{this, "StoreInDetTimeCollections", true, "Store LVL1ID and BCID"};
121 
122 };
123 
124 #endif // ITKSTRIP_RAWDATABYTESTREAMCNV_ITKSTRIPRAWDATAPROVIDER_H
ITkStripRawDataProvider::m_rdoContainerCacheKey
SG::UpdateHandleKey< SCT_RDO_Cache > m_rdoContainerCacheKey
Update handle for SCT RDO and Erorrs Cache.
Definition: ITkStripRawDataProvider.h:117
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
IRegSelTool.h
ITkStripRawDataProvider::~ITkStripRawDataProvider
virtual ~ITkStripRawDataProvider()=default
Destructor.
SG::UpdateHandleKey
Property holding a SG store/key/clid from which an UpdateHandle is made.
Definition: UpdateHandleKey.h:40
ITkStripRawDataProvider::m_bsErrContainerCacheKey
SG::UpdateHandleKey< IDCInDetBSErrContainer_Cache > m_bsErrContainerCacheKey
Definition: ITkStripRawDataProvider.h:118
ITkStripRawDataProvider::m_roiCollectionKey
SG::ReadHandleKey< TrigRoiDescriptorCollection > m_roiCollectionKey
Read handle for Trigger ROI descriptor collection.
Definition: ITkStripRawDataProvider.h:86
ITkStripRawDataProvider
Athena Algorithm to decode the ITkStrip Byte Stream.
Definition: ITkStripRawDataProvider.h:36
IITkStripCablingTool
Definition: IITkStripCablingTool.h:36
ITkStripRawDataProvider::m_rdoContainerKey
SG::WriteHandleKey< SCT_RDO_Container > m_rdoContainerKey
Write handle for SCT RDO container.
Definition: ITkStripRawDataProvider.h:92
SG::ReadHandleKey< TrigRoiDescriptorCollection >
ITkStripRawDataProvider::m_lvl1CollectionKey
SG::WriteHandleKey< InDetTimeCollection > m_lvl1CollectionKey
Write handle for LVL 1 Inner Detector time collection.
Definition: ITkStripRawDataProvider.h:98
ITkStripRawDataProvider::m_useDataPoolWithCache
Gaudi::Property< bool > m_useDataPoolWithCache
Boolean to Use DataPool with IDC online Cache.
Definition: ITkStripRawDataProvider.h:82
ITkStripRawDataProvider::m_rawDataTool
ToolHandle< IITkStripRawDataProviderTool > m_rawDataTool
Tool to fill Collections of SCT RDO Containers.
Definition: ITkStripRawDataProvider.h:63
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:74
SCT_RDO_Container.h
SG::WriteHandleKey< SCT_RDO_Container >
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IITkStripRawDataProviderTool.h
IITkStripRawDataProviderTool
Interface for Athena Algorithm Tool to fill Collections of SCT RDO Containers.
Definition: IITkStripRawDataProviderTool.h:29
ITkStripRawDataProvider::m_robDataProvider
ServiceHandle< IROBDataProviderSvc > m_robDataProvider
ROB Data Provider for accessing ROB data.
Definition: ITkStripRawDataProvider.h:53
ITkStripRawDataProvider::m_cabling
ToolHandle< IITkStripCablingTool > m_cabling
Providing mappings of online and offline identifiers and also serial numbers.
Definition: ITkStripRawDataProvider.h:69
ITkStripRawDataProvider::m_storeInDetTimeColls
Gaudi::Property< bool > m_storeInDetTimeColls
Definition: ITkStripRawDataProvider.h:120
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
InDetBSErrContainer.h
ITkStripRawDataProvider::m_sctID
const SCT_ID * m_sctID
Identifier helper class for the SCT subdetector that creates compact Identifier objects and Identifie...
Definition: ITkStripRawDataProvider.h:76
ITkStripRawDataProvider::m_bsIDCErrContainerKey
SG::WriteHandleKey< IDCInDetBSErrContainer > m_bsIDCErrContainerKey
Write handle for Inner Detector ByteStream error container.
Definition: ITkStripRawDataProvider.h:110
SCT_ID
Definition: SCT_ID.h:68
IDCInDetBSErrContainer.h
ITkStripRawDataProvider::initialize
virtual StatusCode initialize() override
Initialize.
Definition: ITkStripRawDataProvider.cxx:19
ITkStripRawDataProvider::execute
virtual StatusCode execute(const EventContext &ctx) const override
Execute.
Definition: ITkStripRawDataProvider.cxx:55
InDetTimeCollection.h
ITkStripRawDataProvider::m_bcIDCollectionKey
SG::WriteHandleKey< InDetTimeCollection > m_bcIDCollectionKey
Write handle for BC ID Inner Detector time collection.
Definition: ITkStripRawDataProvider.h:104
ITkStripRawDataProvider::m_roiSeeded
BooleanProperty m_roiSeeded
Boolean to determine if SCT Raw Data Provider should be run in RoI seeded mode.
Definition: ITkStripRawDataProvider.h:79
TrigRoiDescriptorCollection.h
ITkStripRawDataProvider::m_regionSelector
ToolHandle< IRegSelTool > m_regionSelector
Region Selector tool for Athena.
Definition: ITkStripRawDataProvider.h:58
IROBDataProviderSvc.h
ServiceHandle< IROBDataProviderSvc >