#include <TotemTimingRecHitProducerAlgorithm.h>
Classes | |
struct | RegressionResults |
Public Member Functions | |
void | build (const CTPPSGeometry *, const edm::DetSetVector< TotemTimingDigi > &, edm::DetSetVector< TotemTimingRecHit > &) |
TotemTimingRecHitProducerAlgorithm (const edm::ParameterSet &conf) | |
Private Member Functions | |
float | constantFractionDiscriminator (const std::vector< float > &time, const std::vector< float > &data) |
int | fastDiscriminator (const std::vector< float > &data, const float &threshold) const |
RegressionResults | simplifiedLinearRegression (const std::vector< float > &time, const std::vector< float > &data, const unsigned int start_at, const unsigned int points) const |
Private Attributes | |
int | baselinePoints_ |
double | cfdFraction_ |
double | hysteresis_ |
double | lowPassFrequency_ |
TotemTimingRecHit::TimingAlgorithm | mode_ |
TotemTimingConversions | sampicConversions_ |
double | saturationLimit_ |
int | smoothingPoints_ |
Static Private Attributes | |
static const float | SINC_COEFFICIENT = std::acos(-1) * 2 / 7.8 |
Definition at line 28 of file TotemTimingRecHitProducerAlgorithm.h.
TotemTimingRecHitProducerAlgorithm::TotemTimingRecHitProducerAlgorithm | ( | const edm::ParameterSet & | conf | ) |
Definition at line 19 of file TotemTimingRecHitProducerAlgorithm.cc.
void TotemTimingRecHitProducerAlgorithm::build | ( | const CTPPSGeometry * | geom, |
const edm::DetSetVector< TotemTimingDigi > & | input, | ||
edm::DetSetVector< TotemTimingRecHit > & | output | ||
) |
Definition at line 29 of file TotemTimingRecHitProducerAlgorithm.cc.
References baselinePoints_, TotemTimingRecHit::CFD, constantFractionDiscriminator(), data, edm::DetSetVector< T >::find_or_insert(), CTPPSGeometry::getSensorNoThrow(), TotemTimingConversions::getTimeSamples(), TotemTimingConversions::getTriggerTime(), TotemTimingConversions::getVoltSamples(), mps_fire::i, mode_, TotemTimingRecHit::NO_T_AVAILABLE, DetGeomDesc::params(), DetGeomDesc::parentZPosition(), edm::DetSet< T >::push_back(), sampicConversions_, saturationLimit_, simplifiedLinearRegression(), lumiQTWidget::t, ntuplemaker::time, and DetGeomDesc::translation().
Referenced by TotemTimingRecHitProducer::produce().
|
private |
Definition at line 163 of file TotemTimingRecHitProducerAlgorithm.cc.
References baselinePoints_, cfdFraction_, fastDiscriminator(), mps_fire::i, createfilelist::int, lowPassFrequency_, SiStripPI::max, TotemTimingRecHit::NO_T_AVAILABLE, funct::sin(), SINC_COEFFICIENT, smoothingPoints_, lumiQTWidget::t, electronIdCutBased_cfi::threshold, and x.
Referenced by build().
|
private |
Definition at line 131 of file TotemTimingRecHitProducerAlgorithm.cc.
References hysteresis_, and mps_fire::i.
Referenced by constantFractionDiscriminator().
|
private |
Definition at line 88 of file TotemTimingRecHitProducerAlgorithm.cc.
References mps_fire::i, TotemTimingRecHitProducerAlgorithm::RegressionResults::m, min(), GetRecoTauVFromDQM_MC_cff::next, hiPixelPairStep_cff::points, funct::pow(), TotemTimingRecHitProducerAlgorithm::RegressionResults::q, mps_update::results, TotemTimingRecHitProducerAlgorithm::RegressionResults::rms, mathSSE::sqrt(), fftjetcommon_cfi::sx, fftjetcommon_cfi::sy, and relativeConstraints::value.
Referenced by build().
|
private |
Definition at line 46 of file TotemTimingRecHitProducerAlgorithm.h.
Referenced by build(), and constantFractionDiscriminator().
|
private |
Definition at line 48 of file TotemTimingRecHitProducerAlgorithm.h.
Referenced by constantFractionDiscriminator().
|
private |
Definition at line 51 of file TotemTimingRecHitProducerAlgorithm.h.
Referenced by fastDiscriminator().
|
private |
Definition at line 50 of file TotemTimingRecHitProducerAlgorithm.h.
Referenced by constantFractionDiscriminator().
|
private |
Definition at line 52 of file TotemTimingRecHitProducerAlgorithm.h.
Referenced by build().
|
private |
Definition at line 45 of file TotemTimingRecHitProducerAlgorithm.h.
Referenced by build().
|
private |
Definition at line 47 of file TotemTimingRecHitProducerAlgorithm.h.
Referenced by build().
|
staticprivate |
Definition at line 43 of file TotemTimingRecHitProducerAlgorithm.h.
Referenced by constantFractionDiscriminator().
|
private |
Definition at line 49 of file TotemTimingRecHitProducerAlgorithm.h.
Referenced by constantFractionDiscriminator().