17 optimumSamplingPoint_(15.),
20 deviceWithMinDelay_(sistrip::
invalid_),
21 deviceWithMaxDelay_(sistrip::
invalid_) {
22 cout <<
"[" << __PRETTY_FUNCTION__ <<
"]"
23 <<
" Created object for APV TIMING histograms" << endl;
99 cerr <<
"[" << __PRETTY_FUNCTION__ <<
"]"
100 <<
" Unable to set maximum time! Found unexpected value: " << time_max << endl;
105 cout <<
" Device (FEC/slot/ring/CCU/module/channel) " << max.
fecCrate() <<
"/" << max.
fecSlot() <<
"/"
107 <<
" has maximum delay (rising edge) [ns]:" << time_max << endl;
110 cout <<
" Device (FEC/slot/ring/CCU/module/channel): " << min.
fecCrate() <<
"/" << min.
fecSlot() <<
"/"
112 <<
" has minimum delay (rising edge) [ns]:" << time_min << endl;
115 std::map<uint32_t, FedTimingAnalysis>::iterator ianal =
data_.begin();
116 for (; ianal !=
data_.end(); ianal++) {
117 ianal->second.max(time_max);
118 static uint16_t cntr = 0;
120 std::stringstream
ss;
121 ianal->second.print(ss);
122 cout << ss.str() << endl;
134 cout <<
"[" << __PRETTY_FUNCTION__ <<
"]" << endl;
146 factory_->init(histo, type, view, directory, gran);
TH1 * histogram(const sistrip::Monitorable &, const sistrip::Presentation &, const sistrip::View &, const std::string &directory, const uint32_t &xbins, const float &xlow=1.*sistrip::invalid_, const float &xhigh=1.*sistrip::invalid_)
const uint16_t & fecRing() const
std::map< uint32_t, FedTimingAnalysis > data_
FedTimingHistograms(const edm::ParameterSet &pset, DQMStore *)
const uint16_t & fecSlot() const
void createSummaryHisto(const sistrip::Monitorable &, const sistrip::Presentation &, const std::string &top_level_dir, const sistrip::Granularity &) override
Utility class that identifies a position within the strip tracker control structure, down to the level of an APV25.
static std::string view(const sistrip::View &)
static const uint16_t maximum_
void histoAnalysis(bool debug) override
const uint16_t & fecCrate() const
std::unique_ptr< Factory > factory_
const uint16_t & ccuAddr() const
static const uint16_t invalid_
~FedTimingHistograms() override
const uint16_t & ccuChan() const