ATLAS Offline Software
Loading...
Searching...
No Matches
Trk::IntersectorWrapper Class Referencefinal

#include <IntersectorWrapper.h>

Inheritance diagram for Trk::IntersectorWrapper:
Collaboration diagram for Trk::IntersectorWrapper:

Classes

struct  Cache

Public Member Functions

 IntersectorWrapper (const std::string &type, const std::string &name, const IInterface *parent)
 ~IntersectorWrapper (void)
virtual StatusCode initialize () override final
virtual StatusCode finalize () override final
virtual std::unique_ptr< NeutralParameterspropagate (const NeutralParameters &, const Surface &, PropDirection, const BoundaryCheck &, bool) const override final
 N 0) Neutral parameters method
virtual std::unique_ptr< TrackParameterspropagate (const EventContext &ctx, const TrackParameters &parm, const Surface &sf, PropDirection dir, const BoundaryCheck &bcheck, const MagneticFieldProperties &mprop, ParticleHypothesis particle, bool returnCurv, const TrackingVolume *) const override final
 Propagation interface: The propagation method called by the TrkExtrapolator.
virtual std::unique_ptr< TrackParameterspropagate (const EventContext &, const TrackParameters &, std::vector< DestSurf > &, PropDirection, const MagneticFieldProperties &, ParticleHypothesis, std::vector< unsigned int > &, double &, bool, bool, const TrackingVolume *) const override final
 Propagation interface: The propagation method called by the TrkExtrapolator.
virtual std::unique_ptr< TrackParameterspropagateT (const EventContext &, const TrackParameters &, std::vector< DestSurf > &, PropDirection, const MagneticFieldProperties &, ParticleHypothesis, std::vector< unsigned int > &, PathLimit &, TimeLimit &, bool, const TrackingVolume *, std::vector< Trk::HitInfo > *&) const override final
 Propagate parameters and covariance with search of closest surface time included.
virtual std::unique_ptr< TrackParameterspropagate (const EventContext &ctx, const TrackParameters &, const Surface &, PropDirection, const BoundaryCheck &, const MagneticFieldProperties &, std::optional< TransportJacobian > &, double &, ParticleHypothesis, bool, const TrackingVolume *) const override final
 Propagation interface: The propagation method including the return of the TransportJacobian matrix.
virtual std::unique_ptr< TrackParameterspropagateParameters (const EventContext &ctx, const TrackParameters &parm, const Surface &sf, PropDirection dir, const BoundaryCheck &bcheck, const MagneticFieldProperties &mprop, ParticleHypothesis particle=pion, bool returnCurv=false, const TrackingVolume *tVol=nullptr) const override final
 Propagation interface without Covariance matrix propagation the pathlength has to be returned for eventual following propagateCovariance.
virtual std::unique_ptr< TrackParameterspropagateParameters (const EventContext &ctx, const TrackParameters &parm, const Surface &sf, PropDirection dir, const BoundaryCheck &bcheck, const MagneticFieldProperties &mprop, std::optional< TransportJacobian > &, ParticleHypothesis particle=pion, bool returnCurv=false, const TrackingVolume *tVol=nullptr) const override final
 implemented
virtual std::optional< Trk::TrackSurfaceIntersectionintersect (const EventContext &ctx, const TrackParameters &parm, const Surface &sf, const MagneticFieldProperties &mprop, ParticleHypothesis particle=pion, const TrackingVolume *tVol=nullptr) const override final
 Intersection interface: The intersection interface might be used by the material service as well to estimate the surfaces (sensitive and nonesensitive) while propagation.
virtual void globalPositions (const EventContext &, std::deque< Amg::Vector3D > &, const TrackParameters &, const MagneticFieldProperties &, const CylinderBounds &, double, ParticleHypothesis, const TrackingVolume *) const override final
 GlobalPositions list interface: This is used mostly in pattern recognition in the road finder, the propagation direction is intrinsically given by the sign of the stepSize.
