Definition at line 11 of file FineDelayTask.h.
void FineDelayTask::book |
( |
| ) |
|
|
overrideprivatevirtual |
Reimplemented from CommissioningTask.
Definition at line 29 of file FineDelayTask.cc.
References dqm::implementation::IBooker::bookInt(), sistrip::extrainfo::clusterCharge_, sistrip::DET_KEY, CommissioningTask::dqm(), sistrip::EXPERT_HISTO, sistrip::FINE_DELAY, HIGHBIN, CommissioningTask::HistoSet::histo(), SiStripKey::key(), LogDebug, LOWBIN, mode_, NBINS, seedmultiplicitymonitor_newtracking_cfi::nBins, SiStripKey::path(), alignCSCRings::pwd, dqm::implementation::DQMStore::pwd(), sistrip::root_, dqm::implementation::DQMStore::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, timing_, runGCPTkAlMap::title, sistrip::TRACKER, CommissioningTask::HistoSet::vNumOfEntries_, CommissioningTask::HistoSet::vSumOfContents_, and CommissioningTask::HistoSet::vSumOfSquares_.
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";
std::vector< float > vNumOfEntries_
Utility class that holds histogram title.
void setCurrentFolder(std::string const &fullpath) override
std::vector< float > vSumOfContents_
std::string pwd() override
DQMStore *const dqm() const
Utility class that identifies a position within the strip tracker geometrical structure, down to the level of an APV25 chip.
MonitorElement * bookInt(TString const &name, FUNC onbooking=NOOP())
static MonitorElement * mode_
void histo(MonitorElement *)
static const char root_[]
std::vector< double > vSumOfSquares_
Reimplemented from CommissioningTask.
Definition at line 78 of file FineDelayTask.cc.
References newFWLiteAna::bin, edm::DetSet< T >::data, phase2TrackerDigitizer_cfi::delay, dqm::impl::MonitorElement::Fill(), HIGHBIN, createfilelist::int, LogDebug, LOWBIN, mode_, NBINS, LaserClient_cfi::nbins, digitizers_cfi::strip, edmLumisInFiles::summary, timing_, and CommissioningTask::updateHistoSet().
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() <<
"))";
void updateHistoSet(HistoSet &, const uint32_t &bin, const float &value)
static MonitorElement * mode_