ATLAS Offline Software
Loading...
Searching...
No Matches
MuonCombinedR4::InDetTrackSelectionAlg Class Reference

Algorithm to select ID / ITk track candidates which may be suitable for the combined muon reconstruction chain. More...

#include <InDetTrackSelectionAlg.h>

Inheritance diagram for MuonCombinedR4::InDetTrackSelectionAlg:
Collaboration diagram for MuonCombinedR4::InDetTrackSelectionAlg:

Public Member Functions

virtual StatusCode initialize () override final
virtual StatusCode execute (const EventContext &ctx) const override final
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

std::optional< Acts::BoundTrackParameters > extrapolateToMsEntrance (const EventContext &ctx, const xAOD::TrackParticle &idTrack) const
 Extrapolate the ID track to the MS entrance in order to match it later with spectrometer activity.
bool compatibleWithMsTrk (const Acts::GeometryContext &tgContext, const Acts::BoundTrackParameters &caloExitPars, std::span< const Acts::BoundTrackParameters > msTracks) const
 Returns whether the ID track expressed on the calorimeter exit volume can be loosely matched with a reconsturcted MS track.
bool parametersCompatible (const Acts::GeometryContext &tgContext, const Acts::BoundTrackParameters &caloExitPatrs, const Acts::BoundTrackParameters &msTrackPars) const
 Evaluates whether the caloExit parameters and the MS track parameters are compatible with each other in terms of an angular cone.
double longitudinalParam (const Acts::BoundTrackParameters &pars) const
 Returns the longitudinal local track parameter which is defined as.
bool closeToBoundary (const Acts::BoundTrackParameters &pars) const
 Checks whether the longitudinal parameter is close to the surface boundary.
bool compatibleWithSegment (const Acts::GeometryContext &tgContext, const Acts::BoundTrackParameters &caloExitPars, const std::span< const xAOD::MuonSegment * > candidateSegs) const
 Checks whether the ID track is compatible with a reconstructed segment which is not part of a reconstructed MS track.
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::TrackParticleContainerm_idTrkKey {this, "IdTrackKey", "InDetTrackParticles"}
 The input key for the ID / ITk track particles.
SG::ReadDecorHandleKey< xAOD::TrackParticleContainerm_extensionDecorKey {this, "CaloExtensionDecorKey", m_idTrkKey, "caloExtensionLink"}
 Optional dependency on the calo extension container.
SG::ReadHandleKey< xAOD::TrackParticleContainerm_msTrkKey {this, "MsTrackKey", "MsTrackParticlesR4"}
 Input key for the MS track particles.
SG::ReadHandleKey< xAOD::MuonSegmentContainerm_segmentKey {this, "SegmentKey", "MuonSegmentsFromR4"}
 To pass the selection criteria, ITk tracks can alternatively be matched to.
SG::WriteHandleKey< MuonR4::MuonTagContainerm_writeKey {this, "writeKey", "MuonInDetCandidates"}
 The output key for the selected track candidates.
const MuonGMR4::MuonDetectorManagerm_detMgr {nullptr}
 Detector manager to retrieve the sector envelope surfaces.
ToolHandle< InDet::IInDetTrackSelectionToolm_selectionTool {this, "TackSelectionTool" , ""}
 Track quality selection tool (optional).
ServiceHandle< ActsTrk::ITrackingGeometrySvcm_trackingGeometrySvc {this, "TrackingGeometrySvc", "ActsTrackingGeometrySvc"}
 Tracking geometry tool.
ToolHandle< ActsTrk::IExtrapolationToolm_extrapolationTool {this, "ExtrapolationTool" ,"" }
 Track extrapolation tool.
ActsTrk::ContextUtility m_ctxProvider {this}
 Context provider for geometry, magnetic field and calibration contexts.
Gaudi::Property< bool > m_useCaloExtension {this, "useCaloExtension", true}
 Flag toggling whether the last track parameters shall be retrieved from the calo extension linked to the ID tracks.
Gaudi::Property< float > m_trackPt {this, "minPt", 2.5*Gaudi::Units::GeV}
 The minimum momentum cut applied on the ID tracks to be considered.
Gaudi::Property< float > m_trackEta {this, "maxEta", 2.8}
 Apply a maximum eta cut to stay within the MS acceptance.
Gaudi::Property< bool > m_trackSameSurf {this, "matchTracksOnSameSurface", true}
 Require that the matching between MS and ID track happens on the same surface.
Gaudi::Property< float > m_dEtaCutMsTrk {this, "dEtaMaxMsTrk", 0.2}
 Selection cuts to test compability with the MS track.
Gaudi::Property< float > m_dPhiCutMsTrk {this, "dPhiMsTrk", 5*Gaudi::Units::deg}
Gaudi::Property< float > m_dLoc0CutMsTrk {this, "dLoc0MsTrk", 50.*Gaudi::Units::cm}
Gaudi::Property< float > m_dEtaCutMsSeg {this, "dEtaMaxMsSegment", 0.3}
 Selection cuts for the Muon segments.
Gaudi::Property< float > m_dY0CutMsSeg {this, "dY0MaxMsSegment", 40 * Gaudi::Units::cm}
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

