#include <GeoRegion.h>
Definition at line 18 of file GeoRegion.h.
◆ GeoRegion()
◆ ~GeoRegion()
◆ all_cells()
◆ calculate_distance_eta_phi()
__HOSTDEV__ float GeoRegion::calculate_distance_eta_phi |
( |
const long long |
DDE, |
|
|
float |
eta, |
|
|
float |
phi, |
|
|
float & |
dist_eta0, |
|
|
float & |
dist_phi0 |
|
) |
| const |
Definition at line 27 of file GeoRegion.cxx.
32 float abs_dist_eta0 = abs( dist_eta0 );
33 float abs_dist_phi0 = abs( dist_phi0 );
34 return max( abs_dist_eta0, abs_dist_phi0 ) - 0.5;
◆ cell_grid()
◆ cell_grid_eta()
◆ cell_grid_g()
__HOSTDEV__ long long* GeoRegion::cell_grid_g |
( |
| ) |
const |
|
inline |
◆ cell_grid_phi()
◆ getDDE()
__HOSTDEV__ long long GeoRegion::getDDE |
( |
float |
eta, |
|
|
float |
phi, |
|
|
float * |
distance = 0 , |
|
|
int * |
steps = 0 |
|
) |
| |
Definition at line 37 of file GeoRegion.cxx.
40 long long bestDDE = -1;
49 float raw_eta =
eta + best_eta_corr;
50 float raw_phi =
phi + best_phi_corr;
57 float bestdist = +10000000;
60 while ( ( newDDE >= 0 ) && nsearch < 3 ) {
61 float dist_eta0, dist_phi0;
71 ieta +=
round( dist_eta0 );
72 iphi +=
round( dist_phi0 );
74 long long oldDDE = newDDE;
78 if ( oldDDE == newDDE )
break;
84 if ( minieta < 0 ) minieta = 0;
86 for (
int iieta = minieta; iieta <= maxieta; ++iieta ) {
87 for (
int iiphi = miniphi; iiphi <= maxiphi; ++iiphi ) {
94 float dist_eta0, dist_phi0;
103 printf(
"GeoRegin::getDDE, windows search ieta=%d iphi=%d is empty\n", ieta, iphi );
◆ index()
◆ index_range_adjust()
__HOSTDEV__ bool GeoRegion::index_range_adjust |
( |
int & |
ieta, |
|
|
int & |
iphi |
|
) |
| const |
◆ maxeta()
◆ maxphi()
◆ mineta()
◆ mineta_raw()
◆ minphi()
◆ minphi_raw()
◆ raw_eta_position_to_index()
__HOSTDEV__ int GeoRegion::raw_eta_position_to_index |
( |
float |
eta_raw | ) |
const |
|
inline |
◆ raw_phi_position_to_index()
__HOSTDEV__ int GeoRegion::raw_phi_position_to_index |
( |
float |
phi_raw | ) |
const |
|
inline |
◆ set_all_cells()
◆ set_cell_grid()
__HOSTDEV__ void GeoRegion::set_cell_grid |
( |
long long * |
cells | ) |
|
|
inline |
◆ set_cell_grid_eta()
◆ set_cell_grid_g()
__HOSTDEV__ void GeoRegion::set_cell_grid_g |
( |
long long * |
cells | ) |
|
|
inline |
◆ set_cell_grid_phi()
◆ set_deta()
◆ set_deta_double()
◆ set_dphi()
◆ set_dphi_double()
◆ set_eta_correction()
__HOSTDEV__ void GeoRegion::set_eta_correction |
( |
float |
f | ) |
|
|
inline |
◆ set_index()
◆ set_maxeta()
◆ set_maxeta_correction()
__HOSTDEV__ void GeoRegion::set_maxeta_correction |
( |
float |
f | ) |
|
|
inline |
◆ set_maxeta_raw()
◆ set_maxphi()
◆ set_maxphi_correction()
__HOSTDEV__ void GeoRegion::set_maxphi_correction |
( |
float |
f | ) |
|
|
inline |
◆ set_maxphi_raw()
◆ set_mineta()
◆ set_mineta_correction()
__HOSTDEV__ void GeoRegion::set_mineta_correction |
( |
float |
f | ) |
|
|
inline |
◆ set_mineta_raw()
◆ set_minphi()
◆ set_minphi_correction()
__HOSTDEV__ void GeoRegion::set_minphi_correction |
( |
float |
f | ) |
|
|
inline |
◆ set_minphi_raw()
◆ set_phi_correction()
__HOSTDEV__ void GeoRegion::set_phi_correction |
( |
float |
f | ) |
|
|
inline |
◆ set_xy_grid_adjustment_factor()
__HOSTDEV__ void GeoRegion::set_xy_grid_adjustment_factor |
( |
float |
f | ) |
|
|
inline |
◆ m_all_cells
◆ m_cell_grid_eta
int GeoRegion::m_cell_grid_eta |
|
protected |
◆ m_cell_grid_phi
int GeoRegion::m_cell_grid_phi |
|
protected |
◆ m_cells
long long* GeoRegion::m_cells |
|
protected |
◆ m_cells_g
long long* GeoRegion::m_cells_g |
|
protected |
◆ m_deta
◆ m_deta_double
float GeoRegion::m_deta_double |
|
protected |
◆ m_dphi
◆ m_dphi_double
float GeoRegion::m_dphi_double |
|
protected |
◆ m_eta_correction
float GeoRegion::m_eta_correction |
|
protected |
◆ m_index
◆ m_maxeta
float GeoRegion::m_maxeta |
|
protected |
◆ m_maxeta_correction
float GeoRegion::m_maxeta_correction |
|
protected |
◆ m_maxeta_raw
float GeoRegion::m_maxeta_raw |
|
protected |
◆ m_maxphi
float GeoRegion::m_maxphi |
|
protected |
◆ m_maxphi_correction
float GeoRegion::m_maxphi_correction |
|
protected |
◆ m_maxphi_raw
float GeoRegion::m_maxphi_raw |
|
protected |
◆ m_mineta
float GeoRegion::m_mineta |
|
protected |
◆ m_mineta_correction
float GeoRegion::m_mineta_correction |
|
protected |
◆ m_mineta_raw
float GeoRegion::m_mineta_raw |
|
protected |
◆ m_minphi
float GeoRegion::m_minphi |
|
protected |
◆ m_minphi_correction
float GeoRegion::m_minphi_correction |
|
protected |
◆ m_minphi_raw
float GeoRegion::m_minphi_raw |
|
protected |
◆ m_phi_correction
float GeoRegion::m_phi_correction |
|
protected |
◆ m_xy_grid_adjustment_factor
float GeoRegion::m_xy_grid_adjustment_factor |
|
protected |
The documentation for this class was generated from the following files: