20 optimumSamplingPoint_(15.),
23 deviceWithMinDelay_(sistrip::
invalid_),
24 deviceWithMaxDelay_(sistrip::
invalid_)
26 cout <<
"[" << __PRETTY_FUNCTION__ <<
"]"
27 <<
" Created object for APV TIMING histograms" << endl;
33 cout <<
"[" << __PRETTY_FUNCTION__ <<
"]" << endl;
107 cerr <<
"[" << __PRETTY_FUNCTION__ <<
"]"
108 <<
" Unable to set maximum time! Found unexpected value: "
114 cout <<
" Device (FEC/slot/ring/CCU/module/channel) "
120 <<
" has maximum delay (rising edge) [ns]:" << time_max << endl;
123 cout <<
" Device (FEC/slot/ring/CCU/module/channel): "
129 <<
" has minimum delay (rising edge) [ns]:" << time_min << endl;
132 std::map<uint32_t,FedTimingAnalysis>::iterator ianal =
data_.begin();
133 for ( ; ianal !=
data_.end(); ianal++ ) {
134 ianal->second.max( time_max );
135 static uint16_t cntr = 0;
137 std::stringstream
ss;
138 ianal->second.print( ss );
139 cout << ss.str() << endl;
152 cout <<
"[" << __PRETTY_FUNCTION__ <<
"]" << endl;
162 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::auto_ptr< Factory > factory_
void histoAnalysis(bool debug)
FedTimingHistograms(const edm::ParameterSet &pset, DQMStore *)
const uint16_t & fecSlot() const
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 &)
const T & max(const T &a, const T &b)
static const uint16_t maximum_
virtual ~FedTimingHistograms()
const uint16_t & fecCrate() const
void createSummaryHisto(const sistrip::Monitorable &, const sistrip::Presentation &, const std::string &top_level_dir, const sistrip::Granularity &)
std::map< uint32_t, FedTimingAnalysis > data_
const uint16_t & ccuAddr() const
static const uint16_t invalid_
const uint16_t & ccuChan() const