Analysis Software
Documentation for sPHENIX simulation software
|
Classes | |
struct | Config |
Public Member Functions | |
EDM4hepMultiTrajectoryWriter (const Config &config, Acts::Logging::Level level=Acts::Logging::INFO) | |
ProcessCode | finalize () final |
Finalize the algorithm. | |
const Config & | config () const |
Readonly access to the config. | |
Public Member Functions inherited from ActsExamples::WriterT< TrajectoriesContainer > | |
WriterT (std::string objectName, std::string writerName, Acts::Logging::Level level) | |
std::string | name () const override |
Provide the name of the writer. | |
ProcessCode | write (const AlgorithmContext &context) override |
Read the object and call the type-specific member function. | |
ProcessCode | finalize () override |
No-op default implementation. | |
Public Member Functions inherited from ActsExamples::IWriter | |
ProcessCode | internalExecute (const AlgorithmContext &context) final |
ProcessCode | initialize () override |
Fulfil the algorithm interface. | |
Public Member Functions inherited from ActsExamples::SequenceElement | |
virtual | ~SequenceElement ()=default |
const std::vector< const DataHandleBase * > & | writeHandles () const |
const std::vector< const DataHandleBase * > & | readHandles () const |
Protected Member Functions | |
ProcessCode | writeT (const AlgorithmContext &context, const TrajectoriesContainer &trajectories) final |
Write method called by the base class. | |
Protected Member Functions inherited from ActsExamples::WriterT< TrajectoriesContainer > | |
const Acts::Logger & | logger () const |
Private Attributes | |
Config | m_cfg |
podio::ROOTFrameWriter | m_writer |
ReadDataHandle< IndexMultimap < ActsFatras::Barcode > > | m_inputMeasurementParticlesMap {this, "InputMeasurementParticlesMaps"} |
Write out the tracks reconstructed using Combinatorial Kalman Filter to EDM4hep.
Inpersistent information:
Known issues:
Definition at line 34 of file EDM4hepMultiTrajectoryWriter.hpp.
View newest version in sPHENIX GitHub at line 34 of file EDM4hepMultiTrajectoryWriter.hpp
ActsExamples::EDM4hepMultiTrajectoryWriter::EDM4hepMultiTrajectoryWriter | ( | const Config & | config, |
Acts::Logging::Level | level = Acts::Logging::INFO |
||
) |
constructor
config | is the configuration object |
level | is the output logging level |
Definition at line 22 of file EDM4hepMultiTrajectoryWriter.cpp.
View newest version in sPHENIX GitHub at line 22 of file EDM4hepMultiTrajectoryWriter.cpp
References ActsExamples::ReadDataHandle< T >::initialize(), ActsExamples::EDM4hepMultiTrajectoryWriter::Config::inputMeasurementParticlesMap, ActsExamples::EDM4hepMultiTrajectoryWriter::Config::inputTrajectories, m_cfg, and m_inputMeasurementParticlesMap.
|
inline |
Readonly access to the config.
Definition at line 59 of file EDM4hepMultiTrajectoryWriter.hpp.
View newest version in sPHENIX GitHub at line 59 of file EDM4hepMultiTrajectoryWriter.hpp
References m_cfg.
|
finalvirtual |
Finalize the algorithm.
Implements ActsExamples::SequenceElement.
Definition at line 40 of file EDM4hepMultiTrajectoryWriter.cpp.
View newest version in sPHENIX GitHub at line 40 of file EDM4hepMultiTrajectoryWriter.cpp
|
finalprotectedvirtual |
Write method called by the base class.
[in] | context | is the algorithm context for consistency |
[in] | tracks | is the track collection |
Implements ActsExamples::WriterT< TrajectoriesContainer >.
Definition at line 46 of file EDM4hepMultiTrajectoryWriter.cpp.
View newest version in sPHENIX GitHub at line 46 of file EDM4hepMultiTrajectoryWriter.cpp
References ActsExamples::EDM4hepMultiTrajectoryWriter::Config::Bz, ActsExamples::AlgorithmContext::geoContext, m_cfg, m_inputMeasurementParticlesMap, m_writer, testing::internal::move(), ActsExamples::EDM4hepMultiTrajectoryWriter::Config::particleHypothesis, SUCCESS, and ActsExamples::EDM4hepUtil::writeTrajectory().
|
private |
Definition at line 69 of file EDM4hepMultiTrajectoryWriter.hpp.
View newest version in sPHENIX GitHub at line 69 of file EDM4hepMultiTrajectoryWriter.hpp
Referenced by config(), EDM4hepMultiTrajectoryWriter(), and writeT().
|
private |
Definition at line 74 of file EDM4hepMultiTrajectoryWriter.hpp.
View newest version in sPHENIX GitHub at line 74 of file EDM4hepMultiTrajectoryWriter.hpp
Referenced by EDM4hepMultiTrajectoryWriter(), and writeT().
|
private |
Definition at line 71 of file EDM4hepMultiTrajectoryWriter.hpp.
View newest version in sPHENIX GitHub at line 71 of file EDM4hepMultiTrajectoryWriter.hpp
Referenced by finalize(), and writeT().