Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::Experimental::SingleObjectImpl< object_type, filler_type > Class Template Reference

This sets a single object, e.g. single surface or single volume. More...

#include <acts/blob/sPHENIX/Core/include/Acts/Navigation/NavigationStateUpdators.hpp>

+ Inheritance diagram for Acts::Experimental::SingleObjectImpl< object_type, filler_type >:
+ Collaboration diagram for Acts::Experimental::SingleObjectImpl< object_type, filler_type >:

Public Member Functions

 SingleObjectImpl (const object_type *so)
 
void update ([[maybe_unused]] const GeometryContext &gctx, NavigationState &nState) const
 updates the navigation state with a single object that is filled in
 
- Public Member Functions inherited from Acts::Experimental::INavigationDelegate
virtual ~INavigationDelegate ()=default
 

Private Attributes

const object_type * object = nullptr
 

Detailed Description

template<typename object_type, typename filler_type>
class Acts::Experimental::SingleObjectImpl< object_type, filler_type >

This sets a single object, e.g. single surface or single volume.

Template Parameters
object_typethe type of the object to be filled
filler_typeis the helper to fill the object into nState

Definition at line 60 of file NavigationStateUpdators.hpp.

View newest version in sPHENIX GitHub at line 60 of file NavigationStateUpdators.hpp

Constructor & Destructor Documentation

template<typename object_type , typename filler_type >
Acts::Experimental::SingleObjectImpl< object_type, filler_type >::SingleObjectImpl ( const object_type *  so)
inline

Convenience constructor

Parameters
sothe single object

Definition at line 64 of file NavigationStateUpdators.hpp.

View newest version in sPHENIX GitHub at line 64 of file NavigationStateUpdators.hpp

Member Function Documentation

template<typename object_type , typename filler_type >
void Acts::Experimental::SingleObjectImpl< object_type, filler_type >::update ( [[maybe_unused] ] const GeometryContext gctx,
NavigationState nState 
) const
inline

updates the navigation state with a single object that is filled in

Parameters
gctxis the Geometry context of this call
nStatethe navigation state to which the surfaces are attached
Note
this is attaching objects without intersecting nor checking

Definition at line 72 of file NavigationStateUpdators.hpp.

View newest version in sPHENIX GitHub at line 72 of file NavigationStateUpdators.hpp

Referenced by BOOST_AUTO_TEST_CASE().

+ Here is the caller graph for this function:

Member Data Documentation

template<typename object_type , typename filler_type >
const object_type* Acts::Experimental::SingleObjectImpl< object_type, filler_type >::object = nullptr
private

Definition at line 79 of file NavigationStateUpdators.hpp.

View newest version in sPHENIX GitHub at line 79 of file NavigationStateUpdators.hpp


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