ATLAS Offline Software
Loading...
Searching...
No Matches
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
27class 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
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
Interface for Athena Algorithm Tool to fill Collections of SCT RDO Containers.
Client interface to the cabling, providing conversions between online and offline identifiers.
ToolHandle< ISCT_CablingTool > m_cabling
Providing mappings of online and offline identifiers and also serial numbers.
SCTRawDataProvider(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
ServiceHandle< IROBDataProviderSvc > m_robDataProvider
ROB Data Provider for accessing ROB data.
SG::WriteHandleKey< IDCInDetBSErrContainer > m_bsIDCErrContainerKey
Write handle for Inner Detector ByteStream error container.
SG::ReadHandleKey< TrigRoiDescriptorCollection > m_roiCollectionKey
Read handle for Trigger ROI descriptor collection.
virtual StatusCode initialize() override
Initialize.
SG::WriteHandleKey< InDetTimeCollection > m_bcIDCollectionKey
Write handle for BC ID Inner Detector time collection.
virtual bool isClonable() const override
Make this algorithm clonable.
BooleanProperty m_roiSeeded
Boolean to determine if SCT Raw Data Provider should be run in RoI seeded mode.
virtual StatusCode execute(const EventContext &ctx) const override
Execute.
const SCT_ID * m_sctID
Identifier helper class for the SCT subdetector that creates compact Identifier objects and Identifie...
ToolHandle< ISCTRawDataProviderTool > m_rawDataTool
Tool to fill Collections of SCT RDO Containers.
SG::UpdateHandleKey< IDCInDetBSErrContainer_Cache > m_bsErrContainerCacheKey
SG::UpdateHandleKey< SCT_RDO_Cache > m_rdoContainerCacheKey
Update handle for SCT RDO and Erorrs Cache.
ToolHandle< IRegSelTool > m_regionSelector
Region Selector tool for Athena.
SG::WriteHandleKey< InDetTimeCollection > m_lvl1CollectionKey
Write handle for LVL 1 Inner Detector time collection.
Gaudi::Property< bool > m_storeInDetTimeColls
SG::WriteHandleKey< SCT_RDO_Container > m_rdoContainerKey
Write handle for SCT RDO container.
virtual ~SCTRawDataProvider()=default
Destructor.
Gaudi::Property< bool > m_useDataPoolWithCache
Boolean to Use DataPool with IDC online Cache.
This is an Identifier helper class for the SCT subdetector.
Definition SCT_ID.h:68
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which an UpdateHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.