Go to the documentation of this file. 1 #ifndef DD4hep_TrackingMaterialPlotter_h
2 #define DD4hep_TrackingMaterialPlotter_h
18 typedef std::pair<double, double>
Range;
37 const unsigned int&
last,
38 const unsigned int&
steps = 100,
39 const unsigned int&
index = 0);
42 #endif // DD4hep_TrackingMaterialPlotter_h
DD4hep_TrackingMaterialPlotter(float maxZ, float maxR, float resolution)
unsigned int fill_gradient(const TColor &first, const TColor &last, unsigned int steps=100, unsigned int index=0)
std::vector< int > m_color
void plotSegmentInLayer(const MaterialAccountingStep &step, int layer)
constexpr std::array< uint8_t, layerIndexSize > layer
std::pair< double, double > Range
std::vector< int > m_gradient
void plotSegmentUnassigned(const MaterialAccountingStep &step)
DD4hep_XHistogram m_tracker
void normalize(void)
normalize the histograms