1 #ifndef DQM_SiStripCommon_SummaryGenerator_H
2 #define DQM_SiStripCommon_SummaryGenerator_H
5 #include "boost/cstdint.hpp"
29 typedef std::pair<float,float>
Data;
47 const uint32_t&
xbins );
52 void fillMap(
const std::string& top_level_dir,
56 const float&
error = 0. );
94 inline void axisLabel(
const std::string& );
97 inline uint32_t
nBins()
const;
103 inline const std::string&
myName()
const;
110 virtual void fill(
const std::string& top_level_dir,
114 const float&
error );
144 #endif // DQM_SiStripCommon_SummaryGenerator_H
static std::string name(const sistrip::RunType &, const sistrip::Monitorable &, const sistrip::Presentation &, const sistrip::View &, const std::string &directory)
std::vector< Data > BinData
static SummaryGenerator * instance(const sistrip::View &)
: Fills summary histograms.
SummaryGenerator(std::string name)
std::pair< float, float > Data
void histo2DScatter(TH1 &)
void fillMap(const std::string &top_level_dir, const sistrip::Granularity &, const uint32_t &key, const float &value, const float &error=0.)
virtual void fill(const std::string &top_level_dir, const sistrip::Granularity &, const uint32_t &key, const float &value, const float &error)
std::map< std::string, BinData > HistoData
void format(const sistrip::RunType &, const sistrip::Monitorable &, const sistrip::Presentation &, const sistrip::View &, const std::string &directory, const sistrip::Granularity &, TH1 &)
const std::string & myName() const
virtual ~SummaryGenerator()
static TH1 * histogram(const sistrip::Presentation &, const uint32_t &xbins)
void axisLabel(const std::string &)