#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 &) |
Private Attributes | |
bool | apply_calib_ |
Switch on/off the timing calibration. More... | |
PPSTimingCalibration | calib_ |
std::unique_ptr< reco::FormulaEvaluator > | calib_fct_ |
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 25 of file CTPPSDiamondRecHitProducerAlgorithm.h.
CTPPSDiamondRecHitProducerAlgorithm::CTPPSDiamondRecHitProducerAlgorithm | ( | const edm::ParameterSet & | conf | ) |
Definition at line 13 of file CTPPSDiamondRecHitProducerAlgorithm.cc.
void CTPPSDiamondRecHitProducerAlgorithm::build | ( | const CTPPSGeometry & | geom, |
const edm::DetSetVector< CTPPSDiamondDigi > & | input, | ||
edm::DetSetVector< CTPPSDiamondRecHit > & | output | ||
) |
Definition at line 22 of file CTPPSDiamondRecHitProducerAlgorithm.cc.
References apply_calib_, calib_, calib_fct_, edm::DetSet< T >::emplace_back(), relativeConstraints::geom, input, edm::isNotFinite(), MAX_CHANNEL, convertSQLitetoXML_cfg::output, PPSTimingCalibration::parameters(), DetGeomDesc::params(), DetGeomDesc::parentZPosition(), relativeConstraints::station, FrontierCondition_GT_autoExpress_cfi::t0, PPSTimingCalibration::timeOffset(), PPSTimingCalibration::timePrecision(), CTPPSDiamondRecHit::TIMESLICE_WITHOUT_LEADING, DetGeomDesc::translation(), and ts_to_ns_.
Referenced by CTPPSDiamondRecHitProducer::produce().
void CTPPSDiamondRecHitProducerAlgorithm::setCalibration | ( | const PPSTimingCalibration & | calib | ) |
Definition at line 17 of file CTPPSDiamondRecHitProducerAlgorithm.cc.
References L1EGammaCrystalsEmulatorProducer_cfi::calib, calib_, calib_fct_, and PPSTimingCalibration::formula().
Referenced by CTPPSDiamondRecHitProducer::produce().
|
private |
Switch on/off the timing calibration.
Definition at line 42 of file CTPPSDiamondRecHitProducerAlgorithm.h.
Referenced by build().
|
private |
Definition at line 43 of file CTPPSDiamondRecHitProducerAlgorithm.h.
Referenced by build(), and setCalibration().
|
private |
Definition at line 44 of file CTPPSDiamondRecHitProducerAlgorithm.h.
Referenced by build(), and setCalibration().
|
staticconstexprprivate |
Definition at line 38 of file CTPPSDiamondRecHitProducerAlgorithm.h.
Referenced by build().
|
private |
Conversion constant between HPTDC time slice and absolute time (in ns)
Definition at line 40 of file CTPPSDiamondRecHitProducerAlgorithm.h.
Referenced by build().