CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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::CTPPSFastRecHit ( )
inline

Definition at line 13 of file CTPPSFastRecHit.h.

13 : theDetUnitId(0) {}
unsigned int theDetUnitId
CTPPSFastRecHit::CTPPSFastRecHit ( const Local3DPoint entry,
unsigned int  detId,
float  tof,
unsigned int  cellId 
)
inline

Definition at line 19 of file CTPPSFastRecHit.h.

20  : theEntryPoint(entry), theDetUnitId(detId), theTof(tof), theCellId(cellId) {}
unsigned int theDetUnitId
float tof() const
deprecated name for timeOfFlight()
unsigned int cellId() const
Local3DPoint theEntryPoint
unsigned int theCellId

Member Function Documentation

unsigned int CTPPSFastRecHit::cellId ( ) const
inline

Definition at line 40 of file CTPPSFastRecHit.h.

References theCellId.

Referenced by operator<<(), and setCellId().

40 { return theCellId; }
unsigned int theCellId
unsigned int CTPPSFastRecHit::detUnitId ( ) const
inline

Definition at line 38 of file CTPPSFastRecHit.h.

References theDetUnitId.

Referenced by operator<<(), and CTPPSFastTrackingProducer::ReadRecHits().

38 { return theDetUnitId; }
unsigned int theDetUnitId
Local3DPoint CTPPSFastRecHit::entryPoint ( ) const
inline

Entry point in the local Det frame.

Definition at line 22 of file CTPPSFastRecHit.h.

References theEntryPoint.

Referenced by operator<<(), and CTPPSFastTrackingProducer::ReadRecHits().

22 { return theEntryPoint; }
Local3DPoint theEntryPoint
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
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
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
list entry
Definition: mps_splice.py:68
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()
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()
float CTPPSFastRecHit::tof ( ) const
inline

deprecated name for timeOfFlight()

Definition at line 31 of file CTPPSFastRecHit.h.

References theTof.

Referenced by operator<<(), CTPPSFastTrackingProducer::ReadRecHits(), setTof(), and timeOfFlight().

31 { return theTof; }

Member Data Documentation

unsigned int CTPPSFastRecHit::theCellId
protected

Definition at line 56 of file CTPPSFastRecHit.h.

Referenced by cellId(), and setCellId().

unsigned int CTPPSFastRecHit::theDetUnitId
protected

Definition at line 54 of file CTPPSFastRecHit.h.

Referenced by detUnitId(), and setDetUnitId().

Local3DPoint CTPPSFastRecHit::theEntryPoint
protected

Definition at line 52 of file CTPPSFastRecHit.h.

Referenced by entryPoint(), and setLocal3DPoint().

float CTPPSFastRecHit::theTof
protected

Definition at line 55 of file CTPPSFastRecHit.h.

Referenced by setTof(), and tof().