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

#include <MeasurementToTrackParticleDecorationAlg.h>

Inheritance diagram for ActsTrk::MeasurementToTrackParticleDecorationAlg:
Collaboration diagram for ActsTrk::MeasurementToTrackParticleDecorationAlg:

Public Member Functions

 MeasurementToTrackParticleDecorationAlg (const std::string &name, ISvcLocator *pSvcLocator)
virtual ~MeasurementToTrackParticleDecorationAlg ()=default
virtual StatusCode initialize () override
virtual StatusCode execute (const EventContext &ctx) const 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

enum  Subdetector {
  INVALID_DETECTOR =-1 , INNERMOST_PIXEL , PIXEL , STRIP ,
  N_SUBDETECTORS
}
enum  Region { INVALID_REGION =-1 , BARREL , ENDCAP }
enum  MeasurementType {
  INVALID_MEASUREMENT =-1 , HIT , OUTLIER , HOLE ,
  BIASED , UNBIASED
}
typedef ServiceHandle< StoreGateSvcStoreGateSvc_t

Private Member Functions

float getChi2Contribution (const typename ActsTrk::TrackStateBackend::ConstTrackStateProxy &state) const
std::pair< Acts::BoundVector, Acts::BoundMatrix > getUnbiasedTrackParameters (const typename ActsTrk::TrackStateBackend::ConstTrackStateProxy &state, bool useSmoothed=true) const
float evaluatePull (const float residual, const float measurementCovariance, const float trackParameterCovariance, const bool evaluateUnbiased) const
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey>

Private Attributes

PublicToolHandle< ActsTrk::ITrackingGeometryToolm_trackingGeometryTool {this, "TrackingGeometryTool", ""}
SG::ReadHandleKey< xAOD::TrackParticleContainerm_trackParticlesKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainerm_measurementRegionKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainerm_measurementDetectorKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainerm_measurementLayerKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainerm_chi2HitPredictedKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainerm_chi2HitFilteredKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainerm_measurementTypeKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainerm_measurementPhiWidthKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainerm_measurementEtaWidthKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainerm_residualLocXkey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainerm_pullLocXkey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainerm_measurementLocXkey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainerm_trackParameterLocXkey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainerm_measurementLocCovXkey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainerm_trackParameterLocCovXkey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainerm_residualLocYkey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainerm_pullLocYkey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainerm_measurementLocYkey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainerm_trackParameterLocYkey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainerm_measurementLocCovYkey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainerm_trackParameterLocCovYkey
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 33 of file MeasurementToTrackParticleDecorationAlg.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 Enumeration Documentation

◆ MeasurementType

◆ Region

◆ Subdetector

Constructor & Destructor Documentation

◆ MeasurementToTrackParticleDecorationAlg()

ActsTrk::MeasurementToTrackParticleDecorationAlg::MeasurementToTrackParticleDecorationAlg ( const std::string & name,
ISvcLocator * pSvcLocator )

Definition at line 26 of file MeasurementToTrackParticleDecorationAlg.cxx.

27 :
28 AthReentrantAlgorithm(name,pSvcLocator)
29 {}

◆ ~MeasurementToTrackParticleDecorationAlg()

virtual ActsTrk::MeasurementToTrackParticleDecorationAlg::~MeasurementToTrackParticleDecorationAlg ( )
virtualdefault

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.

◆ evaluatePull()

float ActsTrk::MeasurementToTrackParticleDecorationAlg::evaluatePull ( const float residual,
const float measurementCovariance,
const float trackParameterCovariance,
const bool evaluateUnbiased ) const
private

Definition at line 405 of file MeasurementToTrackParticleDecorationAlg.cxx.

408 {
409 float correlation = evaluateUnbiased ? 1. : -1.;
410 float residualCovariance = measurementCovariance + correlation*trackParameterCovariance;
411 if (residualCovariance<=0.) {
412 // If the total covariance is non-positive return 0
413 ATH_MSG_DEBUG("--- Total covariance for pull evaluation is non-positive! Returning pulls = 0!");
414 return 0.;
415 }
416 return 0.001 * residual/std::sqrt(residualCovariance);
417 }
#define ATH_MSG_DEBUG(x)

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

Definition at line 64 of file MeasurementToTrackParticleDecorationAlg.cxx.

