CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
RPCDigiSimLink Class Reference

#include <RPCDigiSimLink.h>

Public Member Functions

unsigned int getBx () const
 
unsigned int getDetUnitId () const
 
float getEnergyLoss () const
 
Local3DPoint getEntryPoint () const
 
EncodedEventId getEventId () const
 
LocalVector getMomentumAtEntry () const
 
int getParticleType () const
 
unsigned short getProcessType () const
 
unsigned int getStrip () const
 
float getTimeOfFlight () const
 
unsigned int getTrackId () const
 
bool operator< (const RPCDigiSimLink &other) const
 
 RPCDigiSimLink (std::pair< unsigned int, int > digi, Local3DPoint entryPoint, LocalVector momentumAtEntry, float timeOfFlight, float energyLoss, int particleType, unsigned int detUnitId, unsigned int trackId, EncodedEventId eventId, unsigned short processType)
 
 RPCDigiSimLink ()
 
 ~RPCDigiSimLink ()
 

Private Attributes

unsigned int _detUnitId
 
std::pair< unsigned int, int > _digi
 
float _energyLoss
 
Local3DPoint _entryPoint
 
EncodedEventId _eventId
 
LocalVector _momentumAtEntry
 
int _particleType
 
unsigned short _processType
 
float _timeOfFlight
 
unsigned int _trackId
 

Detailed Description

Definition at line 10 of file RPCDigiSimLink.h.

Constructor & Destructor Documentation

RPCDigiSimLink::RPCDigiSimLink ( std::pair< unsigned int, int >  digi,
Local3DPoint  entryPoint,
LocalVector  momentumAtEntry,
float  timeOfFlight,
float  energyLoss,
int  particleType,
unsigned int  detUnitId,
unsigned int  trackId,
EncodedEventId  eventId,
unsigned short  processType 
)
inline

Definition at line 12 of file RPCDigiSimLink.h.

References _detUnitId, _digi, _energyLoss, _entryPoint, _eventId, _momentumAtEntry, _particleType, _processType, _timeOfFlight, _trackId, objects.autophobj::particleType, and spr::timeOfFlight().

16  {
17 
18  _entryPoint=entryPoint;
19  _momentumAtEntry=momentumAtEntry;
21  _energyLoss=energyLoss;
23  _detUnitId=detUnitId;
24  _trackId=trackId;
25  _eventId=eventId;
26  _processType=processType;
27  _digi = digi;
28  }
tuple particleType
Definition: autophobj.py:28
double timeOfFlight(DetId id, const CaloGeometry *geo, bool debug=false)
Definition: CaloSimInfo.cc:12
RPCDigiSimLink::RPCDigiSimLink ( )
inline

Definition at line 30 of file RPCDigiSimLink.h.

30 {;}
RPCDigiSimLink::~RPCDigiSimLink ( )
inline

Definition at line 32 of file RPCDigiSimLink.h.

32 {;}

Member Function Documentation

unsigned int RPCDigiSimLink::getBx ( ) const
inline

Definition at line 35 of file RPCDigiSimLink.h.

References _digi.

35 {return _digi.second;}
unsigned int RPCDigiSimLink::getDetUnitId ( ) const
inline

Definition at line 41 of file RPCDigiSimLink.h.

References _detUnitId.

41 {return _detUnitId;}
float RPCDigiSimLink::getEnergyLoss ( ) const
inline

Definition at line 39 of file RPCDigiSimLink.h.

References _energyLoss.

39 {return _energyLoss;}
Local3DPoint RPCDigiSimLink::getEntryPoint ( ) const
inline

Definition at line 36 of file RPCDigiSimLink.h.

References _entryPoint.

36 {return _entryPoint;}
EncodedEventId RPCDigiSimLink::getEventId ( ) const
inline

Definition at line 43 of file RPCDigiSimLink.h.

References _eventId.

43 {return _eventId;}
LocalVector RPCDigiSimLink::getMomentumAtEntry ( ) const
inline

Definition at line 37 of file RPCDigiSimLink.h.

References _momentumAtEntry.

37 {return _momentumAtEntry;}
int RPCDigiSimLink::getParticleType ( ) const
inline

Definition at line 40 of file RPCDigiSimLink.h.

References _particleType.

40 {return _particleType;}
unsigned short RPCDigiSimLink::getProcessType ( ) const
inline

Definition at line 44 of file RPCDigiSimLink.h.

References _processType.

44 {return _processType;}
unsigned int RPCDigiSimLink::getStrip ( ) const
inline

Definition at line 34 of file RPCDigiSimLink.h.

References _digi.

Referenced by operator<().

34 {return _digi.first;}
float RPCDigiSimLink::getTimeOfFlight ( ) const
inline

Definition at line 38 of file RPCDigiSimLink.h.

References _timeOfFlight.

38 {return _timeOfFlight;}
unsigned int RPCDigiSimLink::getTrackId ( ) const
inline

Definition at line 42 of file RPCDigiSimLink.h.

References _trackId.

42 {return _trackId;}
bool RPCDigiSimLink::operator< ( const RPCDigiSimLink other) const
inline

Definition at line 46 of file RPCDigiSimLink.h.

References getStrip().

46 { return getStrip() < other.getStrip(); }

Member Data Documentation

unsigned int RPCDigiSimLink::_detUnitId
private

Definition at line 56 of file RPCDigiSimLink.h.

Referenced by getDetUnitId(), and RPCDigiSimLink().

std::pair<unsigned int,int> RPCDigiSimLink::_digi
private

Definition at line 49 of file RPCDigiSimLink.h.

Referenced by getBx(), getStrip(), and RPCDigiSimLink().

float RPCDigiSimLink::_energyLoss
private

Definition at line 54 of file RPCDigiSimLink.h.

Referenced by getEnergyLoss(), and RPCDigiSimLink().

Local3DPoint RPCDigiSimLink::_entryPoint
private

Definition at line 51 of file RPCDigiSimLink.h.

Referenced by getEntryPoint(), and RPCDigiSimLink().

EncodedEventId RPCDigiSimLink::_eventId
private

Definition at line 58 of file RPCDigiSimLink.h.

Referenced by getEventId(), and RPCDigiSimLink().

LocalVector RPCDigiSimLink::_momentumAtEntry
private

Definition at line 52 of file RPCDigiSimLink.h.

Referenced by getMomentumAtEntry(), and RPCDigiSimLink().

int RPCDigiSimLink::_particleType
private

Definition at line 55 of file RPCDigiSimLink.h.

Referenced by getParticleType(), and RPCDigiSimLink().

unsigned short RPCDigiSimLink::_processType
private

Definition at line 59 of file RPCDigiSimLink.h.

Referenced by getProcessType(), and RPCDigiSimLink().

float RPCDigiSimLink::_timeOfFlight
private

Definition at line 53 of file RPCDigiSimLink.h.

Referenced by getTimeOfFlight(), and RPCDigiSimLink().

unsigned int RPCDigiSimLink::_trackId
private

Definition at line 57 of file RPCDigiSimLink.h.

Referenced by getTrackId(), and RPCDigiSimLink().