Definition at line 11 of file FineDelayTask.h.
void FineDelayTask::book |
( |
| ) |
|
|
overrideprivatevirtual |
Reimplemented from CommissioningTask.
Definition at line 35 of file FineDelayTask.cc.
References 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, SiStripKey::path(), alignCSCRings::pwd, DQMStore::pwd(), sistrip::root_, DQMStore::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, timing_, fftjetcommon_cfi::title, sistrip::TRACKER, CommissioningTask::HistoSet::vNumOfEntries_, CommissioningTask::HistoSet::vSumOfContents_, and CommissioningTask::HistoSet::vSumOfSquares_.
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";
std::vector< float > vNumOfEntries_
Utility class that holds histogram title.
std::vector< float > vSumOfContents_
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
Reimplemented from CommissioningTask.
Definition at line 78 of file FineDelayTask.cc.
References stringResolutionProvider_cfi::bin, edm::DetSet< T >::data, MonitorElement::Fill(), HIGHBIN, createfilelist::int, LogDebug, LOWBIN, mode_, NBINS, pileupCalc::nbins, digi_MixPreMix_cfi::strip, heppy_report::summary, timing_, and CommissioningTask::updateHistoSet().
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() <<
"))";
void updateHistoSet(HistoSet &, const uint32_t &bin, const float &value)
bin
set the eta bin as selection string.
static MonitorElement * mode_