CMS 3D CMS Logo

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

#include <CTPPSFastRecHit.h>

Public Member Functions

unsigned int cellId () const
 
 CTPPSFastRecHit ()
 
 CTPPSFastRecHit (const Local3DPoint &entry, unsigned int detId, float tof, unsigned int cellId)
 
unsigned int detUnitId () const
 
Local3DPoint entryPoint () const
 Entry point in the local Det frame. More...
 
void setCellId (unsigned int cellId)
 
void setDetUnitId (unsigned int detId)
 
void setLocal3DPoint (const Local3DPoint &entry)
 
void setTof (float tof)
 
float timeOfFlight () const
 
float tof () const
 deprecated name for timeOfFlight() More...
 

Protected Attributes

unsigned int theCellId
 
unsigned int theDetUnitId
 
Local3DPoint theEntryPoint
 
float theTof
 

Detailed Description

Definition at line 9 of file CTPPSFastRecHit.h.

Constructor & Destructor Documentation

◆ CTPPSFastRecHit() [1/2]

CTPPSFastRecHit::CTPPSFastRecHit ( )
inline

Definition at line 13 of file CTPPSFastRecHit.h.

13 : theDetUnitId(0) {}
unsigned int theDetUnitId

◆ CTPPSFastRecHit() [2/2]

CTPPSFastRecHit::CTPPSFastRecHit ( const Local3DPoint entry,
unsigned int  detId,
float  tof,
unsigned int  cellId 
)
inline

Definition at line 19 of file CTPPSFastRecHit.h.

unsigned int theDetUnitId
Local3DPoint theEntryPoint
unsigned int cellId() const
float tof() const
deprecated name for timeOfFlight()
unsigned int theCellId

Member Function Documentation

◆ cellId()

unsigned int CTPPSFastRecHit::cellId ( ) const
inline

Definition at line 40 of file CTPPSFastRecHit.h.

References theCellId.

Referenced by setCellId().

40 { return theCellId; }
unsigned int theCellId

◆ detUnitId()

unsigned int CTPPSFastRecHit::detUnitId ( ) const
inline

Definition at line 38 of file CTPPSFastRecHit.h.

References theDetUnitId.

38 { return theDetUnitId; }
unsigned int theDetUnitId

◆ entryPoint()

Local3DPoint CTPPSFastRecHit::entryPoint ( ) const
inline

Entry point in the local Det frame.

Definition at line 22 of file CTPPSFastRecHit.h.

References theEntryPoint.

22 { return theEntryPoint; }
Local3DPoint theEntryPoint

◆ setCellId()

void CTPPSFastRecHit::setCellId ( unsigned int  cellId)
inline

Definition at line 48 of file CTPPSFastRecHit.h.

References cellId(), and theCellId.

Referenced by CTPPSRecHitProducer::produce().

48 { theCellId = cellId; }
unsigned int cellId() const
unsigned int theCellId

◆ setDetUnitId()

void CTPPSFastRecHit::setDetUnitId ( unsigned int  detId)
inline

Definition at line 46 of file CTPPSFastRecHit.h.

References theDetUnitId.

Referenced by CTPPSRecHitProducer::produce().

46 { theDetUnitId = detId; }
unsigned int theDetUnitId

◆ setLocal3DPoint()

void CTPPSFastRecHit::setLocal3DPoint ( const Local3DPoint entry)
inline

Definition at line 44 of file CTPPSFastRecHit.h.

References mps_splice::entry, and theEntryPoint.

Referenced by CTPPSRecHitProducer::produce().

44 { theEntryPoint = entry; }
Local3DPoint theEntryPoint

◆ setTof()

void CTPPSFastRecHit::setTof ( float  tof)
inline

Definition at line 42 of file CTPPSFastRecHit.h.

References theTof, and tof().

Referenced by CTPPSRecHitProducer::produce().

42 { theTof = tof; }
float tof() const
deprecated name for timeOfFlight()

◆ timeOfFlight()

float CTPPSFastRecHit::timeOfFlight ( ) const
inline

Definition at line 28 of file CTPPSFastRecHit.h.

References tof().

28 { return tof(); }
float tof() const
deprecated name for timeOfFlight()

◆ tof()

float CTPPSFastRecHit::tof ( ) const
inline

deprecated name for timeOfFlight()

Definition at line 31 of file CTPPSFastRecHit.h.

References theTof.

Referenced by setTof(), and timeOfFlight().

31 { return theTof; }

Member Data Documentation

◆ theCellId

unsigned int CTPPSFastRecHit::theCellId
protected

Definition at line 56 of file CTPPSFastRecHit.h.

Referenced by cellId(), and setCellId().

◆ theDetUnitId

unsigned int CTPPSFastRecHit::theDetUnitId
protected

Definition at line 54 of file CTPPSFastRecHit.h.

Referenced by detUnitId(), and setDetUnitId().

◆ theEntryPoint

Local3DPoint CTPPSFastRecHit::theEntryPoint
protected

Definition at line 52 of file CTPPSFastRecHit.h.

Referenced by entryPoint(), and setLocal3DPoint().

◆ theTof

float CTPPSFastRecHit::theTof
protected

Definition at line 55 of file CTPPSFastRecHit.h.

Referenced by setTof(), and tof().