CMS 3D CMS Logo

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

#include <SimplePixel.h>

Public Member Functions

bool operator< (const SimplePixel &rhs) const
 define < operator so that std::list can sort these by path length More...
 
 SimplePixel ()
 < struck pixel class for use in simpletemplate2D More...
 

Public Attributes

int btype
 type of boundary (0=end, 1 = x-boundary, 2 = y-boundary) More...
 
int i
 x index of traversed pixel More...
 
int j
 y index of traversed pixel More...
 
float s
 distance from track entry More...
 
float x
 x coordinate of boundary intersection More...
 
float y
 y coordinate of boundary intersection More...
 

Detailed Description

Definition at line 9 of file SimplePixel.h.

Constructor & Destructor Documentation

SimplePixel::SimplePixel ( )
inline

< struck pixel class for use in simpletemplate2D

Default constructor

Definition at line 13 of file SimplePixel.h.

References btype, i, j, s, x, and y.

Member Function Documentation

bool SimplePixel::operator< ( const SimplePixel rhs) const
inline

define < operator so that std::list can sort these by path length

Definition at line 15 of file SimplePixel.h.

References s.

Member Data Documentation

int SimplePixel::btype

type of boundary (0=end, 1 = x-boundary, 2 = y-boundary)

Definition at line 22 of file SimplePixel.h.

Referenced by SimplePixel(), and SiPixelTemplate::simpletemplate2D().

int SimplePixel::i

x index of traversed pixel

Definition at line 20 of file SimplePixel.h.

Referenced by SimplePixel(), and SiPixelTemplate::simpletemplate2D().

int SimplePixel::j

y index of traversed pixel

Definition at line 21 of file SimplePixel.h.

Referenced by SimplePixel(), and SiPixelTemplate::simpletemplate2D().

float SimplePixel::s

distance from track entry

Definition at line 17 of file SimplePixel.h.

Referenced by operator<(), SimplePixel(), and SiPixelTemplate::simpletemplate2D().

float SimplePixel::x
float SimplePixel::y