CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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,
37  : CTPPSTimingRecHit(x, xWidth, y, yWidth, z, zWidth, t),
38  sampicThresholdTime_(sampicThresholdTime),
39  tPrecision_(tPrecision),
40  amplitude_(amplitude),
41  baselineRMS_(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.
float tPrecision() const
float baselineRMS() const
void setSampicThresholdTime(float stt)
float zWidth() const
void setBaselineRMS(float brms)
void setTPrecision(float tPrecision)
float sampicThresholdTime() const
float y() const
float z() const
float x() const
TimingAlgorithm timingAlgorithm() const
void setAmplitude(float amplitude)
float xWidth() const
float yWidth() const
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 amplitude() const