#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 | |
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 unsigned short | MAX_CHANNEL = 20 |
Definition at line 26 of file CTPPSDiamondRecHitProducerAlgorithm.h.
CTPPSDiamondRecHitProducerAlgorithm::CTPPSDiamondRecHitProducerAlgorithm | ( | const edm::ParameterSet & | conf | ) |
Definition at line 14 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 calib_, calib_fct_, edm::DetSet< T >::emplace_back(), edm::DetSetVector< T >::find_or_insert(), CTPPSGeometry::getSensor(), edm::isNotFinite(), MAX_CHANNEL, PPSTimingCalibration::parameters(), DetGeomDesc::params(), DetGeomDesc::parentZPosition(), relativeConstraints::station, genVertex_cff::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 19 of file CTPPSDiamondRecHitProducerAlgorithm.cc.
References calib, calib_, calib_fct_, and PPSTimingCalibration::formula().
Referenced by CTPPSDiamondRecHitProducer::produce().
|
private |
Definition at line 38 of file CTPPSDiamondRecHitProducerAlgorithm.h.
Referenced by build(), and setCalibration().
|
private |
Definition at line 39 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().