65 {
66 ATH_MSG_DEBUG("Executing " << name() << " ...");
67
68 auto tgContext = m_trackingGeometryTool->getGeometryContext(ctx).context();
69
70 SG::WriteDecorHandle<xAOD::TrackParticleContainer, std::vector<int>> measurementRegionHandle(m_measurementRegionKey, ctx);
71 SG::WriteDecorHandle<xAOD::TrackParticleContainer, std::vector<int>> measurementDetectorHandle(m_measurementDetectorKey, ctx);
72 SG::WriteDecorHandle<xAOD::TrackParticleContainer, std::vector<int>> measurementLayerHandle(m_measurementLayerKey, ctx);
73 SG::WriteDecorHandle<xAOD::TrackParticleContainer, std::vector<int>> measurementTypeHandle(m_measurementTypeKey, ctx);
74 SG::WriteDecorHandle<xAOD::TrackParticleContainer, std::vector<float>> chi2HitPredictedHandle(m_chi2HitPredictedKey, ctx);
75 SG::WriteDecorHandle<xAOD::TrackParticleContainer, std::vector<float>> chi2HitFilteredHandle(m_chi2HitFilteredKey, ctx);
76
77 SG::WriteDecorHandle<xAOD::TrackParticleContainer, std::vector<int>> measurementPhiWidthHandle(m_measurementPhiWidthKey, ctx);
78 SG::WriteDecorHandle<xAOD::TrackParticleContainer, std::vector<int>> measurementEtaWidthHandle(m_measurementEtaWidthKey, ctx);
79
80 SG::WriteDecorHandle<xAOD::TrackParticleContainer, std::vector<float>> residualLocXhandle(m_residualLocXkey, ctx);
81 SG::WriteDecorHandle<xAOD::TrackParticleContainer, std::vector<float>> pullLocXhandle(m_pullLocXkey, ctx);
82 SG::WriteDecorHandle<xAOD::TrackParticleContainer, std::vector<float>> measurementLocXhandle(m_measurementLocXkey, ctx);
83 SG::WriteDecorHandle<xAOD::TrackParticleContainer, std::vector<float>> trackParameterLocXhandle(m_trackParameterLocXkey, ctx);
84 SG::WriteDecorHandle<xAOD::TrackParticleContainer, std::vector<float>> measurementLocCovXhandle(m_measurementLocCovXkey, ctx);
85 SG::WriteDecorHandle<xAOD::TrackParticleContainer, std::vector<float>> trackParameterLocCovXhandle(m_trackParameterLocCovXkey, ctx);
86
87 SG::WriteDecorHandle<xAOD::TrackParticleContainer, std::vector<float>> residualLocYhandle(m_residualLocYkey, ctx);
88 SG::WriteDecorHandle<xAOD::TrackParticleContainer, std::vector<float>> pullLocYhandle(m_pullLocYkey, ctx);
89 SG::WriteDecorHandle<xAOD::TrackParticleContainer, std::vector<float>> measurementLocYhandle(m_measurementLocYkey, ctx);
90 SG::WriteDecorHandle<xAOD::TrackParticleContainer, std::vector<float>> trackParameterLocYhandle(m_trackParameterLocYkey, ctx);
91 SG::WriteDecorHandle<xAOD::TrackParticleContainer, std::vector<float>> measurementLocCovYhandle(m_measurementLocCovYkey, ctx);
92 SG::WriteDecorHandle<xAOD::TrackParticleContainer, std::vector<float>> trackParameterLocCovYhandle(m_trackParameterLocCovYkey, ctx);
93
94 SG::ReadHandle<xAOD::TrackParticleContainer> trackParticlesHandle = SG::makeHandle(m_trackParticlesKey, ctx);
95 ATH_CHECK(trackParticlesHandle.isValid());
96 const xAOD::TrackParticleContainer *track_particles = trackParticlesHandle.cptr();
97
98 for (const xAOD::TrackParticle *track_particle : *track_particles) {
99
100 std::optional<ActsTrk::TrackContainer::ConstTrackProxy> optional_track = getActsTrack(*track_particle);
101
102 if ( not optional_track.has_value() ) {
103 ATH_MSG_WARNING("Invalid track link for particle " << track_particle->index() << ". Skipping track..");
104 continue;
105 }
106
107 ATH_MSG_DEBUG("Track link found for track particle with index " << track_particle->index());
108 ActsTrk::TrackContainer::ConstTrackProxy track = optional_track.value();
109
110 std::vector<int>& regions{measurementRegionHandle(*track_particle)};
111 regions.reserve(track.nMeasurements());
112 std::vector<int>& detectors{measurementDetectorHandle(*track_particle)};
113 detectors.reserve(track.nMeasurements());
114 std::vector<int>& layers{measurementLayerHandle(*track_particle)};
115 layers.reserve(track.nMeasurements());
116 std::vector<int>& types{measurementTypeHandle(*track_particle)};
117 types.reserve(track.nMeasurements());
118 std::vector<float>& predchi2s{chi2HitPredictedHandle(*track_particle)};
119 predchi2s.reserve(track.nMeasurements());
120 std::vector<float>& filtchi2s{chi2HitFilteredHandle(*track_particle)};
121 filtchi2s.reserve(track.nMeasurements());
122
123 std::vector<int>& sizesPhi{measurementPhiWidthHandle(*track_particle)};
124 sizesPhi.reserve(track.nMeasurements());
125 std::vector<int>& sizesEta{measurementEtaWidthHandle(*track_particle)};
126 sizesEta.reserve(track.nMeasurements());
127 std::vector<float>& residualsLocX{residualLocXhandle(*track_particle)};
128 residualsLocX.reserve(track.nMeasurements());
129 std::vector<float>& pullsLocX{pullLocXhandle(*track_particle)};
130 pullsLocX.reserve(track.nMeasurements());
131 std::vector<float>& measurementsLocX{measurementLocXhandle(*track_particle)};
132 measurementsLocX.reserve(track.nMeasurements());
133 std::vector<float>& trackParametersLocX{trackParameterLocXhandle(*track_particle)};
134 trackParametersLocX.reserve(track.nMeasurements());
135 std::vector<float>& measurementsLocCovX{measurementLocCovXhandle(*track_particle)};
136 measurementsLocCovX.reserve(track.nMeasurements());
137 std::vector<float>& trackParametersLocCovX{trackParameterLocCovXhandle(*track_particle)};
138 trackParametersLocCovX.reserve(track.nMeasurements());
139 std::vector<float>& residualsLocY{residualLocYhandle(*track_particle)};
140 residualsLocY.reserve(track.nMeasurements());
141 std::vector<float>& pullsLocY{pullLocYhandle(*track_particle)};
142 pullsLocY.reserve(track.nMeasurements());
143 std::vector<float>& measurementsLocY{measurementLocYhandle(*track_particle)};
144 measurementsLocY.reserve(track.nMeasurements());
145 std::vector<float>& trackParametersLocY{trackParameterLocYhandle(*track_particle)};
146 trackParametersLocY.reserve(track.nMeasurements());
147 std::vector<float>& measurementsLocCovY{measurementLocCovYhandle(*track_particle)};
148 measurementsLocCovY.reserve(track.nMeasurements());
149 std::vector<float>& trackParametersLocCovY{trackParameterLocCovYhandle(*track_particle)};
150 trackParametersLocCovY.reserve(track.nMeasurements());
151
152 for (const auto state : track.trackStatesReversed()) {
153
154 auto flag = state.typeFlags();
155 // consider holes and measurements (also outliers)
156 bool anyHit = flag.isHole() or flag.hasMeasurement() or state.hasUncalibratedSourceLink();
157 if (not anyHit) {
158 ATH_MSG_DEBUG("--- This is not a hit measurement, skipping...");
159 continue;
160 }
161
162 // starting with invalid values and setting them where needed.
163
164 int detector = -999;
165 int region = -999;
166 int layer = -999;
167 int type = -999;
168 float chi2_hit_predicted = -999.;
169 float chi2_hit_filtered = -999.;
170 int sizePhi = -999;
171 int sizeEta = -999;
172 float residualLocX = -999.;
173 float pullLocX = -999.;
174 float measurementLocX = -999.;
175 float trackParameterLocX = -999.;
176 float measurementLocCovX = -999.;
177 float trackParameterLocCovX = -999;
178 float residualLocY = -999.;
179 float pullLocY = -999.;
180 float measurementLocY = -999.;
181 float trackParameterLocY = -999.;
182 float measurementLocCovY = -999.;
183 float trackParameterLocCovY = -999.;
184 bool isAnnulusBound = false;
185
186 // Get the measurement type
187 if (flag.isHole()) {
189 ATH_MSG_DEBUG("--- This is a hole");
190 } else if (flag.isOutlier()) {
192 ATH_MSG_DEBUG("--- This is an outlier");
193 } else if (flag.hasMeasurement()) {
195 ATH_MSG_DEBUG("--- This is a hit");
196 }
197
198 // Check the location of the state
199 if (state.hasReferenceSurface() and state.referenceSurface().isSensitive()) {
200 const ActsDetectorElement * detectorElement = dynamic_cast<const ActsDetectorElement *>(state.referenceSurface().surfacePlacement());
201 if (!detectorElement) {
202 ATH_MSG_WARNING("--- TrackState reference surface returned an invalid associated detector element");
203 continue;
204 }
205 const InDetDD::SiDetectorElement * siliconDetectorElement = dynamic_cast<const InDetDD::SiDetectorElement *>(detectorElement->upstreamDetectorElement());
206 if (!siliconDetectorElement) {
207 ATH_MSG_WARNING("--- TrackState associated detector element is not silicon");
208 continue;
209 }
210
211 const Acts::AnnulusBounds* annulusBounds = dynamic_cast<const Acts::AnnulusBounds*>(&(state.referenceSurface().bounds()));
212 isAnnulusBound = annulusBounds ? true : false;
213
214 if (siliconDetectorElement) {
215 Identifier detectorIdentifier = siliconDetectorElement->identify();
216 if (siliconDetectorElement->isPixel()) {
217 const PixelID* pixel_id = static_cast<const PixelID *>(siliconDetectorElement->getIdHelper());
218 int layer_disk = pixel_id->layer_disk(detectorIdentifier);
219 layer = layer_disk;
220 if (pixel_id->barrel_ec(detectorIdentifier) == 0) {
221 if (layer_disk == 0) {
224 region = Region::BARREL;
225 } else {
227 region = Region::ENDCAP;
228 }
229 } else if (siliconDetectorElement->isSCT()) {
230 const SCT_ID* sct_id = static_cast<const SCT_ID *>(siliconDetectorElement->getIdHelper());
232 region = sct_id->barrel_ec(detectorIdentifier) == 0 ?
234 layer = sct_id->layer_disk(detectorIdentifier);;
235 } else ATH_MSG_WARNING("--- Unknown detector type - It is not pixel nor strip detecor element!");
236 } else ATH_MSG_WARNING("--- Missing silicon detector element!");
237 } else ATH_MSG_WARNING("--- Missing reference surface or associated detector element!");
238
239
240
241 // If I have a measurement (hit or outlier) then proceed with computing the residuals / pulls
242
243 if (type == MeasurementType::OUTLIER || type == MeasurementType::HIT) {
244
245 //Get the Chi2 computation
246
247 if (type == MeasurementType::HIT) {
248 chi2_hit_filtered = state.chi2();
249 }
250
251 if (state.hasUncalibratedSourceLink()) {
252 chi2_hit_predicted = getChi2Contribution(state);
253 }
254
255 // Skip all states without smoothed parameters or without projector
256 if (!state.hasSmoothed() || !state.hasProjector())
257 continue;
258
259 // Calling effective Calibrated has some runtime overhead
260 const auto &calibratedParameters = state.effectiveCalibrated();
261 const auto &calibratedCovariance = state.effectiveCalibratedCovariance();
262
263 // We evaluate the unbiased parameters for:
264 // - measurements added to the fit. For outliers, the measurement is not part of the fit, hence track parameters are already unbiased
265 // - if the filtered parameters and the projector exist.
266 bool evaluateUnbiased = flag.isMeasurement();
267
268 if (evaluateUnbiased) {
269 ATH_MSG_DEBUG("--- Good for unbiased parameters evaluation!");
271 // if unbiased, access the associated uncalibrated measurement and store the size
272 if (state.hasUncalibratedSourceLink()) {
273 const xAOD::UncalibratedMeasurement* uncalibratedMeasurement = detail::xAODUncalibMeasCalibrator::unpack(state.getUncalibratedSourceLink());;
274 const xAOD::UncalibMeasType measurementType = uncalibratedMeasurement->type();
275 if (measurementType == xAOD::UncalibMeasType::PixelClusterType) {
276 auto pixelCluster = static_cast<const xAOD::PixelCluster *>(uncalibratedMeasurement);
277 sizePhi = pixelCluster->channelsInPhi();
278 sizeEta = pixelCluster->channelsInEta();
279 } else if (measurementType == xAOD::UncalibMeasType::StripClusterType) {
280 auto stripCluster = static_cast<const xAOD::StripCluster *>(uncalibratedMeasurement);
281 sizePhi = stripCluster->channelsInPhi();
282 } else {
283 ATH_MSG_DEBUG("xAOD::UncalibratedMeasurement is neither xAOD::PixelCluster nor xAOD::StripCluster");
284 }
285 }
286 }
287
288 const auto& [unbiasedParameters, unbiasedCovariance] =
289 evaluateUnbiased ? Acts::calculateUnbiasedParametersCovariance(state) : std::make_pair(state.parameters(), state.covariance());
290
291 measurementLocX = calibratedParameters[Acts::eBoundLoc0];
292 measurementLocCovX = calibratedCovariance(Acts::eBoundLoc0, Acts::eBoundLoc0);
293
294 if (!isAnnulusBound) {
295
296 trackParameterLocX = unbiasedParameters[Acts::eBoundLoc0];
297 residualLocX = (measurementLocX - trackParameterLocX) / 1_um; //in um
298 trackParameterLocCovX = unbiasedCovariance(Acts::eBoundLoc0, Acts::eBoundLoc0);
299 }
300 else {
301 // TODO:: use directly phi instead of r*phi in the future
302
303 float locR = unbiasedParameters[Acts::eBoundLoc0];
304 float covR = unbiasedCovariance(Acts::eBoundLoc0,Acts::eBoundLoc0);
305 float locphi = unbiasedParameters[Acts::eBoundLoc1];
306 float covphi = unbiasedCovariance(Acts::eBoundLoc1,Acts::eBoundLoc1);
307 float covRphi = unbiasedCovariance(Acts::eBoundLoc0,Acts::eBoundLoc1);
308
309 trackParameterLocX = locphi;
310 residualLocX = locR * (measurementLocX - trackParameterLocX) / 1_um;
311 // Compute the error on the local rphi
312 trackParameterLocCovX = locR*locR*covphi + locphi*locphi*covR + 2*locphi*locR*covRphi;
313
314 // Rescale the error of the measurement to Rphi.
315 measurementLocCovX = locR*locR * measurementLocCovX;
316 }
317
318 pullLocX = evaluatePull(residualLocX, measurementLocCovX,
319 trackParameterLocCovX, evaluateUnbiased);
320
321 if (state.calibratedSize() == 2) {
322 measurementLocY = calibratedParameters[Acts::eBoundLoc1];
323 trackParameterLocY = unbiasedParameters[Acts::eBoundLoc1];
324 residualLocY = (measurementLocY - trackParameterLocY) / 1_um;
325 measurementLocCovY = calibratedCovariance(Acts::eBoundLoc1, Acts::eBoundLoc1);
326 trackParameterLocCovY = unbiasedCovariance(Acts::eBoundLoc1, Acts::eBoundLoc1);
327 pullLocY = evaluatePull(residualLocY, measurementLocCovY,
328 trackParameterLocCovY, evaluateUnbiased);
329 }
330
331 } // hit or outliers
332
333 else if (type == MeasurementType::HOLE) {
334
335 // Get the predicted position on sensor
336 auto pred = state.predicted();
337 trackParameterLocX = pred[Acts::eBoundLoc0];
338 trackParameterLocY = pred[Acts::eBoundLoc1];
339 } // holes
340
341 else {
342 ATH_MSG_DEBUG("--- This is a seed hit");
344 } // seed hits
345
346 // Always fill with this information
347
348 regions.push_back(region);
349 detectors.push_back(detector);
350 layers.push_back(layer);
351 types.push_back(type);
352 predchi2s.push_back(chi2_hit_predicted);
353 filtchi2s.push_back(chi2_hit_filtered);
354 sizesPhi.push_back(sizePhi);
355 sizesEta.push_back(sizeEta);
356 residualsLocX.push_back(residualLocX);
357 pullsLocX.push_back(pullLocX);
358 measurementsLocX.push_back(measurementLocX);
359 trackParametersLocX.push_back(trackParameterLocX);
360 measurementsLocCovX.push_back(measurementLocCovX);
361 trackParametersLocCovX.push_back(trackParameterLocCovX);
362 residualsLocY.push_back(residualLocY);
363 pullsLocY.push_back(pullLocY);
364 measurementsLocY.push_back(measurementLocY);
365 trackParametersLocY.push_back(trackParameterLocY);
366 measurementsLocCovY.push_back(measurementLocCovY);
367 trackParametersLocCovY.push_back(trackParameterLocCovY);
368
369
370 } // loop on states
371
372 } // loop on tracks
373
374 return StatusCode::SUCCESS;
375 }
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_WARNING(x)
static const std::vector< std::string > types
static const std::vector< std::string > regions
const GeoVDetectorElement * upstreamDetectorElement() const
Returns the underllying GeoModel detectorelement that this one is based on.
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_chi2HitPredictedKey
float evaluatePull(const float residual, const float measurementCovariance, const float trackParameterCovariance, const bool evaluateUnbiased) const
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_measurementRegionKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_residualLocYkey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_trackParameterLocYkey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_measurementLayerKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_measurementDetectorKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_measurementLocYkey
PublicToolHandle< ActsTrk::ITrackingGeometryTool > m_trackingGeometryTool
float getChi2Contribution(const typename ActsTrk::TrackStateBackend::ConstTrackStateProxy &state) const
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_measurementEtaWidthKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_pullLocYkey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_measurementLocXkey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_measurementTypeKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_residualLocXkey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_pullLocXkey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_measurementLocCovXkey
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_trackParticlesKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_trackParameterLocXkey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_trackParameterLocCovYkey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_measurementLocCovYkey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_trackParameterLocCovXkey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_chi2HitFilteredKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_measurementPhiWidthKey
static const xAOD::UncalibratedMeasurement * unpack(const Acts::SourceLink &sl)
Helper method to unpack an Acts source link to an uncalibrated measurement.
virtual Identifier identify() const override final
identifier of this detector element (inline)
const AtlasDetectorID * getIdHelper() const
Returns the id helper (inline).
int layer_disk(const Identifier &id) const
Definition PixelID.h:602
int barrel_ec(const Identifier &id) const
Values of different levels (failure returns 0).
Definition PixelID.h:595
int layer_disk(const Identifier &id) const
Definition SCT_ID.h:687
int barrel_ec(const Identifier &id) const
Values of different levels (failure returns 0).
Definition SCT_ID.h:681
virtual bool isValid() override final
Can the handle be successfully dereferenced?
const_pointer_type cptr()
Dereference the pointer.
virtual xAOD::UncalibMeasType type() const =0
Returns the type of the measurement type as a simple enumeration.
std::optional< ActsTrk::TrackContainer::ConstTrackProxy > getActsTrack(const xAOD::TrackParticle &trkPart)
Return the proxy to the Acts track from which the track particle was made frome.
Definition Decoration.cxx:9
layers(flags, cells_name, *args, **kw)
Here we define wrapper functions to set up all of the standard corrections.
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
@ layer
Definition HitInfo.h:79
@ stripCluster
@ pixelCluster
@ locR
Definition ParamDefs.h:44
bool flag
Definition master.py:29
StripCluster_v1 StripCluster
Define the version of the strip cluster class.
UncalibratedMeasurement_v1 UncalibratedMeasurement
Define the version of the uncalibrated measurement class.
TrackParticle_v1 TrackParticle
Reference the current persistent version:
PixelCluster_v1 PixelCluster
Define the version of the pixel cluster class.
UncalibMeasType
Define the type of the uncalibrated measurement.
TrackParticleContainer_v1 TrackParticleContainer
Definition of the current "TrackParticle container version".

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

◆ getChi2Contribution()

float ActsTrk::MeasurementToTrackParticleDecorationAlg::getChi2Contribution ( const typename ActsTrk::TrackStateBackend::ConstTrackStateProxy & state) const
private

Definition at line 377 of file MeasurementToTrackParticleDecorationAlg.cxx.

377 {
378
379 auto pred = state.predicted();
380 auto predC = state.predictedCovariance();
381
382 return Acts::visit_measurement(
383 state.calibratedSize(),
384 [&]<std::size_t measdim>(std::integral_constant<std::size_t, measdim>) {
385 Acts::FixedBoundSubspaceHelper<measdim> subspaceHelper =
386 state.template projectorSubspaceHelper<measdim>();
387
388 // TODO use subspace helper for projection instead
389 auto H = subspaceHelper.projector();
390
391 const auto calibrated = state.template calibrated<measdim>();
392 const auto calibratedCov = state.template calibratedCovariance<measdim>();
393
394 auto residual = (H * pred - calibrated).eval();
395 auto rescov = (H * predC * H.transpose() + calibratedCov).eval();
396
397 return ((residual.transpose() * rescov.inverse() * residual).eval())(0,0);
398 });
399
400
401
402 }

◆ getUnbiasedTrackParameters()

std::pair< Acts::BoundVector, Acts::BoundMatrix > ActsTrk::MeasurementToTrackParticleDecorationAlg::getUnbiasedTrackParameters ( const typename ActsTrk::TrackStateBackend::ConstTrackStateProxy & state,
bool useSmoothed = true ) const
private

◆ initialize()

StatusCode ActsTrk::MeasurementToTrackParticleDecorationAlg::initialize ( )
overridevirtual

Definition at line 31 of file MeasurementToTrackParticleDecorationAlg.cxx.

32 {
33 ATH_MSG_DEBUG("Initializing " << name() << " ...");
34
35 ATH_CHECK(m_trackParticlesKey.initialize());
36
37 // Decorations
40 ATH_CHECK(m_measurementLayerKey.initialize());
41 ATH_CHECK(m_chi2HitPredictedKey.initialize());
42 ATH_CHECK(m_chi2HitFilteredKey.initialize());
43 ATH_CHECK(m_measurementTypeKey.initialize());
46 ATH_CHECK(m_residualLocXkey.initialize());
47 ATH_CHECK(m_pullLocXkey.initialize());
48 ATH_CHECK(m_measurementLocXkey.initialize());
52 ATH_CHECK(m_residualLocYkey.initialize());
53 ATH_CHECK(m_pullLocYkey.initialize());
54 ATH_CHECK(m_measurementLocYkey.initialize());
58
60
61 return StatusCode::SUCCESS;
62 }

◆ 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)
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_chi2HitFilteredKey

SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> ActsTrk::MeasurementToTrackParticleDecorationAlg::m_chi2HitFilteredKey
private
Initial value:
{
this, "Chi2HitFilteredKey", m_trackParticlesKey, "chi2_hit_filtered",
"Filtered Chi2 contribution for each hit"}

Definition at line 80 of file MeasurementToTrackParticleDecorationAlg.h.

80 {
81 this, "Chi2HitFilteredKey", m_trackParticlesKey, "chi2_hit_filtered",
82 "Filtered Chi2 contribution for each hit"};

◆ m_chi2HitPredictedKey

SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> ActsTrk::MeasurementToTrackParticleDecorationAlg::m_chi2HitPredictedKey
private
Initial value:
{
this, "Chi2HitPredictedKey", m_trackParticlesKey, "chi2_hit_predicted",
"Predicted Chi2 contribution for each hit"}

Definition at line 77 of file MeasurementToTrackParticleDecorationAlg.h.

77 {
78 this, "Chi2HitPredictedKey", m_trackParticlesKey, "chi2_hit_predicted",
79 "Predicted Chi2 contribution for each hit"};

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

SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> ActsTrk::MeasurementToTrackParticleDecorationAlg::m_measurementDetectorKey
private
Initial value:
{
this, "MeasurementDetectorKey", m_trackParticlesKey, "measurement_det",
"Decorate track particle with measurement detector id (innermost pix, pix, strip)"}

