#include <CTPPSDiamondRecHitProducerAlgorithm.h>
Public Member Functions | |
void | build (const CTPPSGeometry &, const edm::DetSetVector< CTPPSDiamondDigi > &, edm::DetSetVector< CTPPSDiamondRecHit > &) |
CTPPSDiamondRecHitProducerAlgorithm (const edm::ParameterSet &conf) | |
void | setCalibration (const PPSTimingCalibration &, const PPSTimingCalibrationLUT &) |
Private Attributes | |
bool | apply_calib_ |
Switch on/off the timing calibration. More... | |
PPSTimingCalibration | calib_ |
std::unique_ptr< reco::FormulaEvaluator > | calib_fct_ |
PPSTimingCalibrationLUT | calibLUT_ |
double | ts_to_ns_ |
Conversion constant between HPTDC time slice and absolute time (in ns) More... | |
Static Private Attributes | |
static constexpr unsigned short | MAX_CHANNEL = 20 |
Definition at line 27 of file CTPPSDiamondRecHitProducerAlgorithm.h.
CTPPSDiamondRecHitProducerAlgorithm::CTPPSDiamondRecHitProducerAlgorithm | ( | const edm::ParameterSet & | conf | ) |
Definition at line 15 of file CTPPSDiamondRecHitProducerAlgorithm.cc.
void CTPPSDiamondRecHitProducerAlgorithm::build | ( | const CTPPSGeometry & | geom, |
const edm::DetSetVector< CTPPSDiamondDigi > & | input, | ||
edm::DetSetVector< CTPPSDiamondRecHit > & | output | ||
) |
Definition at line 26 of file CTPPSDiamondRecHitProducerAlgorithm.cc.
References apply_calib_, PPSTimingCalibrationLUT::bins(), calib_, calib_fct_, calibLUT_, edm::DetSet< T >::emplace_back(), relativeConstraints::geom, DetGeomDesc::getDiamondDimensions(), input, edm::isNotFinite(), MAX_CHANNEL, convertSQLitetoXML_cfg::output, PPSTimingCalibration::parameters(), DetGeomDesc::parentZPosition(), relativeConstraints::station, FrontierCondition_GT_autoExpress_cfi::t0, PPSTimingCalibration::timeOffset(), PPSTimingCalibration::timePrecision(), CTPPSDiamondRecHit::TIMESLICE_WITHOUT_LEADING, compareTotals::tot, DetGeomDesc::translation(), ts_to_ns_, and DiamondDimensions::xHalfWidth.
Referenced by CTPPSDiamondRecHitProducer::produce().
void CTPPSDiamondRecHitProducerAlgorithm::setCalibration | ( | const PPSTimingCalibration & | calib, |
const PPSTimingCalibrationLUT & | calibLUT | ||
) |
Definition at line 19 of file CTPPSDiamondRecHitProducerAlgorithm.cc.
References L1EGammaClusterEmuProducer_cfi::calib, calib_, calib_fct_, calibLUT_, and PPSTimingCalibration::formula().
Referenced by CTPPSDiamondRecHitProducer::produce().
|
private |
Switch on/off the timing calibration.
Definition at line 39 of file CTPPSDiamondRecHitProducerAlgorithm.h.
Referenced by build().
|
private |
Definition at line 40 of file CTPPSDiamondRecHitProducerAlgorithm.h.
Referenced by build(), and setCalibration().
|
private |
Definition at line 42 of file CTPPSDiamondRecHitProducerAlgorithm.h.
Referenced by build(), and setCalibration().
|
private |
Definition at line 41 of file CTPPSDiamondRecHitProducerAlgorithm.h.
Referenced by build(), and setCalibration().
|
staticprivate |
Definition at line 35 of file CTPPSDiamondRecHitProducerAlgorithm.h.
Referenced by build().
|
private |
Conversion constant between HPTDC time slice and absolute time (in ns)
Definition at line 37 of file CTPPSDiamondRecHitProducerAlgorithm.h.
Referenced by build().