|  | 
								EIC Software
							 
								Reference for 
								EIC 
								simulation and reconstruction software on GitHub
							 | 
 Inheritance diagram for ActsExamples::TrackFitterPerformanceWriter:
 Inheritance diagram for ActsExamples::TrackFitterPerformanceWriter: Collaboration diagram for ActsExamples::TrackFitterPerformanceWriter:
 Collaboration diagram for ActsExamples::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 ActsExamples::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 ActsExamples::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 ActsExamples::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
| ActsExamples::TrackFitterPerformanceWriter::TrackFitterPerformanceWriter | ( | Config | cfg, | 
| Acts::Logging::Level | lvl | ||
| ) | 
Construct from configuration and log level.
Definition at line 23 of file TrackFitterPerformanceWriter.cpp.
View newest version in sPHENIX GitHub at line 23 of file TrackFitterPerformanceWriter.cpp
References ActsExamples::EffPlotTool::book(), ActsExamples::TrackSummaryPlotTool::book(), ActsExamples::ResPlotTool::book(), ActsExamples::TrackFitterPerformanceWriter::Config::inputParticles, ActsExamples::TrackFitterPerformanceWriter::Config::inputTrajectories, ActsExamples::joinPaths(), m_cfg, m_effPlotCache, m_effPlotTool, m_outputFile, m_resPlotCache, m_resPlotTool, m_trackSummaryPlotCache, m_trackSummaryPlotTool, ActsExamples::TrackFitterPerformanceWriter::Config::outputDir, and ActsExamples::TrackFitterPerformanceWriter::Config::outputFilename.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | override | 
Definition at line 59 of file TrackFitterPerformanceWriter.cpp.
View newest version in sPHENIX GitHub at line 59 of file TrackFitterPerformanceWriter.cpp
| 
 | finaloverridevirtual | 
Finalize plots.
Implements ActsExamples::IWriter.
Definition at line 69 of file TrackFitterPerformanceWriter.cpp.
View newest version in sPHENIX GitHub at line 69 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 ActsExamples::WriterT< TrajectoryContainer >.
Definition at line 84 of file TrackFitterPerformanceWriter.cpp.
View newest version in sPHENIX GitHub at line 84 of file TrackFitterPerformanceWriter.cpp
References ACTS_ERROR, ACTS_WARNING, ActsExamples::AlgorithmContext::eventStore, ActsExamples::AlgorithmContext::geoContext, ActsExamples::WhiteBoard::get(), ip(), it, particle, SUCCESS, and Acts::MultiTrajectoryHelpers::trajectoryState().
 Here is the call graph for this function:
 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