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

#include <RDOtoTracccCellConverterAlg.h>

Inheritance 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

SG::ReadHandleKey< PixelRDO_Containerm_pixelRDOKey
SG::ReadHandleKey< SCT_RDO_Containerm_stripRDOKey
SG::WriteHandleKey< traccc::edm::silicon_cell_collection::buffer > m_tracccCellsKey
std::atomic< int > m_nPix = 0
std::atomic< int > m_nStrip = 0
std::atomic< int > m_nCells = 0
const PixelIDm_pixelID {nullptr}
const SCT_IDm_stripID {nullptr}
const InDetDD::PixelDetectorManagerm_pixelManager {nullptr}
const InDetDD::SCT_DetectorManagerm_stripManager {nullptr}
ToolHandle< AthDevice::IMemoryResourceToolm_hostMR
ToolHandle< AthDevice::IMemoryResourceToolm_deviceMR
ToolHandle< AthDevice::ICopyToolm_copy
ServiceHandle< ActsTrk::IDeviceDetectorDescriptionProviderSvcm_detDescSvc
Gaudi::Property< std::string > m_hostCondObjectName
const traccc::detector_conditions_description::host * m_hostCond {nullptr}
const std::unordered_map< Identifier, uint64_t > * m_athenaToDetray
std::unordered_map< uint64_t, unsigned int > m_DetrayIdToDetDescrIndexMap
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

Definition at line 30 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 60 of file RDOtoTracccCellConverterAlg.cxx.

