CMS 3D CMS Logo

CTPPSDiamondRecHitProducerAlgorithm.h
Go to the documentation of this file.
1 /****************************************************************************
2 *
3 * This is a part of PPS offline software.
4 * Authors:
5 * Laurent Forthomme (laurent.forthomme@cern.ch)
6 *
7 ****************************************************************************/
8 
9 #ifndef RecoPPS_Local_CTPPSDiamondRecHitProducerAlgorithm
10 #define RecoPPS_Local_CTPPSDiamondRecHitProducerAlgorithm
11 
14 
16 
20 
23 
25 
27 public:
29 
32 
33 private:
34  static constexpr unsigned short MAX_CHANNEL = 20;
36  double ts_to_ns_;
40  std::unique_ptr<reco::FormulaEvaluator> calib_fct_;
41 };
42 
43 #endif
CTPPSDiamondRecHitProducerAlgorithm::calib_
PPSTimingCalibration calib_
Definition: CTPPSDiamondRecHitProducerAlgorithm.h:43
edm::DetSetVector
Definition: DetSetVector.h:61
CTPPSGeometry
The manager class for TOTEM RP geometry.
Definition: CTPPSGeometry.h:29
CTPPSDiamondRecHitProducerAlgorithm::build
void build(const CTPPSGeometry &, const edm::DetSetVector< CTPPSDiamondDigi > &, edm::DetSetVector< CTPPSDiamondRecHit > &)
Definition: CTPPSDiamondRecHitProducerAlgorithm.cc:22
CTPPSDiamondRecHitProducerAlgorithm::ts_to_ns_
double ts_to_ns_
Conversion constant between HPTDC time slice and absolute time (in ns)
Definition: CTPPSDiamondRecHitProducerAlgorithm.h:40
CTPPSDiamondRecHitProducerAlgorithm::apply_calib_
bool apply_calib_
Switch on/off the timing calibration.
Definition: CTPPSDiamondRecHitProducerAlgorithm.h:42
CTPPSDiamondRecHitProducerAlgorithm::MAX_CHANNEL
static constexpr unsigned short MAX_CHANNEL
Definition: CTPPSDiamondRecHitProducerAlgorithm.h:38
CTPPSGeometry.h
CTPPSDiamondDigi.h
CTPPSDiamondRecHit.h
CTPPSDiamondDetId.h
edm::ParameterSet
Definition: ParameterSet.h:36
CTPPSDiamondRecHitProducerAlgorithm::setCalibration
void setCalibration(const PPSTimingCalibration &)
Definition: CTPPSDiamondRecHitProducerAlgorithm.cc:17
CTPPSDiamondRecHitProducerAlgorithm
Definition: CTPPSDiamondRecHitProducerAlgorithm.h:25
FormulaEvaluator.h
DetSetVector.h
CTPPSDiamondRecHitProducerAlgorithm::CTPPSDiamondRecHitProducerAlgorithm
CTPPSDiamondRecHitProducerAlgorithm(const edm::ParameterSet &conf)
Definition: CTPPSDiamondRecHitProducerAlgorithm.cc:13
PPSTimingCalibration.h
CTPPSDiamondRecHitProducerAlgorithm::calib_fct_
std::unique_ptr< reco::FormulaEvaluator > calib_fct_
Definition: CTPPSDiamondRecHitProducerAlgorithm.h:44
RPTopology.h
PPSTimingCalibration
Definition: PPSTimingCalibration.h:17
ParameterSet.h