ATLAS Offline Software
Loading...
Searching...
No Matches
ActsTrk::RDOtoTracccCellConverterAlg Class Reference

Converts Pixel and Strip RDO container into Traccc cells, the input to the Acts GPU reconstruction chain. More...

#include <RDOtoTracccCellConverterAlg.h>

Inheritance diagram for ActsTrk::RDOtoTracccCellConverterAlg:
Collaboration diagram for ActsTrk::RDOtoTracccCellConverterAlg:

Public Member Functions

virtual StatusCode initialize () override
virtual StatusCode execute (const EventContext &ctx) const override
virtual StatusCode finalize () override
virtual StatusCode sysInitialize () override
 Override sysInitialize.
virtual bool isClonable () const override
 Specify if the algorithm is clonable.
virtual StatusCode sysExecute (const EventContext &ctx) override
 Execute an algorithm.
virtual const DataObjIDColl & extraOutputDeps () const override
 Return the list of extra output dependencies.
virtual bool filterPassed (const EventContext &ctx) const
 Get filter decision:
virtual void setFilterPassed (bool state, const EventContext &ctx) const
 Set filter decision:
ServiceHandle< StoreGateSvc > & evtStore ()
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
const ServiceHandle< StoreGateSvc > & detStore () const
 The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual StatusCode sysStart () override
 Handle START transition.
virtual std::vector< Gaudi::DataHandle * > inputHandles () const override
 Return this algorithm's input handles.
virtual std::vector< Gaudi::DataHandle * > outputHandles () const override
 Return this algorithm's output handles.
Gaudi::Details::PropertyBase & declareProperty (Gaudi::Property< T, V, H > &t)
void updateVHKA (Gaudi::Details::PropertyBase &)
MsgStream & msg () const
bool msgLvl (const MSG::Level lvl) const

Protected Member Functions

void renounceArray (SG::VarHandleKeyArray &handlesArray)
 remove all handles from I/O resolution
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce (T &h)
void extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps)
 Add StoreName to extra input/output deps as needed.

Private Types

typedef ServiceHandle< StoreGateSvcStoreGateSvc_t

Private Member Functions

Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey>

Private Attributes

RDOtoTracccCellConverterCommons m_common {*this}
SG::ReadHandleKey< PixelRDO_Containerm_pixelRDOKey
SG::ReadHandleKey< SCT_RDO_Containerm_stripRDOKey
Gaudi::Property< std::string > m_pixelManagerKey
Gaudi::Property< std::string > m_stripManagerKey
const InDetDD::PixelDetectorManagerm_pixelManager {nullptr}
const InDetDD::SCT_DetectorManagerm_stripManager {nullptr}
DataObjIDColl m_extendedExtraObjects
 Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
StoreGateSvc_t m_evtStore
 Pointer to StoreGate (event store by default).
StoreGateSvc_t m_detStore
 Pointer to StoreGate (detector store by default).
std::vector< SG::VarHandleKeyArray * > m_vhka
bool m_varHandleArraysDeclared

Detailed Description

Converts Pixel and Strip RDO container into Traccc cells, the input to the Acts GPU reconstruction chain.

The output of this algorithm is a Traccc container on device (GPU).

An option allows to choose whether the sorting of the cells is to take place on CPU, as part of this algorithm, or not. If not, the clusterization algorithm on GPU must be configured to sort the input cells.

The common components of this algo and PhaseIIRDOtoTracccCellConverterAlg are factorized in RDOtoTracccCellConverterCommons.

Definition at line 32 of file RDOtoTracccCellConverterAlg.h.

Member Typedef Documentation

◆ StoreGateSvc_t

typedef ServiceHandle<StoreGateSvc> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::StoreGateSvc_t
privateinherited

Definition at line 388 of file AthCommonDataStore.h.

Member Function Documentation

◆ declareGaudiProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareGaudiProperty ( Gaudi::Property< T, V, H > & hndl,
const SG::VarHandleKeyType &  )
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleKey>

Definition at line 156 of file AthCommonDataStore.h.

158 {
160 hndl.value(),
161 hndl.documentation());
162
163 }
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)

◆ declareProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( Gaudi::Property< T, V, H > & t)
inlineinherited

Definition at line 145 of file AthCommonDataStore.h.

145 {
146 typedef typename SG::HandleClassifier<T>::type htype;
148 }
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>

◆ detStore()

const ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::detStore ( ) const
inlineinherited

The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 95 of file AthCommonDataStore.h.

◆ evtStore()

ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::evtStore ( )
inlineinherited

The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 85 of file AthCommonDataStore.h.

◆ execute()

StatusCode ActsTrk::RDOtoTracccCellConverterAlg::execute ( const EventContext & ctx) const
overridevirtual

Definition at line 29 of file RDOtoTracccCellConverterAlg.cxx.

30{
31 using size_type = traccc::edm::silicon_cell_collection::buffer::size_type;
32
33 // ---- 0. Init
34 auto pixelRDOHandle = SG::makeHandle(m_pixelRDOKey, ctx);
35 ATH_CHECK(pixelRDOHandle.isValid());
36 auto stripRDOHandle = SG::makeHandle(m_stripRDOKey, ctx);
37 ATH_CHECK(stripRDOHandle.isValid());
38
39 // ---- 1. Count Pixel and Strip hits: creating the traccc SoA requires
40 // knowing their size upon creation.
41
42 size_type nPix = 0, nStrip = 0;
43
44 for (const auto* coll : *pixelRDOHandle) {
45 if (coll) {
46 nPix += coll->size();
47 }
48 }
49 for (const auto* coll : *stripRDOHandle) {
50 if (coll) {
51 for (const SCT_RDORawData* rdo : *coll) {
52 //Check type in debug build otherwise assume it is correct
53 assert(dynamic_cast<const SCT3_RawData*>(rdo)!=nullptr);
54 const SCT3_RawData* raw3 = static_cast<const SCT3_RawData*>(rdo);
55
56 std::bitset<3> timePattern(raw3->getTimeBin());
57 if (!m_common.passTiming(timePattern)) {
58 ATH_MSG_DEBUG("Strip failed timing check");
59 continue;
60 }
61 nStrip += rdo->getGroupSize();
62 }
63 }
64 }
65
66 ATH_MSG_DEBUG("Found " << nPix << " Pixel RDOs and " << nStrip
67 << " Strip RDOs, total " << (nPix + nStrip) << " RDOs");
68 size_type const nCells = nPix + nStrip;
69
70
71 // ---- 2. Create the output cell buffer.
72 auto host_copy = m_common.m_copiesTool->hostCopy(ctx);
73 traccc::edm::silicon_cell_collection::buffer traccc_cells_host_buffer{
74 nCells, m_common.m_hostMR->mr()};
75 host_copy->setup(traccc_cells_host_buffer)->wait();
76
77 if (nCells == 0) {
78 ATH_MSG_DEBUG("no input hits — writing empty cell collection");
79 ATH_CHECK(m_common.copyToGpuAndRecordToSG(ctx, traccc_cells_host_buffer));
80 return StatusCode::SUCCESS;
81 }
82
83 // Create a "device" collection around the buffer to work on it
84 traccc::edm::silicon_cell_collection::device cells{traccc_cells_host_buffer};
85
86 // ---- 3. Convert RDOs to traccc cells
87 // The traccc buffers are not default initialized: all members must be set.
88
89 size_type cell_index = 0;
90 uint64_t current_geometry_id = detray::geometry::identifier{}.value();
91 unsigned int current_det_cond_idx = -1;
92
93 // Convert Pixel RDOs
94 for (const auto* coll : *pixelRDOHandle) {
95
96 for (const PixelRDORawData* rdo : *coll) {
97 const Identifier rdoId = rdo->identify();
98 const InDetDD::SiDetectorElement* el =
99 m_pixelManager->getDetectorElement(rdoId);
100 if (!el) continue;
101 const Identifier modId = el->identify();
102 const InDetDD::SiCellId cellId = el->cellIdFromIdentifier(rdoId);
103 const auto geoIdOpt = m_common.m_geoIdMapping->athenaToDetray(modId);
104 if (!geoIdOpt.has_value()) {
105 ATH_MSG_FATAL("No detray id found for Athena identifier " << modId);
106 return StatusCode::FAILURE;
107 }
108 const uint64_t geoId = *geoIdOpt;
109
110 if (geoId != current_geometry_id) {
111 current_geometry_id = geoId;
112 current_det_cond_idx = m_common.m_DetrayIdToDetDescrIndexMap.at(current_geometry_id);
113 }
114
115 float activation = 1.;
116 if (m_common.m_UsePixelToTForCellActivation) {
117 activation = static_cast<float>(rdo->getToT());
118 if (activation == 0.) {
119 ATH_MSG_ERROR("input data error: RDO must not have ToT=0; RDO index: "
120 << cell_index);
121 }
122 }
123
124 traccc::edm::silicon_cell cell = cells.at(cell_index++);
125 cell.channel0() = static_cast<uint32_t>(cellId.phiIndex());
126 cell.channel1() = static_cast<uint32_t>(cellId.etaIndex());
127 cell.module_index() = current_det_cond_idx;
128 cell.activation() = activation;
129 cell.time() = 0;
130 }
131 }
132
133 // Convert Strip RDOs
134 for (const auto* coll : *stripRDOHandle) {
135 for (const SCT_RDORawData* rdo : *coll) {
136 //Check type in debug build otherwise assume it is correct
137 assert(dynamic_cast<const SCT3_RawData*>(rdo)!=nullptr);
138 const SCT3_RawData* raw3 = static_cast<const SCT3_RawData*>(rdo);
139
140 std::bitset<3> timePattern(raw3->getTimeBin());
141 if (!m_common.passTiming(timePattern)) {
142 ATH_MSG_DEBUG("Strip failed timing check");
143 continue;
144 }
145
146 const Identifier rdoId = rdo->identify();
147 const InDetDD::SiDetectorElement* el =
148 m_stripManager->getDetectorElement(rdoId);
149 if (!el) continue;
150 const Identifier modId = el->identify();
151 const InDetDD::SiCellId cellId = el->cellIdFromIdentifier(rdoId);
152 const auto geoIdOpt = m_common.m_geoIdMapping->athenaToDetray(modId);
153 if (!geoIdOpt.has_value()) {
154 ATH_MSG_FATAL("No detray id found for Athena identifier " << modId);
155 return StatusCode::FAILURE;
156 }
157 const uint64_t geoId = *geoIdOpt;
158
159 if (geoId != current_geometry_id) {
160 current_geometry_id = geoId;
161 current_det_cond_idx = m_common.m_DetrayIdToDetDescrIndexMap.at(current_geometry_id);
162 }
163
164 if (m_common.m_stripID->barrel_ec(modId) == 0) {
165 for (int i = 0; i < rdo->getGroupSize(); ++i) {
166
167 traccc::edm::silicon_cell cell = cells.at(cell_index++);
168 cell.channel0() = static_cast<uint32_t>(cellId.phiIndex() + i);
169 cell.channel1() = 0;
170 cell.module_index() = current_det_cond_idx;
171 cell.activation() = 1.;
172 cell.time() = 0;
173
174 }
175 } else {
176 for (int i = 0; i < rdo->getGroupSize(); ++i) {
177
178 traccc::edm::silicon_cell cell = cells.at(cell_index++);
179 cell.channel0() = 0;
180 cell.channel1() = static_cast<uint32_t>(cellId.phiIndex() + i);
181 cell.module_index() = current_det_cond_idx;
182 cell.activation() = 1.;
183 cell.time() = 0;
184
185 }
186 }
187 }
188 }
189
190 // ---- 4. Sort cells
191 if (m_common.m_CPUCellSorting) {
192 traccc::edm::silicon_cell_collection::buffer sorted_cells_host_buffer =
193 m_common.sortCells(*host_copy, cells);
194
195 // ---- 5. Copy host -> device buffer and write to StoreGate ---------------
196 ATH_CHECK(m_common.copyToGpuAndRecordToSG(ctx, sorted_cells_host_buffer));
197 } else {
198 // In this case the GPU clusterization algorithm must be configured to sort
199 // the cells.
200
201 // ---- 4/5. Copy host -> device buffer and write to StoreGate
202 ATH_CHECK(m_common.copyToGpuAndRecordToSG(ctx, traccc_cells_host_buffer));
203 }
204
205 // ---- 6. Accounting
206 m_common.m_nPix += nPix;
207 m_common.m_nStrip += nStrip;
208 m_common.m_nCells += nCells;
209
210 ATH_MSG_DEBUG("Wrote " << nCells << " cells to '"
211 << m_common.m_tracccCellsKey.key() << "'");
212 return StatusCode::SUCCESS;
213}
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_DEBUG(x,...)
#define ATH_MSG_ERROR(x,...)
#define ATH_MSG_FATAL(x,...)
const InDetDD::PixelDetectorManager * m_pixelManager
const InDetDD::SCT_DetectorManager * m_stripManager
SG::ReadHandleKey< PixelRDO_Container > m_pixelRDOKey
SG::ReadHandleKey< SCT_RDO_Container > m_stripRDOKey
int phiIndex() const
Get phi index. Equivalent to strip().
Definition SiCellId.h:122
int etaIndex() const
Get eta index.
Definition SiCellId.h:114
int getTimeBin() const
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
@ nStrip
Get number of strips.
Definition TauDefs.h:204
setRawEt setRawPhi nCells
setEventNumber uint32_t

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::extraDeps_update_handler ( Gaudi::Details::PropertyBase & ExtraDeps)
protectedinherited