virtual std::optional< TrackSurfaceIntersectionintersectSurface (const EventContext &, const Surface &, const TrackSurfaceIntersection &, const double, const MagneticFieldProperties &, ParticleHypothesis) const override final
 Intersection and Intersector interface:
virtual std::unique_ptr< Trk::TrackParameterspropagateM (const EventContext &, const TrackParameters &, std::vector< DestSurf > &, PropDirection, const MagneticFieldProperties &, ParticleHypothesis, std::vector< unsigned int > &, std::vector< const Trk::TrackStateOnSurface * > *, std::vector< std::pair< std::unique_ptr< Trk::TrackParameters >, int > > *, double &, bool, bool, const Trk::TrackingVolume *, Trk::ExtrapolationCache *) const override final
 unimplemented propagateM
virtual Trk::MultiComponentState multiStatePropagate (const EventContext &, const MultiComponentState &, const Surface &, const MagneticFieldProperties &, const PropDirection, const BoundaryCheck &, const ParticleHypothesis) const override final
 unimplemented multiStatePropagate
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 sysInitialize () override
 Perform system initialization for an algorithm.
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

Static Public Member Functions

static const InterfaceID & interfaceID ()
 AlgTool and IAlgTool interface methods.

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

void createParameters (Cache &cache, const Surface &surface, const BoundaryCheck &boundsCheck, bool curvilinear) const
void findIntersection (Cache &cache, const TrackParameters &parameters, const Surface &surface, PropDirection dir=Trk::anyDirection) const
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey>

Private Attributes

ToolHandle< IIntersectorm_intersector
ToolHandle< IPropagatorm_linePropagator {this, "LinePropagator", ""}
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 23 of file IntersectorWrapper.h.

Member Typedef Documentation

◆ StoreGateSvc_t

typedef ServiceHandle<StoreGateSvc> AthCommonDataStore< AthCommonMsg< AlgTool > >::StoreGateSvc_t
privateinherited

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ IntersectorWrapper()

Trk::IntersectorWrapper::IntersectorWrapper ( const std::string & type,
const std::string & name,
const IInterface * parent )

Definition at line 31 of file IntersectorWrapper.cxx.

34 :AthAlgTool (type, name, parent)
35 {
36 declareInterface<Trk::IPropagator>(this);
37 }
AthAlgTool()
Default constructor:

◆ ~IntersectorWrapper()

Trk::IntersectorWrapper::~IntersectorWrapper ( void )
default

Member Function Documentation

◆ createParameters()

void Trk::IntersectorWrapper::createParameters ( Cache & cache,
const Surface & surface,
const BoundaryCheck & boundsCheck,
bool curvilinear ) const
private

Definition at line 163 of file IntersectorWrapper.cxx.

167{
168 cache.m_parameters = nullptr;
169 if (! cache.m_intersection) return;
170
171 // curvilinear special (simple) case
172 if (curvilinear)
173 {
174 cache.m_parameters=std::make_unique<CurvilinearParameters>(cache.m_intersection->position(),
175 cache.m_intersection->direction().phi(),
176 cache.m_intersection->direction().theta(),
177 cache.m_qOverP);
178 return;
179 }
180
181 cache.m_parameters=surface.createUniqueTrackParameters(cache.m_intersection->position(),
182 cache.m_intersection->direction(),
183 cache.m_charge,std::nullopt);
184 // unrecognized Surface
185 if( !cache.m_parameters ) ATH_MSG_WARNING( " Failed to create parameters " );
186}
#define ATH_MSG_WARNING(x)

◆ declareGaudiProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::evtStore ( )
inlineinherited

The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 85 of file AthCommonDataStore.h.

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< AlgTool > >::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

◆ finalize()

StatusCode Trk::IntersectorWrapper::finalize ( )
finaloverridevirtual

Definition at line 59 of file IntersectorWrapper.cxx.

60{
61 return StatusCode::SUCCESS;
62}

◆ findIntersection()

void Trk::IntersectorWrapper::findIntersection ( Cache & cache,
const TrackParameters & parameters,
const Surface & surface,
PropDirection dir = Trk::anyDirection ) const
private

