ATLAS Offline Software
SCTRawDataProvider.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 
3 /*
4  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 #ifndef SCT_RAWDATABYTESTREAMCNV_SCTRAWDATAPROVIDER_H
8 #define SCT_RAWDATABYTESTREAMCNV_SCTRAWDATAPROVIDER_H
9 
11 
17 
22 #include "GaudiKernel/ServiceHandle.h"
23 #include "GaudiKernel/ToolHandle.h"
24 
26 class ISCT_CablingTool;
27 class SCT_ID;
28 
45 {
46  public:
47 
49  SCTRawDataProvider(const std::string &name, ISvcLocator *pSvcLocator);
50 
52  virtual ~SCTRawDataProvider() = default;
53 
55  virtual StatusCode initialize() override;
56 
58  virtual StatusCode execute(const EventContext& ctx) const override;
59 
61  virtual bool isClonable() const override { return true; };
62 
63  private:
64 
67  "ROBDataProviderSvc",
68  "ROBDataProviderSvc"};
69 
71  ToolHandle<IRegSelTool> m_regionSelector{this,
72  "RegSelTool",
73  "RegSelTool/RegSel_SCT"};
74 
76  ToolHandle<ISCTRawDataProviderTool> m_rawDataTool{this,
77  "ProviderTool",
78  "SCTRawDataProviderTool",
79  "SCT Raw Data Provider Tool"};
80 
82  ToolHandle<ISCT_CablingTool> m_cabling{this,
83  "SCT_CablingTool",
84  "SCT_CablingTool",
85  "Tool to retrieve SCT Cabling"};
86 
89  const SCT_ID* m_sctID{nullptr};
90 
92  BooleanProperty m_roiSeeded{this, "isRoI_Seeded", false, "Use RoI"};
93 
95  Gaudi::Property<bool> m_useDataPoolWithCache{
96  this, "useDataPoolWithCache", false, "use DataPool With Cache"};
97 
100  "RoIs",
101  "",
102  "RoIs to read in"};
103 
106  "RDOKey",
107  "SCT_RDOs",
108  "SCT RDO key"};
109 
112  "LVL1IDKey",
113  "SCT_LVL1ID",
114  "SCT LVL1ID key"};
115 
118  "BCIDKey",
119  "SCT_BCID",
120  "SCT BCID key"};
121 
124  "IDCByteStreamErrContainer",
125  "SCT_ByteStreamErrs",
126  "SCT BS error key for IDC variant"};
127 
128 
132 
133  Gaudi::Property<bool> m_storeInDetTimeColls{this, "StoreInDetTimeCollections", true, "Store LVL1ID and BCID"};
134 
135 };
136 
137 #endif // SCT_RAWDATABYTESTREAMCNV_SCTRAWDATAPROVIDER_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
IRegSelTool.h
SCTRawDataProvider::m_bsErrContainerCacheKey
SG::UpdateHandleKey< IDCInDetBSErrContainer_Cache > m_bsErrContainerCacheKey
Definition: SCTRawDataProvider.h:131
SCTRawDataProvider::m_useDataPoolWithCache
Gaudi::Property< bool > m_useDataPoolWithCache
Boolean to Use DataPool with IDC online Cache.
Definition: SCTRawDataProvider.h:95
SCTRawDataProvider::m_robDataProvider
ServiceHandle< IROBDataProviderSvc > m_robDataProvider
ROB Data Provider for accessing ROB data.
Definition: SCTRawDataProvider.h:66
SCTRawDataProvider::m_bcIDCollectionKey
SG::WriteHandleKey< InDetTimeCollection > m_bcIDCollectionKey
Write handle for BC ID Inner Detector time collection.
Definition: SCTRawDataProvider.h:117
SG::UpdateHandleKey
Property holding a SG store/key/clid from which an UpdateHandle is made.
Definition: UpdateHandleKey.h:40
SCTRawDataProvider::SCTRawDataProvider
SCTRawDataProvider(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition: SCTRawDataProvider.cxx:19
SCTRawDataProvider::m_storeInDetTimeColls
Gaudi::Property< bool > m_storeInDetTimeColls
Definition: SCTRawDataProvider.h:133
ISCT_CablingTool
Definition: ISCT_CablingTool.h:36
SG::ReadHandleKey< TrigRoiDescriptorCollection >
SCTRawDataProvider::initialize
virtual StatusCode initialize() override
Initialize.
Definition: SCTRawDataProvider.cxx:28
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
SCT_RDO_Container.h
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
SCTRawDataProvider::m_rdoContainerCacheKey
SG::UpdateHandleKey< SCT_RDO_Cache > m_rdoContainerCacheKey
Update handle for SCT RDO and Erorrs Cache.
Definition: SCTRawDataProvider.h:130
SCTRawDataProvider::m_cabling
ToolHandle< ISCT_CablingTool > m_cabling
Providing mappings of online and offline identifiers and also serial numbers.
Definition: SCTRawDataProvider.h:82
SCTRawDataProvider::m_roiCollectionKey
SG::ReadHandleKey< TrigRoiDescriptorCollection > m_roiCollectionKey
Read handle for Trigger ROI descriptor collection.
Definition: SCTRawDataProvider.h:99
SCTRawDataProvider
Athena Algorithm to decode the SCT Byte Stream.
Definition: SCTRawDataProvider.h:45
SCTRawDataProvider::m_bsIDCErrContainerKey
SG::WriteHandleKey< IDCInDetBSErrContainer > m_bsIDCErrContainerKey
Write handle for Inner Detector ByteStream error container.
Definition: SCTRawDataProvider.h:123
SCTRawDataProvider::isClonable
virtual bool isClonable() const override
Make this algorithm clonable.
Definition: SCTRawDataProvider.h:61
SCTRawDataProvider::m_roiSeeded
BooleanProperty m_roiSeeded
Boolean to determine if SCT Raw Data Provider should be run in RoI seeded mode.
Definition: SCTRawDataProvider.h:92
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
InDetBSErrContainer.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
SCTRawDataProvider::m_lvl1CollectionKey
SG::WriteHandleKey< InDetTimeCollection > m_lvl1CollectionKey
Write handle for LVL 1 Inner Detector time collection.
Definition: SCTRawDataProvider.h:111
SCTRawDataProvider::m_rdoContainerKey
SG::WriteHandleKey< SCT_RDO_Container > m_rdoContainerKey
Write handle for SCT RDO container.
Definition: SCTRawDataProvider.h:105
SCTRawDataProvider::execute
virtual StatusCode execute(const EventContext &ctx) const override
Execute.
Definition: SCTRawDataProvider.cxx:64
SCT_ID
Definition: SCT_ID.h:68
IDCInDetBSErrContainer.h
SCTRawDataProvider::~SCTRawDataProvider
virtual ~SCTRawDataProvider()=default
Destructor.
SCTRawDataProvider::m_rawDataTool
ToolHandle< ISCTRawDataProviderTool > m_rawDataTool
Tool to fill Collections of SCT RDO Containers.
Definition: SCTRawDataProvider.h:76
InDetTimeCollection.h
ISCTRawDataProviderTool
Interface for Athena Algorithm Tool to fill Collections of SCT RDO Containers.
Definition: ISCTRawDataProviderTool.h:31
TrigRoiDescriptorCollection.h
IROBDataProviderSvc.h
SCTRawDataProvider::m_regionSelector
ToolHandle< IRegSelTool > m_regionSelector
Region Selector tool for Athena.
Definition: SCTRawDataProvider.h:71
SCTRawDataProvider::m_sctID
const SCT_ID * m_sctID
Identifier helper class for the SCT subdetector that creates compact Identifier objects and Identifie...
Definition: SCTRawDataProvider.h:89
ServiceHandle< IROBDataProviderSvc >