Add StoreName to extra input/output deps as needed.

use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given

◆ extraOutputDeps()

const DataObjIDColl & AthCommonAlgorithm< Gaudi::Algorithm >::extraOutputDeps ( ) const
overridevirtualinherited

Return the list of extra output dependencies.

This list is extended to include symlinks implied by inheritance relations.

Definition at line 89 of file AthCommonAlgorithm.cxx.

54{
55 // If we didn't find any symlinks to add, just return the collection
56 // from the base class. Otherwise, return the extended collection.
57 if (!m_extendedExtraObjects.empty()) {
59 }
61}
Common base class for algorithms.

◆ filterPassed()

virtual bool AthCommonAlgorithm< Gaudi::Algorithm >::filterPassed ( const EventContext & ctx) const
inlinevirtualinherited

Get filter decision:

Definition at line 93 of file AthCommonAlgorithm.h.

93 {
94 return execState( ctx ).filterPassed();
95 }
virtual bool filterPassed(const EventContext &ctx) const
Get filter decision:

◆ finalize()

StatusCode ActsTrk::RDOtoTracccCellConverterAlg::finalize ( )
overridevirtual

Definition at line 215 of file RDOtoTracccCellConverterAlg.cxx.

216{
217 ATH_MSG_DEBUG("Finalizing.");
218
219 ATH_CHECK(m_common.finalize());
220
221 return StatusCode::SUCCESS;
222}

