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 {
28  public:
30 
31  void setCalibration( const PPSTimingCalibration& );
33 
34  private:
35  static constexpr unsigned short MAX_CHANNEL = 20;
37  double ts_to_ns_;
39  std::unique_ptr<reco::FormulaEvaluator> calib_fct_;
40 };
41 
42 #endif
43 
void build(const CTPPSGeometry &, const edm::DetSetVector< CTPPSDiamondDigi > &, edm::DetSetVector< CTPPSDiamondRecHit > &)
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