Definition at line 71 of file MeasurementToTrackParticleDecorationAlg.h.

71 {
72 this, "MeasurementDetectorKey", m_trackParticlesKey, "measurement_det",
73 "Decorate track particle with measurement detector id (innermost pix, pix, strip)"};

◆ m_measurementEtaWidthKey

SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> ActsTrk::MeasurementToTrackParticleDecorationAlg::m_measurementEtaWidthKey
private
Initial value:
{
this, "MeasurementEtaWidthKey", m_trackParticlesKey, "hitResiduals_etaWidth",
"Decorate track particle with measurement cluster size (in eta)"}

Definition at line 89 of file MeasurementToTrackParticleDecorationAlg.h.

89 {
90 this, "MeasurementEtaWidthKey", m_trackParticlesKey, "hitResiduals_etaWidth",
91 "Decorate track particle with measurement cluster size (in eta)"};

◆ m_measurementLayerKey

SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> ActsTrk::MeasurementToTrackParticleDecorationAlg::m_measurementLayerKey
private
Initial value:
{
this, "MeasurementLayerKey", m_trackParticlesKey, "measurement_iLayer",
"Decorate track particle with measurement layer"}

Definition at line 74 of file MeasurementToTrackParticleDecorationAlg.h.

74 {
75 this, "MeasurementLayerKey", m_trackParticlesKey, "measurement_iLayer",
76 "Decorate track particle with measurement layer"};

