![]() |
![]() |
#include <HGCalGeomTools.h>
Public Types | |
enum | WaferPosition { UnknownPosition = -1, WaferCenter = 0, CornerCenterYp = 1, CornerCenterYm = 2, CornerCenterXp = 3, CornerCenterXm = 4 } |
enum | WaferType { WaferFull = 0, WaferFive = 1, WaferChoptwo = 2, WaferChopTwom = 3, WaferHalf = 4, WaferSemi = 5, WaferSemi2 = 6, WaferThree = 7 } |
Public Member Functions | |
HGCalGeomTools () | |
std::pair< double, double > | shiftXY (int waferPosition, double waferSize) |
~HGCalGeomTools () | |
Static Public Member Functions | |
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 | radius (double z, std::vector< double > const &zFront, std::vector< double > const &rFront, std::vector< double > const &slope) |
static double | radius (double z, int layer0, int layerf, std::vector< double > const &zFront, std::vector< double > const &rFront) |
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) |
Private Attributes | |
double | factor_ |
Static Private Attributes | |
static constexpr double | tol_ = 0.0001 |
Definition at line 8 of file HGCalGeomTools.h.
Enumerator | |
---|---|
UnknownPosition | |
WaferCenter | |
CornerCenterYp | |
CornerCenterYm | |
CornerCenterXp | |
CornerCenterXm |
Definition at line 24 of file HGCalGeomTools.h.
Enumerator | |
---|---|
WaferFull | |
WaferFive | |
WaferChoptwo | |
WaferChopTwom | |
WaferHalf | |
WaferSemi | |
WaferSemi2 | |
WaferThree |
Definition at line 13 of file HGCalGeomTools.h.
HGCalGeomTools::HGCalGeomTools | ( | ) |
Definition at line 8 of file HGCalGeomTools.cc.
|
inline |
Definition at line 11 of file HGCalGeomTools.h.
|
static |
Definition at line 10 of file HGCalGeomTools.cc.
References funct::abs(), RemoveAddSevLevel::flag, dqmdumpme::k, SiStripPI::max, min(), findQualityFiles::rr, slope(), tol_, and testProducerWithPsetDescEmpty_cfi::z2.
Referenced by algorithm(), DDHGCalEEAlgo::constructLayers(), DDHGCalHEAlgo::constructLayers(), HGCalEEAlgo::ConstructLayers(), HGCalHEAlgo::HGCalHEAlgo(), and HGCalDDDConstants::rangeR().
|
static |
Definition at line 125 of file HGCalGeomTools.cc.
References funct::abs(), alignCSCRings::r, tol_, and z.
|
static |
Definition at line 142 of file HGCalGeomTools.cc.
References createfilelist::int, dqmdumpme::k, alignCSCRings::r, and tol_.
std::pair< double, double > HGCalGeomTools::shiftXY | ( | int | waferPosition, |
double | waferSize | ||
) |
Definition at line 165 of file HGCalGeomTools.cc.
References CornerCenterXm, CornerCenterXp, CornerCenterYm, CornerCenterYp, PVValHelper::dx, PVValHelper::dy, and factor_.
Referenced by HGCalGeomParameters::loadWaferHexagon8(), and HGCalEEAlgo::PositionSensitive().
|
static |
Definition at line 191 of file HGCalGeomTools.cc.
References z.
Referenced by radius().
|
static |
Definition at line 218 of file HGCalGeomTools.cc.
References spr::find(), dqmdumpme::k, HGCalParameters::k_CornerSize, convertSQLiteXML::ok, dttmaxenums::R, alignCSCRings::r, 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 203 of file HGCalGeomTools.cc.
References dqmdumpme::k, alignCSCRings::r, tol_, and z.
|
private |
Definition at line 62 of file HGCalGeomTools.h.
Referenced by shiftXY().
|
staticprivate |
Definition at line 61 of file HGCalGeomTools.h.