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

#include <DeviceGBTSSeedingAlg.h>

Inheritance diagram for ActsTrk::DeviceGBTSSeedingAlg:
Collaboration diagram for ActsTrk::DeviceGBTSSeedingAlg:

Public Member Functions

virtual StatusCode initialize () override
 Function initializing the algorithm.
virtual StatusCode execute (const EventContext &ctx) const override
 Function executing the algorithm.
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

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

Private Attributes

Gaudi::Property< std::string > m_connectionFileName
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
The tool that provides backend-specific traccc seeding algorithms
ToolHandle< IDeviceSeedingAlgProviderToolm_seedingAlgProviderTool
The name of device resident input traccc spacepoint collection
SG::ReadHandleKey< traccc::edm::spacepoint_collection::const_view > m_inputPixelSPKey
The name of device resident input traccc measurement collection
SG::ReadHandleKey< traccc::edm::measurement_collection::const_view > m_inputMeasKey
The name of device resident output traccc seed collection

{@

SG::WriteHandleKey< traccc::edm::seed_collection::buffer > m_outputPixelSeedsKey
The detector mapping object providing the Athena<->Detray ID map
Gaudi::Property< std::string > m_geoIdMappingObjectName {this, "GeoIdMappingObjectName", "", "ID mapping between the three detector description realms."}
const ActsTrk::GeometryIdMappingm_idMapping {nullptr}
const InDetDD::PixelDetectorManagerm_pixelManager {nullptr}
const PixelIDm_pixelID {nullptr}
ToolHandle< IGbtsLayerToolm_layerNumberTool {this, "layerNumberTool", "ActsTrk::GbtsLayerTool/ActsGbtsLayerTool"}
traccc::gbts_seedfinder_config m_gbts_config

Detailed Description

Definition at line 43 of file DeviceGBTSSeedingAlg.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

◆ configureGBTS()

StatusCode ActsTrk::DeviceGBTSSeedingAlg::configureGBTS ( )
privatevirtual

Definition at line 86 of file DeviceGBTSSeedingAlg.cxx.

87{
88
89 // traccc-gbts defaults are ITk tuned
90 // get layer linking scheme from the athena tools
91 std::string conn_fileName =
93 if (conn_fileName.empty()) {
94 ATH_MSG_FATAL("Cannot find layer connections file for GBTS "
95 << conn_fileName);
96 return StatusCode::FAILURE;
97 }
98 std::ifstream ifs(conn_fileName.c_str());
99 std::unique_ptr<GNN_FASTRACK_CONNECTOR> gbts_connector =
100 std::make_unique<GNN_FASTRACK_CONNECTOR>(ifs, false);
101 ATH_MSG_INFO("Layer connections are initialized from file for GBTS "
102 << conn_fileName);
103
104 const std::vector<Acts::Experimental::GbtsLayerDescription>& layerDescs =
105 m_layerNumberTool->layerDescriptions();
106
107 std::vector<TrigInDetSiLayer> layerGeometry;
108 layerGeometry.reserve(layerDescs.size());
109 for (const auto& layer : layerDescs) {
110 TrigInDetSiLayer converted;
111 converted.m_subdet = layer.id;
112 converted.m_type =
113 (layer.type == Acts::Experimental::GbtsLayerType::Endcap) ? 1 : 0;
114 converted.m_refCoord = layer.refCoord;
115 converted.m_minBound = layer.minBound;
116 converted.m_maxBound = layer.maxBound;
117 layerGeometry.push_back(converted);
118 }
119
120 std::unique_ptr<TrigFTF_GNN_Geometry> GBTS_geo =
121 std::make_unique<TrigFTF_GNN_Geometry>(layerGeometry, gbts_connector);
122
123 traccc::device::gbts_layerInfo layerInfo;
124 // convert save and convert layer info to SoA
125 layerInfo.reserve(GBTS_geo->num_layers());
126
127 for (unsigned int index = 0; index < GBTS_geo->num_layers(); ++index) {
128 const TrigFTF_GNN_Layer* layer =
129 GBTS_geo->getTrigFTF_GNN_LayerByIndex(index);
130 // pixel barrel=0 pixel endcap=1 pixel inc. barrel=2 strip=3
131 int vol_id =
132 (layer->m_layer.m_subdet - (layer->m_layer.m_subdet % 1000)) / 1000;
133 int is_inc_barrel = (vol_id == 97) | (vol_id == 95) | (vol_id == 93) |
134 (vol_id == 77) | (vol_id == 75) | (vol_id == 73);
135 char type = (layer->m_layer.m_type != 0) + is_inc_barrel;
136 if (layer->m_layer.m_subdet <= 20000) {
137 type = 3;
138 }
139 // eta prediction cut occurs for type=0 and cluster width cut for type=1
140 layerInfo.addLayer(type, layer->m_bins[0], layer->num_bins(),
141 layer->m_minEta, layer->m_etaBin);
142 }
143
144 const std::vector<short>& pixel_h2l = m_layerNumberTool->pixelLayers();
145
146 std::vector<std::pair<std::uint64_t, short>> identifierBinning;
147 identifierBinning.reserve(m_idMapping->size());
148
149 // construct identifier -> layer table
150 IdContext pixel_context = m_pixelID->wafer_context();
151 for (const auto& [detrayId, compactId] : m_idMapping->detrayToAthenaMap()) {
152 Identifier athenaId(compactId);
153 if (m_pixelManager->identifierBelongs(athenaId)) {
154 IdentifierHash idHash{};//default c'tor produces detectable invalid hash
155 int rc = m_pixelID->get_hash(athenaId, idHash, &pixel_context); //rc=0 is ok
156 if (rc!=0)[[unlikely]] continue;
157 const short layer = pixel_h2l.at(static_cast<int>(idHash));
158 if (layer == IGbtsLayerTool::kNoLayer) [[unlikely]] continue;
159 identifierBinning.push_back(std::make_pair(
160 detrayId, pixel_h2l.at(static_cast<int>(idHash))));
161 }
162 }
163 ATH_MSG_INFO(identifierBinning.size() << " identifiers with a layer");
164
165 std::vector<std::pair<unsigned int, std::vector<unsigned int>>> binGroups;
166 {
167 const auto & rawBinGroups = GBTS_geo->bin_groups();
168 binGroups.reserve(rawBinGroups.size());
169 for (const auto& p : rawBinGroups) {
170 binGroups.emplace_back(static_cast<unsigned int>(p.first),
171 std::vector<unsigned int>(p.second.begin(), p.second.end()));
172 }
173 }
174
175 for (auto& pair : binGroups) {
176 bool barrel = (pair.first <= 83); // unsigned, so `0 <= pair.first` is always true — dropped
177 if (barrel) {
178 pair.second.push_back(pair.first);
179 }
180 }
181
182 // traccc::gbts_seedfinder_config gbts_config;
183 if (!m_gbts_config.setLinkingScheme(binGroups, std::move(layerInfo), identifierBinning,
184 900.0f, makeActsAthenaLogger(this, "GBTSConfig")))
185 return StatusCode::FAILURE;
186
187 return StatusCode::SUCCESS;
188}
#define ATH_MSG_INFO(x,...)
#define ATH_MSG_FATAL(x,...)
static Double_t rc
std::unique_ptr< const Acts::Logger > makeActsAthenaLogger(IMessageSvc *svc, const std::string &name, int level, std::optional< std::string > parent_name)
Definition Logger.cxx:64
ToolHandle< IGbtsLayerTool > m_layerNumberTool
const ActsTrk::GeometryIdMapping * m_idMapping
const InDetDD::PixelDetectorManager * m_pixelManager
traccc::gbts_seedfinder_config m_gbts_config
Gaudi::Property< std::string > m_connectionFileName
static constexpr short kNoLayer
Value stored in the hash maps for a module GBTS does not use.
static std::string find_file(const std::string &logical_file_name, const std::string &search_path)
str index
Definition DeMoScan.py:362
@ layer
Definition HitInfo.h:79
#define unlikely(x)

◆ 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::DeviceGBTSSeedingAlg::execute ( const EventContext & ctx) const
overridevirtual

Function executing the algorithm.

Definition at line 53 of file DeviceGBTSSeedingAlg.cxx.

54{
55 ATH_MSG_DEBUG("Executing device GBTS seeding.");
56
57 // ---- 1. Read input traccc measurements from StoreGate --------------------------------
58 auto inputTracccPixelSpacepoints = SG::makeHandle(m_inputPixelSPKey, ctx);
59 ATH_CHECK(inputTracccPixelSpacepoints.isValid());
60 ATH_MSG_DEBUG("Read traccc spacepoints from '"
61 << inputTracccPixelSpacepoints.key() << "'");
62
63 auto inputTracccMeasurements = SG::makeHandle(m_inputMeasKey, ctx);
64 ATH_CHECK(inputTracccMeasurements.isValid());
65 ATH_MSG_DEBUG("Read traccc measurements from '"
66 << inputTracccMeasurements.key() << "'");
67
68 // ---- 2. Get traccc seeding alg ---------------------------------------------
69 auto seeding_alg = m_seedingAlgProviderTool->getGBTSAlgorithm(ctx, m_gbts_config);
70
71 // ---- 3. Run traccc pixel seed formation ---------------------------------------------
72 traccc::edm::seed_collection::buffer pixel_seeds_gpu_buffer = (*seeding_alg)(*inputTracccPixelSpacepoints, *inputTracccMeasurements);
73
74 ATH_MSG_DEBUG("Reconstructed " << seeding_alg.copy().get_size(pixel_seeds_gpu_buffer) << " pixel seeds.");
75
76 // ---- 4. Write output traccc seeds to StoreGate -------------------------
77 auto outputTracccPixelSeeds = SG::makeHandle(m_outputPixelSeedsKey, ctx);
78 ATH_CHECK(outputTracccPixelSeeds.record(
79 std::make_unique<traccc::edm::seed_collection::buffer>(
80 std::move(pixel_seeds_gpu_buffer))));
81 ATH_MSG_DEBUG("Wrote spacepoint buffer to '" << m_outputPixelSeedsKey.key() << "'");
82
83 return StatusCode::SUCCESS;
84}
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_DEBUG(x,...)
SG::ReadHandleKey< traccc::edm::measurement_collection::const_view > m_inputMeasKey
SG::WriteHandleKey< traccc::edm::seed_collection::buffer > m_outputPixelSeedsKey
ToolHandle< IDeviceSeedingAlgProviderTool > m_seedingAlgProviderTool
SG::ReadHandleKey< traccc::edm::spacepoint_collection::const_view > m_inputPixelSPKey
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())

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