◆ m_measurementLocCovXkey

SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> ActsTrk::MeasurementToTrackParticleDecorationAlg::m_measurementLocCovXkey
private
Initial value:
{
this, "MeasurementLocCovXkey", m_trackParticlesKey, "measurementLocCovX",
"Decorate track particle with local x measurement covariance"}

Definition at line 106 of file MeasurementToTrackParticleDecorationAlg.h.

106 {
107 this, "MeasurementLocCovXkey", m_trackParticlesKey, "measurementLocCovX",
108 "Decorate track particle with local x measurement covariance"};

◆ m_measurementLocCovYkey

SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> ActsTrk::MeasurementToTrackParticleDecorationAlg::m_measurementLocCovYkey
private
Initial value:
{
this, "MeasurementLocCovYkey", m_trackParticlesKey, "measurementLocCovY",
"Decorate track particle with local y measurement covariance"}

Definition at line 125 of file MeasurementToTrackParticleDecorationAlg.h.

125 {
126 this, "MeasurementLocCovYkey", m_trackParticlesKey, "measurementLocCovY",
127 "Decorate track particle with local y measurement covariance"};

◆ m_measurementLocXkey

SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> ActsTrk::MeasurementToTrackParticleDecorationAlg::m_measurementLocXkey
private
Initial value:
{
this, "MeasurementLocXkey", m_trackParticlesKey, "measurementLocX",
"Decorate track particle with measurement local x"}

