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 RecoCTPPS_TotemRPLocal_CTPPSDiamondRecHitProducerAlgorithm
10 #define RecoCTPPS_TotemRPLocal_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
void build(const CTPPSGeometry &, const edm::DetSetVector< CTPPSDiamondDigi > &, edm::DetSetVector< CTPPSDiamondRecHit > &)
bool apply_calib_
Switch on/off the timing calibration.
double ts_to_ns_
Conversion constant between HPTDC time slice and absolute time (in ns)
The manager class for TOTEM RP geometry.
Definition: CTPPSGeometry.h:33
std::unique_ptr< reco::FormulaEvaluator > calib_fct_
CTPPSDiamondRecHitProducerAlgorithm(const edm::ParameterSet &conf)
#define constexpr