CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SimplePixel.h
Go to the documentation of this file.
1 //
2 // SimplePixel.h (v1.00)
3 //
4 
5 #ifndef SimplePixel_h
6 #define SimplePixel_h 1
7 
8 
9 class SimplePixel {
10 
11 public:
12 
13  SimplePixel() {s = 0.; x = 0.; y = 0.; i = 0; j = 0; btype = 0;}
14 
15  bool operator < (const SimplePixel& rhs) const {return (this->s < rhs.s);}
16 
17  float s;
18  float x;
19  float y;
20  int i;
21  int j;
22  int btype;
23 
24 } ;
25 
26 
27 #endif
int btype
type of boundary (0=end, 1 = x-boundary, 2 = y-boundary)
Definition: SimplePixel.h:22
float y
y coordinate of boundary intersection
Definition: SimplePixel.h:19
float s
distance from track entry
Definition: SimplePixel.h:17
int j
y index of traversed pixel
Definition: SimplePixel.h:21
bool operator<(const SimplePixel &rhs) const
define &lt; operator so that std::list can sort these by path length
Definition: SimplePixel.h:15
float x
x coordinate of boundary intersection
Definition: SimplePixel.h:18
int i
x index of traversed pixel
Definition: SimplePixel.h:20
SimplePixel()
&lt; struck pixel class for use in simpletemplate2D
Definition: SimplePixel.h:13