Definition at line 189 of file IntersectorWrapper.cxx.

193{
194 cache.m_charge = parameters.charge();
195 cache.m_momentum = parameters.momentum();
196 cache.m_parameters= nullptr;
197 cache.m_position = Amg::Vector3D(parameters.position());
198 cache.m_qOverP = 1./cache.m_momentum.mag();
199 cache.m_intersection = std::make_optional<TrackSurfaceIntersection>(cache.m_position,cache.m_momentum*cache.m_qOverP,0.);
200 cache.m_qOverP *= cache.m_charge;
201
202 const TrackSurfaceIntersection oldIntersection = (*cache.m_intersection);
203 cache.m_intersection =
204 m_intersector->intersectSurface(surface, oldIntersection, cache.m_qOverP);
205 if (! cache.m_intersection)
206 {
207 ATH_MSG_DEBUG( " no intersection found " );
208 return;
209 }
210
211 // check for correct propagation direction
212 if ((dir == Trk::alongMomentum && cache.m_intersection->pathlength() < 0.)
213 || (dir == Trk::oppositeMomentum && cache.m_intersection->pathlength() > 0.))
214 {
215 if (msgLvl(MSG::DEBUG))
216 {
217 if (dir == Trk::alongMomentum)
218 {
219 ATH_MSG_DEBUG( " requested alongMomentum, but pathlength "
220 << cache.m_intersection->pathlength() );
221 }
222 else if (dir == Trk::oppositeMomentum)
223 {
224 ATH_MSG_DEBUG( " requested oppositeMomentum, but pathlength "
225 << cache.m_intersection->pathlength() );
226 }
227 }
228 cache.m_intersection=std::nullopt;
229 return;
230 }
231
232 ATH_MSG_DEBUG( std::setiosflags(std::ios::fixed)
233 << " intersection at r,phi,z "
234 << std::setw(10) << std::setprecision(1) << cache.m_intersection->position().perp()
235 << std::setw(9) << std::setprecision(4) << cache.m_intersection->position().phi()
236 << std::setw(10) << std::setprecision(1) << cache.m_intersection->position().z()
237 << " momentum "
238 << std::setw(9) << std::setprecision(3) << 1./std::abs(cache.m_qOverP*Gaudi::Units::GeV) );
239}
#define ATH_MSG_DEBUG(x)
bool msgLvl(const MSG::Level lvl) const
ToolHandle< IIntersector > m_intersector
Eigen::Matrix< double, 3, 1 > Vector3D
@ oppositeMomentum
@ alongMomentum

◆ globalPositions()

virtual void Trk::IntersectorWrapper::globalPositions ( const EventContext & ctx,
std::deque< Amg::Vector3D > & positionslist,
const TrackParameters & parm,
const MagneticFieldProperties & mprop,
const CylinderBounds & cylbo,
double stepSize,
ParticleHypothesis particle,
const TrackingVolume * tVol ) const
inlinefinaloverridevirtual

GlobalPositions list interface: This is used mostly in pattern recognition in the road finder, the propagation direction is intrinsically given by the sign of the stepSize.

To avoid memory fragmentation in multiple use of pattern recognition processes and respecting the possible iterative filling of the positions list, the list of GlobalPositions is given by reference through the signature and a void method has been chosen.

Implements Trk::IPropagator.

Definition at line 160 of file IntersectorWrapper.h.

168 {
169 ATH_MSG_ERROR("Call to non-implemented globalPositions");
170 return;
171 }
#define ATH_MSG_ERROR(x)

◆ initialize()

StatusCode Trk::IntersectorWrapper::initialize ( )
finaloverridevirtual

Definition at line 45 of file IntersectorWrapper.cxx.

45 {
46 // get the Tools
47
48 ATH_CHECK(m_intersector.retrieve());
49
50 ATH_MSG_VERBOSE( "Retrieved tool " << m_intersector );
51
52 if (!m_linePropagator.empty()) {
53 ATH_CHECK( m_linePropagator.retrieve());
54 }
55 return StatusCode::SUCCESS;
56}
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_VERBOSE(x)
ToolHandle< IPropagator > m_linePropagator

