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) {}

◆ 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.

Member Function Documentation

◆ cellId()

unsigned int CTPPSFastRecHit::cellId ( ) const
inline

Definition at line 40 of file CTPPSFastRecHit.h.

40 { return theCellId; }

References theCellId.

Referenced by setCellId().

◆ detUnitId()

unsigned int CTPPSFastRecHit::detUnitId ( ) const
inline

Definition at line 38 of file CTPPSFastRecHit.h.

38 { return theDetUnitId; }

References theDetUnitId.

◆ entryPoint()

Local3DPoint CTPPSFastRecHit::entryPoint ( ) const
inline

Entry point in the local Det frame.

Definition at line 22 of file CTPPSFastRecHit.h.

22 { return theEntryPoint; }

References theEntryPoint.

◆ setCellId()

void CTPPSFastRecHit::setCellId ( unsigned int  cellId)
inline

Definition at line 48 of file CTPPSFastRecHit.h.

48 { theCellId = cellId; }

References cellId(), and theCellId.

Referenced by CTPPSRecHitProducer::produce().

◆ setDetUnitId()

void CTPPSFastRecHit::setDetUnitId ( unsigned int  detId)
inline

Definition at line 46 of file CTPPSFastRecHit.h.

46 { theDetUnitId = detId; }

References theDetUnitId.

Referenced by CTPPSRecHitProducer::produce().

◆ setLocal3DPoint()

void CTPPSFastRecHit::setLocal3DPoint ( const Local3DPoint entry)
inline

Definition at line 44 of file CTPPSFastRecHit.h.

44 { theEntryPoint = entry; }

References mps_splice::entry, and theEntryPoint.

Referenced by CTPPSRecHitProducer::produce().

◆ setTof()

void CTPPSFastRecHit::setTof ( float  tof)
inline

Definition at line 42 of file CTPPSFastRecHit.h.

42 { theTof = tof; }

References theTof, and tof().

Referenced by CTPPSRecHitProducer::produce().

◆ timeOfFlight()

float CTPPSFastRecHit::timeOfFlight ( ) const
inline

Definition at line 28 of file CTPPSFastRecHit.h.

28 { return tof(); }

References tof().

◆ tof()

float CTPPSFastRecHit::tof ( ) const
inline

deprecated name for timeOfFlight()

Definition at line 31 of file CTPPSFastRecHit.h.

31 { return theTof; }

References theTof.

Referenced by setTof(), and timeOfFlight().

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().

mps_splice.entry
entry
Definition: mps_splice.py:68
CTPPSFastRecHit::theCellId
unsigned int theCellId
Definition: CTPPSFastRecHit.h:56
CTPPSFastRecHit::cellId
unsigned int cellId() const
Definition: CTPPSFastRecHit.h:40
CTPPSFastRecHit::theDetUnitId
unsigned int theDetUnitId
Definition: CTPPSFastRecHit.h:54
CTPPSFastRecHit::theEntryPoint
Local3DPoint theEntryPoint
Definition: CTPPSFastRecHit.h:52
CTPPSFastRecHit::tof
float tof() const
deprecated name for timeOfFlight()
Definition: CTPPSFastRecHit.h:31
CTPPSFastRecHit::theTof
float theTof
Definition: CTPPSFastRecHit.h:55