CMS 3D CMS Logo

TotemTimingRecHit.h
Go to the documentation of this file.
1 /****************************************************************************
2  *
3  * This is a part of CTPPS offline software.
4  * Authors:
5  * Laurent Forthomme (laurent.forthomme@cern.ch)
6  * Nicola Minafra (nicola.minafra@cern.ch)
7  *
8  ****************************************************************************/
9 
10 #ifndef DataFormats_CTPPSReco_TotemTimingRecHit
11 #define DataFormats_CTPPSReco_TotemTimingRecHit
12 
14 
18 public:
20  enum { NO_T_AVAILABLE = -100 };
21 
24 
26  float xWidth,
27  float y,
28  float yWidth,
29  float z,
30  float zWidth,
31  float t,
32  float sampicThresholdTime,
33  float tPrecision,
34  float amplitude,
35  float baselineRMS,
42  mode_(mode) {}
43 
44  inline void setSampicThresholdTime(float stt) { sampicThresholdTime_ = stt; }
45  inline float sampicThresholdTime() const { return sampicThresholdTime_; }
46 
47  inline void setTPrecision(float tPrecision) { tPrecision_ = tPrecision; }
48  inline float tPrecision() const { return tPrecision_; }
49 
50  inline void setAmplitude(float amplitude) { amplitude_ = amplitude; }
51  inline float amplitude() const { return amplitude_; }
52 
53  inline void setBaselineRMS(float brms) { baselineRMS_ = brms; }
54  inline float baselineRMS() const { return baselineRMS_; }
55 
56  inline TimingAlgorithm timingAlgorithm() const { return mode_; }
57 
58 private:
60  float amplitude_;
61  float baselineRMS_;
63 };
64 
65 #endif
TimingAlgorithm mode_
Reconstructed hit in timing detectors.
void setSampicThresholdTime(float stt)
float baselineRMS() const
float sampicThresholdTime() const
void setBaselineRMS(float brms)
TimingAlgorithm timingAlgorithm() const
float tPrecision() const
void setTPrecision(float tPrecision)
float amplitude() const
float xWidth() const
float yWidth() const
void setAmplitude(float amplitude)
TotemTimingRecHit(float x, float xWidth, float y, float yWidth, float z, float zWidth, float t, float sampicThresholdTime, float tPrecision, float amplitude, float baselineRMS, TimingAlgorithm mode)
float zWidth() const