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 17 of file TotemTimingRecHit.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
NO_T_AVAILABLE 

Definition at line 20 of file TotemTimingRecHit.h.

◆ TimingAlgorithm

Constructor & Destructor Documentation

◆ TotemTimingRecHit() [1/2]

TotemTimingRecHit::TotemTimingRecHit ( )
inline

◆ 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 25 of file TotemTimingRecHit.h.

42  mode_(mode) {}
TimingAlgorithm mode_
float baselineRMS() const
float sampicThresholdTime() const
float tPrecision() const
float amplitude() const
float xWidth() const
float yWidth() const
float zWidth() const

Member Function Documentation

◆ amplitude()

float TotemTimingRecHit::amplitude ( ) const
inline

Definition at line 51 of file TotemTimingRecHit.h.

References amplitude_.

Referenced by setAmplitude().

51 { return amplitude_; }

◆ baselineRMS()

float TotemTimingRecHit::baselineRMS ( ) const
inline

Definition at line 54 of file TotemTimingRecHit.h.

References baselineRMS_.

54 { return baselineRMS_; }

◆ sampicThresholdTime()

float TotemTimingRecHit::sampicThresholdTime ( ) const
inline

Definition at line 45 of file TotemTimingRecHit.h.

References sampicThresholdTime_.

45 { return sampicThresholdTime_; }

◆ setAmplitude()

void TotemTimingRecHit::setAmplitude ( float  amplitude)
inline

Definition at line 50 of file TotemTimingRecHit.h.

References amplitude(), and amplitude_.

◆ setBaselineRMS()

void TotemTimingRecHit::setBaselineRMS ( float  brms)
inline

Definition at line 53 of file TotemTimingRecHit.h.

References baselineRMS_.

53 { baselineRMS_ = brms; }

◆ setSampicThresholdTime()

void TotemTimingRecHit::setSampicThresholdTime ( float  stt)
inline

Definition at line 44 of file TotemTimingRecHit.h.

References sampicThresholdTime_.

44 { sampicThresholdTime_ = stt; }

◆ setTPrecision()

void TotemTimingRecHit::setTPrecision ( float  tPrecision)
inline

Definition at line 47 of file TotemTimingRecHit.h.

References tPrecision(), and tPrecision_.

◆ timingAlgorithm()

TimingAlgorithm TotemTimingRecHit::timingAlgorithm ( ) const
inline

Definition at line 56 of file TotemTimingRecHit.h.

References mode_.

56 { return mode_; }
TimingAlgorithm mode_

◆ tPrecision()

float TotemTimingRecHit::tPrecision ( ) const
inline

Definition at line 48 of file TotemTimingRecHit.h.

References tPrecision_.

Referenced by setTPrecision().

48 { return tPrecision_; }

Member Data Documentation

◆ amplitude_

float TotemTimingRecHit::amplitude_
private

Definition at line 60 of file TotemTimingRecHit.h.

Referenced by amplitude(), and setAmplitude().

◆ baselineRMS_

float TotemTimingRecHit::baselineRMS_
private

Definition at line 61 of file TotemTimingRecHit.h.

Referenced by baselineRMS(), and setBaselineRMS().

◆ mode_

TimingAlgorithm TotemTimingRecHit::mode_
private

Definition at line 62 of file TotemTimingRecHit.h.

Referenced by timingAlgorithm().

◆ sampicThresholdTime_

float TotemTimingRecHit::sampicThresholdTime_
private

Definition at line 59 of file TotemTimingRecHit.h.

Referenced by sampicThresholdTime(), and setSampicThresholdTime().

◆ tPrecision_

float TotemTimingRecHit::tPrecision_
private

Definition at line 59 of file TotemTimingRecHit.h.

Referenced by setTPrecision(), and tPrecision().