◆ initialize()

StatusCode ActsTrk::RDOtoTracccCellConverterAlg::initialize ( )
overridevirtual

Definition at line 10 of file RDOtoTracccCellConverterAlg.cxx.

11{
12 ATH_MSG_DEBUG("Initializing");
13
14 ATH_CHECK(m_common.initialize());
15 ATH_CHECK(m_common.buildDetrayMaps());
16
17 ATH_CHECK(m_pixelRDOKey.initialize());
18 ATH_CHECK(m_stripRDOKey.initialize());
19
20 ATH_MSG_DEBUG("Reading from Pixel RDO key: " << m_pixelRDOKey.key());
21 ATH_MSG_DEBUG("Reading from Strip RDO key: " << m_stripRDOKey.key());
22
25
26 return StatusCode::SUCCESS;
27}
Gaudi::Property< std::string > m_pixelManagerKey
Gaudi::Property< std::string > m_stripManagerKey
const ServiceHandle< StoreGateSvc > & detStore() const

◆ inputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::inputHandles ( ) const
overridevirtualinherited

Return this algorithm's input handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ isClonable()

virtual bool AthCommonAlgorithm< Gaudi::Algorithm >::isClonable ( ) const
inlineoverridevirtualinherited

Specify if the algorithm is clonable.

Only relevant for non-reentrant algorithms. Actual number of clones needs to be set via the "Cardinality" property.

