24 LogDebug(
"Commissioning") <<
"[FineDelayTask::FineDelayTask] Constructing object...";
30 LogDebug(
"Commissioning") <<
"[FineDelayTask::FineDelayTask] Destructing object...";
36 LogDebug(
"Commissioning") <<
"[FineDelayTask::book]";
45 LogDebug(
"Commissioning") <<
"[FineDelayTask::book] using existing histogram.";
48 LogDebug(
"Commissioning") <<
"[LatencyTask::book] booking a new histogram.";
60 100, 0., -1.,
"s" ) );
66 LogDebug(
"Commissioning") <<
"[FineDelayTask::book] done";
80 LogDebug(
"Commissioning") <<
"[FineDelayTask::fill]";
85 int latencyShift = latencyCode & 0x3f;
86 if(latencyShift>32) latencyShift -=64;
87 if((latencyCode>>6)==2) latencyShift -= 3;
88 if((latencyCode>>6)==1) latencyShift += 3;
89 float correctedDelay = delay - (latencyShift*25.);
91 LogDebug(
"Commissioning") <<
"[FineDelayTask::fill]; the delay is " << delay;
96 float tof = (digis.
data[
strip].adc()>>8)/10.;
97 correctedDelay = delay - (latencyShift*25.) - tof;
98 if((digis.
data[
strip].adc()>>8)==255)
continue;
103 int bin = int((correctedDelay-lowbin)/((highbin-lowbin)/nbins));
104 LogDebug(
"Commissioning") <<
"[FineDelayTask::fill]; using a hit with value " << ( digis.
data[
strip].adc()&0xff )
105 <<
" at corrected delay of " << correctedDelay
106 <<
" in bin " << bin <<
" (tof is " << tof <<
"( since adc = " << digis.
data[
strip].adc() <<
"))";
116 LogDebug(
"Commissioning") <<
"[FineDelayTask::update]";
std::vector< float > vNumOfEntries_
Utility class that holds histogram title.
virtual void fill(const SiStripEventSummary &, const edm::DetSet< SiStripRawDigi > &)
std::vector< float > vSumOfContents_
FineDelayTask(DQMStore *, const FedChannelConnection &)
const uint32_t & key() const
void updateHistoSet(HistoSet &, const uint32_t &bin, const float &value)
Class containning control, module, detector and connection information, at the level of a FED channel...
const std::string & path() const
Utility class that identifies a position within the strip tracker geometrical structure, down to the level of an APV25 chip.
DQMStore *const dqm() const
void histo(MonitorElement *)
static const char root_[]
std::vector< double > vSumOfSquares_
static MonitorElement * mode_
MonitorElement * bookInt(const char *name)
Book int.
void setCurrentFolder(const std::string &fullpath)
const std::string & pwd(void) const