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 13 of file CTPPSTimingRecHit.h.

Constructor & Destructor Documentation

◆ CTPPSTimingRecHit() [1/2]

CTPPSTimingRecHit::CTPPSTimingRecHit ( )
inline

Definition at line 21 of file CTPPSTimingRecHit.h.

21 { return x_; }

References x_.

◆ CTPPSTimingRecHit() [2/2]

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

Definition at line 22 of file CTPPSTimingRecHit.h.

23  { y_ = y; }

References y(), and y_.

Member Function Documentation

◆ setTime()

void CTPPSTimingRecHit::setTime ( float  t)
inline

Definition at line 43 of file CTPPSTimingRecHit.h.

50 {

◆ setX()

void CTPPSTimingRecHit::setX ( float  x)
inline

Definition at line 25 of file CTPPSTimingRecHit.h.

26 { z_ = z; }

◆ setXWidth()

void CTPPSTimingRecHit::setXWidth ( float  xWidth)
inline

Definition at line 34 of file CTPPSTimingRecHit.h.

35 { zWidth_ = zWidth; }

◆ setY()

void CTPPSTimingRecHit::setY ( float  y)
inline

Definition at line 28 of file CTPPSTimingRecHit.h.

29 { xWidth_ = xWidth; }

◆ setYWidth()

void CTPPSTimingRecHit::setYWidth ( float  yWidth)
inline

Definition at line 37 of file CTPPSTimingRecHit.h.

38 { t_ = t; }

◆ setZ()

void CTPPSTimingRecHit::setZ ( float  z)
inline

Definition at line 31 of file CTPPSTimingRecHit.h.

32 { yWidth_ = yWidth; }

◆ setZWidth()

void CTPPSTimingRecHit::setZWidth ( float  zWidth)
inline

Definition at line 40 of file CTPPSTimingRecHit.h.

41 :
42  float x_, xWidth_;

◆ time()

float CTPPSTimingRecHit::time ( ) const
inline

Definition at line 44 of file CTPPSTimingRecHit.h.

50 {

◆ x()

float CTPPSTimingRecHit::x ( ) const
inline

◆ xWidth()

float CTPPSTimingRecHit::xWidth ( ) const
inline

Definition at line 35 of file CTPPSTimingRecHit.h.

35 { zWidth_ = zWidth; }

References zWidth(), and zWidth_.

Referenced by y().

◆ y()

float CTPPSTimingRecHit::y ( ) const
inline

◆ yWidth()

float CTPPSTimingRecHit::yWidth ( ) const
inline

Definition at line 38 of file CTPPSTimingRecHit.h.

38 { t_ = t; }

References OrderedSet::t, and t_.

Referenced by z().

◆ z()

float CTPPSTimingRecHit::z ( ) const
inline

Definition at line 32 of file CTPPSTimingRecHit.h.

32 { yWidth_ = yWidth; }

References yWidth(), and yWidth_.

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

◆ zWidth()

float CTPPSTimingRecHit::zWidth ( ) const
inline

Definition at line 41 of file CTPPSTimingRecHit.h.

41 :
42  float x_, xWidth_;

Referenced by xWidth().

Member Data Documentation

◆ t_

float CTPPSTimingRecHit::t_
protected

Definition at line 50 of file CTPPSTimingRecHit.h.

Referenced by yWidth().

◆ x_

float CTPPSTimingRecHit::x_
protected

Definition at line 47 of file CTPPSTimingRecHit.h.

Referenced by CTPPSTimingRecHit().

◆ xWidth_

float CTPPSTimingRecHit::xWidth_
protected

Definition at line 47 of file CTPPSTimingRecHit.h.

Referenced by y().

◆ y_

float CTPPSTimingRecHit::y_
protected

Definition at line 48 of file CTPPSTimingRecHit.h.

Referenced by CTPPSTimingRecHit().

◆ yWidth_

float CTPPSTimingRecHit::yWidth_
protected

Definition at line 48 of file CTPPSTimingRecHit.h.

Referenced by z().

◆ z_

float CTPPSTimingRecHit::z_
protected

Definition at line 49 of file CTPPSTimingRecHit.h.

Referenced by x().

◆ zWidth_

float CTPPSTimingRecHit::zWidth_
protected

Definition at line 49 of file CTPPSTimingRecHit.h.

Referenced by xWidth().

CTPPSTimingRecHit::yWidth_
float yWidth_
Definition: CTPPSTimingRecHit.h:48
CTPPSTimingRecHit::z
float z() const
Definition: CTPPSTimingRecHit.h:32
CTPPSTimingRecHit::t_
float t_
Definition: CTPPSTimingRecHit.h:50
CTPPSTimingRecHit::zWidth
float zWidth() const
Definition: CTPPSTimingRecHit.h:41
CTPPSTimingRecHit::x_
float x_
Definition: CTPPSTimingRecHit.h:47
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
CTPPSTimingRecHit::z_
float z_
Definition: CTPPSTimingRecHit.h:49
CTPPSTimingRecHit::y_
float y_
Definition: CTPPSTimingRecHit.h:48
CTPPSTimingRecHit::y
float y() const
Definition: CTPPSTimingRecHit.h:29
CTPPSTimingRecHit::xWidth_
float xWidth_
Definition: CTPPSTimingRecHit.h:47
CTPPSTimingRecHit::zWidth_
float zWidth_
Definition: CTPPSTimingRecHit.h:49