ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FW::SimSourceLink Class Reference

#include <acts/blob/master/Examples/Framework/include/ACTFW/EventData/SimSourceLink.hpp>

+ Collaboration diagram for FW::SimSourceLink:

Public Member Functions

 SimSourceLink (const Acts::Surface &surface, const ActsFatras::Hit &truthHit, size_t dim, Acts::BoundVector values, Acts::BoundMatrix cov)
 
 SimSourceLink ()=default
 Must be default_constructible to satisfy SourceLinkConcept.
 
 SimSourceLink (SimSourceLink &&)=default
 
 SimSourceLink (const SimSourceLink &)=default
 
SimSourceLinkoperator= (SimSourceLink &&)=default
 
SimSourceLinkoperator= (const SimSourceLink &)=default
 
constexpr Acts::GeometryID geometryId () const
 
constexpr const Acts::SurfacereferenceSurface () const
 
constexpr const ActsFatras::HittruthHit () const
 
Acts::FittableMeasurement
< SimSourceLink
operator* () const
 

Private Attributes

Acts::BoundVector m_values
 
Acts::BoundMatrix m_cov
 
size_t m_dim = 0u
 
Acts::GeometryID m_geometryId
 
const Acts::Surfacem_surface
 
const ActsFatras::Hitm_truthHit
 

Friends

constexpr bool operator== (const SimSourceLink &lhs, const SimSourceLink &rhs)
 

Detailed Description

Source link class for simulation in the acts-framework.

The source link stores the measuremts, surface, and the associated simulated truth hit.

Definition at line 26 of file SimSourceLink.hpp.

View newest version in sPHENIX GitHub at line 26 of file SimSourceLink.hpp

Constructor & Destructor Documentation

FW::SimSourceLink::SimSourceLink ( const Acts::Surface surface,
const ActsFatras::Hit truthHit,
size_t  dim,
Acts::BoundVector  values,
Acts::BoundMatrix  cov 
)
inline

Definition at line 28 of file SimSourceLink.hpp.

View newest version in sPHENIX GitHub at line 28 of file SimSourceLink.hpp

FW::SimSourceLink::SimSourceLink ( )
default

Must be default_constructible to satisfy SourceLinkConcept.

Referenced by operator*().

+ Here is the caller graph for this function:

FW::SimSourceLink::SimSourceLink ( SimSourceLink &&  )
default
FW::SimSourceLink::SimSourceLink ( const SimSourceLink )
default

Member Function Documentation

constexpr Acts::GeometryID FW::SimSourceLink::geometryId ( ) const
inline

Definition at line 43 of file SimSourceLink.hpp.

View newest version in sPHENIX GitHub at line 43 of file SimSourceLink.hpp

References m_geometryId.

Acts::FittableMeasurement<SimSourceLink> FW::SimSourceLink::operator* ( ) const
inline

Definition at line 47 of file SimSourceLink.hpp.

View newest version in sPHENIX GitHub at line 47 of file SimSourceLink.hpp

References Acts::eLOC_0, Acts::eLOC_1, Acts::Surface::getSharedPtr(), m_cov, m_dim, m_surface, m_values, SimSourceLink(), and nlohmann::to_string().

+ Here is the call graph for this function:

SimSourceLink& FW::SimSourceLink::operator= ( SimSourceLink &&  )
default
SimSourceLink& FW::SimSourceLink::operator= ( const SimSourceLink )
default
constexpr const Acts::Surface& FW::SimSourceLink::referenceSurface ( ) const
inline

Definition at line 44 of file SimSourceLink.hpp.

View newest version in sPHENIX GitHub at line 44 of file SimSourceLink.hpp

References m_surface.

constexpr const ActsFatras::Hit& FW::SimSourceLink::truthHit ( ) const
inline

Definition at line 45 of file SimSourceLink.hpp.

View newest version in sPHENIX GitHub at line 45 of file SimSourceLink.hpp

References m_truthHit.

Friends And Related Function Documentation

constexpr bool operator== ( const SimSourceLink lhs,
const SimSourceLink rhs 
)
friend

Definition at line 75 of file SimSourceLink.hpp.

View newest version in sPHENIX GitHub at line 75 of file SimSourceLink.hpp

Member Data Documentation

Acts::BoundMatrix FW::SimSourceLink::m_cov
private

Definition at line 67 of file SimSourceLink.hpp.

View newest version in sPHENIX GitHub at line 67 of file SimSourceLink.hpp

Referenced by operator*().

size_t FW::SimSourceLink::m_dim = 0u
private

Definition at line 68 of file SimSourceLink.hpp.

View newest version in sPHENIX GitHub at line 68 of file SimSourceLink.hpp

Referenced by operator*().

Acts::GeometryID FW::SimSourceLink::m_geometryId
private

Definition at line 70 of file SimSourceLink.hpp.

View newest version in sPHENIX GitHub at line 70 of file SimSourceLink.hpp

Referenced by geometryId().

const Acts::Surface* FW::SimSourceLink::m_surface
private

Definition at line 72 of file SimSourceLink.hpp.

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

Referenced by operator*(), and referenceSurface().

const ActsFatras::Hit* FW::SimSourceLink::m_truthHit
private

Definition at line 73 of file SimSourceLink.hpp.

View newest version in sPHENIX GitHub at line 73 of file SimSourceLink.hpp

Referenced by truthHit().

Acts::BoundVector FW::SimSourceLink::m_values
private

Definition at line 66 of file SimSourceLink.hpp.

View newest version in sPHENIX GitHub at line 66 of file SimSourceLink.hpp

Referenced by operator*().


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