CMS 3D CMS Logo

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

Reconstructed hit in diamond detectors. More...

#include <CTPPSDiamondRecHit.h>

Public Member Functions

 CTPPSDiamondRecHit ()
 
 CTPPSDiamondRecHit (float x, float x_width, float y, float y_width, float t, float tot, int oot_idx, const HPTDCErrorFlags &hptdc_err, const bool mh)
 
HPTDCErrorFlags getHPTDCErrorFlags () const
 
bool getMultipleHits () const
 
int getOOTIndex () const
 
float getT () const
 
float getToT () const
 
float getX () const
 
float getXWidth () const
 
float getY () const
 
float getYWidth () const
 
void setHPTDCErrorFlags (const HPTDCErrorFlags &err)
 
void setMultipleHits (const bool mh)
 
void setOOTIndex (const int &i)
 
void setT (const float &t)
 
void setToT (const float &tot)
 
void setX (const float &x)
 
void setXWidth (const float &xwidth)
 
void setY (const float &y)
 
void setYWidth (const float &ywidth)
 

Private Attributes

HPTDCErrorFlags hptdc_err_
 
bool mh_
 
float t_
 
float tot_
 
int ts_index_
 Time slice index. More...
 
float x_
 
float x_width_
 
float y_
 
float y_width_
 

Detailed Description

Reconstructed hit in diamond detectors.

Definition at line 16 of file CTPPSDiamondRecHit.h.

Constructor & Destructor Documentation

CTPPSDiamondRecHit::CTPPSDiamondRecHit ( )
inline

Definition at line 19 of file CTPPSDiamondRecHit.h.

19  :
20  x_( 0. ), x_width_( 0. ), y_( 0. ), y_width_( 0. ),
21  t_( 0. ), tot_( 0. ),
22  ts_index_( 0 ), hptdc_err_( 0 ), mh_( false )
23  {}
HPTDCErrorFlags hptdc_err_
int ts_index_
Time slice index.
CTPPSDiamondRecHit::CTPPSDiamondRecHit ( float  x,
float  x_width,
float  y,
float  y_width,
float  t,
float  tot,
int  oot_idx,
const HPTDCErrorFlags hptdc_err,
const bool  mh 
)
inline

Definition at line 24 of file CTPPSDiamondRecHit.h.

24  :
25  x_( x ), x_width_( x_width ), y_( y ), y_width_( y_width ),
26  t_( t ), tot_( tot ),
27  ts_index_( oot_idx ), hptdc_err_( hptdc_err ), mh_( mh )
28  {}
HPTDCErrorFlags hptdc_err_
int ts_index_
Time slice index.

Member Function Documentation

HPTDCErrorFlags CTPPSDiamondRecHit::getHPTDCErrorFlags ( ) const
inline

Definition at line 55 of file CTPPSDiamondRecHit.h.

References hptdc_err_.

55 { return hptdc_err_; }
HPTDCErrorFlags hptdc_err_
bool CTPPSDiamondRecHit::getMultipleHits ( ) const
inline

Definition at line 52 of file CTPPSDiamondRecHit.h.

References mh_.

Referenced by CTPPSDiamondTrackRecognition::addHit().

52 { return mh_; }
int CTPPSDiamondRecHit::getOOTIndex ( ) const
inline

Definition at line 49 of file CTPPSDiamondRecHit.h.

References ts_index_.

Referenced by CTPPSDiamondTrackRecognition::addHit().

49 { return ts_index_; }
int ts_index_
Time slice index.
float CTPPSDiamondRecHit::getT ( ) const
inline

Definition at line 43 of file CTPPSDiamondRecHit.h.

References t_.

Referenced by operator<().

43 { return t_; }
float CTPPSDiamondRecHit::getToT ( ) const
inline

Definition at line 46 of file CTPPSDiamondRecHit.h.

References tot_.

46 { return tot_; }
float CTPPSDiamondRecHit::getX ( ) const
inline

Definition at line 31 of file CTPPSDiamondRecHit.h.

References x_.

Referenced by CTPPSDiamondTrackRecognition::addHit().

31 { return x_; }
float CTPPSDiamondRecHit::getXWidth ( ) const
inline

