#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 constexpr int | k_allCorners = 6 |
static constexpr int | k_fiveCorners = 5 |
static constexpr int | k_fourCorners = 4 |
static constexpr int | k_threeCorners = 3 |
static constexpr int | k_twoCorners = 2 |
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 10 of file HGCalGeomTools.cc.
|
inline |
Definition at line 11 of file HGCalGeomTools.h.
|
static |
Definition at line 211 of file HGCalGeomTools.cc.
References createfilelist::int, dqmdumpme::k, alignCSCRings::r, tol_, and z.
|
static |
Definition at line 181 of file HGCalGeomTools.cc.
References funct::abs(), pfDeepBoostedJetPreprocessParams_cfi::lower_bound, alignCSCRings::r, slope(), tol_, findQualityFiles::v, and z.
|
static |
Definition at line 12 of file HGCalGeomTools.cc.
References funct::abs(), RemoveAddSevLevel::flag, dqmdumpme::k, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, SiStripPI::max, min(), findQualityFiles::rr, slope(), tol_, findQualityFiles::v, testProducerWithPsetDescEmpty_cfi::z2, and geometryCSVtoXML::zz.
Referenced by algorithm(), DDHGCalEEAlgo::constructLayers(), DDHGCalHEFileAlgo::constructLayers(), DDHGCalHEAlgo::constructLayers(), DDHGCalEEFileAlgo::constructLayers(), DDHGCalMixLayer::constructLayers(), DDHGCalSiliconModule::constructLayers(), HGCalEEAlgo::ConstructLayers(), HGCalEEFileAlgo::HGCalEEFileAlgo(), HGCalHEAlgo::HGCalHEAlgo(), HGCalHEFileAlgo::HGCalHEFileAlgo(), HGCalMixLayer::HGCalMixLayer(), HGCalSiliconModule::HGCalSiliconModule(), and HGCalDDDConstants::rangeR().
std::pair< double, double > HGCalGeomTools::shiftXY | ( | int | waferPosition, |
double | waferSize | ||
) | const |
Definition at line 234 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 260 of file HGCalGeomTools.cc.
References pfDeepBoostedJetPreprocessParams_cfi::lower_bound, and z.
Referenced by radius().
|
static |
Definition at line 287 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(), DDHGCalModule::positionSensitive(), DDHGCalModuleAlgo::positionSensitive(), DDHGCalEEFileAlgo::positionSensitive(), DDHGCalHEFileAlgo::positionSensitive(), DDHGCalHEAlgo::positionSensitive(), HGCalEEFileAlgo::positionSensitive(), HGCalEEAlgo::PositionSensitive(), HGCalHEFileAlgo::positionSensitive(), HGCalHEAlgo::positionSensitive(), and HGCalDDDConstants::waferInLayerTest().
|
static |
Definition at line 272 of file HGCalGeomTools.cc.
References dqmdumpme::k, alignCSCRings::r, tol_, z, and testProducerWithPsetDescEmpty_cfi::z2.
|
private |
Definition at line 48 of file HGCalGeomTools.h.
Referenced by shiftXY().
|
staticconstexpr |
Definition at line 13 of file HGCalGeomTools.h.
Referenced by HGCalWaferMask::getTypeMode(), HGCalDDDConstants::waferType(), and HGCalDDDConstants::waferTypeRotation().
|
staticconstexpr |
Definition at line 14 of file HGCalGeomTools.h.
Referenced by HGCalWaferMask::getTypeMode(), HGCalDDDConstants::waferType(), and HGCalDDDConstants::waferTypeRotation().
|
staticconstexpr |
Definition at line 15 of file HGCalGeomTools.h.
Referenced by HGCalWaferMask::getTypeMode(), HGCalWaferMask::maskCell(), HGCalDDDConstants::waferType(), and HGCalDDDConstants::waferTypeRotation().
|
staticconstexpr |
Definition at line 16 of file HGCalGeomTools.h.
Referenced by HGCalWaferMask::getTypeMode(), HGCalWaferMask::maskCell(), HGCalDDDConstants::waferType(), and HGCalDDDConstants::waferTypeRotation().
|
staticconstexpr |
Definition at line 17 of file HGCalGeomTools.h.
Referenced by HGCalWaferMask::getTypeMode().
|
staticconstexprprivate |
Definition at line 47 of file HGCalGeomTools.h.