◆ initialize()

StatusCode ActsTrk::DeviceGBTSSeedingAlg::initialize ( )
overridevirtual

Function initializing the algorithm.

Definition at line 34 of file DeviceGBTSSeedingAlg.cxx.

35{
36 ATH_MSG_DEBUG("Initializing " << name());
37
39 ATH_CHECK(m_inputPixelSPKey.initialize());
40 ATH_CHECK(m_inputMeasKey.initialize());
41 ATH_CHECK(m_outputPixelSeedsKey.initialize());
43
44 ATH_CHECK(detStore()->retrieve(m_pixelManager, "ITkPixel"));
45 ATH_CHECK(detStore()->retrieve(m_pixelID, "PixelID") );
46 ATH_CHECK(m_layerNumberTool.retrieve());
48
49 ATH_MSG_DEBUG("Successfully initialized");
50 return StatusCode::SUCCESS;
51}
Gaudi::Property< std::string > m_geoIdMappingObjectName
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_connectionFileName

Gaudi::Property<std::string> ActsTrk::DeviceGBTSSeedingAlg::m_connectionFileName
private
Initial value:
{this, "ConnectionFileName",
"binTables_ITK_RUN4.txt"}

Definition at line 56 of file DeviceGBTSSeedingAlg.h.

56 {this, "ConnectionFileName",
57 "binTables_ITK_RUN4.txt"};

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