Reimplemented in AFP_DigiTop, AlgB, AlgT, BCM_Digitization, CscDigitBuilder, CscDigitToCscRDO, G4AtlasAlg, G4RunAlg, HGTD_Digitization, HiveAlgBase, InDet::GNNSeedingTrackMaker, InDet::SCT_Clusterization, InDet::SiSPGNNTrackMaker, InDet::SiSPSeededTrackFinder, InDet::SiTrackerSpacePointFinder, ISF::SimKernelMT, ITk::StripDigitization, ITkPixelCablingAlg, ITkStripCablingAlg, LArHitEMapMaker, LArTTL1Maker, LUCID_DigiTop, LVL1::L1TopoSimulation, MergeCalibHits, MergeGenericMuonSimHitColl, MergeHijingPars, MergeMcEventCollection, MergeTrackRecordCollection, MergeTruthJets, MergeTruthParticles, MuonDigitizer, PileUpMTAlg, PixelDigitization, RoIBResultToxAOD, SCT_ByteStreamErrorsTestAlg, SCT_CablingCondAlgFromCoraCool, SCT_CablingCondAlgFromText, SCT_ConditionsParameterTestAlg, SCT_ConditionsSummaryTestAlg, SCT_ConfigurationConditionsTestAlg, SCT_Digitization, SCT_FlaggedConditionTestAlg, SCT_LinkMaskingTestAlg, SCT_MajorityConditionsTestAlg, SCT_ModuleVetoTestAlg, SCT_MonitorConditionsTestAlg, SCT_PrepDataToxAOD, SCT_RawDataToxAOD, SCT_ReadCalibChipDataTestAlg, SCT_ReadCalibDataTestAlg, SCT_RODVetoTestAlg, SCT_SensorsTestAlg, SCT_SiliconConditionsTestAlg, SCT_StripVetoTestAlg, SCT_TdaqEnabledTestAlg, SCT_TestCablingAlg, SCTEventFlagWriter, SCTRawDataProvider, SCTSiLorentzAngleTestAlg, SCTSiPropertiesTestAlg, SGInputLoader, Simulation::BeamEffectsAlg, TileHitVecToCnt, TileMuonFitter, TilePulseForTileMuonReceiver, TileRawChannelMaker, TRTDigitization, and ZDC_DigiTop.

Definition at line 68 of file AthCommonAlgorithm.h.

68 {
69 return true;
70 }

◆ msg()

MsgStream & AthCommonMsg< Gaudi::Algorithm >::msg ( ) const
inlineinherited

Definition at line 24 of file AthCommonMsg.h.

24 {
25 return this->msgStream();
26 }

◆ msgLvl()

bool AthCommonMsg< Gaudi::Algorithm >::msgLvl ( const MSG::Level lvl) const
inlineinherited

Definition at line 30 of file AthCommonMsg.h.

30 {
31 return this->msgLevel(lvl);
32 }

◆ outputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::outputHandles ( ) const
overridevirtualinherited

Return this algorithm's output handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ renounce()

std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::renounce ( T & h)
inlineprotectedinherited

Definition at line 380 of file AthCommonDataStore.h.

381 {
382 h.renounce();
384 }
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce(T &h)

◆ renounceArray()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::renounceArray ( SG::VarHandleKeyArray & handlesArray)
inlineprotectedinherited

remove all handles from I/O resolution

Definition at line 364 of file AthCommonDataStore.h.

364 {
366 }

◆ setFilterPassed()

virtual void AthCommonAlgorithm< Gaudi::Algorithm >::setFilterPassed ( bool state,
const EventContext & ctx ) const
inlinevirtualinherited

Set filter decision:

Reimplemented in AthFilterAlgorithm.

Definition at line 99 of file AthCommonAlgorithm.h.

99 {
101 }
virtual void setFilterPassed(bool state, const EventContext &ctx) const
Set filter decision:

◆ sysExecute()

StatusCode AthCommonAlgorithm< Gaudi::Algorithm >::sysExecute ( const EventContext & ctx)
overridevirtualinherited

Execute an algorithm.

We override this in order to work around an issue with the Algorithm base class storing the event context in a member variable that can cause crashes in MT jobs.

Reimplemented in AthAnalysisAlgorithm.

Definition at line 80 of file AthCommonAlgorithm.cxx.

41{
42 return BaseAlg::sysExecute (ctx);
43}

◆ sysInitialize()

StatusCode AthCommonAlgorithm< Gaudi::Algorithm >::sysInitialize ( )
overridevirtualinherited

Override sysInitialize.

Override sysInitialize from the base class.

Loop through all output handles, and if they're WriteCondHandles, automatically register them and this Algorithm with the CondSvc

Scan through all outputHandles, and if they're WriteCondHandles, register them with the CondSvc

Reimplemented from AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >.

Reimplemented in AthAnalysisAlgorithm, AthFilterAlgorithm, AthHistogramAlgorithm, HypoBase, InputMakerBase, and PyAthena::Alg.

Definition at line 60 of file AthCommonAlgorithm.cxx.

