#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 26 of file CTPPSDiamondRecHitProducerAlgorithm.h.
CTPPSDiamondRecHitProducerAlgorithm::CTPPSDiamondRecHitProducerAlgorithm | ( | const edm::ParameterSet & | conf | ) |
Definition at line 16 of file CTPPSDiamondRecHitProducerAlgorithm.cc.
void CTPPSDiamondRecHitProducerAlgorithm::build | ( | const CTPPSGeometry & | geom, |
const edm::DetSetVector< CTPPSDiamondDigi > & | input, | ||
edm::DetSetVector< CTPPSDiamondRecHit > & | output | ||
) |
Definition at line 25 of file CTPPSDiamondRecHitProducerAlgorithm.cc.
References apply_calib_, calib_, calib_fct_, edm::DetSet< T >::emplace_back(), edm::DetSetVector< T >::find_or_insert(), DetGeomDesc::getDiamondDimensions(), edm::isNotFinite(), MAX_CHANNEL, PPSTimingCalibration::parameters(), DetGeomDesc::parentZPosition(), CTPPSGeometry::sensor(), relativeConstraints::station, FrontierCondition_GT_autoExpress_cfi::t0, PPSTimingCalibration::timeOffset(), PPSTimingCalibration::timePrecision(), CTPPSDiamondRecHit::TIMESLICE_WITHOUT_LEADING, DetGeomDesc::translation(), ts_to_ns_, and DiamondDimensions::xHalfWidth.
Referenced by CTPPSDiamondRecHitProducer::produce().
void CTPPSDiamondRecHitProducerAlgorithm::setCalibration | ( | const PPSTimingCalibration & | calib | ) |
Definition at line 20 of file CTPPSDiamondRecHitProducerAlgorithm.cc.
References calib_, calib_fct_, and PPSTimingCalibration::formula().
Referenced by CTPPSDiamondRecHitProducer::produce().
|
private |
Switch on/off the timing calibration.
Definition at line 38 of file CTPPSDiamondRecHitProducerAlgorithm.h.
Referenced by build().
|
private |
Definition at line 39 of file CTPPSDiamondRecHitProducerAlgorithm.h.
Referenced by build(), and setCalibration().
|
private |
Definition at line 40 of file CTPPSDiamondRecHitProducerAlgorithm.h.
Referenced by build(), and setCalibration().
|
staticprivate |
Definition at line 34 of file CTPPSDiamondRecHitProducerAlgorithm.h.
Referenced by build().
|
private |
Conversion constant between HPTDC time slice and absolute time (in ns)
Definition at line 36 of file CTPPSDiamondRecHitProducerAlgorithm.h.
Referenced by build().