◆ inputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< AlgTool > >::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.

◆ interfaceID()

const InterfaceID & Trk::IPropagator::interfaceID ( )
inlinestaticinherited

AlgTool and IAlgTool interface methods.

Definition at line 61 of file IPropagator.h.

61{ return IID_IPropagator; }
static const InterfaceID IID_IPropagator("IPropagator", 1, 0)
Interface ID for IPropagators.

◆ intersect()

std::optional< Trk::TrackSurfaceIntersection > Trk::IntersectorWrapper::intersect ( const EventContext & ctx,
const TrackParameters & parm,
const Surface & sf,
const MagneticFieldProperties & mprop,
ParticleHypothesis particle = pion,
const TrackingVolume * tVol = nullptr ) const
finaloverridevirtual

Intersection interface: The intersection interface might be used by the material service as well to estimate the surfaces (sensitive and nonesensitive) while propagation.

Implements Trk::IPropagator.

Definition at line 147 of file IntersectorWrapper.cxx.

153{
154 Cache cache{};
155 findIntersection(cache,parameters,surface);
156 auto solution = cache.m_intersection;
157 return solution;
158}
void findIntersection(Cache &cache, const TrackParameters &parameters, const Surface &surface, PropDirection dir=Trk::anyDirection) const

◆ intersectSurface()

virtual std::optional< TrackSurfaceIntersection > Trk::IntersectorWrapper::intersectSurface ( const EventContext & ctx,
const Surface & surface,
const TrackSurfaceIntersection & trackIntersection,
const double qOverP,
const MagneticFieldProperties & mft,
ParticleHypothesis particle ) const
inlinefinaloverridevirtual

Intersection and Intersector interface:

Implements Trk::IPropagator.

Definition at line 174 of file IntersectorWrapper.h.

181 {
182 ATH_MSG_ERROR("Call to non-implemented intersectSurface");
183 return std::nullopt;
184 }

◆ msg()

MsgStream & AthCommonMsg< AlgTool >::msg ( ) const
inlineinherited

Definition at line 24 of file AthCommonMsg.h.

24 {
25 return this->msgStream();
26 }

◆ msgLvl()

bool AthCommonMsg< AlgTool >::msgLvl ( const MSG::Level lvl) const
inlineinherited

Definition at line 30 of file AthCommonMsg.h.

30 {
31 return this->msgLevel(lvl);
32 }

◆ multiStatePropagate()

virtual Trk::MultiComponentState Trk::IntersectorWrapper::multiStatePropagate ( const EventContext & ,
const MultiComponentState & ,
const Surface & ,
const MagneticFieldProperties & ,
const PropDirection ,
const BoundaryCheck & ,
const ParticleHypothesis  ) const
inlinefinaloverridevirtual

unimplemented multiStatePropagate

Implements Trk::IPropagator.

Definition at line 206 of file IntersectorWrapper.h.

214 {
215 ATH_MSG_ERROR("Call to non-implemented multiStatePropagate");
216 return {};
217 }

◆ outputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< AlgTool > >::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.

◆ propagate() [1/4]

virtual std::unique_ptr< TrackParameters > Trk::IntersectorWrapper::propagate ( const EventContext & ,
const TrackParameters & ,
std::vector< DestSurf > & ,
PropDirection ,
const MagneticFieldProperties & ,
ParticleHypothesis ,
std::vector< unsigned int > & ,
double & ,
bool ,
bool ,
const TrackingVolume *  ) const
inlinefinaloverridevirtual

Propagation interface: The propagation method called by the TrkExtrapolator.

The propagator finds the closest surface.

Implements Trk::IPropagator.

Definition at line 68 of file IntersectorWrapper.h.

80 {
81 ATH_MSG_ERROR("Call to non-implemented propagate");
82 return nullptr;
83 }

◆ propagate() [2/4]

