#include <HGCalGeomTools.h>
Public Member Functions | |
HGCalGeomTools () | |
std::pair< double, double > | shiftXY (int waferPosition, double waferSize) const |
~HGCalGeomTools () | |
Static Public Member Functions | |
static double | radius (double z, int layer0, int layerf, std::vector< double > const &zFront, std::vector< double > const &rFront) |
static double | radius (double z, std::vector< double > const &zFront, std::vector< double > const &rFront, std::vector< double > const &slope) |
static void | radius (double zf, double zb, std::vector< double > const &zFront1, std::vector< double > const &rFront1, std::vector< double > const &slope1, std::vector< double > const &zFront2, std::vector< double > const &rFront2, std::vector< double > const &slope2, int flag, std::vector< double > &zz, std::vector< double > &rin, std::vector< double > &rout) |
static double | slope (double z, std::vector< double > const &zFront, std::vector< double > const &slope) |
static std::pair< int32_t, int32_t > | waferCorner (double xpos, double ypos, double r, double R, double rMin, double rMax, bool oldBug=false) |
static std::pair< double, double > | zradius (double z1, double z2, std::vector< double > const &zFront, std::vector< double > const &rFront) |
Static Public Attributes | |
static const int | k_allCorners = 6 |
static const int | k_fiveCorners = 5 |
static const int | k_fourCorners = 4 |
static const int | k_threeCorners = 3 |
Private Attributes | |
double | factor_ |
Static Private Attributes | |
static constexpr double | tol_ = 0.0001 |
Definition at line 8 of file HGCalGeomTools.h.
HGCalGeomTools::HGCalGeomTools | ( | ) |
Definition at line 9 of file HGCalGeomTools.cc.
|
inline |
Definition at line 11 of file HGCalGeomTools.h.
|
static |
Definition at line 143 of file HGCalGeomTools.cc.
References createfilelist::int, dqmdumpme::k, alignCSCRings::r, tol_, and z.
|
static |
Definition at line 126 of file HGCalGeomTools.cc.
References funct::abs(), cuda_std::lower_bound(), alignCSCRings::r, slope(), tol_, and z.
|
static |
Definition at line 11 of file HGCalGeomTools.cc.
References funct::abs(), RemoveAddSevLevel::flag, dqmdumpme::k, cuda_std::lower_bound(), SiStripPI::max, min(), findQualityFiles::rr, slope(), tol_, testProducerWithPsetDescEmpty_cfi::z2, and geometryCSVtoXML::zz.
Referenced by algorithm(), DDHGCalEEAlgo::constructLayers(), DDHGCalHEAlgo::constructLayers(), HGCalEEAlgo::ConstructLayers(), HGCalHEAlgo::HGCalHEAlgo(), and HGCalDDDConstants::rangeR().
std::pair< double, double > HGCalGeomTools::shiftXY | ( | int | waferPosition, |
double | waferSize | ||
) | const |
Definition at line 166 of file HGCalGeomTools.cc.
References HGCalTypes::CornerCenterXm, HGCalTypes::CornerCenterXp, HGCalTypes::CornerCenterYm, HGCalTypes::CornerCenterYp, PVValHelper::dx, PVValHelper::dy, and factor_.
Referenced by HGCalGeomParameters::loadWaferHexagon8(), HGCalDDDConstants::locateCell(), and HGCalEEAlgo::PositionSensitive().
|
static |
Definition at line 192 of file HGCalGeomTools.cc.
References cuda_std::lower_bound(), and z.
Referenced by radius().
|
static |
Definition at line 219 of file HGCalGeomTools.cc.
References spr::find(), dqmdumpme::k, HGCalParameters::k_CornerSize, convertSQLiteXML::ok, dttmaxenums::R, alignCSCRings::r, photonAnalyzer_cfi::rMax, photonAnalyzer_cfi::rMin, mathSSE::sqrt(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by algorithm(), HGCalGeomParameters::loadWaferHexagon(), HGCalGeomParameters::loadWaferHexagon8(), DDHGCalEEAlgo::positionSensitive(), DDHGCalModuleAlgo::positionSensitive(), DDHGCalModule::positionSensitive(), DDHGCalHEAlgo::positionSensitive(), HGCalEEAlgo::PositionSensitive(), HGCalHEAlgo::positionSensitive(), and HGCalDDDConstants::waferInLayerTest().
|
static |
Definition at line 204 of file HGCalGeomTools.cc.
References dqmdumpme::k, alignCSCRings::r, tol_, z, and testProducerWithPsetDescEmpty_cfi::z2.
|
private |
Definition at line 47 of file HGCalGeomTools.h.
Referenced by shiftXY().
|
static |
Definition at line 13 of file HGCalGeomTools.h.
Referenced by HGCalWaferMask::getTypeMode(), HGCalDDDConstants::waferType(), and HGCalDDDConstants::waferTypeRotation().
|
static |
Definition at line 14 of file HGCalGeomTools.h.
Referenced by HGCalWaferMask::getTypeMode(), HGCalDDDConstants::waferType(), and HGCalDDDConstants::waferTypeRotation().
|
static |
Definition at line 15 of file HGCalGeomTools.h.
Referenced by HGCalWaferMask::getTypeMode(), HGCalWaferMask::maskCell(), HGCalDDDConstants::waferType(), and HGCalDDDConstants::waferTypeRotation().
|
static |
Definition at line 16 of file HGCalGeomTools.h.
Referenced by HGCalWaferMask::getTypeMode(), HGCalWaferMask::maskCell(), HGCalDDDConstants::waferType(), and HGCalDDDConstants::waferTypeRotation().
|
staticconstexprprivate |
Definition at line 46 of file HGCalGeomTools.h.