20 LogDebug(
"Commissioning") <<
"[FineDelayTask::FineDelayTask] Constructing object...";
30 LogDebug(
"Commissioning") <<
"[FineDelayTask::book]";
39 LogDebug(
"Commissioning") <<
"[FineDelayTask::book] using existing histogram.";
42 LogDebug(
"Commissioning") <<
"[LatencyTask::book] booking a new histogram.";
67 LogDebug(
"Commissioning") <<
"[FineDelayTask::book] done";
79 LogDebug(
"Commissioning") <<
"[FineDelayTask::fill]";
82 uint32_t latencyCode = (
summary.layerScanned() >> 24) & 0xff;
83 LogDebug(
"Commissioning") <<
"[FineDelayTask::fill]: layerScanned() is " <<
summary.layerScanned();
86 if (latencyShift > 32)
88 if ((latencyCode >> 6) == 2)
90 if ((latencyCode >> 6) == 1)
92 float correctedDelay =
93 delay - (latencyShift * 25.);
95 LogDebug(
"Commissioning") <<
"[FineDelayTask::fill]; the delay is " <<
delay;
100 float tof = (digis.
data[
strip].adc() >> 8) / 10.;
101 correctedDelay =
delay - (latencyShift * 25.) - tof;
102 if ((digis.
data[
strip].adc() >> 8) == 255)
108 int bin =
int((correctedDelay - lowbin) / ((highbin - lowbin) /
nbins));
109 LogDebug(
"Commissioning") <<
"[FineDelayTask::fill]; using a hit with value " << (digis.
data[
strip].adc() & 0xff)
110 <<
" at corrected delay of " << correctedDelay <<
" in bin " <<
bin <<
" (tof is " 111 << tof <<
"( since adc = " << digis.
data[
strip].adc() <<
"))";
122 LogDebug(
"Commissioning") <<
"[FineDelayTask::update]";
std::vector< float > vNumOfEntries_
Utility class that holds histogram title.
void setCurrentFolder(std::string const &fullpath) override
const std::string & path() const
std::vector< float > vSumOfContents_
std::string pwd() override
void fill(const SiStripEventSummary &, const edm::DetSet< SiStripRawDigi > &) override
FineDelayTask(DQMStore *, const FedChannelConnection &)
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 uint32_t & key() const
DQMStore *const dqm() const
Utility class that identifies a position within the strip tracker geometrical structure, down to the level of an APV25 chip.
~FineDelayTask() override
MonitorElement * bookInt(TString const &name, FUNC onbooking=NOOP())
static MonitorElement * mode_
void histo(MonitorElement *)
static const char root_[]
std::vector< double > vSumOfSquares_