Algorithm to select ID / ITk track candidates which may be suitable for the combined muon reconstruction chain.

Apart from basic kinematic requirements, the tracks need to be dR cones around MS tracks or can be loosely matched to a standalone segment which has not been yet associated with a muon track. Successfully matched candidates need

Definition at line 35 of file MuonSpectrometer/MuonPhaseII/MuonIdentification/MuonCombinedAlgsR4/src/InDetTrackSelectionAlg.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

◆ closeToBoundary()

bool MuonCombinedR4::InDetTrackSelectionAlg::closeToBoundary ( const Acts::BoundTrackParameters & pars) const
inlineprivate

Checks whether the longitudinal parameter is close to the surface boundary.

The interval size is given by m_dLoc0CutMsTrk.

Parameters
parsReference to the local track parameters to check

Definition at line 192 of file MuonSpectrometer/MuonPhaseII/MuonIdentification/MuonCombinedAlgsR4/src/InDetTrackSelectionAlg.cxx.

192 {
193 const double loc{std::abs(longitudinalParam(pars))};
194 const Acts::SurfaceBounds& bounds{pars.referenceSurface().bounds()};
195 switch (bounds.type()) {
196 using enum Acts::SurfaceBounds::BoundsType;
197 case eCylinder:{
198 using BoundEnum = Acts::CylinderBounds::BoundValues;
199 return std::abs(static_cast<const Acts::CylinderBounds&>(bounds).get(BoundEnum::eHalfLengthZ) - loc) < m_dLoc0CutMsTrk ;
200 }
201 case eDisc: {
202 return std::abs(static_cast<const Acts::DiscBounds&>(bounds).rMax() - loc) < m_dLoc0CutMsTrk;
203 } default: {
204 ATH_MSG_WARNING(__func__<<" - The bounds "<<bounds<<" are not implemented. "
205 <<"Cannot perform bound check for \n"<<pars);
206 break;
207 }
208 }
209 return false;
210 }
#define ATH_MSG_WARNING(x)
double longitudinalParam(const Acts::BoundTrackParameters &pars) const
Returns the longitudinal local track parameter which is defined as.
T * get(TKey *tobj)
get a TObject* from a TKey* (why can't a TObject be a TKey?)
Definition hcg.cxx:132

◆ compatibleWithMsTrk()

bool MuonCombinedR4::InDetTrackSelectionAlg::compatibleWithMsTrk ( const Acts::GeometryContext & tgContext,
const Acts::BoundTrackParameters & caloExitPars,
std::span< const Acts::BoundTrackParameters > msTracks ) const
private

Returns whether the ID track expressed on the calorimeter exit volume can be loosely matched with a reconsturcted MS track.

The matching is based on the angular cone between the MS & the ID track + separations on the local parameters on the cylinder

Parameters
tgContextThe geometry context to align the surfaces
caloExitParsThe ID track expressed at the calo exit
msTrackList of the reference MS track parameters

Definition at line 265 of file MuonSpectrometer/MuonPhaseII/MuonIdentification/MuonCombinedAlgsR4/src/InDetTrackSelectionAlg.cxx.

267 {
268
269 ATH_MSG_DEBUG(__func__<<"() "<<__LINE__<<" - Check whether the parameters \n"<<itkParameters
270 <<", eta: "<<eta(itkParameters)<<" are compatible with one of the "<<msTrks.size()<<" MS tracks.");
271 if (std::ranges::any_of(msTrks,
272 [&](const Acts::BoundTrackParameters& msPars) {
273 return parametersCompatible(tgContext, itkParameters, msPars);
274 })) {
275 ATH_MSG_DEBUG(__func__<<"() "<<__LINE__<<" Found a matching track.");
276 return true;
277 }
278 return false;
279 }
Scalar eta() const
pseudorapidity method
#define ATH_MSG_DEBUG(x)
bool parametersCompatible(const Acts::GeometryContext &tgContext, const Acts::BoundTrackParameters &caloExitPatrs, const Acts::BoundTrackParameters &msTrackPars) const
Evaluates whether the caloExit parameters and the MS track parameters are compatible with each other ...

◆ compatibleWithSegment()

bool MuonCombinedR4::InDetTrackSelectionAlg::compatibleWithSegment ( const Acts::GeometryContext & tgContext,
const Acts::BoundTrackParameters & caloExitPars,
const std::span< const xAOD::MuonSegment * > candidateSegs ) const
private

Checks whether the ID track is compatible with a reconstructed segment which is not part of a reconstructed MS track.

Matching is based on straight line extrapolations and sector correspondence

Straight line extrapolation onto the surface

Segment parameters expressed on the envelope surface

Definition at line 280 of file MuonSpectrometer/MuonPhaseII/MuonIdentification/MuonCombinedAlgsR4/src/InDetTrackSelectionAlg.cxx.

282 {
283
284
285 const Amg::Vector3D exitPos = caloExitPars.position(tgContext);
286 const Amg::Vector3D exitDir = caloExitPars.direction();
287 MuonR4::ExpandedSector exitSector{exitPos.phi()};
288 const double caloEta = eta(caloExitPars);
289
290 const MuonGMR4::SpectrometerSector* lastSector{nullptr};
291 Amg::Vector3D extPosOnSector{Amg::Vector3D::Zero()};
292
293 for (const xAOD::MuonSegment* segment : candidateSegs) {
294 MuonR4::ExpandedSector segSector{segment->position().phi()};
295 ATH_MSG_VERBOSE(__func__<<"() "<<__LINE__<<" - Check compatibility with "<<MuonR4::printID(*segment)
296 <<", sector: "<<segSector);
297 if (!segSector.isNeighbour(exitSector)) {
298 ATH_MSG_VERBOSE(__func__<<"() "<<__LINE__<<" - Sector requirement failed");
299 continue;
300 }
301 // Reject segments on oposite sides
302 if (std::abs(segment->direction().eta() - caloEta) > m_dEtaCutMsSeg) {
303 ATH_MSG_VERBOSE(__func__<<"() "<<__LINE__<<" - Too large separation in dEta: "
304 <<std::abs(segment->direction().eta() - caloEta)<<" cut: "<<m_dEtaCutMsSeg);
305 continue;
306 }
308 const MuonGMR4::SpectrometerSector* msSector = m_detMgr->getSectorEnvelope(segment->chamberIndex(),
309 segment->sector(),
310 segment->etaIndex());
312 Parameters segPars = localSegmentPars(*segment);
313
314 if (lastSector == msSector) {
315 if (std::abs(segPars[Acts::toUnderlying(ParamDefs::y0)] - extPosOnSector.y()) < m_dY0CutMsSeg) {
316 ATH_MSG_VERBOSE(__func__<<"() "<<__LINE__<<" Segment is close enough: "
317 <<std::abs(segPars[Acts::toUnderlying(ParamDefs::y0)] - extPosOnSector.y()));
318 return true;
319 }
320 continue;
321 }
322 lastSector = msSector;
323
324 const Amg::Transform3D toLocal = msSector->globalToLocalTransform(tgContext);
325
326 const Amg::Vector3D locExitPos = toLocal * exitPos;
327 const Amg::Vector3D locExitDir = toLocal.linear()* exitDir;
328
329 using namespace Acts::PlanarHelper;
330 auto iSect = intersectPlane(locExitPos, locExitDir, Amg::Vector3D::Zero(), 0.);
331 extPosOnSector = iSect.position();
332 if (std::abs(segPars[Acts::toUnderlying(ParamDefs::y0)] - extPosOnSector.y()) < m_dY0CutMsSeg) {
333 ATH_MSG_VERBOSE(__func__<<"() "<<__LINE__<<" Segment is close enough: "
334 <<std::abs(segPars[Acts::toUnderlying(ParamDefs::y0)] - extPosOnSector.y()));
335 return true;
336 }
337 }
338 return false;
339 }
#define ATH_MSG_VERBOSE(x)
const MuonGMR4::MuonDetectorManager * m_detMgr
Detector manager to retrieve the sector envelope surfaces.
Amg::Transform3D globalToLocalTransform(const ActsTrk::GeometryContext &gctx) const
Returns the global -> local transformation from the ATLAS global.
bool isNeighbour(const ExpandedSector &other) const
Eigen::Affine3d Transform3D
Eigen::Matrix< double, 3, 1 > Vector3D
Parameters localSegmentPars(const xAOD::MuonSegment &seg)
Returns the localSegPars decoration from a xAODMuon::Segment.
Acts::Experimental::CompositeSpacePointLineFitter::ParamVec_t Parameters
std::string printID(const xAOD::MuonSegment &seg)
Print the chamber ID of a segment, e.g.
Amg::Vector3D toLocal(const Amg::Transform3D &toLocalTrans, const Amg::Vector3D &dir)
Rotates a direction vector into a local frame: x-axis : Parallell to the radial direction of the dete...
MuonSegment_v1 MuonSegment
Reference the current persistent version:

◆ 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 MuonCombinedR4::InDetTrackSelectionAlg::execute ( const EventContext & ctx) const
finaloverridevirtual

Tracks within the MS eta range are attempted to be extrapolated to the calo exit

Failed extrapolations to the calo exit -> track probably too low in momentum in order to be considered even for calo tagging

Store the parameters at the calorimeter exit if the association to a MS track or a segment is successful -> The tag is then available for the combined fit, STACO, MuTagIMO && inside-> out chain

Definition at line 67 of file MuonSpectrometer/MuonPhaseII/MuonIdentification/MuonCombinedAlgsR4/src/InDetTrackSelectionAlg.cxx.

67 {
68 const xAOD::TrackParticleContainer* idTracks{nullptr};
69 const xAOD::TrackParticleContainer* msTracks{nullptr};
70 const xAOD::MuonSegmentContainer* msSegments{nullptr};
71 ATH_CHECK(SG::get(idTracks, m_idTrkKey, ctx));
72 ATH_CHECK(SG::get(msSegments, m_segmentKey, ctx));
73 ATH_CHECK(SG::get(msTracks, m_msTrkKey, ctx));
74
75 const Acts::GeometryContext tgContext{m_ctxProvider.getGeometryContext(ctx)};
76
77 std::vector<const xAOD::MuonSegment*> uncombinedSegments{};
78 uncombinedSegments.reserve(msSegments->size());
79 std::copy_if(msSegments->begin(), msSegments->end(),
80 std::back_inserter(uncombinedSegments),
81 [msTracks, this](const xAOD::MuonSegment* segment){
82 return std::none_of(msTracks->begin(), msTracks->end(),
83 [&segment, this](const xAOD::TrackParticle* msTrack) {
84 auto actsTrk = ActsTrk::getActsTrack(*msTrack);
85 if (!actsTrk) {
86 ATH_MSG_WARNING(__func__<<"() "<<__LINE__<<" - No acts track");
87 return false;
88 }
89 return Acts::rangeContainsValue(actsTrk->component<std::vector<const xAOD::MuonSegment*>>("muonSegLinks"),
90 segment);
91 });
92 });
93
94 ATH_MSG_DEBUG(__func__<<"() "<<__LINE__
95 <<" - Select track candidates suitable for combined reconstruction amongst "
96 <<idTracks->size()<<" ID tracks.");
97 IdCandidateCont_t idCandidates{};
98 std::vector<Acts::BoundTrackParameters> msTrkPars{};
99 msTrkPars.reserve(msTracks->size());
100 std::transform(msTracks->begin(), msTracks->end(), std::back_inserter(msTrkPars),
101 [](const xAOD::TrackParticle* trkPart){
102 return ActsTrk::getActsTrack(*trkPart)->createParametersAtReference();
103 });
104 for (const xAOD::TrackParticle* idTrk : *idTracks) {
105 /* Track does not satisfy the kinematic requirements
106 * Or the optional track quality */
107 if (idTrk->pt () < m_trackPt ||
108 (m_selectionTool.isEnabled() && !m_selectionTool->accept(*idTrk))) {
109 continue;
110 }
113 auto idTag = std::make_unique<MuonR4::MuonTag>();
114 idTag->setIdTrack(idTrk);
115 if (std::abs(idTrk->eta()) < m_trackEta) {
118 auto parsAtEntrance = extrapolateToMsEntrance(ctx, *idTrk);
119 if (!parsAtEntrance) {
120 continue;
121 }
125 if (compatibleWithMsTrk(tgContext, *parsAtEntrance, msTrkPars) ||
126 compatibleWithSegment(tgContext, *parsAtEntrance, uncombinedSegments)) {
127 idTag->setExtrapolatedParsID(Acts::hashString("@CaloExit"),
128 std::move(*parsAtEntrance));
129 }
130 }
131 idCandidates->push_back(std::move(idTag));
132 }
133 ATH_MSG_DEBUG(__func__<<"() "<<__LINE__<<" - Selected "<<idCandidates->size()
134 <<" candidates for combined reconstruction downstream");
135 ATH_CHECK(idCandidates.record(m_writeKey, ctx));
136 return StatusCode::SUCCESS;
137 }
#define ATH_CHECK
Evaluate an expression and check for errors.
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
size_type size() const noexcept
Returns the number of elements in the collection.
Gaudi::Property< float > m_trackPt
The minimum momentum cut applied on the ID tracks to be considered.
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_idTrkKey
The input key for the ID / ITk track particles.
ToolHandle< InDet::IInDetTrackSelectionTool > m_selectionTool
Track quality selection tool (optional).
ActsTrk::ContextUtility m_ctxProvider
Context provider for geometry, magnetic field and calibration contexts.
bool compatibleWithMsTrk(const Acts::GeometryContext &tgContext, const Acts::BoundTrackParameters &caloExitPars, std::span< const Acts::BoundTrackParameters > msTracks) const
Returns whether the ID track expressed on the calorimeter exit volume can be loosely matched with a r...
SG::ReadHandleKey< xAOD::MuonSegmentContainer > m_segmentKey
To pass the selection criteria, ITk tracks can alternatively be matched to.
std::optional< Acts::BoundTrackParameters > extrapolateToMsEntrance(const EventContext &ctx, const xAOD::TrackParticle &idTrack) const
Extrapolate the ID track to the MS entrance in order to match it later with spectrometer activity.
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_msTrkKey
Input key for the MS track particles.
bool compatibleWithSegment(const Acts::GeometryContext &tgContext, const Acts::BoundTrackParameters &caloExitPars, const std::span< const xAOD::MuonSegment * > candidateSegs) const
Checks whether the ID track is compatible with a reconstructed segment which is not part of a reconst...
Gaudi::Property< float > m_trackEta
Apply a maximum eta cut to stay within the MS acceptance.
SG::WriteHandleKey< MuonR4::MuonTagContainer > m_writeKey
The output key for the selected track candidates.
const T * get(const ReadCondHandleKey< T > &key, const EventContext &ctx)
Convenience function to retrieve an object given a ReadCondHandleKey.
MuonSegmentContainer_v1 MuonSegmentContainer
Definition of the current "MuonSegment container version".
TrackParticle_v1 TrackParticle
Reference the current persistent version:
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.

◆ extrapolateToMsEntrance()

std::optional< Acts::BoundTrackParameters > MuonCombinedR4::InDetTrackSelectionAlg::extrapolateToMsEntrance ( const EventContext & ctx,
const xAOD::TrackParticle & idTrack ) const
private

Extrapolate the ID track to the MS entrance in order to match it later with spectrometer activity.

Parameters
ctxEventContext to retrieve the alignment and magnetic field or the calo extensions
idTrackThe track to be extrapolated

Retrieve the last state of the track to extrapolate into the MS

Definition at line 139 of file MuonSpectrometer/MuonPhaseII/MuonIdentification/MuonCombinedAlgsR4/src/InDetTrackSelectionAlg.cxx.

140 {
141
142 const auto trackingGeometry = m_trackingGeometrySvc->trackingGeometry();
143
144 const Acts::GeometryContext tgContext = m_ctxProvider.getGeometryContext(ctx);
145 const Acts::TrackingVolume* msEntrance = m_trackingGeometrySvc->getEnvelope(ActsTrk::SystemEnvelope::CaloExit);
146 ATH_MSG_ALWAYS(__func__<<"() "<<__LINE__<<" - Extrapolate ID "<<print(idTrack)<<"\n to the calorimeter exit.\n"
147 <<msEntrance->volumeBounds()<<", id: "<<msEntrance->geometryId());
149 auto idExitPars = lastTrackParameters(idTrack);
150 if (!idExitPars) {
151 ATH_MSG_WARNING(__func__<<"() "<<__LINE__<<" - The ID track has no valid last state");
152 return std::nullopt;
153 }
154 if (m_useCaloExtension) {
155 const ActsTrk::CaloExtension* extension = ActsTrk::getCaloExtension(idTrack);
156 if (extension != nullptr){
157 auto lastExtensionPars = extension->lastParameters();
158 if (lastExtensionPars->referenceSurface().geometryId().withBoundary(0) ==
159 msEntrance->geometryId()) {
160 ATH_MSG_VERBOSE(__func__<<"() "<<__LINE__<<" - Calo extension is on the MS entrance");
161 return lastExtensionPars;
162 }
163 idExitPars = lastExtensionPars;
164 }
165 }
166 ATH_MSG_VERBOSE(__func__<<"() "<<__LINE__<<" - Extrapolate ID track to MS entrance "
167 <<msEntrance->volumeBounds());
168 auto caloPars = m_extrapolationTool->propagate(ctx, *idExitPars, *msEntrance,
170 if (caloPars.ok()) {
171 ATH_MSG_VERBOSE(__func__<<"() "<<__LINE__<<" - Extrapolation successful "<<(*caloPars));
172 return *caloPars;
173 }
174 ATH_MSG_WARNING(__func__<<"() "<<__LINE__<<" - Failed to extrapolate ID "<<print(idTrack)<<".");
175 return std::nullopt;
176 }
#define ATH_MSG_ALWAYS(x)
void print(char *figname, TCanvas *c1)
std::optional< Acts::BoundTrackParameters > lastParameters() const
Returns the outermost parameters known to the extension.
Gaudi::Property< bool > m_useCaloExtension
Flag toggling whether the last track parameters shall be retrieved from the calo extension linked to ...
const CaloExtension * getCaloExtension(const xAOD::TrackParticle &track)
Retrieve a pointer to the CaloExtension linked with the passed TrackParticle.
std::optional< Acts::BoundTrackParameters > lastTrackParameters(const xAOD::TrackParticle &trkPart, const bool skipOutlier=true)
Returns the last MeasurementState in form of Acts::BoundTrackParameters.

◆ 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 MuonCombinedR4::InDetTrackSelectionAlg::initialize ( )
finaloverridevirtual

Definition at line 49 of file MuonSpectrometer/MuonPhaseII/MuonIdentification/MuonCombinedAlgsR4/src/InDetTrackSelectionAlg.cxx.

49 {
50 ATH_CHECK(m_idTrkKey.initialize());
52 ATH_CHECK(m_msTrkKey.initialize());
53 ATH_CHECK(m_ctxProvider.initialize());
54 ATH_CHECK(m_selectionTool.retrieve(EnableTool{!m_selectionTool.empty()}));
57 ATH_CHECK(m_writeKey.initialize());
58 ATH_CHECK(m_segmentKey.initialize());
59 ATH_CHECK(detStore()->retrieve(m_detMgr));
60 if (m_trackingGeometrySvc->trackingGeometry()->geometryVersion() !=
61 Acts::TrackingGeometry::GeometryVersion::Gen3){
62 ATH_MSG_ERROR("The ID track selection alg requires the Gen 3 geometry format");
63 return StatusCode::FAILURE;
64 }
65 return StatusCode::SUCCESS;
66 }
#define ATH_MSG_ERROR(x)
const ServiceHandle< StoreGateSvc > & detStore() const
SG::ReadDecorHandleKey< xAOD::TrackParticleContainer > m_extensionDecorKey
Optional dependency on the calo extension container.

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

◆ longitudinalParam()

double MuonCombinedR4::InDetTrackSelectionAlg::longitudinalParam ( const Acts::BoundTrackParameters & pars) const
inlineprivate

Returns the longitudinal local track parameter which is defined as.

  • radial parameter in case of discs
  • displacement along the cylinder axis for cylinders
    Parameters
    parsReference to the parameters of interest

Definition at line 178 of file MuonSpectrometer/MuonPhaseII/MuonIdentification/MuonCombinedAlgsR4/src/InDetTrackSelectionAlg.cxx.

178 {
179 switch (pars.referenceSurface().type()) {
180 using enum Acts::Surface::SurfaceType;
181 case Disc:
182 return pars.get<Acts::eBoundLoc0>();
183 case Cylinder:
184 return pars.get<Acts::eBoundLoc1>();
185 default:
186 ATH_MSG_WARNING(__func__<<"() "<<__LINE__<<" Surface type "<<pars.referenceSurface().type()
187 <<" is not implemented");
188 break;
189 }
190 return -1._km;
191 }

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

◆ parametersCompatible()

bool MuonCombinedR4::InDetTrackSelectionAlg::parametersCompatible ( const Acts::GeometryContext & tgContext,
const Acts::BoundTrackParameters & caloExitPatrs,
const Acts::BoundTrackParameters & msTrackPars ) const
private

Evaluates whether the caloExit parameters and the MS track parameters are compatible with each other in terms of an angular cone.

Optionally, the radial displacement on the endcap discs or the longitudinal displacement on the barrel cylinder is checked to be within the limits.

Parameters
tgContextThe geometry context to align the surfaces
caloExitParsThe ID track expressed at the calo exit
msTrackParsReferene track parameters of the MS track

Definition at line 212 of file MuonSpectrometer/MuonPhaseII/MuonIdentification/MuonCombinedAlgsR4/src/InDetTrackSelectionAlg.cxx.

214 {
215
216 ATH_MSG_ALWAYS(__func__<<"() "<<__LINE__<<" - Check MS track \n@ "<<msTrackPars
217 <<", eta: "<<eta(msTrackPars));
218 const double dPhi = std::abs(xAOD::P4Helpers::deltaPhi(msTrackPars.phi(), caloExitPars.phi())) ;
219 const double dEta = std::abs(eta(msTrackPars) - eta(caloExitPars));
220 if(dPhi> m_dPhiCutMsTrk || dEta > m_dEtaCutMsTrk) {
221 ATH_MSG_VERBOSE(__func__<<"() "<<__LINE__<<" - Angular cone does not match dEta: "
222 <<dEta <<" vs "<<m_dEtaCutMsTrk<<" or dPhi: "<<dPhi<<" vs "<<m_dPhiCutMsTrk);
223 return false;
224 }
225 if (!m_trackSameSurf) {
226 ATH_MSG_VERBOSE(__func__<<"() "<<__LINE__<<" - Same surface requirement disabled");
227 return true;
228 }
229 if (msTrackPars.referenceSurface().geometryId() ==
230 caloExitPars.referenceSurface().geometryId()) {
231 const double dLoc0 = std::abs(longitudinalParam(msTrackPars) -
232 longitudinalParam(caloExitPars));
233 ATH_MSG_VERBOSE(__func__<<"() "<<__LINE__<<" - Evaluate local surface distance "
234 <<dLoc0<<" vs. "<<m_dLoc0CutMsTrk<<".");
235 return dLoc0 < m_dLoc0CutMsTrk;
236 }
237 if (msTrackPars.referenceSurface().geometryId().withBoundary(0) !=
238 caloExitPars.referenceSurface().geometryId().withBoundary(0)) {
239 ATH_MSG_VERBOSE(__func__<<"() "<<__LINE__<<" - Reference surfaces do not belong "
240 <<" to the same volume. ");
241 return false;
242 }
243 if (!closeToBoundary(msTrackPars) || !closeToBoundary(caloExitPars)) {
244 ATH_MSG_VERBOSE(__func__<<"() "<<__LINE__<<" - Parameters are not close to the bondary");
245 return false;
246 }
247 auto msAtCalo = caloExitPars.referenceSurface().intersect(tgContext,
248 msTrackPars.position(tgContext),
249 msTrackPars.direction()).closest();
250 if (!msAtCalo.isValid()) {
251 ATH_MSG_DEBUG(__func__<<"() "<<__LINE__<<" - Intersection failed ");
252 return false;
253 }
254 auto res = caloExitPars.referenceSurface().globalToLocal(tgContext, msAtCalo.position(),
255 msTrackPars.direction());
256 if (!res.ok()){
257 ATH_MSG_DEBUG(__func__<<"() "<<__LINE__<<" - Transform failed");
258 return false;
259 }
260 using enum Acts::Surface::SurfaceType;
261 return std::abs((*res)[caloExitPars.referenceSurface().type() == Cylinder] -
262 longitudinalParam(caloExitPars)) <m_dLoc0CutMsTrk;
263 }
std::pair< std::vector< unsigned int >, bool > res
Gaudi::Property< bool > m_trackSameSurf
Require that the matching between MS and ID track happens on the same surface.
bool closeToBoundary(const Acts::BoundTrackParameters &pars) const
Checks whether the longitudinal parameter is close to the surface boundary.
Gaudi::Property< float > m_dEtaCutMsTrk
Selection cuts to test compability with the MS track.
bool dPhi(const xAOD::TauJet &tau, const xAOD::CaloVertexedTopoCluster &cluster, float &out)
bool dEta(const xAOD::TauJet &tau, const xAOD::CaloVertexedTopoCluster &cluster, float &out)
double deltaPhi(double phiA, double phiB)
delta Phi in range [-pi,pi[

◆ 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}
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_ctxProvider

ActsTrk::ContextUtility MuonCombinedR4::InDetTrackSelectionAlg::m_ctxProvider {this}
private

Context provider for geometry, magnetic field and calibration contexts.

Definition at line 107 of file MuonSpectrometer/MuonPhaseII/MuonIdentification/MuonCombinedAlgsR4/src/InDetTrackSelectionAlg.h.

107{this};

◆ m_dEtaCutMsSeg

Gaudi::Property<float> MuonCombinedR4::InDetTrackSelectionAlg::m_dEtaCutMsSeg {this, "dEtaMaxMsSegment", 0.3}
private

Selection cuts for the Muon segments.

Definition at line 123 of file MuonSpectrometer/MuonPhaseII/MuonIdentification/MuonCombinedAlgsR4/src/InDetTrackSelectionAlg.h.

123{this, "dEtaMaxMsSegment", 0.3};

◆ m_dEtaCutMsTrk

Gaudi::Property<float> MuonCombinedR4::InDetTrackSelectionAlg::m_dEtaCutMsTrk {this, "dEtaMaxMsTrk", 0.2}
private

Selection cuts to test compability with the MS track.

Definition at line 119 of file MuonSpectrometer/MuonPhaseII/MuonIdentification/MuonCombinedAlgsR4/src/InDetTrackSelectionAlg.h.

119{this, "dEtaMaxMsTrk", 0.2};

◆ m_detMgr

const MuonGMR4::MuonDetectorManager* MuonCombinedR4::InDetTrackSelectionAlg::m_detMgr {nullptr}
private

Detector manager to retrieve the sector envelope surfaces.

Definition at line 99 of file MuonSpectrometer/MuonPhaseII/MuonIdentification/MuonCombinedAlgsR4/src/InDetTrackSelectionAlg.h.

99{nullptr};

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

Gaudi::Property<float> MuonCombinedR4::InDetTrackSelectionAlg::m_dLoc0CutMsTrk {this, "dLoc0MsTrk", 50.*Gaudi::Units::cm}
private

Definition at line 121 of file MuonSpectrometer/MuonPhaseII/MuonIdentification/MuonCombinedAlgsR4/src/InDetTrackSelectionAlg.h.

121{this, "dLoc0MsTrk", 50.*Gaudi::Units::cm};

◆ m_dPhiCutMsTrk

Gaudi::Property<float> MuonCombinedR4::InDetTrackSelectionAlg::m_dPhiCutMsTrk {this, "dPhiMsTrk", 5*Gaudi::Units::deg}
private

Definition at line 120 of file MuonSpectrometer/MuonPhaseII/MuonIdentification/MuonCombinedAlgsR4/src/InDetTrackSelectionAlg.h.

120{this, "dPhiMsTrk", 5*Gaudi::Units::deg};

◆ m_dY0CutMsSeg

Gaudi::Property<float> MuonCombinedR4::InDetTrackSelectionAlg::m_dY0CutMsSeg {this, "dY0MaxMsSegment", 40 * Gaudi::Units::cm}
private

Definition at line 124 of file MuonSpectrometer/MuonPhaseII/MuonIdentification/MuonCombinedAlgsR4/src/InDetTrackSelectionAlg.h.

124{this, "dY0MaxMsSegment", 40 * Gaudi::Units::cm};

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

SG::ReadDecorHandleKey<xAOD::TrackParticleContainer> MuonCombinedR4::InDetTrackSelectionAlg::m_extensionDecorKey {this, "CaloExtensionDecorKey", m_idTrkKey, "caloExtensionLink"}
private

Optional dependency on the calo extension container.

Definition at line 90 of file MuonSpectrometer/MuonPhaseII/MuonIdentification/MuonCombinedAlgsR4/src/InDetTrackSelectionAlg.h.

90{this, "CaloExtensionDecorKey", m_idTrkKey, "caloExtensionLink"};

◆ m_extrapolationTool

ToolHandle<ActsTrk::IExtrapolationTool> MuonCombinedR4::InDetTrackSelectionAlg::m_extrapolationTool {this, "ExtrapolationTool" ,"" }
private

Track extrapolation tool.

Definition at line 105 of file MuonSpectrometer/MuonPhaseII/MuonIdentification/MuonCombinedAlgsR4/src/InDetTrackSelectionAlg.h.

105{this, "ExtrapolationTool" ,"" };

◆ m_idTrkKey

SG::ReadHandleKey<xAOD::TrackParticleContainer> MuonCombinedR4::InDetTrackSelectionAlg::m_idTrkKey {this, "IdTrackKey", "InDetTrackParticles"}
private

The input key for the ID / ITk track particles.

Definition at line 88 of file MuonSpectrometer/MuonPhaseII/MuonIdentification/MuonCombinedAlgsR4/src/InDetTrackSelectionAlg.h.

88{this, "IdTrackKey", "InDetTrackParticles"};

◆ m_msTrkKey

SG::ReadHandleKey<xAOD::TrackParticleContainer> MuonCombinedR4::InDetTrackSelectionAlg::m_msTrkKey {this, "MsTrackKey", "MsTrackParticlesR4"}
private

Input key for the MS track particles.

ID tracks are only considered if they can be roughly matched to a MS track

Definition at line 93 of file MuonSpectrometer/MuonPhaseII/MuonIdentification/MuonCombinedAlgsR4/src/InDetTrackSelectionAlg.h.

93{this, "MsTrackKey", "MsTrackParticlesR4"};

◆ m_segmentKey

SG::ReadHandleKey<xAOD::MuonSegmentContainer> MuonCombinedR4::InDetTrackSelectionAlg::m_segmentKey {this, "SegmentKey", "MuonSegmentsFromR4"}
private

To pass the selection criteria, ITk tracks can alternatively be matched to.

Definition at line 95 of file MuonSpectrometer/MuonPhaseII/MuonIdentification/MuonCombinedAlgsR4/src/InDetTrackSelectionAlg.h.

95{this, "SegmentKey", "MuonSegmentsFromR4"};

◆ m_selectionTool

ToolHandle<InDet::IInDetTrackSelectionTool> MuonCombinedR4::InDetTrackSelectionAlg::m_selectionTool {this, "TackSelectionTool" , ""}
private

Track quality selection tool (optional).

Definition at line 101 of file MuonSpectrometer/MuonPhaseII/MuonIdentification/MuonCombinedAlgsR4/src/InDetTrackSelectionAlg.h.

101{this, "TackSelectionTool" , ""};

◆ m_trackEta

Gaudi::Property<float> MuonCombinedR4::InDetTrackSelectionAlg::m_trackEta {this, "maxEta", 2.8}
private

Apply a maximum eta cut to stay within the MS acceptance.

Definition at line 114 of file MuonSpectrometer/MuonPhaseII/MuonIdentification/MuonCombinedAlgsR4/src/InDetTrackSelectionAlg.h.

114{this, "maxEta", 2.8};

◆ m_trackingGeometrySvc

ServiceHandle<ActsTrk::ITrackingGeometrySvc> MuonCombinedR4::InDetTrackSelectionAlg::m_trackingGeometrySvc {this, "TrackingGeometrySvc", "ActsTrackingGeometrySvc"}
private

Tracking geometry tool.

Definition at line 103 of file MuonSpectrometer/MuonPhaseII/MuonIdentification/MuonCombinedAlgsR4/src/InDetTrackSelectionAlg.h.

103{this, "TrackingGeometrySvc", "ActsTrackingGeometrySvc"};

◆ m_trackPt

Gaudi::Property<float> MuonCombinedR4::InDetTrackSelectionAlg::m_trackPt {this, "minPt", 2.5*Gaudi::Units::GeV}
private

The minimum momentum cut applied on the ID tracks to be considered.

Definition at line 112 of file MuonSpectrometer/MuonPhaseII/MuonIdentification/MuonCombinedAlgsR4/src/InDetTrackSelectionAlg.h.

112{this, "minPt", 2.5*Gaudi::Units::GeV};

◆ m_trackSameSurf

Gaudi::Property<bool> MuonCombinedR4::InDetTrackSelectionAlg::m_trackSameSurf {this, "matchTracksOnSameSurface", true}
private

Require that the matching between MS and ID track happens on the same surface.

Definition at line 117 of file MuonSpectrometer/MuonPhaseII/MuonIdentification/MuonCombinedAlgsR4/src/InDetTrackSelectionAlg.h.

117{this, "matchTracksOnSameSurface", true};

◆ m_useCaloExtension

Gaudi::Property<bool> MuonCombinedR4::InDetTrackSelectionAlg::m_useCaloExtension {this, "useCaloExtension", true}
private

Flag toggling whether the last track parameters shall be retrieved from the calo extension linked to the ID tracks.

Definition at line 110 of file MuonSpectrometer/MuonPhaseII/MuonIdentification/MuonCombinedAlgsR4/src/InDetTrackSelectionAlg.h.

110{this, "useCaloExtension", true};

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

◆ m_writeKey

SG::WriteHandleKey<MuonR4::MuonTagContainer> MuonCombinedR4::InDetTrackSelectionAlg::m_writeKey {this, "writeKey", "MuonInDetCandidates"}
private

The output key for the selected track candidates.

Definition at line 97 of file MuonSpectrometer/MuonPhaseII/MuonIdentification/MuonCombinedAlgsR4/src/InDetTrackSelectionAlg.h.

97{this, "writeKey", "MuonInDetCandidates"};

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