#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, bool deug=false) |
static bool | goodCell (int u, int v, int N, int type, int rotn) |
static bool | goodTypeMode (double xpos, double ypos, double delX, double delY, double rin, double rout, int part, int rotn, bool debug) |
static bool | maskCell (int u, int v, int N, int ncor, int fcor, int corners) |
static std::vector< std::pair< double, double > > | waferXY (int part, int orient, int zside, double delX, double delY, double xpos, double ypos) |
Static Public Attributes | |
static constexpr int | k_OffsetRotation = 10 |
this class determines the masking of wafers to mimic partial wafers
Definition at line 16 of file HGCalWaferMask.h.
|
default |
|
static |
Definition at line 339 of file HGCalWaferMask.cc.
References HGCalTypes::WaferCorner0, HGCalTypes::WaferCorner1, HGCalTypes::WaferCorner2, HGCalTypes::WaferCorner3, HGCalTypes::WaferCorner4, HGCalTypes::WaferCorner5, HGCalTypes::WaferCornerMax, HGCalTypes::WaferFive, HGCalTypes::WaferFull, HGCalTypes::WaferSemi, HGCalTypes::WaferSemi2, HGCalTypes::WaferThree, and ecaldqm::zside().
Referenced by HGCalGeomParameters::loadSpecParsHexagon8(), and waferXY().
|
static |
Definition at line 377 of file HGCalWaferMask.cc.
References newFWLiteAna::base, HGCalTypes::c10, HGCalTypes::c22, HGCalTypes::c27, HGCalTypes::c50, HGCalTypes::c61, HGCalTypes::c75, HGCalTypes::c77, HGCalTypes::c88, debug, spr::find(), dqmdumpme::k, HGCalGeomTools::k_allCorners, HGCalGeomTools::k_fiveCorners, HGCalGeomTools::k_fourCorners, k_OffsetRotation, HGCalGeomTools::k_threeCorners, ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, mathSSE::sqrt(), HGCalTypes::WaferChopTwo, HGCalTypes::WaferChopTwoM, HGCalTypes::WaferCorner0, HGCalTypes::WaferFive, HGCalTypes::WaferFull, HGCalTypes::WaferHalf, HGCalTypes::WaferOut, HGCalTypes::WaferSemi, HGCalTypes::WaferSemi2, and HGCalTypes::WaferThree.
Referenced by HGCalGeomParameters::loadWaferHexagon8().
|
static |
Definition at line 108 of file HGCalWaferMask.cc.
References dqmiodumpmetadata::n, MetAnalyzer::u2, findQualityFiles::v, HGCalTypes::WaferChopTwo, HGCalTypes::WaferChopTwoM, HGCalTypes::WaferCorner0, HGCalTypes::WaferCorner1, HGCalTypes::WaferCorner2, HGCalTypes::WaferCorner3, HGCalTypes::WaferCorner4, HGCalTypes::WaferFive, HGCalTypes::WaferFull, HGCalTypes::WaferHalf, HGCalTypes::WaferSemi, HGCalTypes::WaferSemi2, and HGCalTypes::WaferThree.
Referenced by HGCalDDDConstants::isValidCell8(), and HGCalDDDConstants::maskCell().
|
static |
Definition at line 540 of file HGCalWaferMask.cc.
References newFWLiteAna::base, compare_using_db::base2, HGCalTypes::c10, HGCalTypes::c22, HGCalTypes::c27, HGCalTypes::c50, HGCalTypes::c61, HGCalTypes::c75, HGCalTypes::c77, HGCalTypes::c88, debug, dqmdumpme::k, convertSQLiteXML::ok, HGCalTypes::WaferChopTwo, HGCalTypes::WaferChopTwoM, HGCalTypes::WaferCornerMax, HGCalTypes::WaferFive, HGCalTypes::WaferHalf, 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, dqmiodumpmetadata::n, and findQualityFiles::v.
Referenced by HGCalDDDConstants::maskCell().
|
static |
Definition at line 790 of file HGCalWaferMask.cc.
References HGCalTypes::c00, HGCalTypes::c10, HGCalTypes::c22, HGCalTypes::c27, HGCalTypes::c50, HGCalTypes::c61, HGCalTypes::c75, HGCalTypes::c77, HGCalTypes::c88, PVValHelper::dx, PVValHelper::dy, first, getRotation(), mps_fire::i, dqmdumpme::k, np, hgcalPerformanceValidation::orient, edm::second(), HGCalTypes::WaferChopTwo, HGCalTypes::WaferChopTwoM, HGCalTypes::WaferFive, HGCalTypes::WaferFull, HGCalTypes::WaferHalf, HGCalTypes::WaferSemi, HGCalTypes::WaferSemi2, HGCalTypes::WaferThree, geometryCSVtoXML::xy, and ecaldqm::zside().
Referenced by algorithm(), and DDHGCalWaferP::execute().
|
staticconstexpr |
Definition at line 37 of file HGCalWaferMask.h.
Referenced by getTypeMode(), HGCalGeomParameters::loadWaferHexagon8(), HGCalDDDConstants::maskCell(), HGCalDDDConstants::waferType(), and HGCalDDDConstants::waferTypeRotation().