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::dqmstoreimpl::DQMStore::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::dqmstoreimpl::DQMStore::pwd(), sistrip::root_, dqm::dqmstoreimpl::DQMStore::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, timing_, overlapproblemtsosanalyzer_cfi::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.
std::vector< float > vSumOfContents_
std::string const & pwd() const
MonitorElement * bookInt(char_string const &name)
Book int.
DQMStore *const dqm() const
Utility class that identifies a position within the strip tracker geometrical structure, down to the level of an APV25 chip.
static MonitorElement * mode_
void setCurrentFolder(std::string const &fullpath)
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, dqm::impl::MonitorElement::Fill(), HIGHBIN, createfilelist::int, SiStripEventSummary::layerScanned(), LogDebug, LOWBIN, mode_, NBINS, LaserClient_cfi::nbins, digitizers_cfi::strip, timing_, SiStripEventSummary::ttcrx(), and CommissioningTask::updateHistoSet().
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() <<
"))";
const uint32_t & layerScanned() const
void updateHistoSet(HistoSet &, const uint32_t &bin, const float &value)
static MonitorElement * mode_
const uint32_t & ttcrx() const