![]() |
![]() |
#include <HGCalWaferType.h>
Public Member Functions | |
int | getType (double xpos, double ypos, double zpos) |
HGCalWaferType (const std::vector< double > &rad100, const std::vector< double > &rad200, double waferSize, double zMin, int choice, unsigned int cutValue, double cutFracArea) | |
std::pair< double, double > | rLimits (double zpos) |
~HGCalWaferType () | |
Private Member Functions | |
double | areaPolygon (std::vector< double > const &, std::vector< double > const &) |
std::pair< double, double > | intersection (int, int, std::vector< double > const &, std::vector< double > const &, double xp, double yp, double rr) |
Private Attributes | |
const int | choice_ |
const double | cutFracArea_ |
const unsigned int | cutValue_ |
double | r_ |
double | R_ |
const std::vector< double > | rad100_ |
const std::vector< double > | rad200_ |
const double | sqrt3_ = 1.0 / std::sqrt(3.0) |
const double | waferSize_ |
const double | zMin_ |
this class determines the wafer type depending on its position (taken from Philippe Bloch's parametrisation) rad100, rad200 parameters assume r,z to be in cm xpos, ypos, zpos, zmin, waferSize are all in mm
Definition at line 19 of file HGCalWaferType.h.
HGCalWaferType::HGCalWaferType | ( | const std::vector< double > & | rad100, |
const std::vector< double > & | rad200, | ||
double | waferSize, | ||
double | zMin, | ||
int | choice, | ||
unsigned int | cutValue, | ||
double | cutFracArea | ||
) |
Definition at line 7 of file HGCalWaferType.cc.
References choice_, cutFracArea_, cutValue_, gen::k, r_, R_, rad100_, rad200_, sqrt3_, waferSize_, and zMin_.
HGCalWaferType::~HGCalWaferType | ( | ) |
Definition at line 32 of file HGCalWaferType.cc.
|
private |
Definition at line 126 of file HGCalWaferType.cc.
References custom_jme_cff::area, mps_fire::i, and gen::n.
Referenced by getType().
int HGCalWaferType::getType | ( | double | xpos, |
double | ypos, | ||
double | zpos | ||
) |
Definition at line 34 of file HGCalWaferType.cc.
References areaPolygon(), choice_, cutFracArea_, cutValue_, spr::find(), intersection(), gen::k, HGCalParameters::k_CornerSize, convertSQLiteXML::ok, r_, R_, rLimits(), findQualityFiles::rr, mathSSE::sqrt(), and geometryCSVtoXML::xy.
|
private |
Definition at line 138 of file HGCalWaferType.cc.
References mps_fire::i, slope, mathSSE::sqrt(), geometryCSVtoXML::xx, and geometryCSVtoXML::yy.
Referenced by getType().
std::pair< double, double > HGCalWaferType::rLimits | ( | double | zpos | ) |
Definition at line 110 of file HGCalWaferType.cc.
References funct::abs(), mps_fire::i, HGCalParameters::k_ScaleFromDDD, HGCalParameters::k_ScaleToDDD, rad100_, rad200_, zMin_, and geometryCSVtoXML::zz.
Referenced by getType().
|
private |
Definition at line 40 of file HGCalWaferType.h.
Referenced by getType(), and HGCalWaferType().
|
private |
Definition at line 42 of file HGCalWaferType.h.
Referenced by getType(), and HGCalWaferType().
|
private |
Definition at line 41 of file HGCalWaferType.h.
Referenced by getType(), and HGCalWaferType().
|
private |
Definition at line 43 of file HGCalWaferType.h.
Referenced by getType(), and HGCalWaferType().
|
private |
Definition at line 43 of file HGCalWaferType.h.
Referenced by getType(), and HGCalWaferType().
|
private |
Definition at line 36 of file HGCalWaferType.h.
Referenced by HGCalWaferType(), and rLimits().
|
private |
Definition at line 37 of file HGCalWaferType.h.
Referenced by HGCalWaferType(), and rLimits().
|
private |
Definition at line 35 of file HGCalWaferType.h.
Referenced by HGCalWaferType().
|
private |
Definition at line 38 of file HGCalWaferType.h.
Referenced by HGCalWaferType().
|
private |
Definition at line 39 of file HGCalWaferType.h.
Referenced by HGCalWaferType(), and rLimits().