CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Attributes
TotemTimingRecHit Class Reference

#include <TotemTimingRecHit.h>

Inheritance diagram for TotemTimingRecHit:
CTPPSTimingRecHit

Public Types

enum  { NO_T_AVAILABLE = -100 }
 
enum  TimingAlgorithm { NOT_SET, CFD, SMART, SIMPLE }
 

Public Member Functions

float amplitude () const
 
float baselineRMS () const
 
float sampicThresholdTime () const
 
void setAmplitude (float amplitude)
 
void setBaselineRMS (float brms)
 
void setSampicThresholdTime (float stt)
 
void setTPrecision (float tPrecision)
 
TimingAlgorithm timingAlgorithm () const
 
 TotemTimingRecHit ()
 
 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 tPrecision () const
 
- Public Member Functions inherited from CTPPSTimingRecHit
 CTPPSTimingRecHit ()
 
 CTPPSTimingRecHit (float x, float xWidth, float y, float yWidth, float z, float zWidth, float t)
 
void setTime (float t)
 
void setX (float x)
 
void setXWidth (float xWidth)
 
void setY (float y)
 
void setYWidth (float yWidth)
 
void setZ (float z)
 
void setZWidth (float zWidth)
 
float time () const
 
float x () const
 
float xWidth () const
 
float y () const
 
float yWidth () const
 
float z () const
 
float zWidth () const
 

Private Attributes

float amplitude_
 
float baselineRMS_
 
TimingAlgorithm mode_
 
float sampicThresholdTime_
 
float tPrecision_
 

Additional Inherited Members

- Protected Attributes inherited from CTPPSTimingRecHit
float t_
 
float x_
 
float xWidth_
 
float y_
 
float yWidth_
 
float z_
 
float zWidth_
 

Detailed Description

Reconstructed hit in Totem UFSDetectors.

Note
t: time computed using algorithm timingAlgorithm()

Definition at line 16 of file TotemTimingRecHit.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
NO_T_AVAILABLE 

Definition at line 25 of file TotemTimingRecHit.h.

◆ TimingAlgorithm

Enumerator
NOT_SET 
CFD 
SMART 
SIMPLE 

Definition at line 24 of file TotemTimingRecHit.h.

Constructor & Destructor Documentation

◆ TotemTimingRecHit() [1/2]

TotemTimingRecHit::TotemTimingRecHit ( )
inline

Definition at line 27 of file TotemTimingRecHit.h.

◆ TotemTimingRecHit() [2/2]

TotemTimingRecHit::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 
)
inline

Definition at line 30 of file TotemTimingRecHit.h.

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; }

Member Function Documentation

◆ amplitude()

float TotemTimingRecHit::amplitude ( ) const
inline

Definition at line 56 of file TotemTimingRecHit.h.

56 { return mode_; }

References mode_.

Referenced by sampicThresholdTime().

◆ baselineRMS()

float TotemTimingRecHit::baselineRMS ( ) const
inline

Definition at line 59 of file TotemTimingRecHit.h.

◆ sampicThresholdTime()

float TotemTimingRecHit::sampicThresholdTime ( ) const
inline

Definition at line 50 of file TotemTimingRecHit.h.

50 { amplitude_ = amplitude; }

References amplitude(), and amplitude_.

◆ setAmplitude()

void TotemTimingRecHit::setAmplitude ( float  amplitude)
inline

Definition at line 55 of file TotemTimingRecHit.h.

56 { return mode_; }

◆ setBaselineRMS()

void TotemTimingRecHit::setBaselineRMS ( float  brms)
inline

Definition at line 58 of file TotemTimingRecHit.h.

58 :

◆ setSampicThresholdTime()

void TotemTimingRecHit::setSampicThresholdTime ( float  stt)
inline

Definition at line 49 of file TotemTimingRecHit.h.

50 { amplitude_ = amplitude; }

◆ setTPrecision()

void TotemTimingRecHit::setTPrecision ( float  tPrecision)
inline

Definition at line 52 of file TotemTimingRecHit.h.

53 { baselineRMS_ = brms; }

◆ timingAlgorithm()

TimingAlgorithm TotemTimingRecHit::timingAlgorithm ( ) const
inline

Definition at line 61 of file TotemTimingRecHit.h.

◆ tPrecision()

float TotemTimingRecHit::tPrecision ( ) const
inline

Definition at line 53 of file TotemTimingRecHit.h.

53 { baselineRMS_ = brms; }

References baselineRMS_.

Member Data Documentation

◆ amplitude_

float TotemTimingRecHit::amplitude_
private

Definition at line 65 of file TotemTimingRecHit.h.

Referenced by sampicThresholdTime().

◆ baselineRMS_

float TotemTimingRecHit::baselineRMS_
private

Definition at line 66 of file TotemTimingRecHit.h.

Referenced by tPrecision().

◆ mode_

TimingAlgorithm TotemTimingRecHit::mode_
private

Definition at line 67 of file TotemTimingRecHit.h.

Referenced by amplitude().

◆ sampicThresholdTime_

float TotemTimingRecHit::sampicThresholdTime_
private

Definition at line 64 of file TotemTimingRecHit.h.

◆ tPrecision_

float TotemTimingRecHit::tPrecision_
private

Definition at line 64 of file TotemTimingRecHit.h.

TotemTimingRecHit::tPrecision_
float tPrecision_
Definition: TotemTimingRecHit.h:64
CTPPSTimingRecHit::CTPPSTimingRecHit
CTPPSTimingRecHit()
Definition: CTPPSTimingRecHit.h:21
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::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::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
OrderedSet.t
t
Definition: OrderedSet.py:90
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::amplitude_
float amplitude_
Definition: TotemTimingRecHit.h:65
TotemTimingRecHit::sampicThresholdTime_
float sampicThresholdTime_
Definition: TotemTimingRecHit.h:64
CTPPSTimingRecHit::y
float y() const
Definition: CTPPSTimingRecHit.h:29
TotemTimingRecHit::setSampicThresholdTime
void setSampicThresholdTime(float stt)
Definition: TotemTimingRecHit.h:49