std::unique_ptr< TrackParameters > Trk::IntersectorWrapper::propagate ( const EventContext & ctx,
const TrackParameters & parameters,
const Surface & surface,
PropDirection dir,
const BoundaryCheck & boundsCheck,
const MagneticFieldProperties & ,
std::optional< TransportJacobian > & ,
double & ,
ParticleHypothesis ,
bool curvilinear,
const TrackingVolume *  ) const
finaloverridevirtual

Propagation interface: The propagation method including the return of the TransportJacobian matrix.

Implements Trk::IPropagator.

Definition at line 92 of file IntersectorWrapper.cxx.

103{
104 Cache cache{};
105 findIntersection(cache,parameters,surface,dir);
106 createParameters(cache,surface,boundsCheck,curvilinear);
107 return std::move(cache.m_parameters);
108}
void createParameters(Cache &cache, const Surface &surface, const BoundaryCheck &boundsCheck, bool curvilinear) const

◆ propagate() [3/4]

std::unique_ptr< TrackParameters > Trk::IntersectorWrapper::propagate ( const EventContext & ctx,
const TrackParameters & parm,
const Surface & sf,
PropDirection dir,
const BoundaryCheck & bcheck,
const MagneticFieldProperties & mprop,
ParticleHypothesis particle,
bool returnCurv,
const TrackingVolume *  ) const
finaloverridevirtual

Propagation interface: The propagation method called by the TrkExtrapolator.

[TrackParameters]

is responsible for the underlying logic of which surface to go to.

Implements Trk::IPropagator.

Definition at line 75 of file IntersectorWrapper.cxx.

84{
85 Cache cache{};
86 findIntersection(cache,parameters,surface, dir);
87 createParameters(cache,surface,boundsCheck,curvilinear);
88 return std::move(cache.m_parameters);
89}

◆ propagate() [4/4]

std::unique_ptr< NeutralParameters > Trk::IntersectorWrapper::propagate ( const NeutralParameters & parameters,
const Surface & surface,
PropDirection dir,
const BoundaryCheck & boundsCheck,
bool curvilinear ) const
finaloverridevirtual

N 0) Neutral parameters method

  • returns a ParametersBase object as well, 0 if the extrapolation did not succeed

Implements Trk::IPropagator.

Definition at line 65 of file IntersectorWrapper.cxx.

70{
71 return m_linePropagator->propagate(parameters,surface,dir,boundsCheck,curvilinear);
72}

◆ propagateM()

virtual std::unique_ptr< Trk::TrackParameters > Trk::IntersectorWrapper::propagateM ( const EventContext & ,
const TrackParameters & ,
std::vector< DestSurf > & ,
PropDirection ,
const MagneticFieldProperties & ,
ParticleHypothesis ,
std::vector< unsigned int > & ,
std::vector< const Trk::TrackStateOnSurface * > * ,
std::vector< std::pair< std::unique_ptr< Trk::TrackParameters >, int > > * ,
double & ,
bool ,
bool ,
const Trk::TrackingVolume * ,
Trk::ExtrapolationCache *  ) const
inlinefinaloverridevirtual

unimplemented propagateM

Implements Trk::IPropagator.

Definition at line 186 of file IntersectorWrapper.h.

201 {
202 ATH_MSG_ERROR("Call to non-implemented propagateM");
203 return nullptr;
204 }

◆ propagateParameters() [1/2]

std::unique_ptr< TrackParameters > Trk::IntersectorWrapper::propagateParameters ( const EventContext & ctx,
const TrackParameters & parm,
const Surface & sf,
PropDirection dir,
const BoundaryCheck & bcheck,
const MagneticFieldProperties & mprop,
ParticleHypothesis particle = pion,
bool returnCurv = false,
const TrackingVolume * tVol = nullptr ) const
finaloverridevirtual

Propagation interface without Covariance matrix propagation the pathlength has to be returned for eventual following propagateCovariance.

Implements Trk::IPropagator.

Definition at line 111 of file IntersectorWrapper.cxx.