71 {
73
74 if (sc.isFailure()) {
75 return sc;
76 }
77
78 ServiceHandle<ICondSvc> cs("CondSvc",name());
79 for (auto h : outputHandles()) {
80 if (h->isCondition() && h->mode() == Gaudi::DataHandle::Writer) {
81 // do this inside the loop so we don't create the CondSvc until needed
82 if ( cs.retrieve().isFailure() ) {
83 ATH_MSG_WARNING("no CondSvc found: won't autoreg WriteCondHandles");
85 }
86 if (cs->regHandle(this,*h).isFailure()) {
88 ATH_MSG_ERROR("unable to register WriteCondHandle " << h->fullKey()
89 << " with CondSvc");
90 }
91 }
92 }
93 return sc;
94}
#define ATH_MSG_WARNING(x,...)
virtual StatusCode sysInitialize() override
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::sysStart ( )
overridevirtualinherited

Handle START transition.

We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.

◆ updateVHKA()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::updateVHKA ( Gaudi::Details::PropertyBase & )
inlineinherited

Definition at line 308 of file AthCommonDataStore.h.

308 {
309 // debug() << "updateVHKA for property " << p.name() << " " << p.toString()
310 // << " size: " << m_vhka.size() << endmsg;
311 for (auto &a : m_vhka) {
313 for (auto k : keys) {
314 k->setOwner(this);
315 }
316 }
317 }

Member Data Documentation

◆ m_common

RDOtoTracccCellConverterCommons ActsTrk::RDOtoTracccCellConverterAlg::m_common {*this}
private

Definition at line 42 of file RDOtoTracccCellConverterAlg.h.

42{*this};

◆ m_detStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_detStore
privateinherited

Pointer to StoreGate (detector store by default).

Definition at line 393 of file AthCommonDataStore.h.

◆ m_evtStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_evtStore
privateinherited

Pointer to StoreGate (event store by default).

Definition at line 390 of file AthCommonDataStore.h.

◆ m_extendedExtraObjects

DataObjIDColl AthCommonAlgorithm< Gaudi::Algorithm >::m_extendedExtraObjects
privateinherited

Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.

Empty if no symlinks were found.

Definition at line 108 of file AthCommonAlgorithm.h.

◆ m_pixelManager

const InDetDD::PixelDetectorManager* ActsTrk::RDOtoTracccCellConverterAlg::m_pixelManager {nullptr}
private

Definition at line 53 of file RDOtoTracccCellConverterAlg.h.

53{nullptr};

◆ m_pixelManagerKey

Gaudi::Property<std::string> ActsTrk::RDOtoTracccCellConverterAlg::m_pixelManagerKey
private
Initial value:
{
this, "PixelManager", "ITkPixel"}

Definition at line 49 of file RDOtoTracccCellConverterAlg.h.

49 {
50 this, "PixelManager", "ITkPixel"};

◆ m_pixelRDOKey

SG::ReadHandleKey<PixelRDO_Container> ActsTrk::RDOtoTracccCellConverterAlg::m_pixelRDOKey
private
Initial value:
{
this, "PixelRDO", "ITkPixelRDOs"}

Definition at line 44 of file RDOtoTracccCellConverterAlg.h.

44 {
45 this, "PixelRDO", "ITkPixelRDOs"};

◆ m_stripManager

const InDetDD::SCT_DetectorManager* ActsTrk::RDOtoTracccCellConverterAlg::m_stripManager {nullptr}
private

Definition at line 54 of file RDOtoTracccCellConverterAlg.h.

54{nullptr};

◆ m_stripManagerKey

Gaudi::Property<std::string> ActsTrk::RDOtoTracccCellConverterAlg::m_stripManagerKey
private
Initial value:
{
this, "StripManager", "ITkStrip"}

Definition at line 51 of file RDOtoTracccCellConverterAlg.h.

51 {
52 this, "StripManager", "ITkStrip"};

◆ m_stripRDOKey

SG::ReadHandleKey<SCT_RDO_Container> ActsTrk::RDOtoTracccCellConverterAlg::m_stripRDOKey
private
Initial value:
{
this, "StripRDO", "ITkStripRDOs"}

Definition at line 46 of file RDOtoTracccCellConverterAlg.h.

46 {
47 this, "StripRDO", "ITkStripRDOs"};

◆ m_varHandleArraysDeclared

bool AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_varHandleArraysDeclared
privateinherited

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

std::vector<SG::VarHandleKeyArray*> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_vhka
privateinherited

Definition at line 398 of file AthCommonDataStore.h.


The documentation for this class was generated from the following files: