Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ActsExamples::VertexFitterAlgorithm Exception Referencefinal

#include <acts/blob/sPHENIX/Examples/Algorithms/Vertexing/include/ActsExamples/Vertexing/VertexFitterAlgorithm.hpp>

+ Inheritance diagram for ActsExamples::VertexFitterAlgorithm:
+ Collaboration diagram for ActsExamples::VertexFitterAlgorithm:

Classes

struct  Config
 

Public Types

using Propagator = Acts::Propagator< Acts::EigenStepper<>>
 
using PropagatorOptions = Acts::PropagatorOptions<>
 
using Linearizer = Acts::HelicalTrackLinearizer< Propagator >
 
using VertexFitter = Acts::FullBilloirVertexFitter< Acts::BoundTrackParameters, Linearizer >
 
using VertexFitterOptions = Acts::VertexingOptions< Acts::BoundTrackParameters >
 
using VertexCollection = std::vector< Acts::Vertex< Acts::BoundTrackParameters >>
 

Public Member Functions

 VertexFitterAlgorithm (const Config &cfg, Acts::Logging::Level lvl)
 
ProcessCode execute (const AlgorithmContext &ctx) const final
 
const Configconfig () const
 Get readonly access to the config parameters.
 
- Public Member Functions inherited from ActsExamples::IAlgorithm
 IAlgorithm (std::string name, Acts::Logging::Level level=Acts::Logging::INFO)
 
std::string name () const override
 The algorithm name.
 
ProcessCode internalExecute (const AlgorithmContext &context) final
 
ProcessCode initialize () override
 Initialize the algorithm.
 
ProcessCode finalize () override
 Finalize the algorithm.
 

Private Attributes

Config m_cfg
 
ReadDataHandle< std::vector
< Acts::BoundTrackParameters > > 
m_inputTrackParameters {this, "InputTrackParameters"}
 
ReadDataHandle
< TrajectoriesContainer
m_inputTrajectories
 
ReadDataHandle
< ProtoVertexContainer
m_inputProtoVertices
 
WriteDataHandle< VertexCollectionm_outputVertices {this, "OutputVertices"}
 

Additional Inherited Members

- Protected Member Functions inherited from ActsExamples::IAlgorithm
const Acts::Loggerlogger () const
 

Detailed Description

Definition at line 46 of file VertexFitterAlgorithm.hpp.

View newest version in sPHENIX GitHub at line 46 of file VertexFitterAlgorithm.hpp

Member Typedef Documentation

Definition at line 50 of file VertexFitterAlgorithm.hpp.

View newest version in sPHENIX GitHub at line 50 of file VertexFitterAlgorithm.hpp

Definition at line 48 of file VertexFitterAlgorithm.hpp.

View newest version in sPHENIX GitHub at line 48 of file VertexFitterAlgorithm.hpp

Definition at line 49 of file VertexFitterAlgorithm.hpp.

View newest version in sPHENIX GitHub at line 49 of file VertexFitterAlgorithm.hpp

Definition at line 57 of file VertexFitterAlgorithm.hpp.

View newest version in sPHENIX GitHub at line 57 of file VertexFitterAlgorithm.hpp

Constructor & Destructor Documentation

Member Function Documentation

const Config& ActsExamples::VertexFitterAlgorithm::config ( ) const
inline

Get readonly access to the config parameters.

Definition at line 92 of file VertexFitterAlgorithm.hpp.

View newest version in sPHENIX GitHub at line 92 of file VertexFitterAlgorithm.hpp

References m_cfg.

ActsExamples::ProcessCode ActsExamples::VertexFitterAlgorithm::execute ( const AlgorithmContext ctx) const
finalvirtual

Fit the input vertices.

Parameters
ctxis the algorithm context with event information
Returns
a process code indication success or failure

Implements ActsExamples::IAlgorithm.

Definition at line 44 of file VertexFitterAlgorithm.cpp.

View newest version in sPHENIX GitHub at line 44 of file VertexFitterAlgorithm.cpp

References ACTS_DEBUG, ACTS_ERROR, ACTS_INFO, ACTS_VERBOSE, Acts::Logger::cloneWithSuffix(), Acts::FullBilloirVertexFitter< input_track_t, linearizer_t >::fit(), ActsExamples::AlgorithmContext::geoContext, logger(), m_cfg(), ActsExamples::AlgorithmContext::magFieldContext, ActsExamples::makeParameterContainers(), testing::internal::move(), Acts::Vertex< input_track_t >::setFullCovariance(), Acts::Vertex< input_track_t >::setFullPosition(), filter::state, propagation_timing::stepper, and SUCCESS.

+ Here is the call graph for this function:

Member Data Documentation

Config ActsExamples::VertexFitterAlgorithm::m_cfg
private

Definition at line 95 of file VertexFitterAlgorithm.hpp.

View newest version in sPHENIX GitHub at line 95 of file VertexFitterAlgorithm.hpp

Referenced by config(), and VertexFitterAlgorithm().

ReadDataHandle<ProtoVertexContainer> ActsExamples::VertexFitterAlgorithm::m_inputProtoVertices
private
Initial value:
{
this, "InputProtoVertices"}

Definition at line 103 of file VertexFitterAlgorithm.hpp.

View newest version in sPHENIX GitHub at line 103 of file VertexFitterAlgorithm.hpp

Referenced by VertexFitterAlgorithm().

ReadDataHandle<std::vector<Acts::BoundTrackParameters> > ActsExamples::VertexFitterAlgorithm::m_inputTrackParameters {this, "InputTrackParameters"}
private

Definition at line 98 of file VertexFitterAlgorithm.hpp.

View newest version in sPHENIX GitHub at line 98 of file VertexFitterAlgorithm.hpp

Referenced by VertexFitterAlgorithm().

ReadDataHandle<TrajectoriesContainer> ActsExamples::VertexFitterAlgorithm::m_inputTrajectories
private
Initial value:
{
this, "InputTrajectories"}

Definition at line 100 of file VertexFitterAlgorithm.hpp.

View newest version in sPHENIX GitHub at line 100 of file VertexFitterAlgorithm.hpp

Referenced by VertexFitterAlgorithm().

WriteDataHandle<VertexCollection> ActsExamples::VertexFitterAlgorithm::m_outputVertices {this, "OutputVertices"}
private

Definition at line 106 of file VertexFitterAlgorithm.hpp.

View newest version in sPHENIX GitHub at line 106 of file VertexFitterAlgorithm.hpp

Referenced by VertexFitterAlgorithm().


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