120{
121
122 Cache cache{};
123 findIntersection(cache,parameters,surface,dir);
124 createParameters(cache,surface,boundsCheck,curvilinear);
125 return std::move(cache.m_parameters);
126}

◆ propagateParameters() [2/2]

std::unique_ptr< TrackParameters > Trk::IntersectorWrapper::propagateParameters ( const EventContext & ctx,
const TrackParameters & parm,
const Surface & sf,
PropDirection dir,
const BoundaryCheck & bcheck,
const MagneticFieldProperties & mprop,
std::optional< TransportJacobian > & ,
ParticleHypothesis particle = pion,
bool returnCurv = false,
const TrackingVolume * tVol = nullptr ) const
finaloverridevirtual

implemented

Implements Trk::IPropagator.

Definition at line 129 of file IntersectorWrapper.cxx.

139{
140 Cache cache{};
141 findIntersection(cache,parameters,surface,dir);
142 createParameters(cache,surface,boundsCheck,curvilinear);
143 return std::move(cache.m_parameters);
144}

◆ propagateT()

virtual std::unique_ptr< TrackParameters > Trk::IntersectorWrapper::propagateT ( const EventContext & ctx,
const TrackParameters & parm,
std::vector< DestSurf > & sfs,
PropDirection dir,
const MagneticFieldProperties & mprop,
ParticleHypothesis particle,
std::vector< unsigned int > & solutions,
PathLimit & pathLim,
TimeLimit & timeLim,
bool returnCurv,
const TrackingVolume * tVol,
std::vector< Trk::HitInfo > *& hitVector ) const
inlinefinaloverridevirtual

Propagate parameters and covariance with search of closest surface time included.

Implements Trk::IPropagator.

Definition at line 86 of file IntersectorWrapper.h.

99 {
100 ATH_MSG_ERROR("Call to non-implemented propagate");
101 return nullptr;
102 }

◆ 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< AlgTool > >::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< AlgTool > >::renounceArray ( SG::VarHandleKeyArray & handlesArray)
inlineprotectedinherited

remove all handles from I/O resolution

Definition at line 364 of file AthCommonDataStore.h.

364 {
366 }

◆ sysInitialize()

virtual StatusCode AthCommonDataStore< AthCommonMsg< AlgTool > >::sysInitialize ( )
overridevirtualinherited

Perform system initialization for an algorithm.

We override this to declare all the elements of handle key arrays at the end of initialization. See comments on updateVHKA.

Reimplemented in asg::AsgMetadataTool, AthCheckedComponent< AthAlgTool >, AthCheckedComponent<::AthAlgTool >, and DerivationFramework::CfAthAlgTool.

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< AlgTool > >::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< AlgTool > >::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 }
std::vector< SG::VarHandleKeyArray * > m_vhka

Member Data Documentation

◆ m_detStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< AlgTool > >::m_detStore
privateinherited

Pointer to StoreGate (detector store by default)

Definition at line 393 of file AthCommonDataStore.h.

◆ m_evtStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< AlgTool > >::m_evtStore
privateinherited

Pointer to StoreGate (event store by default)

Definition at line 390 of file AthCommonDataStore.h.

◆ m_intersector

ToolHandle<IIntersector> Trk::IntersectorWrapper::m_intersector
private
Initial value:
{this, "Intersector",
"Trk::RungeKuttaIntersector/RungeKuttaIntersector"}

Definition at line 250 of file IntersectorWrapper.h.

250 {this, "Intersector",
251 "Trk::RungeKuttaIntersector/RungeKuttaIntersector"};

◆ m_linePropagator

ToolHandle<IPropagator> Trk::IntersectorWrapper::m_linePropagator {this, "LinePropagator", ""}
private

Definition at line 252 of file IntersectorWrapper.h.

252{this, "LinePropagator", ""};

◆ m_varHandleArraysDeclared

bool AthCommonDataStore< AthCommonMsg< AlgTool > >::m_varHandleArraysDeclared
privateinherited

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

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

Definition at line 398 of file AthCommonDataStore.h.


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