CMS 3D CMS Logo

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

#include <TotemT2RecHit.h>

Public Member Functions

const GlobalPoint centre () const
 
void setTime (float time)
 
void setTimeUnc (float time_unc)
 
void setToT (float tot)
 
float time () const
 
float timeUnc () const
 
float toT () const
 
 TotemT2RecHit ()=default
 
 TotemT2RecHit (const GlobalPoint &, float, float, float)
 

Private Attributes

GlobalPoint centre_
 Tile centre position. More...
 
float time_ {0.f}
 Leading edge time. More...
 
float time_unc_ {0.f}
 Uncertainty on leading edge time. More...
 
float tot_ {0.f}
 Time over threshold/pulse width. More...
 

Detailed Description

Definition at line 14 of file TotemT2RecHit.h.

Constructor & Destructor Documentation

◆ TotemT2RecHit() [1/2]

TotemT2RecHit::TotemT2RecHit ( )
default

◆ TotemT2RecHit() [2/2]

TotemT2RecHit::TotemT2RecHit ( const GlobalPoint centre,
float  time,
float  time_unc,
float  tot 
)
explicit

Definition at line 11 of file TotemT2RecHit.cc.

12  : centre_(centre), time_(time), time_unc_(time_unc), tot_(tot) {}
GlobalPoint centre_
Tile centre position.
Definition: TotemT2RecHit.h:29
float time() const
Definition: TotemT2RecHit.h:21
float tot_
Time over threshold/pulse width.
Definition: TotemT2RecHit.h:35
const GlobalPoint centre() const
Definition: TotemT2RecHit.h:19
float time_
Leading edge time.
Definition: TotemT2RecHit.h:31
float time_unc_
Uncertainty on leading edge time.
Definition: TotemT2RecHit.h:33

Member Function Documentation

◆ centre()

const GlobalPoint TotemT2RecHit::centre ( ) const
inline

Definition at line 19 of file TotemT2RecHit.h.

References centre_.

19 { return centre_; }
GlobalPoint centre_
Tile centre position.
Definition: TotemT2RecHit.h:29

◆ setTime()

void TotemT2RecHit::setTime ( float  time)
inline

Definition at line 20 of file TotemT2RecHit.h.

References time(), and time_.

20 { time_ = time; }
float time() const
Definition: TotemT2RecHit.h:21
float time_
Leading edge time.
Definition: TotemT2RecHit.h:31

◆ setTimeUnc()

void TotemT2RecHit::setTimeUnc ( float  time_unc)
inline

Definition at line 22 of file TotemT2RecHit.h.

References time_unc_.

22 { time_unc_ = time_unc; }
float time_unc_
Uncertainty on leading edge time.
Definition: TotemT2RecHit.h:33

◆ setToT()

void TotemT2RecHit::setToT ( float  tot)
inline

Definition at line 24 of file TotemT2RecHit.h.

References compareTotals::tot, and tot_.

24 { tot_ = tot; }
float tot_
Time over threshold/pulse width.
Definition: TotemT2RecHit.h:35

◆ time()

float TotemT2RecHit::time ( ) const
inline

Definition at line 21 of file TotemT2RecHit.h.

References time_.

Referenced by operator<(), and setTime().

21 { return time_; }
float time_
Leading edge time.
Definition: TotemT2RecHit.h:31

◆ timeUnc()

float TotemT2RecHit::timeUnc ( ) const
inline

Definition at line 23 of file TotemT2RecHit.h.

References time_unc_.

Referenced by operator<().

23 { return time_unc_; }
float time_unc_
Uncertainty on leading edge time.
Definition: TotemT2RecHit.h:33

◆ toT()

float TotemT2RecHit::toT ( ) const
inline

Definition at line 25 of file TotemT2RecHit.h.

References tot_.

Referenced by TotemT2DQMSource::fillToT(), and operator<().

25 { return tot_; }
float tot_
Time over threshold/pulse width.
Definition: TotemT2RecHit.h:35

Member Data Documentation

◆ centre_

GlobalPoint TotemT2RecHit::centre_
private

Tile centre position.

Definition at line 29 of file TotemT2RecHit.h.

Referenced by centre().

◆ time_

float TotemT2RecHit::time_ {0.f}
private

Leading edge time.

Definition at line 31 of file TotemT2RecHit.h.

Referenced by setTime(), and time().

◆ time_unc_

float TotemT2RecHit::time_unc_ {0.f}
private

Uncertainty on leading edge time.

Definition at line 33 of file TotemT2RecHit.h.

Referenced by setTimeUnc(), and timeUnc().

◆ tot_

float TotemT2RecHit::tot_ {0.f}
private

Time over threshold/pulse width.

Definition at line 35 of file TotemT2RecHit.h.

Referenced by setToT(), and toT().