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]";
81 float delay = summary.
ttcrx();
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.
const uint32_t & layerScanned() const
std::vector< float > vSumOfContents_
std::string const & pwd() const
MonitorElement * bookInt(char_string const &name)
Book int.
void fill(const SiStripEventSummary &, const edm::DetSet< SiStripRawDigi > &) override
FineDelayTask(DQMStore *, const FedChannelConnection &)
const uint32_t & key() const
void updateHistoSet(HistoSet &, const uint32_t &bin, const float &value)
DQMStore *const dqm() const
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.
~FineDelayTask() override
static MonitorElement * mode_
void setCurrentFolder(std::string const &fullpath)
void histo(MonitorElement *)
static const char root_[]
std::vector< double > vSumOfSquares_
const uint32_t & ttcrx() const