#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 19 of file TrackingMaterialPlotter.h.
TrackingMaterialPlotter::TrackingMaterialPlotter | ( | float | maxZ, |
float | maxR, | ||
float | resolution | ||
) |
Definition at line 103 of file TrackingMaterialPlotter.cc.
References fill_color(), fill_gradient(), createfilelist::int, m_color, m_tracker, SiStripPI::max, and pvSelector_cfi::maxZ.
void TrackingMaterialPlotter::draw | ( | void | ) |
Definition at line 143 of file TrackingMaterialPlotter.cc.
References svgfig::canvas(), XHistogram::colormap(), XHistogram::get(), cmsRelvalreport::green(), mps_fire::i, m_color, m_gradient, m_tracker, cmsRelvalreport::red(), and Scenarios_cff::scale.
Referenced by normalize().
|
private |
Definition at line 14 of file TrackingMaterialPlotter.cc.
References m_color.
Referenced by TrackingMaterialPlotter().
|
private |
Definition at line 75 of file TrackingMaterialPlotter.cc.
References hitfit::delta_r(), diffTwoXMLs::g1, diffTwoXMLs::g2, mps_fire::i, diffTreeTool::index, 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(), diffTreeTool::index, and customisers::steps.
|
inline |
Definition at line 25 of file TrackingMaterialPlotter.h.
References draw(), m_tracker, and XHistogram::normalize().
void TrackingMaterialPlotter::plotSegmentInLayer | ( | const MaterialAccountingStep & | step, |
int | layer | ||
) |
Definition at line 132 of file TrackingMaterialPlotter.cc.
References MaterialAccountingStep::energyLoss(), XHistogram::fill(), MaterialAccountingStep::in(), MaterialAccountingStep::length(), m_tracker, MaterialAccountingStep::out(), PV3DBase< T, PVType, FrameType >::perp(), MaterialAccountingStep::radiationLengths(), w, and PV3DBase< T, PVType, FrameType >::z().
Referenced by TrackingMaterialAnalyser::split().
void TrackingMaterialPlotter::plotSegmentUnassigned | ( | const MaterialAccountingStep & | step | ) |
Definition at line 122 of file TrackingMaterialPlotter.cc.
References MaterialAccountingStep::energyLoss(), XHistogram::fill(), MaterialAccountingStep::in(), MaterialAccountingStep::length(), m_tracker, MaterialAccountingStep::out(), PV3DBase< T, PVType, FrameType >::perp(), MaterialAccountingStep::radiationLengths(), w, and PV3DBase< T, PVType, FrameType >::z().
Referenced by TrackingMaterialAnalyser::split().
|
private |
Definition at line 34 of file TrackingMaterialPlotter.h.
Referenced by draw(), fill_color(), and TrackingMaterialPlotter().
|
private |
Definition at line 35 of file TrackingMaterialPlotter.h.
Referenced by draw(), and fill_gradient().
|
private |
Definition at line 32 of file TrackingMaterialPlotter.h.
Referenced by draw(), normalize(), plotSegmentInLayer(), plotSegmentUnassigned(), and TrackingMaterialPlotter().