CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes
CTPPSTimingRecHit Class Reference

Reconstructed hit in timing detectors. More...

#include <CTPPSTimingRecHit.h>

Inheritance diagram for CTPPSTimingRecHit:
CTPPSDiamondRecHit TotemTimingRecHit

Public Member Functions

 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
 

Protected Attributes

float t_
 
float x_
 
float xWidth_
 
float y_
 
float yWidth_
 
float z_
 
float zWidth_
 

Detailed Description

Reconstructed hit in timing detectors.

Definition at line 14 of file CTPPSTimingRecHit.h.

Constructor & Destructor Documentation

◆ CTPPSTimingRecHit() [1/2]

CTPPSTimingRecHit::CTPPSTimingRecHit ( )
inline

◆ CTPPSTimingRecHit() [2/2]

CTPPSTimingRecHit::CTPPSTimingRecHit ( float  x,
float  xWidth,
float  y,
float  yWidth,
float  z,
float  zWidth,
float  t 
)
inline

Member Function Documentation

◆ setTime()

void CTPPSTimingRecHit::setTime ( float  t)
inline

Definition at line 38 of file CTPPSTimingRecHit.h.

References submitPVValidationJobs::t, and t_.

◆ setX()

void CTPPSTimingRecHit::setX ( float  x)
inline

Definition at line 20 of file CTPPSTimingRecHit.h.

References x(), and x_.

20 { x_ = x; }

◆ setXWidth()

void CTPPSTimingRecHit::setXWidth ( float  xWidth)
inline

Definition at line 29 of file CTPPSTimingRecHit.h.

References xWidth(), and xWidth_.

29 { xWidth_ = xWidth; }
float xWidth() const

◆ setY()

void CTPPSTimingRecHit::setY ( float  y)
inline

Definition at line 23 of file CTPPSTimingRecHit.h.

References y(), and y_.

23 { y_ = y; }

◆ setYWidth()

void CTPPSTimingRecHit::setYWidth ( float  yWidth)
inline

Definition at line 32 of file CTPPSTimingRecHit.h.

References yWidth(), and yWidth_.

32 { yWidth_ = yWidth; }
float yWidth() const

◆ setZ()

void CTPPSTimingRecHit::setZ ( float  z)
inline

Definition at line 26 of file CTPPSTimingRecHit.h.

References z(), and z_.

26 { z_ = z; }

◆ setZWidth()

void CTPPSTimingRecHit::setZWidth ( float  zWidth)
inline

Definition at line 35 of file CTPPSTimingRecHit.h.

References zWidth(), and zWidth_.

35 { zWidth_ = zWidth; }
float zWidth() const

◆ time()

float CTPPSTimingRecHit::time ( ) const
inline

Definition at line 39 of file CTPPSTimingRecHit.h.

References t_.

39 { return t_; }

◆ x()

float CTPPSTimingRecHit::x ( ) const
inline

◆ xWidth()

float CTPPSTimingRecHit::xWidth ( ) const
inline

Definition at line 30 of file CTPPSTimingRecHit.h.

References xWidth_.

Referenced by setXWidth().

30 { return xWidth_; }

◆ y()

float CTPPSTimingRecHit::y ( ) const
inline

◆ yWidth()

float CTPPSTimingRecHit::yWidth ( ) const
inline

Definition at line 33 of file CTPPSTimingRecHit.h.

References yWidth_.

Referenced by setYWidth().

33 { return yWidth_; }

◆ z()

float CTPPSTimingRecHit::z ( ) const
inline

Definition at line 27 of file CTPPSTimingRecHit.h.

References z_.

Referenced by geometryXMLparser.Alignable::pos(), ntupleDataFormat._HitObject::r3D(), and setZ().

27 { return z_; }

◆ zWidth()

float CTPPSTimingRecHit::zWidth ( ) const
inline

Definition at line 36 of file CTPPSTimingRecHit.h.

References zWidth_.

Referenced by setZWidth().

36 { return zWidth_; }

Member Data Documentation

◆ t_

float CTPPSTimingRecHit::t_
protected

Definition at line 45 of file CTPPSTimingRecHit.h.

Referenced by setTime(), and time().

◆ x_

float CTPPSTimingRecHit::x_
protected

Definition at line 42 of file CTPPSTimingRecHit.h.

Referenced by setX(), and x().

◆ xWidth_

float CTPPSTimingRecHit::xWidth_
protected

Definition at line 42 of file CTPPSTimingRecHit.h.

Referenced by setXWidth(), and xWidth().

◆ y_

float CTPPSTimingRecHit::y_
protected

Definition at line 43 of file CTPPSTimingRecHit.h.

Referenced by setY(), and y().

◆ yWidth_

float CTPPSTimingRecHit::yWidth_
protected

Definition at line 43 of file CTPPSTimingRecHit.h.

Referenced by setYWidth(), and yWidth().

◆ z_

float CTPPSTimingRecHit::z_
protected

Definition at line 44 of file CTPPSTimingRecHit.h.

Referenced by setZ(), and z().

◆ zWidth_

float CTPPSTimingRecHit::zWidth_
protected

Definition at line 44 of file CTPPSTimingRecHit.h.

Referenced by setZWidth(), and zWidth().