![]() |
ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <acts/blob/master/Examples/Io/Performance/ACTFW/Io/Performance/TrackFitterPerformanceWriter.hpp>
Inheritance diagram for FW::TrackFitterPerformanceWriter:
Collaboration diagram for FW::TrackFitterPerformanceWriter:Classes | |
| struct | Config |
Public Member Functions | |
| TrackFitterPerformanceWriter (Config cfg, Acts::Logging::Level lvl) | |
| Construct from configuration and log level. | |
| ~TrackFitterPerformanceWriter () override | |
| ProcessCode | endRun () finaloverride |
| Finalize plots. | |
Public Member Functions inherited from FW::WriterT< TrajectoryContainer > | |
| WriterT (std::string objectName, std::string writerName, Acts::Logging::Level level) | |
| std::string | name () const finaloverride |
| Provide the name of the writer. | |
| ProcessCode | write (const AlgorithmContext &context) finaloverride |
| Read the object and call the type-specific member function. | |
| ProcessCode | endRun () override |
| No-op default implementation. | |
Public Member Functions inherited from FW::IWriter | |
| virtual | ~IWriter ()=default |
Private Member Functions | |
| ProcessCode | writeT (const AlgorithmContext &ctx, const TrajectoryContainer &trajectories) finaloverride |
Private Attributes | |
| Config | m_cfg |
| std::mutex | m_writeMutex |
| Mutex used to protect multi-threaded writes. | |
| TFile * | m_outputFile {nullptr} |
| ResPlotTool | m_resPlotTool |
| Plot tool for residuals and pulls. | |
| ResPlotTool::ResPlotCache | m_resPlotCache |
| EffPlotTool | m_effPlotTool |
| Plot tool for efficiency. | |
| EffPlotTool::EffPlotCache | m_effPlotCache |
| TrackSummaryPlotTool | m_trackSummaryPlotTool |
| Plot tool for track hit info. | |
| TrackSummaryPlotTool::TrackSummaryPlotCache | m_trackSummaryPlotCache |
Additional Inherited Members | |
Protected Member Functions inherited from FW::WriterT< TrajectoryContainer > | |
| const Acts::Logger & | logger () const |
Write out the residual and pull of track parameters and efficiency.
Efficiency here is the fraction of smoothed tracks compared to all tracks.
A common file can be provided for to the writer to attach his TTree, this is done by setting the Config::rootFile pointer to an existing file
Safe to use from multiple writer threads - uses a std::mutex lock.
Definition at line 32 of file TrackFitterPerformanceWriter.hpp.
View newest version in sPHENIX GitHub at line 32 of file TrackFitterPerformanceWriter.hpp
| FW::TrackFitterPerformanceWriter::TrackFitterPerformanceWriter | ( | Config | cfg, |
| Acts::Logging::Level | lvl | ||
| ) |
Construct from configuration and log level.
Definition at line 21 of file TrackFitterPerformanceWriter.cpp.
View newest version in sPHENIX GitHub at line 21 of file TrackFitterPerformanceWriter.cpp
References FW::EffPlotTool::book(), FW::TrackSummaryPlotTool::book(), FW::ResPlotTool::book(), FW::TrackFitterPerformanceWriter::Config::inputParticles, FW::TrackFitterPerformanceWriter::Config::inputTrajectories, FW::joinPaths(), m_cfg, m_effPlotCache, m_effPlotTool, m_outputFile, m_resPlotCache, m_resPlotTool, m_trackSummaryPlotCache, m_trackSummaryPlotTool, FW::TrackFitterPerformanceWriter::Config::outputDir, and FW::TrackFitterPerformanceWriter::Config::outputFilename.
Here is the call graph for this function:
|
override |
Definition at line 56 of file TrackFitterPerformanceWriter.cpp.
View newest version in sPHENIX GitHub at line 56 of file TrackFitterPerformanceWriter.cpp
|
finaloverridevirtual |
Finalize plots.
Implements FW::IWriter.
Definition at line 66 of file TrackFitterPerformanceWriter.cpp.
View newest version in sPHENIX GitHub at line 66 of file TrackFitterPerformanceWriter.cpp
|
finaloverrideprivatevirtual |
Type-specific write function implementation this method is implemented in the user implementation
| [in] | context | is the algorithm context that guarantees event consistency |
| [in] | is the templeted collection to be written |
Implements FW::WriterT< TrajectoryContainer >.
Definition at line 81 of file TrackFitterPerformanceWriter.cpp.
View newest version in sPHENIX GitHub at line 81 of file TrackFitterPerformanceWriter.cpp
References FW::AlgorithmContext::eventStore, FW::AlgorithmContext::geoContext, FW::WhiteBoard::get(), Acts::HoleFlag, it, Acts::MeasurementFlag, Acts::OutlierFlag, particle, SUCCESS, and track.
Here is the call graph for this function:
|
private |
Definition at line 60 of file TrackFitterPerformanceWriter.hpp.
View newest version in sPHENIX GitHub at line 60 of file TrackFitterPerformanceWriter.hpp
Referenced by TrackFitterPerformanceWriter().
|
private |
Definition at line 69 of file TrackFitterPerformanceWriter.hpp.
View newest version in sPHENIX GitHub at line 69 of file TrackFitterPerformanceWriter.hpp
Referenced by TrackFitterPerformanceWriter().
|
private |
Plot tool for efficiency.
Definition at line 68 of file TrackFitterPerformanceWriter.hpp.
View newest version in sPHENIX GitHub at line 68 of file TrackFitterPerformanceWriter.hpp
Referenced by TrackFitterPerformanceWriter().
|
private |
Definition at line 63 of file TrackFitterPerformanceWriter.hpp.
View newest version in sPHENIX GitHub at line 63 of file TrackFitterPerformanceWriter.hpp
Referenced by TrackFitterPerformanceWriter().
|
private |
Definition at line 66 of file TrackFitterPerformanceWriter.hpp.
View newest version in sPHENIX GitHub at line 66 of file TrackFitterPerformanceWriter.hpp
Referenced by TrackFitterPerformanceWriter().
|
private |
Plot tool for residuals and pulls.
Definition at line 65 of file TrackFitterPerformanceWriter.hpp.
View newest version in sPHENIX GitHub at line 65 of file TrackFitterPerformanceWriter.hpp
Referenced by TrackFitterPerformanceWriter().
|
private |
Definition at line 72 of file TrackFitterPerformanceWriter.hpp.
View newest version in sPHENIX GitHub at line 72 of file TrackFitterPerformanceWriter.hpp
Referenced by TrackFitterPerformanceWriter().
|
private |
Plot tool for track hit info.
Definition at line 71 of file TrackFitterPerformanceWriter.hpp.
View newest version in sPHENIX GitHub at line 71 of file TrackFitterPerformanceWriter.hpp
Referenced by TrackFitterPerformanceWriter().
|
private |
Mutex used to protect multi-threaded writes.
Definition at line 62 of file TrackFitterPerformanceWriter.hpp.
View newest version in sPHENIX GitHub at line 62 of file TrackFitterPerformanceWriter.hpp