Definition at line 100 of file MeasurementToTrackParticleDecorationAlg.h.

100 {
101 this, "MeasurementLocXkey", m_trackParticlesKey, "measurementLocX",
102 "Decorate track particle with measurement local x"};

◆ m_measurementLocYkey

SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> ActsTrk::MeasurementToTrackParticleDecorationAlg::m_measurementLocYkey
private
Initial value:
{
this, "MeasurementLocYkey", m_trackParticlesKey, "measurementLocY",
"Decorate track particle with measurement local y"}

Definition at line 119 of file MeasurementToTrackParticleDecorationAlg.h.

119 {
120 this, "MeasurementLocYkey", m_trackParticlesKey, "measurementLocY",
121 "Decorate track particle with measurement local y"};

◆ m_measurementPhiWidthKey

SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> ActsTrk::MeasurementToTrackParticleDecorationAlg::m_measurementPhiWidthKey
private
Initial value:
{
this, "MeasurementPhiWidthKey", m_trackParticlesKey, "hitResiduals_phiWidth",
"Decorate track particle with measurement cluster size (in r-phi)"}

Definition at line 86 of file MeasurementToTrackParticleDecorationAlg.h.

86 {
87 this, "MeasurementPhiWidthKey", m_trackParticlesKey, "hitResiduals_phiWidth",
88 "Decorate track particle with measurement cluster size (in r-phi)"};

