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
PixelDigiSimLink Class Reference

#include <PixelDigiSimLink.h>

Public Member Functions

unsigned int channel () const
 
EncodedEventId eventId () const
 
float fraction () const
 
bool operator< (const PixelDigiSimLink &other) const
 
 PixelDigiSimLink (unsigned int ch, unsigned int tkId, EncodedEventId e, float a)
 
 PixelDigiSimLink ()
 
unsigned int SimTrackId () const
 
 ~PixelDigiSimLink ()
 

Private Attributes

unsigned int chan
 
EncodedEventId eId
 
float fract
 
unsigned int simTkId
 

Detailed Description

Definition at line 8 of file PixelDigiSimLink.h.

Constructor & Destructor Documentation

PixelDigiSimLink::PixelDigiSimLink ( unsigned int  ch,
unsigned int  tkId,
EncodedEventId  e,
float  a 
)
inline

Definition at line 10 of file PixelDigiSimLink.h.

References a, chan, alignCSCRings::e, eId, fract, and simTkId.

10  {
11  chan=ch;
12  simTkId=tkId;
13  fract=a;
14  eId=e;
15  };
double a
Definition: hdecay.h:121
PixelDigiSimLink::PixelDigiSimLink ( )
inline

Definition at line 16 of file PixelDigiSimLink.h.

References chan, fract, and simTkId.

16  :eId(0){
17  chan=0;
18  simTkId=0;
19  fract=0;
20  };
PixelDigiSimLink::~PixelDigiSimLink ( )
inline

Definition at line 21 of file PixelDigiSimLink.h.

21 {};

Member Function Documentation

unsigned int PixelDigiSimLink::channel ( ) const
inline

Definition at line 22 of file PixelDigiSimLink.h.

References chan.

22 {return chan;};
EncodedEventId PixelDigiSimLink::eventId ( ) const
inline

Definition at line 24 of file PixelDigiSimLink.h.

References eId.

24 {return eId;}
float PixelDigiSimLink::fraction ( ) const
inline

Definition at line 25 of file PixelDigiSimLink.h.

References fract.

Referenced by operator<().

25 {return fract;};
bool PixelDigiSimLink::operator< ( const PixelDigiSimLink other) const
inline

Definition at line 28 of file PixelDigiSimLink.h.

References fraction().

28 { return fraction() < other.fraction(); }
unsigned int PixelDigiSimLink::SimTrackId ( ) const
inline

Definition at line 23 of file PixelDigiSimLink.h.

References simTkId.

23 {return simTkId;};

Member Data Documentation

unsigned int PixelDigiSimLink::chan
private

Definition at line 31 of file PixelDigiSimLink.h.

Referenced by channel(), and PixelDigiSimLink().

EncodedEventId PixelDigiSimLink::eId
private

Definition at line 33 of file PixelDigiSimLink.h.

Referenced by eventId(), and PixelDigiSimLink().

float PixelDigiSimLink::fract
private

Definition at line 34 of file PixelDigiSimLink.h.

Referenced by fraction(), and PixelDigiSimLink().

unsigned int PixelDigiSimLink::simTkId
private

Definition at line 32 of file PixelDigiSimLink.h.

Referenced by PixelDigiSimLink(), and SimTrackId().