61{
62
63 // ---- 1. Read RDOs from StoreGate ----------------------------------------
64 std::vector<const InDetRawDataCollection<PixelRDORawData>*> pixel_rdos;
65 std::vector<const InDetRawDataCollection<SCT_RDORawData>*> strip_rdos;
66 {
67 auto pixelRDOHandle = SG::makeHandle(m_pixelRDOKey, ctx);
68 ATH_CHECK(pixelRDOHandle.isValid());
69 pixel_rdos.reserve(pixelRDOHandle->fullSize());
70 for (const auto* col : *pixelRDOHandle) {
71 if (col) pixel_rdos.push_back(col);
72 }
73
74 auto stripRDOHandle = SG::makeHandle(m_stripRDOKey, ctx);
75 ATH_CHECK(stripRDOHandle.isValid());
76 strip_rdos.reserve(stripRDOHandle->fullSize());
77 for (const auto* col : *stripRDOHandle) {
78 if (col) strip_rdos.push_back(col);
79 }
80 }
81
82 // ---- 2. Convert RDOs to AoS cells ---------------------------------------
83 int nPix = 0, nStrip = 0;
84 std::vector<traccc::io::csv::cell> cells_aos;
85
86 // 8 here is for the time being a placeholder
87 // the user will need to provde the correct cell activation values and time
88
89 float staticToTValue = 8.f;
90 float staticTimeStampValue = 1.f;
91
92 ATH_MSG_DEBUG("Reading pixel hits");
93 for (const auto* coll : pixel_rdos) {
94 for (const PixelRDORawData* rdo : *coll) {
95 const Identifier rdoId = rdo->identify();
96 const InDetDD::SiDetectorElement* el =
97 m_pixelManager->getDetectorElement(rdoId);
98 if (!el) continue;
99 const Identifier modId = el->identify();
100 const InDetDD::SiCellId cellId = el->cellIdFromIdentifier(rdoId);
101 const uint64_t geoId = m_athenaToDetray->at(modId);
102
103 cells_aos.push_back({geoId, 0,
104 static_cast<uint32_t>(cellId.phiIndex()),
105 static_cast<uint32_t>(cellId.etaIndex()),
106 staticTimeStampValue, static_cast<float>(rdo->getToT())});
107 ++nPix;
108 }
109 }
110 ATH_MSG_DEBUG("Read " << nPix << " pixel hits");
111
112 ATH_MSG_DEBUG("Reading strip hits");
113 for (const auto* coll : strip_rdos) {
114 for (const SCT_RDORawData* rdo : *coll) {
115 const Identifier rdoId = rdo->identify();
116 const InDetDD::SiDetectorElement* el =
117 m_stripManager->getDetectorElement(rdoId);
118 if (!el) continue;
119 const Identifier modId = el->identify();
120 const InDetDD::SiCellId cellId = el->cellIdFromIdentifier(rdoId);
121 const uint64_t geoId = m_athenaToDetray->at(modId);
122
123 if (m_stripID->barrel_ec(modId) == 0) {
124 for (int i = 0; i < rdo->getGroupSize(); ++i) {
125 cells_aos.push_back({geoId, 0,
126 static_cast<uint32_t>(cellId.phiIndex() + i), 0, staticTimeStampValue, staticToTValue});
127 ++nStrip;
128 }
129 } else {
130 for (int i = 0; i < rdo->getGroupSize(); ++i) {
131 cells_aos.push_back({geoId, 0, 0,
132 static_cast<uint32_t>(cellId.phiIndex() + i), staticTimeStampValue, staticToTValue});
133 ++nStrip;
134 }
135 }
136 }
137 }
138 ATH_MSG_DEBUG("Read " << nStrip << " strip hits");
139
140 if (cells_aos.empty()) {
141 ATH_MSG_DEBUG("Created traccc cells: 0");
142 return StatusCode::SUCCESS;
143 }
144
145 // ---- 3. Sort cells -------------------------------------------------------
146 std::sort(cells_aos.begin(), cells_aos.end(), cell_order_module_indices{});
147
148 // ---- 4. Convert to traccc cell collection (host collection) ---------------------
149 // Build the host collection using the memory resource from the tool
150 traccc::edm::silicon_cell_collection::host cells_soa{m_hostMR->mr()};
151
152 uint64_t current_geometry_id = cells_aos[0].geometry_id;
153 unsigned int current_det_cond_idx = m_DetrayIdToDetDescrIndexMap.at(current_geometry_id);
154
155 for (const auto& cell : cells_aos) {
156 if (cell.geometry_id != current_geometry_id) {
157 current_geometry_id = cell.geometry_id;
158 current_det_cond_idx = m_DetrayIdToDetDescrIndexMap.at(current_geometry_id);
159 }
160 cells_soa.push_back({cell.channel0, cell.channel1, cell.value,
161 cell.timestamp, current_det_cond_idx});
162 }
163 ATH_MSG_DEBUG("Created traccc cells: " << cells_soa.size());
164
165 // ---- 5. Copy host -> device buffer and write to StoreGate ---------------
166 auto copy = m_copy->copy(ctx);
167 auto traccc_cells_buffer = std::make_unique<traccc::edm::silicon_cell_collection::buffer>(
168 static_cast<unsigned int>(cells_soa.size()), m_deviceMR->mr());
169 copy->setup(*traccc_cells_buffer)->wait();
170 (*copy)(vecmem::get_data(cells_soa), *traccc_cells_buffer)->wait();
171
172 ATH_MSG_DEBUG("Creating " << copy->get_size(*traccc_cells_buffer) << " cells.");
173
174 auto outputTracccCells = SG::makeHandle(m_tracccCellsKey, ctx);
175 ATH_CHECK(outputTracccCells.record(std::move(traccc_cells_buffer)));
176
177 m_nPix += nPix;
178 m_nStrip += nStrip;
179 m_nCells += cells_soa.size();
180
181 ATH_MSG_DEBUG("Wrote " << cells_soa.size() << " cells to '"
182 << m_tracccCellsKey.key() << "'");
183
184 return StatusCode::SUCCESS;
185}
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_DEBUG(x)
const std::unordered_map< Identifier, uint64_t > * m_athenaToDetray
SG::WriteHandleKey< traccc::edm::silicon_cell_collection::buffer > m_tracccCellsKey
const InDetDD::PixelDetectorManager * m_pixelManager
const InDetDD::SCT_DetectorManager * m_stripManager
std::unordered_map< uint64_t, unsigned int > m_DetrayIdToDetDescrIndexMap
SG::ReadHandleKey< PixelRDO_Container > m_pixelRDOKey
SG::ReadHandleKey< SCT_RDO_Container > m_stripRDOKey
ToolHandle< AthDevice::IMemoryResourceTool > m_hostMR
ToolHandle< AthDevice::ICopyTool > m_copy
ToolHandle< AthDevice::IMemoryResourceTool > m_deviceMR
int phiIndex() const
Get phi index. Equivalent to strip().
Definition SiCellId.h:122
int etaIndex() const
Get eta index.
Definition SiCellId.h:114
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
bool copy
Definition calibdata.py:26
void sort(typename DataModel_detail::iterator< DVL > beg, typename DataModel_detail::iterator< DVL > end)
Specialization of sort for DataVector/List.
@ nStrip
Get number of strips.
Definition TauDefs.h:204
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 187 of file RDOtoTracccCellConverterAlg.cxx.

