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_XHistogram m_tracker
std::pair< double, double > Range
constexpr std::array< uint8_t, layerIndexSize > layer
void plotSegmentInLayer(const MaterialAccountingStep &step, int layer)
unsigned int fill_gradient(const TColor &first, const TColor &last, unsigned int steps=100, unsigned int index=0)
std::vector< int > m_color
void plotSegmentUnassigned(const MaterialAccountingStep &step)
DD4hep_TrackingMaterialPlotter(float maxZ, float maxR, float resolution)
std::vector< int > m_gradient
void normalize(void)
normalize the histograms