traccc::gbts_seedfinder_config ActsTrk::DeviceGBTSSeedingAlg::m_gbts_config
private

Definition at line 90 of file DeviceGBTSSeedingAlg.h.

◆ m_geoIdMappingObjectName

Gaudi::Property<std::string> ActsTrk::DeviceGBTSSeedingAlg::m_geoIdMappingObjectName {this, "GeoIdMappingObjectName", "", "ID mapping between the three detector description realms."}
private

Definition at line 82 of file DeviceGBTSSeedingAlg.h.

82{this, "GeoIdMappingObjectName", "", "ID mapping between the three detector description realms."};

◆ m_idMapping

const ActsTrk::GeometryIdMapping* ActsTrk::DeviceGBTSSeedingAlg::m_idMapping {nullptr}
private

Definition at line 83 of file DeviceGBTSSeedingAlg.h.

83{nullptr};

◆ m_inputMeasKey

SG::ReadHandleKey<traccc::edm::measurement_collection::const_view> ActsTrk::DeviceGBTSSeedingAlg::m_inputMeasKey
private
Initial value:
{
this, "InputTracccMeasurements", "",
"Input traccc measurement collection buffer"}

Definition at line 70 of file DeviceGBTSSeedingAlg.h.

70 {
71 this, "InputTracccMeasurements", "",
72 "Input traccc measurement collection buffer"};

