Definition at line 6 of file ETLUncalibRecHitAlgo.cc.
◆ ETLUncalibRecHitAlgo()
Constructor.
Definition at line 9 of file ETLUncalibRecHitAlgo.cc.
11 adcNBits_(conf.getParameter<uint32_t>(
"adcNbits")),
14 toaLSBToNS_(conf.getParameter<
double>(
"toaLSB_ns")),
15 tofDelay_(conf.getParameter<
double>(
"tofDelay")),
const reco::FormulaEvaluator timeError_
const double adcSaturation_
◆ ~ETLUncalibRecHitAlgo()
ETLUncalibRecHitAlgo::~ETLUncalibRecHitAlgo |
( |
| ) |
|
|
inlineoverride |
◆ getEvent()
void ETLUncalibRecHitAlgo::getEvent |
( |
const edm::Event & |
| ) |
|
|
inlinefinalvirtual |
◆ getEventSetup()
◆ makeRecHit()
make the rec hit
Definition at line 37 of file ETLUncalibRecHitAlgo.cc.
References adcLSB_, FTLDataFrameT< D, S, DECODE >::column(), reco::FormulaEvaluator::evaluate(), RemoveAddSevLevel::flag, FTLDataFrameT< D, S, DECODE >::id(), LogDebug, FTLDataFrameT< D, S, DECODE >::row(), ecalGpuTask_cfi::sample, FTLDataFrameT< D, S, DECODE >::sample(), protons_cff::time, timeError_, toaLSBToNS_, and tofDelay_.
38 constexpr
int iSample = 2;
41 const std::array<double, 1> amplitudeV = {{double(
sample.data()) *
adcLSB_}};
45 unsigned char flag = 0;
47 LogDebug(
"ETLUncalibRecHit") <<
"ADC+: set the charge to: " << amplitudeV[0] <<
' ' <<
sample.data() <<
' ' <<
adcLSB_ 51 LogDebug(
"ETLUncalibRecHit") <<
"Final uncalibrated amplitude : " << amplitudeV[0] << std::endl;
53 const std::array<double, 1> emptyV = {{0.}};
const reco::FormulaEvaluator timeError_
const D & id() const
det id
const S & sample(int i) const
const int column() const
column
◆ adcLSB_
const double ETLUncalibRecHitAlgo::adcLSB_ |
|
private |
◆ adcNBits_
const uint32_t ETLUncalibRecHitAlgo::adcNBits_ |
|
private |
◆ adcSaturation_
const double ETLUncalibRecHitAlgo::adcSaturation_ |
|
private |
◆ timeError_
◆ toaLSBToNS_
const double ETLUncalibRecHitAlgo::toaLSBToNS_ |
|
private |
◆ tofDelay_
const double ETLUncalibRecHitAlgo::tofDelay_ |
|
private |