12 adcNBits_(conf.getParameter<uint32_t>(
"adcNbits")),
15 toaLSBToNS_(conf.getParameter<double>(
"toaLSB_ns")),
20 c_LYSO_(conf.getParameter<double>(
"c_LYSO")) {}
51 std::pair<float, float>
amplitude(0., 0.);
52 std::pair<float, float>
time(0., 0.);
54 unsigned char flag = 0;
56 const auto& sampleLeft = dataFrame.
sample(0);
57 const auto& sampleRight = dataFrame.
sample(1);
61 if (sampleLeft.data() > 0) {
73 if (sampleRight.data() > 0) {
87 const std::array<double, 1> emptyV = {{0.}};
97 << sampleLeft.data() <<
", " << sampleRight.data() <<
" " <<
adcLSB_ <<
' ' 99 LogDebug(
"BTLUncalibRecHit") <<
"TDC+: set the time to: (" <<
time.first <<
", " <<
time.second <<
") (" 100 << sampleLeft.toa() <<
", " << sampleRight.toa() <<
" " <<
toaLSBToNS_ <<
' '
const double adcSaturation_
~BTLUncalibRecHitAlgo() override
Destructor.
BTLUncalibRecHitAlgo(const edm::ParameterSet &conf, edm::ConsumesCollector &sumes)
Constructor.
static float positionError()
const D & id() const
det id
void getEvent(const edm::Event &) final
get event and eventsetup information
const S & sample(int i) const
const reco::FormulaEvaluator timeError_
const double timeCorr_p1_
const double timeCorr_p0_
const int column() const
column
caConstants::TupleMultiplicity const CAHitNtupletGeneratorKernelsGPU::HitToTuple const cms::cuda::AtomicPairCounter GPUCACell const *__restrict__ uint32_t const *__restrict__ gpuPixelDoublets::CellNeighborsVector const gpuPixelDoublets::CellTracksVector const GPUCACell::OuterHitOfCell const int32_t nHits
FTLUncalibratedRecHit makeRecHit(const BTLDataFrame &dataFrame) const final
make the rec hit
static int position[264][3]
void getEventSetup(const edm::EventSetup &) final
#define DEFINE_EDM_PLUGIN(factory, type, name)
const double timeCorr_p2_
Power< A, B >::type pow(const A &a, const B &b)