◆ m_inputPixelSPKey

SG::ReadHandleKey<traccc::edm::spacepoint_collection::const_view> ActsTrk::DeviceGBTSSeedingAlg::m_inputPixelSPKey
private
Initial value:
{
this, "InputTracccPixelSpacepoints", "",
"Input traccc spacepoint collection buffer"}

Definition at line 66 of file DeviceGBTSSeedingAlg.h.

66 {
67 this, "InputTracccPixelSpacepoints", "",
68 "Input traccc spacepoint collection buffer"};

◆ m_layerNumberTool

ToolHandle<IGbtsLayerTool> ActsTrk::DeviceGBTSSeedingAlg::m_layerNumberTool {this, "layerNumberTool", "ActsTrk::GbtsLayerTool/ActsGbtsLayerTool"}
private

Definition at line 88 of file DeviceGBTSSeedingAlg.h.

88{this, "layerNumberTool", "ActsTrk::GbtsLayerTool/ActsGbtsLayerTool"};

◆ m_outputPixelSeedsKey

SG::WriteHandleKey<traccc::edm::seed_collection::buffer> ActsTrk::DeviceGBTSSeedingAlg::m_outputPixelSeedsKey
private
Initial value:
{
this, "OutputTracccPixelSeeds", "",
"Output traccc pixel seed collection buffer"}

Definition at line 76 of file DeviceGBTSSeedingAlg.h.

76 {
77 this, "OutputTracccPixelSeeds", "",
78 "Output traccc pixel seed collection buffer"};

◆ m_pixelID

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

Definition at line 86 of file DeviceGBTSSeedingAlg.h.

86{nullptr};

◆ m_pixelManager

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

Definition at line 85 of file DeviceGBTSSeedingAlg.h.

85{nullptr};

◆ m_seedingAlgProviderTool

ToolHandle<IDeviceSeedingAlgProviderTool> ActsTrk::DeviceGBTSSeedingAlg::m_seedingAlgProviderTool
private
Initial value:
{
this, "SeedingAlgProviderTool", "",
"Tool providing the appropriate backend device seeding algorithm"}

Definition at line 61 of file DeviceGBTSSeedingAlg.h.

61 {
62 this, "SeedingAlgProviderTool", "",
63 "Tool providing the appropriate backend device seeding algorithm"};

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