#include <CTPPSPixelSimTopology.h>
Definition at line 7 of file CTPPSPixelSimTopology.h.
CTPPSPixelSimTopology::CTPPSPixelSimTopology |
( |
| ) |
|
CTPPSPixelSimTopology::~CTPPSPixelSimTopology |
( |
| ) |
|
|
inline |
double CTPPSPixelSimTopology::activeEdgeFactor |
( |
double |
x, |
|
|
double |
y |
|
) |
| const |
|
inlineprivate |
unsigned int CTPPSPixelSimTopology::col |
( |
double |
y | ) |
const |
|
inlineprivate |
double CTPPSPixelSimTopology::distanceFromBottomActiveEdge |
( |
double |
x, |
|
|
double |
y |
|
) |
| const |
|
inlineprivate |
double CTPPSPixelSimTopology::distanceFromLeftActiveEdge |
( |
double |
x, |
|
|
double |
y |
|
) |
| const |
|
inlineprivate |
double CTPPSPixelSimTopology::distanceFromRightActiveEdge |
( |
double |
x, |
|
|
double |
y |
|
) |
| const |
|
inlineprivate |
double CTPPSPixelSimTopology::distanceFromTopActiveEdge |
( |
double |
x, |
|
|
double |
y |
|
) |
| const |
|
inlineprivate |
Definition at line 10 of file CTPPSPixelSimTopology.cc.
References activeEdgeFactor(), col(), Exception, pixelRange(), row(), CTPPSPixelTopology::simX_width_, and CTPPSPixelTopology::simY_width_.
Referenced by ~CTPPSPixelSimTopology().
15 if( !( hit_pos_x*hit_pos_y > 0 ) )
16 throw cms::Exception(
"CTPPSPixelSimTopology") <<
"out of reference frame";
20 unsigned int interested_row =
row(
x );
21 unsigned int interested_col =
col(
y );
22 double low_pixel_range_x, high_pixel_range_x, low_pixel_range_y, high_pixel_range_y;
23 pixelRange( interested_row, interested_col, low_pixel_range_x, high_pixel_range_x, low_pixel_range_y, high_pixel_range_y );
25 return CTPPSPixelSimTopology::PixelInfo( low_pixel_range_x, high_pixel_range_x, low_pixel_range_y, high_pixel_range_y, hit_factor, interested_row, interested_col );
static double simX_width_
unsigned int col(double y) const
void pixelRange(unsigned int arow, unsigned int acol, double &lower_x, double &higher_x, double &lower_y, double &higher_y) const
static double simY_width_
unsigned int row(double x) const
double activeEdgeFactor(double x, double y) const
void CTPPSPixelSimTopology::index2RowCol |
( |
unsigned int & |
arow, |
|
|
unsigned int & |
acol, |
|
|
unsigned int |
index |
|
) |
| const |
|
inlineprivate |
void CTPPSPixelSimTopology::pixelRange |
( |
unsigned int |
arow, |
|
|
unsigned int |
acol, |
|
|
double & |
lower_x, |
|
|
double & |
higher_x, |
|
|
double & |
lower_y, |
|
|
double & |
higher_y |
|
) |
| const |
|
inline |
unsigned int CTPPSPixelSimTopology::row |
( |
double |
x | ) |
const |
|
inlineprivate |
void CTPPSPixelSimTopology::rowCol2Index |
( |
unsigned int |
arow, |
|
|
unsigned int |
acol, |
|
|
unsigned int & |
index |
|
) |
| const |
|
inlineprivate |
double CTPPSPixelSimTopology::active_edge_x_ |
|
private |
double CTPPSPixelSimTopology::active_edge_y_ |
|
private |