#include <DD4hep_TrackingMaterialPlotter.h>
Public Types | |
typedef std::pair< double, double > | Range |
Public Member Functions | |
DD4hep_TrackingMaterialPlotter (float maxZ, float maxR, float resolution) | |
void | draw (void) |
void | normalize (void) |
void | plotSegmentInLayer (const MaterialAccountingStep &step, int layer) |
void | plotSegmentUnassigned (const MaterialAccountingStep &step) |
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 (const unsigned int &first, const unsigned int &last, const unsigned int &steps=100, const unsigned int &index=0) |
Private Attributes | |
std::vector< int > | m_color |
std::vector< int > | m_gradient |
DD4hep_XHistogram | m_tracker |
Definition at line 16 of file DD4hep_TrackingMaterialPlotter.h.
typedef std::pair<double, double> DD4hep_TrackingMaterialPlotter::Range |
Definition at line 18 of file DD4hep_TrackingMaterialPlotter.h.
DD4hep_TrackingMaterialPlotter::DD4hep_TrackingMaterialPlotter | ( | float | maxZ, |
float | maxR, | ||
float | resolution | ||
) |
Definition at line 106 of file DD4hep_TrackingMaterialPlotter.cc.
References fill_color(), fill_gradient(), createfilelist::int, m_color, m_tracker, SiStripPI::max, CosmicsPD_Skims::maxZ, and L1TObjectsTimingClient_cff::resolution.
void DD4hep_TrackingMaterialPlotter::draw | ( | void | ) |
Definition at line 147 of file DD4hep_TrackingMaterialPlotter.cc.
References DivergingColor::blue, svgfig::canvas(), DD4hep_XHistogram::colormap(), DD4hep_XHistogram::get(), mps_fire::i, createfilelist::int, m_color, m_gradient, m_tracker, DivergingColor::red, and L1EGammaClusterEmuProducer_cfi::scale.
|
private |
Definition at line 14 of file DD4hep_TrackingMaterialPlotter.cc.
References m_color.
Referenced by DD4hep_TrackingMaterialPlotter().
|
private |
Definition at line 73 of file DD4hep_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 DD4hep_TrackingMaterialPlotter(), and fill_gradient().
|
private |
Definition at line 98 of file DD4hep_TrackingMaterialPlotter.cc.
References fill_gradient(), dqmdumpme::first, dqmdumpme::last, and customisers::steps.
|
inline |
Definition at line 24 of file DD4hep_TrackingMaterialPlotter.h.
References m_tracker, and DD4hep_XHistogram::normalize().
void DD4hep_TrackingMaterialPlotter::plotSegmentInLayer | ( | const MaterialAccountingStep & | step, |
int | layer | ||
) |
Definition at line 136 of file DD4hep_TrackingMaterialPlotter.cc.
References DD4hep_XHistogram::fill(), pixelTopology::layer, m_tracker, and w().
void DD4hep_TrackingMaterialPlotter::plotSegmentUnassigned | ( | const MaterialAccountingStep & | step | ) |
Definition at line 125 of file DD4hep_TrackingMaterialPlotter.cc.
References DD4hep_XHistogram::fill(), m_tracker, and w().
|
private |
Definition at line 31 of file DD4hep_TrackingMaterialPlotter.h.
Referenced by DD4hep_TrackingMaterialPlotter(), draw(), and fill_color().
|
private |
Definition at line 32 of file DD4hep_TrackingMaterialPlotter.h.
Referenced by draw(), and fill_gradient().
|
private |
Definition at line 29 of file DD4hep_TrackingMaterialPlotter.h.
Referenced by DD4hep_TrackingMaterialPlotter(), draw(), normalize(), plotSegmentInLayer(), and plotSegmentUnassigned().