ATLAS Offline Software
Loading...
Searching...
No Matches
TrackOverlay::TrackOverlayRoISiRDOMergerAlg Class Reference

Builds the Pixel/SCT RDO containers used by the track overlay primary pass when RoI-limited silicon overlay is enabled. More...

#include <TrackOverlayRoISiRDOMergerAlg.h>

Inheritance diagram for TrackOverlay::TrackOverlayRoISiRDOMergerAlg:
Collaboration diagram for TrackOverlay::TrackOverlayRoISiRDOMergerAlg:

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< StoreGateSvc > StoreGateSvc_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< xAOD::CaloClusterContainer > m_clusterKey {this, "CaloClusterKey", "egammaTopoClusters", "EM calo clusters seeding the RoIs"}
SG::ReadHandleKey< PixelRDO_Container > m_sigPixelKey {this, "SignalPixelRDOKey", "Sig_PixelRDOs", "Signal-only Pixel RDOs"}
SG::ReadHandleKey< PixelRDO_Container > m_fullPixelKey {this, "MergedPixelRDOKey", "PixelRDOs", "Signal + pileup Pixel RDOs"}
SG::WriteHandleKey< PixelRDO_Container > m_outPixelKey {this, "OutputPixelRDOKey", "RoI_PixelRDOs", "Output Pixel RDOs"}
SG::ReadHandleKey< SCT_RDO_Container > m_sigSCTKey {this, "SignalSCT_RDOKey", "Sig_SCT_RDOs", "Signal-only SCT RDOs"}
SG::ReadHandleKey< SCT_RDO_Container > m_fullSCTKey {this, "MergedSCT_RDOKey", "SCT_RDOs", "Signal + pileup SCT RDOs"}
SG::WriteHandleKey< SCT_RDO_Container > m_outSCTKey {this, "OutputSCT_RDOKey", "RoI_SCT_RDOs", "Output SCT RDOs"}
ToolHandle< IRegSelTool > m_regSelPixel {this, "RegSelTool_Pixel", "", "Region selector for Pixel"}
ToolHandle< IRegSelTool > m_regSelSCT {this, "RegSelTool_SCT", "", "Region selector for SCT"}
Gaudi::Property< float > m_minClusterEt {this, "MinClusterEt", 10000., "Minimum cluster ET [MeV] to open an RoI"}
Gaudi::Property< float > m_etaHalfWidth {this, "EtaHalfWidth", 0.15, "RoI half width in eta"}
Gaudi::Property< float > m_phiHalfWidth {this, "PhiHalfWidth", 0.3, "RoI half width in phi"}
Gaudi::Property< float > m_zHalfWidth {this, "ZHalfWidth", 225., "RoI half width in z along the beam line [mm]"}
const PixelID * m_pixelID {nullptr}
const SCT_ID * m_sctID {nullptr}
std::atomic< unsigned long > m_nEvents {0}
std::atomic< unsigned long > m_nRoIs {0}
std::atomic< unsigned long > m_nPixelRoIModules {0}
std::atomic< unsigned long > m_nSCTRoIModules {0}
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

Builds the Pixel/SCT RDO containers used by the track overlay primary pass when RoI-limited silicon overlay is enabled.

For detector elements inside RoIs around EM calo clusters (ET > MinClusterEt) the fully merged signal + pileup RDO collections are taken, everywhere else the signal-only ones. Clusterization, seeding, pattern recognition and ambiguity solving downstream then see the pileup environment inside the RoIs, as in MC overlay, at a fraction of the CPU cost.

Definition at line 33 of file TrackOverlayRoISiRDOMergerAlg.h.

Member Typedef Documentation

◆ StoreGateSvc_t

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

Definition at line 376 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 TrackOverlay::TrackOverlayRoISiRDOMergerAlg::execute ( const EventContext & ctx) const
overridevirtual

Definition at line 106 of file TrackOverlayRoISiRDOMergerAlg.cxx.

