#include <SiPixelCPEGenericDBErrorParametrization.h>
Public Member Functions | |
std::pair< float, float > | getError (const SiPixelCPEGenericErrorParm *parmErrors, GeomDetType::SubDetector pixelPart, int sizex, int sizey, float alpha, float beta, bool bigInX=false, bool bigInY=false) |
std::pair< float, float > | getError (GeomDetType::SubDetector pixelPart, int sizex, int sizey, float alpha, float beta, bool bigInX=false, bool bigInY=false) |
float | index (int ind_subpart, int size, float alpha, float beta, bool big) |
void | setDBAccess (const edm::EventSetup &es) |
SiPixelCPEGenericDBErrorParametrization () | |
~SiPixelCPEGenericDBErrorParametrization () | |
Private Attributes | |
edm::ESHandle < SiPixelCPEGenericErrorParm > | errorsH |
Static Private Attributes | |
static const float * | a_max [4] = {by_a_max, bx_a_max, fy_a_max, fx_a_max} |
static const float * | a_min [4] = {by_a_min, bx_a_min, fy_a_min, fx_a_min} |
static const int | alpha_bin_size [4] = {10, 1, 10, 1} |
static const float * | b_max [4] = {by_b_max, garbage, fy_b_max, fx_b_max} |
static const float * | b_min [4] = {by_b_min, garbage, fy_b_min, fx_b_min} |
static const int | beta_bin_size [4] = { 1, 10, 1, 10} |
static const float | bx_a_max [3] = {1.725, 1.675, 1.625} |
static const float | bx_a_min [3] = {1.525, 1.475, 1.425} |
static const float | by_a_max [6] = {1.67078, 1.67078, 1.67078, 1.67078, 1.67078, 1.67078} |
static const float | by_a_min [6] = {1.47078, 1.47078, 1.47078, 1.47078, 1.47078, 1.47078} |
static const float | by_b_max [6] = {0.50, 0.90, 1.05, 1.15, 1.20, 1.40} |
static const float | by_b_min [6] = {0.05, 0.15, 0.70, 0.95, 1.15, 1.20} |
static const float | errors_big_pix [4] = {0.0070, 0.0030, 0.0068, 0.0040} |
static const float | fx_a_max [2] = {0.285, 0.465} |
static const float | fx_a_min [2] = {0.165, 0.185} |
static const float | fx_b_max [2] = {999, 999} |
static const float | fx_b_min [2] = {998, 998} |
static const float | fy_a_max [2] = {999, 999} |
static const float | fy_a_min [2] = {998, 998} |
static const float | fy_b_max [2] = {0.39, 0.39} |
static const float | fy_b_min [2] = {0.31, 0.31} |
static const int | part_bin_size [4] = { 0, 240, 360, 380} |
static const int | size_bin_size [4] = {40, 40, 40, 40} |
static const int | size_max [4] = {5, 2, 0, 0} |
Definition at line 11 of file SiPixelCPEGenericDBErrorParametrization.h.
SiPixelCPEGenericDBErrorParametrization::SiPixelCPEGenericDBErrorParametrization | ( | ) |
Definition at line 46 of file SiPixelCPEGenericDBErrorParametrization.cc.
SiPixelCPEGenericDBErrorParametrization::~SiPixelCPEGenericDBErrorParametrization | ( | ) |
Definition at line 48 of file SiPixelCPEGenericDBErrorParametrization.cc.
std::pair< float, float > SiPixelCPEGenericDBErrorParametrization::getError | ( | const SiPixelCPEGenericErrorParm * | parmErrors, |
GeomDetType::SubDetector | pixelPart, | ||
int | sizex, | ||
int | sizey, | ||
float | alpha, | ||
float | beta, | ||
bool | bigInX = false , |
||
bool | bigInY = false |
||
) |
Definition at line 56 of file SiPixelCPEGenericDBErrorParametrization.cc.
References SiPixelCPEGenericErrorParm::errors(), benchmark_cfg::errors, edm::hlt::Exception, reco::if(), index(), GeomDetEnumerators::PixelBarrel, and GeomDetEnumerators::PixelEndcap.
Referenced by PixelCPEGeneric::localError().
std::pair< float, float > SiPixelCPEGenericDBErrorParametrization::getError | ( | GeomDetType::SubDetector | pixelPart, |
int | sizex, | ||
int | sizey, | ||
float | alpha, | ||
float | beta, | ||
bool | bigInX = false , |
||
bool | bigInY = false |
||
) |
Definition at line 89 of file SiPixelCPEGenericDBErrorParametrization.cc.
References benchmark_cfg::errors, errorsH, edm::hlt::Exception, reco::if(), index(), GeomDetEnumerators::PixelBarrel, and GeomDetEnumerators::PixelEndcap.
float SiPixelCPEGenericDBErrorParametrization::index | ( | int | ind_subpart, |
int | size, | ||
float | alpha, | ||
float | beta, | ||
bool | big | ||
) |
Definition at line 122 of file SiPixelCPEGenericDBErrorParametrization.cc.
References a_max, a_min, alpha_bin_size, b_max, b_min, beta_bin_size, errors_big_pix, math_pi, min, part_bin_size, size_bin_size, and size_max.
Referenced by getError().
void SiPixelCPEGenericDBErrorParametrization::setDBAccess | ( | const edm::EventSetup & | es | ) |
Definition at line 50 of file SiPixelCPEGenericDBErrorParametrization.cc.
References errorsH, and edm::EventSetup::get().
|
staticprivate |
Definition at line 68 of file SiPixelCPEGenericDBErrorParametrization.h.
Referenced by index().
|
staticprivate |
Definition at line 67 of file SiPixelCPEGenericDBErrorParametrization.h.
Referenced by index().
|
staticprivate |
Definition at line 64 of file SiPixelCPEGenericDBErrorParametrization.h.
Referenced by index().
|
staticprivate |
Definition at line 70 of file SiPixelCPEGenericDBErrorParametrization.h.
Referenced by index().
|
staticprivate |
Definition at line 69 of file SiPixelCPEGenericDBErrorParametrization.h.
Referenced by index().
|
staticprivate |
Definition at line 65 of file SiPixelCPEGenericDBErrorParametrization.h.
Referenced by index().
|
staticprivate |
Definition at line 42 of file SiPixelCPEGenericDBErrorParametrization.h.
|
staticprivate |
Definition at line 41 of file SiPixelCPEGenericDBErrorParametrization.h.
|
staticprivate |
Definition at line 50 of file SiPixelCPEGenericDBErrorParametrization.h.
|
staticprivate |
Definition at line 49 of file SiPixelCPEGenericDBErrorParametrization.h.
|
staticprivate |
Definition at line 52 of file SiPixelCPEGenericDBErrorParametrization.h.
|
staticprivate |
Definition at line 51 of file SiPixelCPEGenericDBErrorParametrization.h.
|
staticprivate |
Definition at line 59 of file SiPixelCPEGenericDBErrorParametrization.h.
Referenced by index().
|
private |
Definition at line 39 of file SiPixelCPEGenericDBErrorParametrization.h.
Referenced by getError(), and setDBAccess().
|
staticprivate |
Definition at line 45 of file SiPixelCPEGenericDBErrorParametrization.h.
|
staticprivate |
Definition at line 44 of file SiPixelCPEGenericDBErrorParametrization.h.
|
staticprivate |
Definition at line 47 of file SiPixelCPEGenericDBErrorParametrization.h.
|
staticprivate |
Definition at line 46 of file SiPixelCPEGenericDBErrorParametrization.h.
|
staticprivate |
Definition at line 55 of file SiPixelCPEGenericDBErrorParametrization.h.
|
staticprivate |
Definition at line 54 of file SiPixelCPEGenericDBErrorParametrization.h.
|
staticprivate |
Definition at line 57 of file SiPixelCPEGenericDBErrorParametrization.h.
|
staticprivate |
Definition at line 56 of file SiPixelCPEGenericDBErrorParametrization.h.
|
staticprivate |
Definition at line 62 of file SiPixelCPEGenericDBErrorParametrization.h.
Referenced by index().
|
staticprivate |
Definition at line 63 of file SiPixelCPEGenericDBErrorParametrization.h.
Referenced by index().
|
staticprivate |
Definition at line 60 of file SiPixelCPEGenericDBErrorParametrization.h.
Referenced by index().