#include <HGCalWaferMask.h>
Public Member Functions | |
HGCalWaferMask ()=default | |
Static Public Member Functions | |
static int | getRotation (int zside, int type, int rotn) |
static std::pair< int, int > | getTypeMode (const double &xpos, const double &ypos, const double &delX, const double &delY, const double &rin, const double &rout, const int &waferType, const int &mode, const bool &v17, const bool &debug=false) |
static bool | goodCell (int u, int v, int N, int type, int rotn) |
static bool | goodCell (int u, int v, int waferType) |
static bool | goodTypeMode (const double &xpos, const double &ypos, const double &delX, const double &delY, const double &rin, const double &rout, const int &part, const int &rotn, const bool &v17, const bool &debug=false) |
static bool | maskCell (int u, int v, int N, int ncor, int fcor, int corners) |
static std::array< double, 4 > | maskCut (const int &part, const int &place, const double &waferSize, const double &offset, const bool &v17OrLess) |
static std::vector< std::pair< double, double > > | waferXY (const int &part, const int &orient, const int &zside, const double &waferSize, const double &offset, const double &xpos, const double &ypos, const bool &v17) |
static std::vector< std::pair< double, double > > | waferXY (const int &part, const int &placement, const double &wafersize, const double &offset, const double &xpos, const double &ypos, const bool &v17) |
Static Private Attributes | |
static constexpr std::array< double, 12 > | cos_1 = {{0.5, -0.5, -1.0, -0.5, 0.5, 1.0, 0.5, -0.5, -1.0, -0.5, 0.5, 1.0}} |
static constexpr double | cos_60_ = 0.5 |
static constexpr std::array< double, 12 > | sign_1 = {{1.0, -1.0, -1.0, -1.0, 1.0, 1.0, -1.0, 1.0, 1.0, 1.0, -1.0, -1.0}} |
static constexpr std::array< double, 12 > | sign_2 = {{1.0, -1.0, -1.0, -1.0, 1.0, 1.0, 1.0, -1.0, -1.0, -1.0, 1.0, 1.0}} |
static constexpr double | sin_60_ = 0.5 * sqrt3_ |
static constexpr double | sqrt3_ = 1.732050807568877 |
static constexpr std::array< double, 12 > | tan_1 |
static constexpr double | tan_60_ = sqrt3_ |
this class determines the masking of wafers to mimic partial wafers
Definition at line 17 of file HGCalWaferMask.h.
|
default |
|
static |
Definition at line 468 of file HGCalWaferMask.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), HGCalTypes::WaferCorner0, HGCalTypes::WaferCorner1, HGCalTypes::WaferCorner2, HGCalTypes::WaferCorner3, HGCalTypes::WaferCorner4, HGCalTypes::WaferCorner5, HGCalTypes::WaferCornerMax, HGCalTypes::WaferFive, HGCalTypes::WaferFive2, HGCalTypes::WaferFull, HGCalTypes::WaferSemi, HGCalTypes::WaferSemi2, HGCalTypes::WaferThree, and ecaldqm::zside().
Referenced by HGCalGeomParameters::loadSpecParsHexagon8(), and waferXY().
|
static |
Definition at line 507 of file HGCalWaferMask.cc.
References edmMakeDummyCfis::base, HGCalTypes::c00, HGCalTypes::c10, HGCalTypes::c22, HGCalTypes::c22O, HGCalTypes::c27, HGCalTypes::c27O, HGCalTypes::c50, HGCalTypes::c61, HGCalTypes::c61O, HGCalTypes::c75, HGCalTypes::c77, HGCalTypes::c77O, HGCalTypes::c88, HGCalTypes::c88O, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), debug, spr::find(), isotrackApplyRegressor::k, HGCalGeomTools::k_allCorners, HGCalGeomTools::k_fiveCorners, HGCalGeomTools::k_fourCorners, HGCalTypes::k_OffsetRotation, HGCalGeomTools::k_threeCorners, HGCalGeomTools::k_twoCorners, ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, mathSSE::sqrt(), HGCalTypes::WaferChopTwo, HGCalTypes::WaferChopTwoM, HGCalTypes::WaferCorner0, HGCalTypes::WaferFive, HGCalTypes::WaferFive2, HGCalTypes::WaferFull, HGCalTypes::WaferHalf, HGCalTypes::WaferHalf2, HGCalTypes::WaferOut, HGCalTypes::WaferSemi, HGCalTypes::WaferSemi2, and HGCalTypes::WaferThree.
Referenced by HGCalGeomParameters::loadWaferHexagon8().
|
static |
Definition at line 110 of file HGCalWaferMask.cc.
References caHitNtupletGeneratorKernels::good, create_idmaps::n, MetAnalyzer::u2, findQualityFiles::v, HGCalTypes::WaferChopTwo, HGCalTypes::WaferChopTwoM, HGCalTypes::WaferCorner0, HGCalTypes::WaferCorner1, HGCalTypes::WaferCorner2, HGCalTypes::WaferCorner3, HGCalTypes::WaferCorner4, HGCalTypes::WaferFive, HGCalTypes::WaferFive2, HGCalTypes::WaferFull, HGCalTypes::WaferHalf, HGCalTypes::WaferHalf2, HGCalTypes::WaferSemi, HGCalTypes::WaferSemi2, and HGCalTypes::WaferThree.
Referenced by HGCalDDDConstants::cellInLayer(), HGCalDDDConstants::isValidCell8(), and HGCalDDDConstants::maskCell().
|
static |
Definition at line 400 of file HGCalWaferMask.cc.
References HGCalTypes::edgeWaferHDBottom, HGCalTypes::edgeWaferHDFive, HGCalTypes::edgeWaferHDLeft, HGCalTypes::edgeWaferHDRight, HGCalTypes::edgeWaferHDTop, HGCalTypes::edgeWaferLDBottom, HGCalTypes::edgeWaferLDFive, HGCalTypes::edgeWaferLDLeft, HGCalTypes::edgeWaferLDRight, HGCalTypes::edgeWaferLDThree, HGCalTypes::edgeWaferLDTop, caHitNtupletGeneratorKernels::good, findQualityFiles::v, HGCalTypes::WaferFull, HGCalTypes::WaferHDBottom, HGCalTypes::WaferHDFive, HGCalTypes::WaferHDLeft, HGCalTypes::WaferHDRight, HGCalTypes::WaferHDTop, HGCalTypes::WaferLDBottom, HGCalTypes::WaferLDFive, HGCalTypes::WaferLDLeft, HGCalTypes::WaferLDRight, HGCalTypes::WaferLDThree, and HGCalTypes::WaferLDTop.
|
static |
Definition at line 711 of file HGCalWaferMask.cc.
References edmMakeDummyCfis::base, compare_using_db::base2, HGCalTypes::c00, HGCalTypes::c10, HGCalTypes::c22, HGCalTypes::c22O, HGCalTypes::c27, HGCalTypes::c27O, HGCalTypes::c50, HGCalTypes::c61, HGCalTypes::c61O, HGCalTypes::c75, HGCalTypes::c77, HGCalTypes::c77O, HGCalTypes::c88, HGCalTypes::c88O, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), debug, isotrackApplyRegressor::k, convertSQLiteXML::ok, HGCalTypes::WaferChopTwo, HGCalTypes::WaferChopTwoM, HGCalTypes::WaferCornerMax, HGCalTypes::WaferFive, HGCalTypes::WaferFive2, HGCalTypes::WaferHalf, HGCalTypes::WaferHalf2, HGCalTypes::WaferSemi, HGCalTypes::WaferSemi2, HGCalTypes::WaferSizeMax, and HGCalTypes::WaferThree.
Referenced by HGCalGeomParameters::loadWaferHexagon8().
|
static |
Definition at line 13 of file HGCalWaferMask.cc.
References HGCalGeomTools::k_fourCorners, HGCalGeomTools::k_threeCorners, ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::mask, create_idmaps::n, and findQualityFiles::v.
Referenced by HGCalDDDConstants::maskCell().
|
static |
Definition at line 2007 of file HGCalWaferMask.cc.
References funct::abs(), HGCalTypes::c22, HGCalTypes::c22O, HGCalTypes::c271, HGCalTypes::c27O, HGCalTypes::c50, cos_1, HLT_IsoTrack_cff::offset, sign_1, sign_2, sqrt3_, tan_1, HGCalTypes::WaferHDBottom, HGCalTypes::WaferHDFive, HGCalTypes::WaferHDLeft, HGCalTypes::WaferHDRight, HGCalTypes::WaferHDTop, HGCalTypes::WaferLDBottom, HGCalTypes::WaferLDFive, HGCalTypes::WaferLDLeft, HGCalTypes::WaferLDRight, HGCalTypes::WaferLDThree, and HGCalTypes::WaferLDTop.
Referenced by HGCalCellUV::cellUVFromXY2(), and HGCGuardRingPartial::exclude().
|
static |
Definition at line 1052 of file HGCalWaferMask.cc.
References HGCalTypes::c00, HGCalTypes::c10, HGCalTypes::c22, HGCalTypes::c22O, HGCalTypes::c27, HGCalTypes::c27O, HGCalTypes::c50, HGCalTypes::c61, HGCalTypes::c61O, HGCalTypes::c75, HGCalTypes::c77, HGCalTypes::c77O, HGCalTypes::c88, HGCalTypes::c88O, cos_60_, PVValHelper::dx, PVValHelper::dy, dqmdumpme::first, getRotation(), mps_fire::i, isotrackApplyRegressor::k, np, HLT_IsoTrack_cff::offset, hgcalPerformanceValidation::orient, edm::second(), sin_60_, tan_60_, HGCalTypes::WaferChopTwo, HGCalTypes::WaferChopTwoM, HGCalTypes::WaferFive, HGCalTypes::WaferFive2, HGCalTypes::WaferFull, HGCalTypes::WaferHalf, HGCalTypes::WaferHalf2, HGCalTypes::WaferSemi, HGCalTypes::WaferSemi2, HGCalTypes::WaferThree, geometryCSVtoXML::xy, and ecaldqm::zside().
Referenced by algorithm(), HGCalTestGuardRing::analyze(), HGCalMouseBiteTester::analyze(), HGCGuardRing::exclude(), DDHGCalWaferP::execute(), DDHGCalPassivePartial::execute(), DDHGCalWaferPartialRotated::execute(), and HGCalPassivePartial::HGCalPassivePartial().
|
static |
Definition at line 1446 of file HGCalWaferMask.cc.
References HGCalTypes::c00, HGCalTypes::c10, HGCalTypes::c22, HGCalTypes::c221, HGCalTypes::c22O, HGCalTypes::c27, HGCalTypes::c271, HGCalTypes::c27O, HGCalTypes::c50, HGCalTypes::c61, HGCalTypes::c611, HGCalTypes::c61O, HGCalTypes::c75, HGCalTypes::c77, HGCalTypes::c771, HGCalTypes::c77O, HGCalTypes::c88, HGCalTypes::c881, HGCalTypes::c88O, cos_60_, PVValHelper::dx, PVValHelper::dy, dqmdumpme::first, mps_fire::i, isotrackApplyRegressor::k, np, HLT_IsoTrack_cff::offset, edm::second(), sin_60_, tan_60_, HGCalTypes::WaferFull, HGCalTypes::WaferHDBottom, HGCalTypes::WaferHDFive, HGCalTypes::WaferHDLeft, HGCalTypes::WaferHDRight, HGCalTypes::WaferHDTop, HGCalTypes::WaferLDBottom, HGCalTypes::WaferLDFive, HGCalTypes::WaferLDLeft, HGCalTypes::WaferLDRight, HGCalTypes::WaferLDThree, HGCalTypes::WaferLDTop, and geometryCSVtoXML::xy.
|
staticprivate |
Definition at line 82 of file HGCalWaferMask.h.
Referenced by maskCut().
|
staticprivate |
Definition at line 78 of file HGCalWaferMask.h.
Referenced by waferXY().
|
staticprivate |
Definition at line 83 of file HGCalWaferMask.h.
Referenced by maskCut().
|
staticprivate |
Definition at line 84 of file HGCalWaferMask.h.
Referenced by maskCut().
|
staticprivate |
Definition at line 77 of file HGCalWaferMask.h.
Referenced by waferXY().
|
staticprivate |
Definition at line 76 of file HGCalWaferMask.h.
Referenced by maskCut().
|
staticprivate |
|
staticprivate |
Definition at line 79 of file HGCalWaferMask.h.
Referenced by waferXY().