#include <TrackingMaterialPlotter.h>
Public Types | |
typedef std::pair< double, double > | Range |
Public Member Functions | |
void | draw (void) |
void | normalize (void) |
void | plotSegmentInLayer (const MaterialAccountingStep &step, int layer) |
void | plotSegmentUnassigned (const MaterialAccountingStep &step) |
TrackingMaterialPlotter (float maxZ, float maxR, float resolution) | |
Private Member Functions | |
void | fill_color () |
unsigned int | fill_gradient (const TColor &first, const TColor &last, unsigned int steps=100, unsigned int index=0) |
unsigned int | fill_gradient (unsigned int first, unsigned int last, unsigned int steps=100, unsigned int index=0) |
Private Attributes | |
std::vector< int > | m_color |
std::vector< int > | m_gradient |
XHistogram | m_tracker |
Definition at line 16 of file TrackingMaterialPlotter.h.
typedef std::pair<double, double> TrackingMaterialPlotter::Range |
Definition at line 18 of file TrackingMaterialPlotter.h.
TrackingMaterialPlotter::TrackingMaterialPlotter | ( | float | maxZ, |
float | maxR, | ||
float | resolution | ||
) |
Definition at line 106 of file TrackingMaterialPlotter.cc.
References fill_color(), fill_gradient(), createfilelist::int, m_color, m_tracker, SiStripPI::max, CosmicsPD_Skims::maxZ, and L1TObjectsTimingClient_cff::resolution.
void TrackingMaterialPlotter::draw | ( | void | ) |
Definition at line 147 of file TrackingMaterialPlotter.cc.
References DivergingColor::blue, svgfig::canvas(), XHistogram::colormap(), XHistogram::get(), mps_fire::i, m_color, m_gradient, m_tracker, DivergingColor::red, and pfClustersFromCombinedCaloHF_cfi::scale.
Referenced by TrackingMaterialAnalyser::endJob().
|
private |
Definition at line 14 of file TrackingMaterialPlotter.cc.
References m_color.
Referenced by TrackingMaterialPlotter().
|
private |
Definition at line 73 of file TrackingMaterialPlotter.cc.
References b1, b2, hitfit::delta_r(), dqmdumpme::first, diffTwoXMLs::g1, diffTwoXMLs::g2, mps_fire::i, dqmdumpme::last, m_gradient, diffTwoXMLs::r1, diffTwoXMLs::r2, and customisers::steps.
Referenced by fill_gradient(), and TrackingMaterialPlotter().
|
private |
Definition at line 98 of file TrackingMaterialPlotter.cc.
References fill_gradient(), dqmdumpme::first, dqmdumpme::last, and customisers::steps.
|
inline |
Definition at line 24 of file TrackingMaterialPlotter.h.
References m_tracker, and XHistogram::normalize().
Referenced by TrackingMaterialAnalyser::endJob().
void TrackingMaterialPlotter::plotSegmentInLayer | ( | const MaterialAccountingStep & | step, |
int | layer | ||
) |
Definition at line 136 of file TrackingMaterialPlotter.cc.
References XHistogram::fill(), nano_mu_digi_cff::layer, m_tracker, and w().
Referenced by TrackingMaterialAnalyser::split().
void TrackingMaterialPlotter::plotSegmentUnassigned | ( | const MaterialAccountingStep & | step | ) |
Definition at line 125 of file TrackingMaterialPlotter.cc.
References XHistogram::fill(), m_tracker, and w().
Referenced by TrackingMaterialAnalyser::split().
|
private |
Definition at line 31 of file TrackingMaterialPlotter.h.
Referenced by draw(), fill_color(), and TrackingMaterialPlotter().
|
private |
Definition at line 32 of file TrackingMaterialPlotter.h.
Referenced by draw(), and fill_gradient().
|
private |
Definition at line 29 of file TrackingMaterialPlotter.h.
Referenced by draw(), normalize(), plotSegmentInLayer(), plotSegmentUnassigned(), and TrackingMaterialPlotter().