#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::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 double | cos_60_ = 0.5 |
static constexpr double | sin_60_ = 0.5 * sqrt3_ |
static constexpr double | sqrt3_ = 1.732050807568877 |
static constexpr double | tan_60_ = sqrt3_ |
this class determines the masking of wafers to mimic partial wafers
Definition at line 16 of file HGCalWaferMask.h.
|
default |
|
static |
Definition at line 466 of file HGCalWaferMask.cc.
References 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 505 of file HGCalWaferMask.cc.
References newFWLiteAna::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, debug, spr::find(), dqmdumpme::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 108 of file HGCalWaferMask.cc.
References caHitNtupletGeneratorKernels::good, dqmiodumpmetadata::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 398 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 708 of file HGCalWaferMask.cc.
References newFWLiteAna::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, debug, dqmdumpme::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 11 of file HGCalWaferMask.cc.
References HGCalGeomTools::k_fourCorners, HGCalGeomTools::k_threeCorners, gpuClustering::pixelStatus::mask, dqmiodumpmetadata::n, and findQualityFiles::v.
Referenced by HGCalDDDConstants::maskCell().
|
static |
Definition at line 1049 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, dqmdumpme::k, np, hltrates_dqm_sourceclient-live_cfg::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(), HGCGuardRing::exclude(), DDHGCalWaferP::execute(), DDHGCalPassivePartial::execute(), DDHGCalWaferPartialRotated::execute(), and HGCalPassivePartial::HGCalPassivePartial().
|
static |
Definition at line 1433 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, mps_fire::i, dqmdumpme::k, np, hltrates_dqm_sourceclient-live_cfg::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 74 of file HGCalWaferMask.h.
Referenced by waferXY().
|
staticprivate |
Definition at line 73 of file HGCalWaferMask.h.
Referenced by waferXY().
|
staticprivate |
Definition at line 72 of file HGCalWaferMask.h.
|
staticprivate |
Definition at line 75 of file HGCalWaferMask.h.
Referenced by waferXY().