188{
189 ATH_MSG_DEBUG("Finalizing.");
190
191 ATH_MSG_DEBUG("Read total number of pixel hits = " << m_nPix
192 << ", total number of strip hits = " << m_nStrip
193 << " and created total number of traccc cells = " << m_nCells);
194
195 return StatusCode::SUCCESS;
196}

◆ initialize()

StatusCode ActsTrk::RDOtoTracccCellConverterAlg::initialize ( )
overridevirtual

Definition at line 29 of file RDOtoTracccCellConverterAlg.cxx.

30{
31 ATH_MSG_DEBUG("Initializing.");
32
33 ATH_CHECK(detStore()->retrieve(m_pixelID, "PixelID"));
34 ATH_CHECK(m_pixelRDOKey.initialize());
35
36 ATH_CHECK(detStore()->retrieve(m_stripID, "SCT_ID"));
37 ATH_CHECK(m_stripRDOKey.initialize());
38
39 ATH_CHECK(detStore()->retrieve(m_pixelManager));
40 ATH_CHECK(detStore()->retrieve(m_stripManager));
41
42 ATH_CHECK(m_hostMR.retrieve());
43 ATH_CHECK(m_tracccCellsKey.initialize());
44 ATH_CHECK(m_copy.retrieve());
45
46 m_athenaToDetray = &m_detDescSvc->athenaToDetrayMap();
48
49 const auto& gids = m_hostCond->geometry_id();
50 m_DetrayIdToDetDescrIndexMap.reserve(gids.size());
51 for (unsigned int i = 0; i < gids.size(); ++i) {
52 m_DetrayIdToDetDescrIndexMap[gids[i].value()] = i;
53 }
54 ATH_MSG_INFO("Built detray→detcond map with "
55 << m_DetrayIdToDetDescrIndexMap.size() << " entries");
56
57 return StatusCode::SUCCESS;
58}
#define ATH_MSG_INFO(x)
const traccc::detector_conditions_description::host * m_hostCond
ServiceHandle< ActsTrk::IDeviceDetectorDescriptionProviderSvc > m_detDescSvc
Gaudi::Property< std::string > m_hostCondObjectName
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_ERROR(x)
#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_athenaToDetray

const std::unordered_map<Identifier, uint64_t>* ActsTrk::RDOtoTracccCellConverterAlg::m_athenaToDetray
private

Definition at line 74 of file RDOtoTracccCellConverterAlg.h.

◆ m_copy

ToolHandle<AthDevice::ICopyTool> ActsTrk::RDOtoTracccCellConverterAlg::m_copy
private
Initial value:
{
this, "CopyProviderTool", "", "Vecmem copy provider tool"}

Definition at line 62 of file RDOtoTracccCellConverterAlg.h.

62 {
63 this, "CopyProviderTool", "", "Vecmem copy provider tool"};

◆ m_detDescSvc

ServiceHandle<ActsTrk::IDeviceDetectorDescriptionProviderSvc> ActsTrk::RDOtoTracccCellConverterAlg::m_detDescSvc
private
Initial value:
{
this, "DetectorDescriptionSvc", "ActsTrk::JSONDeviceDetectorDescriptionProviderSvc"}

Definition at line 65 of file RDOtoTracccCellConverterAlg.h.

65 {
66 this, "DetectorDescriptionSvc", "ActsTrk::JSONDeviceDetectorDescriptionProviderSvc"};

