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 
17 class TotemTimingRecHit : public CTPPSTimingRecHit {
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
TotemTimingRecHit::tPrecision_
float tPrecision_
Definition: TotemTimingRecHit.h:64
CTPPSTimingRecHit::z
float z() const
Definition: CTPPSTimingRecHit.h:32
TotemTimingRecHit::sampicThresholdTime
float sampicThresholdTime() const
Definition: TotemTimingRecHit.h:50
CTPPSTimingRecHit::zWidth
float zWidth() const
Definition: CTPPSTimingRecHit.h:41
TotemTimingRecHit::NOT_SET
Definition: TotemTimingRecHit.h:30
TotemTimingRecHit::baselineRMS
float baselineRMS() const
Definition: TotemTimingRecHit.h:59
ALCARECOPromptCalibProdSiPixelAli0T_cff.mode
mode
Definition: ALCARECOPromptCalibProdSiPixelAli0T_cff.py:96
TotemTimingRecHit::mode_
TimingAlgorithm mode_
Definition: TotemTimingRecHit.h:67
TotemTimingRecHit::tPrecision
float tPrecision() const
Definition: TotemTimingRecHit.h:53
TotemTimingRecHit::CFD
Definition: TotemTimingRecHit.h:30
TotemTimingRecHit::timingAlgorithm
TimingAlgorithm timingAlgorithm() const
Definition: TotemTimingRecHit.h:61
TotemTimingRecHit::setBaselineRMS
void setBaselineRMS(float brms)
Definition: TotemTimingRecHit.h:58
TotemTimingRecHit::TotemTimingRecHit
TotemTimingRecHit()
Definition: TotemTimingRecHit.h:27
TotemTimingRecHit::SIMPLE
Definition: TotemTimingRecHit.h:30
TotemTimingRecHit::baselineRMS_
float baselineRMS_
Definition: TotemTimingRecHit.h:66
TotemTimingRecHit::setTPrecision
void setTPrecision(float tPrecision)
Definition: TotemTimingRecHit.h:52
CTPPSTimingRecHit::yWidth
float yWidth() const
Definition: CTPPSTimingRecHit.h:38
TotemTimingRecHit
Definition: TotemTimingRecHit.h:16
CTPPSTimingRecHit.h
CTPPSTimingRecHit::xWidth
float xWidth() const
Definition: CTPPSTimingRecHit.h:35
TotemTimingRecHit::amplitude
float amplitude() const
Definition: TotemTimingRecHit.h:56
CTPPSTimingRecHit::x
float x() const
Definition: CTPPSTimingRecHit.h:26
TotemTimingRecHit::TimingAlgorithm
TimingAlgorithm
Definition: TotemTimingRecHit.h:24
TotemTimingRecHit::NO_T_AVAILABLE
Definition: TotemTimingRecHit.h:25
TotemTimingRecHit::setAmplitude
void setAmplitude(float amplitude)
Definition: TotemTimingRecHit.h:55
TotemTimingRecHit::SMART
Definition: TotemTimingRecHit.h:30
TotemTimingRecHit::amplitude_
float amplitude_
Definition: TotemTimingRecHit.h:65
TotemTimingRecHit::sampicThresholdTime_
float sampicThresholdTime_
Definition: TotemTimingRecHit.h:64
CTPPSTimingRecHit::y
float y() const
Definition: CTPPSTimingRecHit.h:29
CTPPSTimingRecHit
Reconstructed hit in timing detectors.
Definition: CTPPSTimingRecHit.h:13
submitPVValidationJobs.t
string t
Definition: submitPVValidationJobs.py:644
TotemTimingRecHit::setSampicThresholdTime
void setSampicThresholdTime(float stt)
Definition: TotemTimingRecHit.h:49