Definition at line 37 of file CTPPSDiamondRecHit.h.

References x_width_.

Referenced by CTPPSDiamondTrackRecognition::addHit().

37 { return x_width_; }
float CTPPSDiamondRecHit::getY ( ) const
inline

Definition at line 34 of file CTPPSDiamondRecHit.h.

References y_.

Referenced by CTPPSDiamondTrackRecognition::addHit().

34 { return y_; }
float CTPPSDiamondRecHit::getYWidth ( ) const
inline

Definition at line 40 of file CTPPSDiamondRecHit.h.

References y_width_.

Referenced by CTPPSDiamondTrackRecognition::addHit().

40 { return y_width_; }
void CTPPSDiamondRecHit::setHPTDCErrorFlags ( const HPTDCErrorFlags err)
inline

Definition at line 54 of file CTPPSDiamondRecHit.h.

References hptdc_err_.

54 { hptdc_err_ = err; }
HPTDCErrorFlags hptdc_err_
void CTPPSDiamondRecHit::setMultipleHits ( const bool  mh)
inline

Definition at line 51 of file CTPPSDiamondRecHit.h.

References mh_.

51 { mh_ = mh; }
void CTPPSDiamondRecHit::setOOTIndex ( const int &  i)
inline

Definition at line 48 of file CTPPSDiamondRecHit.h.

References mps_fire::i, and ts_index_.

48 { ts_index_ = i; }
int ts_index_
Time slice index.
void CTPPSDiamondRecHit::setT ( const float &  t)
inline

Definition at line 42 of file CTPPSDiamondRecHit.h.

References lumiQTWidget::t, and t_.

void CTPPSDiamondRecHit::setToT ( const float &  tot)
inline

Definition at line 45 of file CTPPSDiamondRecHit.h.

References tot_.

45 { tot_ = tot; }
void CTPPSDiamondRecHit::setX ( const float &  x)
inline

Definition at line 30 of file CTPPSDiamondRecHit.h.

References x, and x_.

void CTPPSDiamondRecHit::setXWidth ( const float &  xwidth)
inline

Definition at line 36 of file CTPPSDiamondRecHit.h.

References x_width_.

36 { x_width_ = xwidth; }
void CTPPSDiamondRecHit::setY ( const float &  y)
inline

Definition at line 33 of file CTPPSDiamondRecHit.h.

References y, and y_.

void CTPPSDiamondRecHit::setYWidth ( const float &  ywidth)
inline

Definition at line 39 of file CTPPSDiamondRecHit.h.

References y_width_.

39 { y_width_ = ywidth; }

Member Data Documentation

HPTDCErrorFlags CTPPSDiamondRecHit::hptdc_err_
private

Definition at line 63 of file CTPPSDiamondRecHit.h.

Referenced by getHPTDCErrorFlags(), and setHPTDCErrorFlags().

bool CTPPSDiamondRecHit::mh_
private

Definition at line 64 of file CTPPSDiamondRecHit.h.

Referenced by getMultipleHits(), and setMultipleHits().

float CTPPSDiamondRecHit::t_
private

Definition at line 60 of file CTPPSDiamondRecHit.h.

Referenced by getT(), and setT().

float CTPPSDiamondRecHit::tot_
private

Definition at line 60 of file CTPPSDiamondRecHit.h.

Referenced by getToT(), and setToT().

int CTPPSDiamondRecHit::ts_index_
private

Time slice index.

Definition at line 62 of file CTPPSDiamondRecHit.h.

Referenced by getOOTIndex(), and setOOTIndex().

float CTPPSDiamondRecHit::x_
private

Definition at line 58 of file CTPPSDiamondRecHit.h.

Referenced by getX(), and setX().

float CTPPSDiamondRecHit::x_width_
private

Definition at line 58 of file CTPPSDiamondRecHit.h.

Referenced by getXWidth(), and setXWidth().

float CTPPSDiamondRecHit::y_
private

Definition at line 59 of file CTPPSDiamondRecHit.h.

Referenced by getY(), and setY().

float CTPPSDiamondRecHit::y_width_
private

Definition at line 59 of file CTPPSDiamondRecHit.h.

Referenced by getYWidth(), and setYWidth().