107{
108 SG::ReadHandle<xAOD::CaloClusterContainer> clusters(m_clusterKey, ctx);
109 if (!clusters.isValid()) {
110 ATH_MSG_ERROR("Could not retrieve " << m_clusterKey.key());
111 return StatusCode::FAILURE;
112 }
113
114 std::vector<bool> pixelInRoI(m_pixelID->wafer_hash_max(), false);
115 std::vector<bool> sctInRoI(m_sctID->wafer_hash_max(), false);
116 std::vector<IdentifierHash> hashes;
117 unsigned int nRoIs = 0;
118
119 for (const xAOD::CaloCluster* cl : *clusters) {
120 if (cl->et() < m_minClusterEt.value()) continue;
121 const double eta = cl->eta();
122 const double phi = cl->phi();
123 const double dEta = m_etaHalfWidth.value();
124 const double dPhi = m_phiHalfWidth.value();
125 const double dZ = m_zHalfWidth.value();
126 const TrigRoiDescriptor roi(eta, eta - dEta, eta + dEta,
127 phi, P4Helpers::deltaPhi(phi - dPhi, 0.), P4Helpers::deltaPhi(phi + dPhi, 0.),
128 0., -dZ, dZ);
129 ++nRoIs;
130 hashes.clear();
131 m_regSelPixel->lookup(ctx)->HashIDList(roi, hashes);
132 for (IdentifierHash h : hashes) if (h < pixelInRoI.size()) pixelInRoI[h] = true;
133 hashes.clear();
134 m_regSelSCT->lookup(ctx)->HashIDList(roi, hashes);
135 for (IdentifierHash h : hashes) if (h < sctInRoI.size()) sctInRoI[h] = true;
136 }
137
138 SG::ReadHandle<PixelRDO_Container> sigPixel(m_sigPixelKey, ctx);
139 SG::ReadHandle<PixelRDO_Container> fullPixel(m_fullPixelKey, ctx);
140 SG::ReadHandle<SCT_RDO_Container> sigSCT(m_sigSCTKey, ctx);
141 SG::ReadHandle<SCT_RDO_Container> fullSCT(m_fullSCTKey, ctx);
142 if (!sigPixel.isValid() || !fullPixel.isValid() || !sigSCT.isValid() || !fullSCT.isValid()) {
143 ATH_MSG_ERROR("Missing input Pixel/SCT RDO containers");
144 return StatusCode::FAILURE;
145 }
146
147 // The DataPools own the copied RDOs for the lifetime of the event; the containers are views
148 DataPool<Pixel1RawData> pixelPool(ctx);
149 DataPool<SCT3_RawData> sct3Pool(ctx);
150 DataPool<SCT1_RawData> sct1Pool(ctx);
151 pixelPool.prepareToAdd(50000);
152 sct3Pool.prepareToAdd(50000);
153 RDOPools pools{pixelPool, sct3Pool, sct1Pool};
154
155 SG::WriteHandle<PixelRDO_Container> outPixel(m_outPixelKey, ctx);
156 ATH_CHECK(outPixel.record(std::make_unique<PixelRDO_Container>(m_pixelID->wafer_hash_max())));
157 ATH_CHECK(fillContainer(*sigPixel, *fullPixel, pixelInRoI, *outPixel, pools));
158
159 SG::WriteHandle<SCT_RDO_Container> outSCT(m_outSCTKey, ctx);
160 ATH_CHECK(outSCT.record(std::make_unique<SCT_RDO_Container>(m_sctID->wafer_hash_max())));
161 ATH_CHECK(fillContainer(*sigSCT, *fullSCT, sctInRoI, *outSCT, pools));
162
163 const unsigned long nPix = std::count(pixelInRoI.begin(), pixelInRoI.end(), true);
164 const unsigned long nSCT = std::count(sctInRoI.begin(), sctInRoI.end(), true);
165 ATH_MSG_DEBUG(nRoIs << " RoIs, " << nPix << " Pixel and " << nSCT << " SCT modules with merged RDOs");
166 ++m_nEvents;
167 m_nRoIs += nRoIs;
168 m_nPixelRoIModules += nPix;
169 m_nSCTRoIModules += nSCT;
170 return StatusCode::SUCCESS;
171}
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_DEBUG(x,...)
#define ATH_MSG_ERROR(x,...)
Athena::TPCnvVers::Current TrigRoiDescriptor
SG::ReadHandleKey< SCT_RDO_Container > m_sigSCTKey
SG::ReadHandleKey< PixelRDO_Container > m_sigPixelKey
SG::WriteHandleKey< SCT_RDO_Container > m_outSCTKey
SG::WriteHandleKey< PixelRDO_Container > m_outPixelKey
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_clusterKey
SG::ReadHandleKey< SCT_RDO_Container > m_fullSCTKey
SG::ReadHandleKey< PixelRDO_Container > m_fullPixelKey
double deltaPhi(double phiA, double phiB)
delta Phi in range [-pi,pi[
Definition P4Helpers.h:34
bool dPhi(const xAOD::TauJet &tau, const xAOD::CaloVertexedTopoCluster &cluster, float &out)
bool dEta(const xAOD::TauJet &tau, const xAOD::CaloVertexedTopoCluster &cluster, float &out)
cl
print [x.__class__ for x in toList(dqregion.getSubRegions()) ]
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.

◆ 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 TrackOverlay::TrackOverlayRoISiRDOMergerAlg::finalize ( )
overridevirtual

Definition at line 173 of file TrackOverlayRoISiRDOMergerAlg.cxx.

174{
175 const double n = std::max<unsigned long>(m_nEvents.load(), 1);
176 ATH_MSG_INFO("Events: " << m_nEvents << ", RoIs/event: " << m_nRoIs.load() / n
177 << ", merged Pixel modules/event: " << m_nPixelRoIModules.load() / n << " of " << m_pixelID->wafer_hash_max()
178 << ", merged SCT modules/event: " << m_nSCTRoIModules.load() / n << " of " << m_sctID->wafer_hash_max());
179 return StatusCode::SUCCESS;
180}
#define ATH_MSG_INFO(x,...)

◆ initialize()

StatusCode TrackOverlay::TrackOverlayRoISiRDOMergerAlg::initialize ( )
overridevirtual

Definition at line 87 of file TrackOverlayRoISiRDOMergerAlg.cxx.

88{
89 ATH_CHECK(m_clusterKey.initialize());
90 ATH_CHECK(m_sigPixelKey.initialize());
91 ATH_CHECK(m_fullPixelKey.initialize());
92 ATH_CHECK(m_outPixelKey.initialize());
93 ATH_CHECK(m_sigSCTKey.initialize());
94 ATH_CHECK(m_fullSCTKey.initialize());
95 ATH_CHECK(m_outSCTKey.initialize());
96 ATH_CHECK(m_regSelPixel.retrieve());
97 ATH_CHECK(m_regSelSCT.retrieve());
98 ATH_CHECK(detStore()->retrieve(m_pixelID, "PixelID"));
99 ATH_CHECK(detStore()->retrieve(m_sctID, "SCT_ID"));
100 ATH_MSG_INFO("RoI-limited Si overlay: clusters " << m_clusterKey.key() << " with ET > " << m_minClusterEt
101 << " MeV, RoI half widths deta=" << m_etaHalfWidth << " dphi=" << m_phiHalfWidth
102 << " dz=" << m_zHalfWidth << " mm");
103 return StatusCode::SUCCESS;
104}
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 368 of file AthCommonDataStore.h.

369 {
370 h.renounce();
372 }
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 352 of file AthCommonDataStore.h.

352 {
354 }

◆ setFilterPassed()

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

Set filter decision:

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, 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 298 of file AthCommonDataStore.h.

298 {
299 for (auto &a : m_vhka) {
301 for (auto k : keys) {
302 k->setOwner(this);
303 }
304 }
305 }

Member Data Documentation

◆ m_clusterKey

SG::ReadHandleKey<xAOD::CaloClusterContainer> TrackOverlay::TrackOverlayRoISiRDOMergerAlg::m_clusterKey {this, "CaloClusterKey", "egammaTopoClusters", "EM calo clusters seeding the RoIs"}
private

Definition at line 43 of file TrackOverlayRoISiRDOMergerAlg.h.

43{this, "CaloClusterKey", "egammaTopoClusters", "EM calo clusters seeding the RoIs"};

◆ m_detStore

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

Pointer to StoreGate (detector store by default).

Definition at line 381 of file AthCommonDataStore.h.

◆ m_etaHalfWidth

Gaudi::Property<float> TrackOverlay::TrackOverlayRoISiRDOMergerAlg::m_etaHalfWidth {this, "EtaHalfWidth", 0.15, "RoI half width in eta"}
private

Definition at line 57 of file TrackOverlayRoISiRDOMergerAlg.h.

57{this, "EtaHalfWidth", 0.15, "RoI half width in eta"};

◆ m_evtStore

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

Pointer to StoreGate (event store by default).

Definition at line 378 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_fullPixelKey

SG::ReadHandleKey<PixelRDO_Container> TrackOverlay::TrackOverlayRoISiRDOMergerAlg::m_fullPixelKey {this, "MergedPixelRDOKey", "PixelRDOs", "Signal + pileup Pixel RDOs"}
private

Definition at line 46 of file TrackOverlayRoISiRDOMergerAlg.h.

46{this, "MergedPixelRDOKey", "PixelRDOs", "Signal + pileup Pixel RDOs"};

◆ m_fullSCTKey

SG::ReadHandleKey<SCT_RDO_Container> TrackOverlay::TrackOverlayRoISiRDOMergerAlg::m_fullSCTKey {this, "MergedSCT_RDOKey", "SCT_RDOs", "Signal + pileup SCT RDOs"}
private

Definition at line 50 of file TrackOverlayRoISiRDOMergerAlg.h.

50{this, "MergedSCT_RDOKey", "SCT_RDOs", "Signal + pileup SCT RDOs"};

◆ m_minClusterEt

Gaudi::Property<float> TrackOverlay::TrackOverlayRoISiRDOMergerAlg::m_minClusterEt {this, "MinClusterEt", 10000., "Minimum cluster ET [MeV] to open an RoI"}
private

Definition at line 56 of file TrackOverlayRoISiRDOMergerAlg.h.

56{this, "MinClusterEt", 10000., "Minimum cluster ET [MeV] to open an RoI"};

◆ m_nEvents

std::atomic<unsigned long> TrackOverlay::TrackOverlayRoISiRDOMergerAlg::m_nEvents {0}
mutableprivate

Definition at line 64 of file TrackOverlayRoISiRDOMergerAlg.h.

64{0};

◆ m_nPixelRoIModules

std::atomic<unsigned long> TrackOverlay::TrackOverlayRoISiRDOMergerAlg::m_nPixelRoIModules {0}
mutableprivate

Definition at line 66 of file TrackOverlayRoISiRDOMergerAlg.h.

66{0};

◆ m_nRoIs

std::atomic<unsigned long> TrackOverlay::TrackOverlayRoISiRDOMergerAlg::m_nRoIs {0}
mutableprivate

Definition at line 65 of file TrackOverlayRoISiRDOMergerAlg.h.

65{0};

◆ m_nSCTRoIModules

std::atomic<unsigned long> TrackOverlay::TrackOverlayRoISiRDOMergerAlg::m_nSCTRoIModules {0}
mutableprivate

Definition at line 67 of file TrackOverlayRoISiRDOMergerAlg.h.

67{0};

◆ m_outPixelKey

SG::WriteHandleKey<PixelRDO_Container> TrackOverlay::TrackOverlayRoISiRDOMergerAlg::m_outPixelKey {this, "OutputPixelRDOKey", "RoI_PixelRDOs", "Output Pixel RDOs"}
private

Definition at line 47 of file TrackOverlayRoISiRDOMergerAlg.h.

47{this, "OutputPixelRDOKey", "RoI_PixelRDOs", "Output Pixel RDOs"};

◆ m_outSCTKey

SG::WriteHandleKey<SCT_RDO_Container> TrackOverlay::TrackOverlayRoISiRDOMergerAlg::m_outSCTKey {this, "OutputSCT_RDOKey", "RoI_SCT_RDOs", "Output SCT RDOs"}
private

Definition at line 51 of file TrackOverlayRoISiRDOMergerAlg.h.

51{this, "OutputSCT_RDOKey", "RoI_SCT_RDOs", "Output SCT RDOs"};

◆ m_phiHalfWidth

Gaudi::Property<float> TrackOverlay::TrackOverlayRoISiRDOMergerAlg::m_phiHalfWidth {this, "PhiHalfWidth", 0.3, "RoI half width in phi"}
private

Definition at line 58 of file TrackOverlayRoISiRDOMergerAlg.h.

58{this, "PhiHalfWidth", 0.3, "RoI half width in phi"};

◆ m_pixelID

const PixelID* TrackOverlay::TrackOverlayRoISiRDOMergerAlg::m_pixelID {nullptr}
private

Definition at line 61 of file TrackOverlayRoISiRDOMergerAlg.h.

61{nullptr};

◆ m_regSelPixel

ToolHandle<IRegSelTool> TrackOverlay::TrackOverlayRoISiRDOMergerAlg::m_regSelPixel {this, "RegSelTool_Pixel", "", "Region selector for Pixel"}
private

Definition at line 53 of file TrackOverlayRoISiRDOMergerAlg.h.

53{this, "RegSelTool_Pixel", "", "Region selector for Pixel"};

◆ m_regSelSCT

ToolHandle<IRegSelTool> TrackOverlay::TrackOverlayRoISiRDOMergerAlg::m_regSelSCT {this, "RegSelTool_SCT", "", "Region selector for SCT"}
private

Definition at line 54 of file TrackOverlayRoISiRDOMergerAlg.h.

54{this, "RegSelTool_SCT", "", "Region selector for SCT"};

◆ m_sctID

const SCT_ID* TrackOverlay::TrackOverlayRoISiRDOMergerAlg::m_sctID {nullptr}
private

Definition at line 62 of file TrackOverlayRoISiRDOMergerAlg.h.

62{nullptr};

◆ m_sigPixelKey

SG::ReadHandleKey<PixelRDO_Container> TrackOverlay::TrackOverlayRoISiRDOMergerAlg::m_sigPixelKey {this, "SignalPixelRDOKey", "Sig_PixelRDOs", "Signal-only Pixel RDOs"}
private

Definition at line 45 of file TrackOverlayRoISiRDOMergerAlg.h.

45{this, "SignalPixelRDOKey", "Sig_PixelRDOs", "Signal-only Pixel RDOs"};

◆ m_sigSCTKey

SG::ReadHandleKey<SCT_RDO_Container> TrackOverlay::TrackOverlayRoISiRDOMergerAlg::m_sigSCTKey {this, "SignalSCT_RDOKey", "Sig_SCT_RDOs", "Signal-only SCT RDOs"}
private

Definition at line 49 of file TrackOverlayRoISiRDOMergerAlg.h.

49{this, "SignalSCT_RDOKey", "Sig_SCT_RDOs", "Signal-only SCT RDOs"};

◆ m_varHandleArraysDeclared

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

Definition at line 387 of file AthCommonDataStore.h.

◆ m_vhka

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

Definition at line 386 of file AthCommonDataStore.h.

◆ m_zHalfWidth

Gaudi::Property<float> TrackOverlay::TrackOverlayRoISiRDOMergerAlg::m_zHalfWidth {this, "ZHalfWidth", 225., "RoI half width in z along the beam line [mm]"}
private

Definition at line 59 of file TrackOverlayRoISiRDOMergerAlg.h.

59{this, "ZHalfWidth", 225., "RoI half width in z along the beam line [mm]"};

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