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_, runGCPTkAlMap::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_
MonitorElement * bookInt(char_string const &name)
Book int.
std::string const & pwd() const
Utility class that identifies a position within the strip tracker geometrical structure, down to the level of an APV25 chip.
void setCurrentFolder(std::string const &fullpath)
DQMStore *const dqm() const
void histo(MonitorElement *)
static const char root_[]
std::vector< double > vSumOfSquares_
static MonitorElement * mode_
Reimplemented from CommissioningTask.
Definition at line 78 of file FineDelayTask.cc.
References stringResolutionProvider_cfi::bin, edm::DetSet< T >::data, MonitorElement::Fill(), HIGHBIN, createfilelist::int, SiStripEventSummary::layerScanned(), LogDebug, LOWBIN, mode_, NBINS, pileupCalc::nbins, digitizers_cfi::strip, timing_, SiStripEventSummary::ttcrx(), and CommissioningTask::updateHistoSet().
80 LogDebug(
"Commissioning") <<
"[FineDelayTask::fill]";
82 float delay = summary.
ttcrx();
83 uint32_t latencyCode = (summary.
layerScanned()>>24)&0xff;
84 LogDebug(
"Commissioning") <<
"[FineDelayTask::fill]: layerScanned() is " << summary.
layerScanned();
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() <<
"))";
const uint32_t & layerScanned() const
void updateHistoSet(HistoSet &, const uint32_t &bin, const float &value)
bin
set the eta bin as selection string.
static MonitorElement * mode_
const uint32_t & ttcrx() const