CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PixelDigiSimLink.h
Go to the documentation of this file.
1 #ifndef TRACKINGOBJECTS_PIXELDIGISIMLINK_H
2 #define TRACKINGOBJECTS_PIXELDIGISIMLINK_H
3 
4 #include "boost/cstdint.hpp"
6 
7 //typedef std::pair<unsigned int ,unsigned int > PixelDigiSimLink;
9 public:
10  PixelDigiSimLink(unsigned int ch, unsigned int tkId, EncodedEventId e, float a ){
11  chan=ch;
12  simTkId=tkId;
13  fract=a;
14  eId=e;
15  };
17  chan=0;
18  simTkId=0;
19  fract=0;
20  };
22  unsigned int channel() const{return chan;};
23  unsigned int SimTrackId() const{return simTkId;};
24  EncodedEventId eventId() const{return eId;}
25  float fraction() const{return fract;};
26 
27 
28  inline bool operator< ( const PixelDigiSimLink& other ) const { return fraction() < other.fraction(); }
29 
30  private:
31  unsigned int chan;
32  unsigned int simTkId;
34  float fract;
35  };
36 #endif
double a
Definition: hdecay.h:121