◆ m_measurementRegionKey

SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> ActsTrk::MeasurementToTrackParticleDecorationAlg::m_measurementRegionKey
private
Initial value:
{
this, "MeasurementRegionKey", m_trackParticlesKey, "measurement_region",
"Decorate track particle with region of the measurement (barrel, ec)"}

Definition at line 68 of file MeasurementToTrackParticleDecorationAlg.h.

68 {
69 this, "MeasurementRegionKey", m_trackParticlesKey, "measurement_region",
70 "Decorate track particle with region of the measurement (barrel, ec)"};

◆ m_measurementTypeKey

SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> ActsTrk::MeasurementToTrackParticleDecorationAlg::m_measurementTypeKey
private
Initial value:
{
this, "MeasurementTypeKey", m_trackParticlesKey, "measurement_type",
"Decorate track particle with type of track state (outlier,hole, biased/unbiased)"}

Definition at line 83 of file MeasurementToTrackParticleDecorationAlg.h.

83 {
84 this, "MeasurementTypeKey", m_trackParticlesKey, "measurement_type",
85 "Decorate track particle with type of track state (outlier,hole, biased/unbiased)"};

◆ m_pullLocXkey

SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> ActsTrk::MeasurementToTrackParticleDecorationAlg::m_pullLocXkey
private
Initial value:
{
this, "PullLocXkey", m_trackParticlesKey, "hitResiduals_pullLocX",
"Decorate track particle with unbiased pull in local x"}

Definition at line 97 of file MeasurementToTrackParticleDecorationAlg.h.

