CMS 3D CMS Logo

Public Member Functions | Private Attributes

PixelDigiSimLink Class Reference

#include <PixelDigiSimLink.h>

List of all members.

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, eId, fract, and simTkId.

                                                                                  {
    chan=ch;
    simTkId=tkId;
    fract=a;
    eId=e;
  };
PixelDigiSimLink::PixelDigiSimLink ( ) [inline]

Definition at line 16 of file PixelDigiSimLink.h.

References chan, fract, and simTkId.

                    :eId(0){
    chan=0;
    simTkId=0;
    fract=0;
  };
PixelDigiSimLink::~PixelDigiSimLink ( ) [inline]

Definition at line 21 of file PixelDigiSimLink.h.

{};

Member Function Documentation

unsigned int PixelDigiSimLink::channel ( ) const [inline]

Definition at line 22 of file PixelDigiSimLink.h.

References chan.

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

Definition at line 24 of file PixelDigiSimLink.h.

References eId.

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

Definition at line 25 of file PixelDigiSimLink.h.

References fract.

Referenced by operator<().

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

Definition at line 28 of file PixelDigiSimLink.h.

References fraction().

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

Definition at line 23 of file PixelDigiSimLink.h.

References simTkId.

{return simTkId;};

Member Data Documentation

unsigned int PixelDigiSimLink::chan [private]

Definition at line 31 of file PixelDigiSimLink.h.

Referenced by channel(), and PixelDigiSimLink().

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