![]() |
EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <acts/blob/sPHENIX/Examples/Framework/include/ActsExamples/Validation/ResPlotTool.hpp>
Collaboration diagram for ActsExamples::ResPlotTool:Classes | |
| struct | Config |
| Nested configuration struct. More... | |
| struct | ResPlotCache |
| Nested Cache struct. More... | |
Public Member Functions | |
| ResPlotTool (const Config &cfg, Acts::Logging::Level lvl) | |
| void | book (ResPlotCache &resPlotCache) const |
| book the histograms | |
| void | fill (ResPlotCache &resPlotCache, const Acts::GeometryContext &gctx, const ActsFatras::Particle &truthParticle, const Acts::BoundTrackParameters &fittedParamters) const |
| fill the histograms | |
| void | refinement (ResPlotCache &resPlotCache) const |
| extract the details of the residual/pull plots and fill details | |
| void | write (const ResPlotCache &resPlotCache) const |
| write the histograms to output file | |
| void | clear (ResPlotCache &resPlotCache) const |
| delele the histograms | |
Private Member Functions | |
| const Acts::Logger & | logger () const |
| The logger. | |
Private Attributes | |
| Config | m_cfg |
| The config class. | |
| std::unique_ptr< const Acts::Logger > | m_logger |
| The logging instance. | |
Definition at line 26 of file ResPlotTool.hpp.
View newest version in sPHENIX GitHub at line 26 of file ResPlotTool.hpp
| ActsExamples::ResPlotTool::ResPlotTool | ( | const Config & | cfg, |
| Acts::Logging::Level | lvl | ||
| ) |
Constructor
| cfg | Configuration struct |
| level | Message level declaration |
Definition at line 14 of file ResPlotTool.cpp.
View newest version in sPHENIX GitHub at line 14 of file ResPlotTool.cpp
| void ActsExamples::ResPlotTool::book | ( | ResPlotTool::ResPlotCache & | resPlotCache | ) | const |
book the histograms
| resPlotCache | the cache for residual/pull histograms |
Definition at line 18 of file ResPlotTool.cpp.
View newest version in sPHENIX GitHub at line 18 of file ResPlotTool.cpp
References ACTS_DEBUG, ActsExamples::PlotHelpers::bookHisto(), Acts::eBoundSize, ActsExamples::ResPlotTool::ResPlotCache::pull, ActsExamples::ResPlotTool::ResPlotCache::pull_vs_eta, ActsExamples::ResPlotTool::ResPlotCache::pull_vs_pT, ActsExamples::ResPlotTool::ResPlotCache::pullMean_vs_eta, ActsExamples::ResPlotTool::ResPlotCache::pullMean_vs_pT, ActsExamples::ResPlotTool::ResPlotCache::pullWidth_vs_eta, ActsExamples::ResPlotTool::ResPlotCache::pullWidth_vs_pT, ActsExamples::ResPlotTool::ResPlotCache::res, ActsExamples::ResPlotTool::ResPlotCache::res_vs_eta, ActsExamples::ResPlotTool::ResPlotCache::res_vs_pT, ActsExamples::ResPlotTool::ResPlotCache::resMean_vs_eta, ActsExamples::ResPlotTool::ResPlotCache::resMean_vs_pT, ActsExamples::ResPlotTool::ResPlotCache::resWidth_vs_eta, and ActsExamples::ResPlotTool::ResPlotCache::resWidth_vs_pT.
Referenced by ActsExamples::TrackFitterPerformanceWriter::TrackFitterPerformanceWriter().
Here is the call graph for this function:
Here is the caller graph for this function:| void ActsExamples::ResPlotTool::clear | ( | ResPlotCache & | resPlotCache | ) | const |
delele the histograms
| resPlotCache | the cache object for residual/pull histograms |
Definition at line 92 of file ResPlotTool.cpp.
View newest version in sPHENIX GitHub at line 92 of file ResPlotTool.cpp
References ACTS_DEBUG, Acts::eBoundSize, ActsExamples::ResPlotTool::ResPlotCache::pull, ActsExamples::ResPlotTool::ResPlotCache::pull_vs_eta, ActsExamples::ResPlotTool::ResPlotCache::pull_vs_pT, ActsExamples::ResPlotTool::ResPlotCache::pullMean_vs_eta, ActsExamples::ResPlotTool::ResPlotCache::pullMean_vs_pT, ActsExamples::ResPlotTool::ResPlotCache::pullWidth_vs_eta, ActsExamples::ResPlotTool::ResPlotCache::pullWidth_vs_pT, ActsExamples::ResPlotTool::ResPlotCache::res, ActsExamples::ResPlotTool::ResPlotCache::res_vs_eta, ActsExamples::ResPlotTool::ResPlotCache::res_vs_pT, ActsExamples::ResPlotTool::ResPlotCache::resMean_vs_eta, ActsExamples::ResPlotTool::ResPlotCache::resMean_vs_pT, ActsExamples::ResPlotTool::ResPlotCache::resWidth_vs_eta, and ActsExamples::ResPlotTool::ResPlotCache::resWidth_vs_pT.
| void ActsExamples::ResPlotTool::fill | ( | ResPlotTool::ResPlotCache & | resPlotCache, |
| const Acts::GeometryContext & | gctx, | ||
| const ActsFatras::Particle & | truthParticle, | ||
| const Acts::BoundTrackParameters & | fittedParamters | ||
| ) | const |
fill the histograms
| resPlotCache | the cache for residual/pull histograms |
| gctx | the geometry context |
| truthParticle | the truth particle |
| fittedParamters | the fitted parameters at perigee surface |
Definition at line 135 of file ResPlotTool.cpp.
View newest version in sPHENIX GitHub at line 135 of file ResPlotTool.cpp
References ActsFatras::Particle::absMomentum(), ACTS_ERROR, ACTS_WARNING, ActsFatras::Particle::charge(), Acts::SingleBoundTrackParameters< charge_t >::covariance(), Acts::eBoundLoc0, Acts::eBoundLoc1, Acts::eBoundPhi, Acts::eBoundQOverP, Acts::eBoundSize, Acts::eBoundTheta, Acts::eBoundTime, Acts::VectorHelpers::eta(), ActsExamples::PlotHelpers::fillHisto(), Acts::SingleBoundTrackParameters< charge_t >::parameters(), Acts::VectorHelpers::perp(), Acts::VectorHelpers::phi(), phi, ActsFatras::Particle::position(), ActsExamples::ResPlotTool::ResPlotCache::pull, ActsExamples::ResPlotTool::ResPlotCache::pull_vs_eta, ActsExamples::ResPlotTool::ResPlotCache::pull_vs_pT, Acts::SingleBoundTrackParameters< charge_t >::referenceSurface(), ActsExamples::ResPlotTool::ResPlotCache::res, ActsExamples::ResPlotTool::ResPlotCache::res_vs_eta, ActsExamples::ResPlotTool::ResPlotCache::res_vs_pT, Acts::VectorHelpers::theta(), theta(), ActsFatras::Particle::time(), ActsFatras::Particle::transverseMomentum(), and ActsFatras::Particle::unitDirection().
Here is the call graph for this function:
|
inlineprivate |
The logger.
Definition at line 119 of file ResPlotTool.hpp.
View newest version in sPHENIX GitHub at line 119 of file ResPlotTool.hpp
References m_logger.
| void ActsExamples::ResPlotTool::refinement | ( | ResPlotTool::ResPlotCache & | resPlotCache | ) | const |
extract the details of the residual/pull plots and fill details
into separate histograms
| resPlotCache | the cache object for residual/pull histograms |
Definition at line 204 of file ResPlotTool.cpp.
View newest version in sPHENIX GitHub at line 204 of file ResPlotTool.cpp
References ActsExamples::PlotHelpers::anaHisto(), Acts::eBoundSize, ActsExamples::PlotHelpers::Binning::nBins, ActsExamples::ResPlotTool::ResPlotCache::pull_vs_eta, ActsExamples::ResPlotTool::ResPlotCache::pull_vs_pT, ActsExamples::ResPlotTool::ResPlotCache::pullMean_vs_eta, ActsExamples::ResPlotTool::ResPlotCache::pullMean_vs_pT, ActsExamples::ResPlotTool::ResPlotCache::pullWidth_vs_eta, ActsExamples::ResPlotTool::ResPlotCache::pullWidth_vs_pT, ActsExamples::ResPlotTool::ResPlotCache::res_vs_eta, ActsExamples::ResPlotTool::ResPlotCache::res_vs_pT, ActsExamples::ResPlotTool::ResPlotCache::resMean_vs_eta, ActsExamples::ResPlotTool::ResPlotCache::resMean_vs_pT, ActsExamples::ResPlotTool::ResPlotCache::resWidth_vs_eta, and ActsExamples::ResPlotTool::ResPlotCache::resWidth_vs_pT.
Here is the call graph for this function:| void ActsExamples::ResPlotTool::write | ( | const ResPlotCache & | resPlotCache | ) | const |
write the histograms to output file
| resPlotCache | the cache object for residual/pull histograms |
Definition at line 113 of file ResPlotTool.cpp.
View newest version in sPHENIX GitHub at line 113 of file ResPlotTool.cpp
References ACTS_DEBUG, Acts::eBoundSize, ActsExamples::ResPlotTool::ResPlotCache::pull, ActsExamples::ResPlotTool::ResPlotCache::pull_vs_eta, ActsExamples::ResPlotTool::ResPlotCache::pull_vs_pT, ActsExamples::ResPlotTool::ResPlotCache::pullMean_vs_eta, ActsExamples::ResPlotTool::ResPlotCache::pullMean_vs_pT, ActsExamples::ResPlotTool::ResPlotCache::pullWidth_vs_eta, ActsExamples::ResPlotTool::ResPlotCache::pullWidth_vs_pT, ActsExamples::ResPlotTool::ResPlotCache::res, ActsExamples::ResPlotTool::ResPlotCache::res_vs_eta, ActsExamples::ResPlotTool::ResPlotCache::res_vs_pT, ActsExamples::ResPlotTool::ResPlotCache::resMean_vs_eta, ActsExamples::ResPlotTool::ResPlotCache::resMean_vs_pT, ActsExamples::ResPlotTool::ResPlotCache::resWidth_vs_eta, and ActsExamples::ResPlotTool::ResPlotCache::resWidth_vs_pT.
|
private |
The config class.
Definition at line 115 of file ResPlotTool.hpp.
View newest version in sPHENIX GitHub at line 115 of file ResPlotTool.hpp
|
private |
The logging instance.
Definition at line 116 of file ResPlotTool.hpp.
View newest version in sPHENIX GitHub at line 116 of file ResPlotTool.hpp
Referenced by logger().