Definition at line 20 of file ESTimingTask.h.
Reimplemented from DQMEDAnalyzer.
Definition at line 83 of file ESTimingTask.cc.
References ESSample::adc(), gpuClustering::adc, edm::DataFrameContainer::begin(), MillePedeFileConverter_cfg::e, edm::DataFrameContainer::end(), JetChargeProducer_cfi::exp, mps_fire::i, ESDataFrame::id(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::ix(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::iy(), dqmiolumiharvest::j, isotrackApplyRegressor::k, CrabHelper::log, ESDataFrame::sample(), ESDataFrame::size(), mps_update::status, FrontierCondition_GT_autoExpress_cfi::t0, and ecaldqm::zside().
110 if (
zside == 1 && plane == 1 &&
ix == 7 &&
iy == 28)
112 if (
zside == 1 && plane == 1 &&
ix == 24 &&
iy == 9 && is == 21)
114 if (
zside == -1 && plane == 2 &&
ix == 35 &&
iy == 17 && is == 23)
117 int i = (
zside == 1) ? 0 : 1;
120 for (
int k = 0;
k < dataframe.
size(); ++
k)
126 if (fabs(
adc[0]) > 10)
128 if (
adc[1] < 0 ||
adc[2] < 0)
139 double aaa = (A2 > 0 && A1 > 0) ?
log(A2 / A1) /
n_ : 20.;
140 double bbb =
wc_ /
n_ * DeltaT;
141 double ccc =
exp(aaa + bbb);
143 double t0 = (2. - ccc) / (1. - ccc) * DeltaT - 5;
161 else if (
zside == -1)
166 LogWarning(
"ESTimingTask") <<
"DigiCollection not available";
169 if (
htESP_->GetEntries() > 0 &&
htESM_->GetEntries() > 0)
const ESDetId & id() const
int adc() const
get the ADC sample (singed 16 bits)
const ESSample & sample(int i) const
edm::EDGetTokenT< ESDigiCollection > digilabel_
const_iterator end() const
MonitorElement * h2DTiming_
ALPAKA_FN_ACC ALPAKA_FN_INLINE uint32_t ix(uint32_t id)
const_iterator begin() const
The iterator returned can not safely be used across threads.
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
MonitorElement * hTiming_[2][2]
ALPAKA_FN_ACC ALPAKA_FN_INLINE uint32_t iy(uint32_t id)
Log< level::Warning, false > LogWarning
uint16_t *__restrict__ uint16_t const *__restrict__ adc