97 {
98 this, "PullLocXkey", m_trackParticlesKey, "hitResiduals_pullLocX",
99 "Decorate track particle with unbiased pull in local x"};

◆ m_pullLocYkey

SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> ActsTrk::MeasurementToTrackParticleDecorationAlg::m_pullLocYkey
private
Initial value:
{
this, "PullLocYkey", m_trackParticlesKey, "hitResiduals_pullLocY",
"Decorate track particle with unbiased pull in local y"}

Definition at line 116 of file MeasurementToTrackParticleDecorationAlg.h.

116 {
117 this, "PullLocYkey", m_trackParticlesKey, "hitResiduals_pullLocY",
118 "Decorate track particle with unbiased pull in local y"};

◆ m_residualLocXkey

SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> ActsTrk::MeasurementToTrackParticleDecorationAlg::m_residualLocXkey
private
Initial value:
{
this, "ResidualLocXkey", m_trackParticlesKey, "hitResiduals_residualLocX",
"Decorate track particle with unbiased residual in local x"}

Definition at line 94 of file MeasurementToTrackParticleDecorationAlg.h.

94 {
95 this, "ResidualLocXkey", m_trackParticlesKey, "hitResiduals_residualLocX",
96 "Decorate track particle with unbiased residual in local x"};

◆ m_residualLocYkey

SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> ActsTrk::MeasurementToTrackParticleDecorationAlg::m_residualLocYkey
private
Initial value:
{
this, "ResidualLocYkey", m_trackParticlesKey, "hitResiduals_residualLocY",
"Decorate track particle with unbiased residual in local y"}

Definition at line 113 of file MeasurementToTrackParticleDecorationAlg.h.

113 {
114 this, "ResidualLocYkey", m_trackParticlesKey, "hitResiduals_residualLocY",
115 "Decorate track particle with unbiased residual in local y"};

◆ m_trackingGeometryTool

PublicToolHandle<ActsTrk::ITrackingGeometryTool> ActsTrk::MeasurementToTrackParticleDecorationAlg::m_trackingGeometryTool {this, "TrackingGeometryTool", ""}
private

Definition at line 63 of file MeasurementToTrackParticleDecorationAlg.h.

63{this, "TrackingGeometryTool", ""};

◆ m_trackParameterLocCovXkey

SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> ActsTrk::MeasurementToTrackParticleDecorationAlg::m_trackParameterLocCovXkey
private
Initial value:
{
this, "TrackParameterLocCovXkey", m_trackParticlesKey, "trackParameterLocCovX",
"Decorate track particle with unbiased local x prediction covariance"}

Definition at line 109 of file MeasurementToTrackParticleDecorationAlg.h.

109 {
110 this, "TrackParameterLocCovXkey", m_trackParticlesKey, "trackParameterLocCovX",
111 "Decorate track particle with unbiased local x prediction covariance"};

◆ m_trackParameterLocCovYkey

SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> ActsTrk::MeasurementToTrackParticleDecorationAlg::m_trackParameterLocCovYkey
private
Initial value:
{
this, "TrackParameterLocCovYkey", m_trackParticlesKey, "trackParameterLocCovY",
"Decorate track particle with unbiased local y prediction covariance"}

Definition at line 128 of file MeasurementToTrackParticleDecorationAlg.h.

128 {
129 this, "TrackParameterLocCovYkey", m_trackParticlesKey, "trackParameterLocCovY",
130 "Decorate track particle with unbiased local y prediction covariance"};

◆ m_trackParameterLocXkey

SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> ActsTrk::MeasurementToTrackParticleDecorationAlg::m_trackParameterLocXkey
private
Initial value:
{
this, "TrackParameterLocXkey", m_trackParticlesKey, "trackParamLocX",
"Decorate track particle with unbiased prediction in local x"}

Definition at line 103 of file MeasurementToTrackParticleDecorationAlg.h.

103 {
104 this, "TrackParameterLocXkey", m_trackParticlesKey, "trackParamLocX",
105 "Decorate track particle with unbiased prediction in local x"};

◆ m_trackParameterLocYkey

SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> ActsTrk::MeasurementToTrackParticleDecorationAlg::m_trackParameterLocYkey
private
Initial value:
{
this, "TrackParameterLocYkey", m_trackParticlesKey, "trackParamLocY",
"Decorate track particle with unbiased prediction in local y"}

Definition at line 122 of file MeasurementToTrackParticleDecorationAlg.h.

122 {
123 this, "TrackParameterLocYkey", m_trackParticlesKey, "trackParamLocY",
124 "Decorate track particle with unbiased prediction in local y"};

◆ m_trackParticlesKey

SG::ReadHandleKey<xAOD::TrackParticleContainer> ActsTrk::MeasurementToTrackParticleDecorationAlg::m_trackParticlesKey
private
Initial value:
{
this, "TrackParticleKey", "", "Input track particle collection"}

Definition at line 65 of file MeasurementToTrackParticleDecorationAlg.h.

65 {
66 this, "TrackParticleKey", "", "Input track particle collection"};

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