◆ m_DetrayIdToDetDescrIndexMap

std::unordered_map<uint64_t, unsigned int> ActsTrk::RDOtoTracccCellConverterAlg::m_DetrayIdToDetDescrIndexMap
private

Definition at line 75 of file RDOtoTracccCellConverterAlg.h.

◆ 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_deviceMR

ToolHandle<AthDevice::IMemoryResourceTool> ActsTrk::RDOtoTracccCellConverterAlg::m_deviceMR
private
Initial value:
{
this, "DeviceMR", "", "The device memory resource tool to use"}

Definition at line 60 of file RDOtoTracccCellConverterAlg.h.

60 {
61 this, "DeviceMR", "", "The device memory resource tool to use"};

◆ 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_hostCond

const traccc::detector_conditions_description::host* ActsTrk::RDOtoTracccCellConverterAlg::m_hostCond {nullptr}
private

Definition at line 71 of file RDOtoTracccCellConverterAlg.h.

71{nullptr};

◆ m_hostCondObjectName

Gaudi::Property<std::string> ActsTrk::RDOtoTracccCellConverterAlg::m_hostCondObjectName
private
Initial value:
{
this, "HostConditionsObjectName", "",
"Traccc host conditions object"}

Definition at line 67 of file RDOtoTracccCellConverterAlg.h.

67 {
68 this, "HostConditionsObjectName", "",
69 "Traccc host conditions object"};

◆ m_hostMR

ToolHandle<AthDevice::IMemoryResourceTool> ActsTrk::RDOtoTracccCellConverterAlg::m_hostMR
private
Initial value:
{
this, "HostMR", "", "The host memory resource tool to use"}

Definition at line 58 of file RDOtoTracccCellConverterAlg.h.

58 {
59 this, "HostMR", "", "The host memory resource tool to use"};

◆ m_nCells

std::atomic<int> ActsTrk::RDOtoTracccCellConverterAlg::m_nCells = 0
mutableprivate

Definition at line 51 of file RDOtoTracccCellConverterAlg.h.

◆ m_nPix

std::atomic<int> ActsTrk::RDOtoTracccCellConverterAlg::m_nPix = 0
mutableprivate

Definition at line 49 of file RDOtoTracccCellConverterAlg.h.

◆ m_nStrip

std::atomic<int> ActsTrk::RDOtoTracccCellConverterAlg::m_nStrip = 0
mutableprivate

Definition at line 50 of file RDOtoTracccCellConverterAlg.h.

◆ m_pixelID

const PixelID* ActsTrk::RDOtoTracccCellConverterAlg::m_pixelID {nullptr}
private

Definition at line 53 of file RDOtoTracccCellConverterAlg.h.

53{nullptr};

◆ m_pixelManager

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

Definition at line 55 of file RDOtoTracccCellConverterAlg.h.

55{nullptr};

◆ m_pixelRDOKey

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

Definition at line 41 of file RDOtoTracccCellConverterAlg.h.

41 {
42 this, "PixelRDO", "ITkPixelRDOs"};

◆ m_stripID

const SCT_ID* ActsTrk::RDOtoTracccCellConverterAlg::m_stripID {nullptr}
private

Definition at line 54 of file RDOtoTracccCellConverterAlg.h.

54{nullptr};

◆ m_stripManager

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

Definition at line 56 of file RDOtoTracccCellConverterAlg.h.

56{nullptr};

◆ m_stripRDOKey

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

Definition at line 43 of file RDOtoTracccCellConverterAlg.h.

43 {
44 this, "StripRDO", "ITkStripRDOs"};

◆ m_tracccCellsKey

SG::WriteHandleKey<traccc::edm::silicon_cell_collection::buffer> ActsTrk::RDOtoTracccCellConverterAlg::m_tracccCellsKey
private
Initial value:
{
this, "TracccCells", "", "Output traccc cell collection buffer"}

Definition at line 45 of file RDOtoTracccCellConverterAlg.h.

45 {
46 this, "TracccCells", "", "Output traccc cell collection buffer"};

◆ 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: