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

19  :
20  theEntryPoint( entry),
21  theDetUnitId( detId),
22  theTof(tof),
23  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 43 of file CTPPSFastRecHit.h.

References theCellId.

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

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

Definition at line 41 of file CTPPSFastRecHit.h.

References theDetUnitId.

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

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

Entry point in the local Det frame.

Definition at line 25 of file CTPPSFastRecHit.h.

References theEntryPoint.

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

25 {return theEntryPoint;}
Local3DPoint theEntryPoint
void CTPPSFastRecHit::setCellId ( unsigned int  cellId)
inline

Definition at line 51 of file CTPPSFastRecHit.h.

References cellId(), and theCellId.

Referenced by CTPPSRecHitProducer::produce().

51 {theCellId = cellId;}
unsigned int cellId() const
unsigned int theCellId
void CTPPSFastRecHit::setDetUnitId ( unsigned int  detId)
inline

Definition at line 49 of file CTPPSFastRecHit.h.

References theDetUnitId.

Referenced by CTPPSRecHitProducer::produce().

49 {theDetUnitId = detId;}
unsigned int theDetUnitId
void CTPPSFastRecHit::setLocal3DPoint ( const Local3DPoint entry)
inline

Definition at line 47 of file CTPPSFastRecHit.h.

References mps_splice::entry, and theEntryPoint.

Referenced by CTPPSRecHitProducer::produce().

Local3DPoint theEntryPoint
void CTPPSFastRecHit::setTof ( float  tof)
inline

Definition at line 45 of file CTPPSFastRecHit.h.

References theTof, and tof().

Referenced by CTPPSRecHitProducer::produce().

45 {theTof=tof;}
float tof() const
deprecated name for timeOfFlight()
float CTPPSFastRecHit::timeOfFlight ( ) const
inline

Definition at line 31 of file CTPPSFastRecHit.h.

References tof().

31 {return tof();}
float tof() const
deprecated name for timeOfFlight()
float CTPPSFastRecHit::tof ( ) const
inline

deprecated name for timeOfFlight()

Definition at line 34 of file CTPPSFastRecHit.h.

References theTof.

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

34 {return theTof;}

Member Data Documentation

unsigned int CTPPSFastRecHit::theCellId
protected

Definition at line 60 of file CTPPSFastRecHit.h.

Referenced by cellId(), and setCellId().

unsigned int CTPPSFastRecHit::theDetUnitId
protected

Definition at line 58 of file CTPPSFastRecHit.h.

Referenced by detUnitId(), and setDetUnitId().

Local3DPoint CTPPSFastRecHit::theEntryPoint
protected

Definition at line 56 of file CTPPSFastRecHit.h.

Referenced by entryPoint(), and setLocal3DPoint().

float CTPPSFastRecHit::theTof
protected

Definition at line 59 of file CTPPSFastRecHit.h.

Referenced by setTof(), and tof().