#include <HGCalDDDConstants.h>
Public Member Functions | |
std::pair< int, int > | assignCell (float x, float y, int lay, int subSec, bool reco) const |
std::array< int, 5 > | assignCellHex (float x, float y, int lay, bool reco, bool extend=false, bool debug=false) const |
std::array< int, 3 > | assignCellTrap (float x, float y, float z, int lay, bool reco) const |
std::pair< double, double > | cellEtaPhiTrap (int type, int irad) const |
bool | cellInLayer (int waferU, int waferV, int cellU, int cellV, int lay, bool reco) const |
double | cellSizeHex (int type) const |
std::pair< double, double > | cellSizeTrap (int type, int irad) const |
double | cellThickness (int layer, int waferU, int waferV) const |
HGCalTypes::CellType | cellType (int type, int waferU, int waferV) const |
double | distFromEdgeHex (double x, double y, double z) const |
double | distFromEdgeTrap (double x, double y, double z) const |
void | etaPhiFromPosition (const double x, const double y, const double z, const int layer, int &ieta, int &iphi, int &type, double &wt) const |
int | firstLayer () const |
HGCalGeometryMode::GeometryMode | geomMode () const |
int | getLayer (double z, bool reco) const |
int | getLayerOffset () const |
HGCalParameters::hgtrap | getModule (unsigned int k, bool hexType, bool reco) const |
std::vector < HGCalParameters::hgtrap > | getModules () const |
const HGCalParameters * | getParameter () const |
int | getPhiBins (int lay) const |
const std::vector< double > & | getRadiusLayer (int layer) const |
std::pair< int, int > | getREtaRange (int lay) const |
HGCalParameters::hgtrform | getTrForm (unsigned int k) const |
unsigned int | getTrFormN () const |
std::vector < HGCalParameters::hgtrform > | getTrForms () const |
int | getTypeHex (int layer, int waferU, int waferV) const |
int | getTypeTrap (int layer) const |
int | getUVMax (int type) const |
std::pair< double, double > | getXY (int layer, double x, double y, bool forwd) const |
HGCalDDDConstants (const HGCalParameters *hp, const std::string &name) | |
bool | isHalfCell (int waferType, int cell) const |
bool | isValidHex (int lay, int mod, int cell, bool reco) const |
bool | isValidHex8 (int lay, int waferU, int waferV, bool fullAndPart=false) const |
bool | isValidHex8 (int lay, int modU, int modV, int cellU, int cellV, bool fullAndPart=false) const |
bool | isValidTrap (int lay, int ieta, int iphi) const |
int | lastLayer (bool reco) const |
int | layerIndex (int lay, bool reco) const |
unsigned int | layers (bool reco) const |
unsigned int | layersInit (bool reco) const |
int | levelTop (int ind=0) const |
std::pair< float, float > | localToGlobal8 (int lay, int waferU, int waferV, double localX, double localY, bool reco, bool debug) const |
std::pair< float, float > | locateCell (int cell, int lay, int type, bool reco) const |
std::pair< float, float > | locateCell (int lay, int waferU, int waferV, int cellU, int cellV, bool reco, bool all, bool norot=false, bool debug=false) const |
std::pair< float, float > | locateCell (const HGCSiliconDetId &, bool debug=false) const |
std::pair< float, float > | locateCell (const HGCScintillatorDetId &, bool debug=false) const |
std::pair< float, float > | locateCellHex (int cell, int wafer, bool reco) const |
std::pair< float, float > | locateCellTrap (int lay, int ieta, int iphi, bool reco) const |
bool | maskCell (const DetId &id, int corners) const |
int | maxCells (bool reco) const |
int | maxCells (int lay, bool reco) const |
int | maxCellUV () const |
int | maxModules () const |
int | maxModulesPerLayer () const |
int | maxRows (int lay, bool reco) const |
double | minSlope () const |
int | modifyUV (int uv, int type1, int type2) const |
int | modules (int lay, bool reco) const |
int | modulesInit (int lay, bool reco) const |
double | mouseBite (bool reco) const |
int | numberCells (bool reco) const |
std::vector< int > | numberCells (int lay, bool reco) const |
int | numberCellsHexagon (int wafer) const |
int | numberCellsHexagon (int lay, int waferU, int waferV, bool flag) const |
std::pair< double, double > | rangeR (double z, bool reco) const |
std::pair< double, double > | rangeRLayer (int lay, bool reco) const |
std::pair< double, double > | rangeZ (bool reco) const |
std::pair< int, int > | rowColumnWafer (const int wafer) const |
int | sectors () const |
std::pair< int, int > | simToReco (int cell, int layer, int mod, bool half) const |
int | tileCount (int layer, int ring) const |
bool | tileExist (int zside, int layer, int ring, int phi) const |
std::pair< int, int > | tileRings (int layer) const |
int | tileSiPM (int sipm) const |
bool | tileTrapezoid () const |
std::pair< int, int > | tileType (int layer, int ring, int phi) const |
unsigned int | volumes () const |
int | waferCount (const int type) const |
int | waferFileIndex (unsigned int kk) const |
std::tuple< int, int, int > | waferFileInfo (unsigned int kk) const |
bool | waferFileInfoExist (int kk) const |
std::tuple< int, int, int > | waferFileInfoFromIndex (int kk) const |
unsigned int | waferFileSize () const |
int | waferFromCopy (int copy) const |
void | waferFromPosition (const double x, const double y, int &wafer, int &icell, int &celltyp) const |
void | waferFromPosition (const double x, const double y, const int layer, int &waferU, int &waferV, int &cellU, int &cellV, int &celltype, double &wt, bool extend=false, bool debug=false) const |
bool | waferFullInLayer (int wafer, int lay, bool reco) const |
bool | waferHexagon6 () const |
bool | waferHexagon8 () const |
bool | waferInLayer (int wafer, int lay, bool reco) const |
GlobalPoint | waferLocal2Global (HepGeom::Point3D< float > &loc, const DetId &id, bool useWafer, bool reco, bool debug) const |
int | waferMax () const |
int | waferMin () const |
std::pair< double, double > | waferParameters (bool reco) const |
std::pair< double, double > | waferPosition (int wafer, bool reco) const |
std::pair< double, double > | waferPosition (int lay, int waferU, int waferV, bool reco, bool debug=false) const |
int | wafers () const |
int | wafers (int layer, int type) const |
double | waferSepar (bool reco) const |
double | waferSize (bool reco) const |
int | waferToCopy (int wafer) const |
int | waferType (DetId const &id, bool fromFile=false) const |
int | waferType (int layer, int waferU, int waferV, bool fromFile=false) const |
std::tuple< int, int, int > | waferType (HGCSiliconDetId const &id, bool fromFile=false) const |
int | waferTypeL (int wafer) const |
std::pair< int, int > | waferTypeRotation (int layer, int waferU, int waferV, bool fromFile=false, bool debug=false) const |
int | waferTypeT (int wafer) const |
int | waferUVMax () const |
bool | waferVirtual (int layer, int waferU, int waferV) const |
double | waferZ (int layer, bool reco) const |
~HGCalDDDConstants () | |
Private Types | |
typedef std::array< int, 3 > | HGCWaferParam |
typedef std::array < std::vector< int32_t >, 2 > | Simrecovecs |
Private Member Functions | |
int | cellHex (double xx, double yy, const double &cellR, const std::vector< double > &posX, const std::vector< double > &posY) const |
void | cellHex (double xloc, double yloc, int cellType, int &cellU, int &cellV, bool extend=false, bool debug=false) const |
std::pair< int, float > | getIndex (int lay, bool reco) const |
bool | isValidCell (int layindex, int wafer, int cell) const |
bool | isValidCell8 (int lay, int waferU, int waferV, int cellU, int cellV, int type) const |
int | layerFromIndex (int index, bool reco) const |
int32_t | waferIndex (int wafer, int index) const |
bool | waferInLayerTest (int wafer, int lay, bool full) const |
std::pair< double, double > | waferPosition (int waferU, int waferV, bool reco) const |
std::pair< double, double > | waferPositionNoRot (int lay, int waferU, int waferV, bool reco, bool debug=false) const |
Private Attributes | |
const float | dPhiMin = 0.02 |
const bool | fullAndPart_ |
HGCalGeomTools | geomTools_ |
double | hexside_ |
double | hexsideT_ |
const HGCalParameters * | hgpar_ |
const double | k_horizontalShift = 1.0 |
Simrecovecs | max_modules_layer_ |
int32_t | maxWafersPerLayer_ |
const HGCalGeometryMode::GeometryMode | mode_ |
int32_t | modHalf_ |
double | rmax_ |
double | rmaxT_ |
const double | sqrt3_ |
std::array< uint32_t, 2 > | tot_layers_ |
int32_t | tot_wafers_ |
std::unordered_map< int32_t, bool > | waferIn_ |
std::map< int, HGCWaferParam > | waferLayer_ |
std::array< int, 4 > | waferMax_ |
Static Private Attributes | |
static constexpr double | tan30deg_ = 0.5773502693 |
this class reads the constant section of the numbering xml-files of the high granulairy calorimeter
Definition at line 29 of file HGCalDDDConstants.h.
|
private |
Definition at line 273 of file HGCalDDDConstants.h.
|
private |
Definition at line 272 of file HGCalDDDConstants.h.
HGCalDDDConstants::HGCalDDDConstants | ( | const HGCalParameters * | hp, |
const std::string & | name | ||
) |
Definition at line 27 of file HGCalDDDConstants.cc.
References isotrackTrainRegressor::a1, HGCalParameters::cellSize_, funct::cos(), fullAndPart_, getIndex(), getTrForm(), getTrFormN(), hexside_, hexsideT_, hgpar_, mps_fire::i, HGCalParameters::k_ScaleFromDDD, HGCalParameters::hgtrform::lay, phase1PixelTopology::layer, layers(), layersInit(), SiStripPI::max, max_modules_layer_, maxCells(), maxWafersPerLayer_, mode_, modHalf_, modulesInit(), rmax_, rmaxT_, sectors(), HGCalParameters::sensorSeparation_, tan30deg_, tot_layers_, tot_wafers_, HGCalParameters::waferCopy_, waferHexagon6(), waferHexagon8(), waferIn_, HGCalWaferIndex::waferIndex(), waferInLayer(), waferLayer_, waferMax_, HGCalParameters::waferR_, wafers(), HGCalWaferIndex::waferU(), HGCalWaferIndex::waferV(), cms::cuda::wmax, and cms::cuda::wmin.
HGCalDDDConstants::~HGCalDDDConstants | ( | ) |
Definition at line 123 of file HGCalDDDConstants.cc.
std::pair< int, int > HGCalDDDConstants::assignCell | ( | float | x, |
float | y, | ||
int | lay, | ||
int | subSec, | ||
bool | reco | ||
) | const |
Definition at line 125 of file HGCalDDDConstants.cc.
References HGCalParameters::cellCoarseX_, HGCalParameters::cellCoarseY_, HGCalParameters::cellFineX_, HGCalParameters::cellFineY_, cellHex(), HGCalParameters::cellSize_, getIndex(), hgpar_, HGCalParameters::k_ScaleFromDDD, dt_dqm_sourceclient_common_cff::reco, rmax_, findQualityFiles::size, waferHexagon6(), HGCalParameters::waferPosX_, HGCalParameters::waferPosY_, and HGCalParameters::waferTypeT_.
Referenced by HGCNumberingScheme::assignCell(), and HGCalGeometry::getClosestCell().
std::array< int, 5 > HGCalDDDConstants::assignCellHex | ( | float | x, |
float | y, | ||
int | lay, | ||
bool | reco, | ||
bool | extend = false , |
||
bool | debug = false |
||
) | const |
Definition at line 164 of file HGCalDDDConstants.cc.
References HGCalParameters::k_ScaleToDDD, dt_dqm_sourceclient_common_cff::reco, waferFromPosition(), waferHexagon8(), waferType(), HGCalWaferIndex::waferU(), and HGCalWaferIndex::waferV().
Referenced by HGCalGeometry::getClosestCell(), and HGCalGeometry::getClosestCellHex().
std::array< int, 3 > HGCalDDDConstants::assignCellTrap | ( | float | x, |
float | y, | ||
float | z, | ||
int | lay, | ||
bool | reco | ||
) | const |
Definition at line 179 of file HGCalDDDConstants.cc.
References getIndex(), hgpar_, HGCalParameters::iradMaxBH_, HGCalParameters::iradMinBH_, HGCalParameters::k_ScaleFromDDD, cuda_std::lower_bound(), M_PI, phi, alignCSCRings::r, HGCalParameters::radiusLayer_, HGCalParameters::scintType(), and mathSSE::sqrt().
Referenced by HGCalGeometry::getClosestCell(), and HGCalNumberingScheme::getUnitID().
std::pair< double, double > HGCalDDDConstants::cellEtaPhiTrap | ( | int | type, |
int | irad | ||
) | const |
Definition at line 202 of file HGCalDDDConstants.cc.
References HGCalParameters::cellSize_, isotrackApplyRegressor::df, runTauDisplay::dr, hgpar_, alignCSCRings::r, HGCalParameters::radiusLayer_, and tileTrapezoid().
|
private |
Definition at line 1532 of file HGCalDDDConstants.cc.
References funct::abs(), PVValHelper::dx, PVValHelper::dy, isotrackApplyRegressor::k, pileupDistInMC::num, tan30deg_, and hlt_dqm_clientPB-live_cfg::xmax.
Referenced by assignCell(), and waferFromPosition().
|
private |
Definition at line 1551 of file HGCalDDDConstants.cc.
References funct::abs(), newFWLiteAna::found, hgpar_, SiStripPI::max, SiStripPI::min, N, HGCalParameters::nCellsCoarse_, HGCalParameters::nCellsFine_, rmax_, rmaxT_, edm::shift, and sqrt3_.
bool HGCalDDDConstants::cellInLayer | ( | int | waferU, |
int | waferV, | ||
int | cellU, | ||
int | cellV, | ||
int | lay, | ||
bool | reco | ||
) | const |
Definition at line 212 of file HGCalDDDConstants.cc.
References getIndex(), hgpar_, locateCell(), HGCalParameters::rMinLayHex_, mathSSE::sqrt(), waferHexagon6(), waferHexagon8(), and xy().
Referenced by HGCalGeometry::newCell().
double HGCalDDDConstants::cellSizeHex | ( | int | type | ) | const |
Definition at line 241 of file HGCalDDDConstants.cc.
References HGCalParameters::cellSize_, hgpar_, HGCalParameters::k_ScaleFromDDD, tileTrapezoid(), and waferHexagon8().
Referenced by HGCalGeometryLoader::build(), and hgcal::RecHitTools::getRadiusToSide().
|
inline |
Definition at line 40 of file HGCalDDDConstants.h.
References hgpar_, and HGCalParameters::radiusLayer_.
Referenced by HGCalGeometry::get8Corners(), HGCalGeometry::getCorners(), and HGCalGeometry::getNewCorners().
double HGCalDDDConstants::cellThickness | ( | int | layer, |
int | waferU, | ||
int | waferV | ||
) | const |
Definition at line 228 of file HGCalDDDConstants.cc.
References HGCalParameters::cellThickness_, hgpar_, waferHexagon6(), waferHexagon8(), and waferType().
Referenced by HGCalTBAnalyzer::analyzeSimHits(), and hgcal::RecHitTools::getSiThickness().
HGCalTypes::CellType HGCalDDDConstants::cellType | ( | int | type, |
int | waferU, | ||
int | waferV | ||
) | const |
Definition at line 248 of file HGCalDDDConstants.cc.
References HGCalTypes::BottomCorner, HGCalTypes::BottomLeftCorner, HGCalTypes::BottomLeftEdge, HGCalTypes::BottomRightCorner, HGCalTypes::BottomRightEdge, HGCalTypes::CentralType, hgpar_, if(), HGCalTypes::LeftEdge, N, HGCalParameters::nCellsCoarse_, HGCalParameters::nCellsFine_, HGCalTypes::RightEdge, HGCalTypes::TopCorner, HGCalTypes::TopLeftCorner, HGCalTypes::TopLeftEdge, HGCalTypes::TopRightCorner, HGCalTypes::TopRightEdge, and HGCalTypes::UndefinedType.
Referenced by HGCalTopology::neighbors().
double HGCalDDDConstants::distFromEdgeHex | ( | double | x, |
double | y, | ||
double | z | ||
) | const |
Definition at line 288 of file HGCalDDDConstants.cc.
References funct::abs(), PVValHelper::dx, PVValHelper::dy, getLayer(), hexside_, hgpar_, isotrackApplyRegressor::k, HGCalParameters::k_ScaleFromDDD, HGCalParameters::k_ScaleToDDD, layerIndex(), rmax_, sqrt3_, tan30deg_, waferHexagon8(), HGCalParameters::waferPosX_, HGCalParameters::waferPosY_, x, HGCalParameters::xLayerHex_, y, and HGCalParameters::yLayerHex_.
Referenced by HFNoseSD::isItinFidVolume(), and HGCalSD::isItinFidVolume().
double HGCalDDDConstants::distFromEdgeTrap | ( | double | x, |
double | y, | ||
double | z | ||
) | const |
Definition at line 334 of file HGCalDDDConstants.cc.
References funct::abs(), getLayer(), hgpar_, HGCalParameters::iradMaxBH_, HGCalParameters::iradMinBH_, HGCalParameters::k_ScaleFromDDD, HGCalParameters::k_ScaleToDDD, layerIndex(), cuda_std::lower_bound(), M_PI, SiStripPI::max, SiStripPI::min, phi, alignCSCRings::r, HGCalParameters::radiusLayer_, HGCalParameters::scintCellSize(), HGCalParameters::scintType(), and mathSSE::sqrt().
Referenced by HGCScintSD::isItinFidVolume().
void HGCalDDDConstants::etaPhiFromPosition | ( | const double | x, |
const double | y, | ||
const double | z, | ||
const int | layer, | ||
int & | ieta, | ||
int & | iphi, | ||
int & | type, | ||
double & | wt | ||
) | const |
|
inline |
Definition at line 55 of file HGCalDDDConstants.h.
References HGCalParameters::firstLayer_, and hgpar_.
Referenced by HGCalRecHitValidation::dqmBeginRun(), HGCalDigiValidation::dqmBeginRun(), HGCalSimHitValidation::dqmBeginRun(), HGCalTopology::HGCalTopology(), HGCalGeometry::neighborZ(), and HeterogeneousHGCalHEFCellPositionsFiller::set_conditions_().
|
inline |
Definition at line 56 of file HGCalDDDConstants.h.
References mode_.
Referenced by HGCNumberingScheme::getUnitID(), HGCalTopology::HGCalTopology(), HGCScintSD::update(), HFNoseSD::update(), HGCalSD::update(), and HGCSD::update().
|
private |
Definition at line 1604 of file HGCalDDDConstants.cc.
References hgpar_, layerIndex(), HGCalParameters::moduleCellR_, HGCalParameters::moduleCellS_, HGCalParameters::scintCellSize(), waferHexagon6(), and waferHexagon8().
Referenced by assignCell(), assignCellTrap(), cellInLayer(), HGCalDDDConstants(), isValidTrap(), locateCell(), locateCellTrap(), maxCells(), maxRows(), modules(), modulesInit(), numberCells(), rangeRLayer(), simToReco(), waferFullInLayer(), waferInLayer(), wafers(), and waferZ().
int HGCalDDDConstants::getLayer | ( | double | z, |
bool | reco | ||
) | const |
Definition at line 364 of file HGCalDDDConstants.cc.
References funct::abs(), HGCalParameters::firstLayer_, hgpar_, isotrackApplyRegressor::k, HGCalParameters::k_ScaleFromDDD, HGCalParameters::layerGroupO_, layerIndex(), dt_dqm_sourceclient_common_cff::reco, waferHexagon6(), and HGCalParameters::zLayerHex_.
Referenced by distFromEdgeHex(), distFromEdgeTrap(), HGCMouseBite::exclude(), HGCalGeometry::getClosestCell(), and HGCalGeometry::getClosestCellHex().
|
inline |
Definition at line 58 of file HGCalDDDConstants.h.
References hgpar_, and HGCalParameters::layerOffset_.
Referenced by HGCalNumberingScheme::getUnitID().
HGCalParameters::hgtrap HGCalDDDConstants::getModule | ( | unsigned int | k, |
bool | hexType, | ||
bool | reco | ||
) | const |
Definition at line 384 of file HGCalDDDConstants.cc.
References HGCalParameters::getModule(), HGCSiliconDetId::HGCalCoarseThick, hgpar_, findQualityFiles::size, HGCalParameters::waferPosX_, HGCalParameters::waferPosY_, and HGCalParameters::waferTypeL_.
Referenced by HGCalGeometryLoader::build(), and HGCalGeometry::getSummary().
std::vector< HGCalParameters::hgtrap > HGCalDDDConstants::getModules | ( | ) | const |
Definition at line 400 of file HGCalDDDConstants.cc.
References HGCalParameters::getModule(), hgpar_, isotrackApplyRegressor::k, and HGCalParameters::moduleLayR_.
|
inline |
Definition at line 61 of file HGCalDDDConstants.h.
References hgpar_.
Referenced by HGCalGeometryLoader::build(), HGCalGeometry::getSummary(), HGCalMouseBite::HGCalMouseBite(), and HeterogeneousHGCalHEFCellPositionsFiller::produce().
int HGCalDDDConstants::getPhiBins | ( | int | lay | ) | const |
Definition at line 407 of file HGCalDDDConstants.cc.
References hgpar_, HGCalParameters::scintCells(), and tileTrapezoid().
|
inline |
Definition at line 64 of file HGCalDDDConstants.h.
References hgpar_, HGCalParameters::radiusLayer_, HGCalParameters::scintType(), and tileTrapezoid().
std::pair< int, int > HGCalDDDConstants::getREtaRange | ( | int | lay | ) | const |
Definition at line 409 of file HGCalDDDConstants.cc.
References hgpar_, HGCalParameters::iradMaxBH_, HGCalParameters::iradMinBH_, layerIndex(), and tileTrapezoid().
Referenced by HGCalTriggerGeometryV9Imp2::getModuleFromTriggerCell(), and HGCalTriggerGeometryV9Imp2::getTriggerCellsFromModule().
|
inline |
Definition at line 68 of file HGCalDDDConstants.h.
References HGCalParameters::getTrForm(), and hgpar_.
Referenced by HGCalGeometryLoader::build(), HGCalGeometry::getSummary(), and HGCalDDDConstants().
|
inline |
Definition at line 69 of file HGCalDDDConstants.h.
References hgpar_, and HGCalParameters::trformIndex_.
Referenced by HGCalGeometryLoader::build(), HGCalGeometry::getSummary(), and HGCalDDDConstants().
std::vector< HGCalParameters::hgtrform > HGCalDDDConstants::getTrForms | ( | ) | const |
Definition at line 421 of file HGCalDDDConstants.cc.
References HGCalParameters::getTrForm(), hgpar_, isotrackApplyRegressor::k, and HGCalParameters::trformIndex_.
Referenced by HGCalTrackCollectionProducer::beginLuminosityBlock().
int HGCalDDDConstants::getTypeHex | ( | int | layer, |
int | waferU, | ||
int | waferV | ||
) | const |
Definition at line 437 of file HGCalDDDConstants.cc.
References hgpar_, HGCalParameters::typesInLayers_, waferHexagon8(), HGCalWaferIndex::waferIndex(), and HGCalParameters::waferTypeL_.
Referenced by HGCalGeometryLoader::build(), HGCalTriggerGeometryV9Imp2::detIdWaferType(), HGCalTriggerGeometryV9Imp3::detIdWaferType(), and HGCalTopology::neighbors().
int HGCalDDDConstants::getTypeTrap | ( | int | layer | ) | const |
Definition at line 428 of file HGCalDDDConstants.cc.
References hgpar_, HGCalParameters::scintType(), and tileTrapezoid().
Referenced by HGCalTriggerGeometryV9Imp3::detIdWaferType().
|
inline |
Definition at line 74 of file HGCalDDDConstants.h.
References hgpar_, HGCalParameters::nCellsCoarse_, and HGCalParameters::nCellsFine_.
Referenced by maskCell(), and HGCalTopology::neighbors().
std::pair< double, double > HGCalDDDConstants::getXY | ( | int | layer, |
double | x, | ||
double | y, | ||
bool | forwd | ||
) | const |
Definition at line 447 of file HGCalDDDConstants.cc.
References HGCalParameters::firstLayer_, hgpar_, HGCalParameters::layerRotV_, and HGCalParameters::layerType_.
Referenced by localToGlobal8(), locateCell(), waferFromPosition(), waferLocal2Global(), and waferPosition().
bool HGCalDDDConstants::isHalfCell | ( | int | waferType, |
int | cell | ||
) | const |
Definition at line 476 of file HGCalDDDConstants.cc.
References HGCalParameters::cellCoarseHalf_, HGCalParameters::cellFineHalf_, and hgpar_.
Referenced by hgcal::RecHitTools::isHalfCell().
|
private |
Definition at line 1641 of file HGCalDDDConstants.cc.
References HGCalParameters::cellCoarseX_, HGCalParameters::cellCoarseY_, HGCalParameters::cellFineX_, HGCalParameters::cellFineY_, HGCSiliconDetId::HGCalFine, hgpar_, mps_fire::result, HGCalParameters::rMaxLayHex_, HGCalParameters::rMinLayHex_, findQualityFiles::rr, mathSSE::sqrt(), HGCalParameters::waferPosX_, HGCalParameters::waferPosY_, HGCalParameters::waferTypeT_, x, and y.
Referenced by isValidHex().
|
private |
Definition at line 1665 of file HGCalDDDConstants.cc.
References HGCalParameters::cellCoarseIndex_, HGCalParameters::cellCoarseX_, HGCalParameters::cellCoarseY_, HGCalParameters::cellFineIndex_, HGCalParameters::cellFineX_, HGCalParameters::cellFineY_, HGCalParameters::firstLayer_, HGCalWaferMask::goodCell(), HGCalGeometryMode::Hexagon8File, HGCalGeometryMode::Hexagon8Module, hgpar_, mode_, N, HGCalParameters::nCellsCoarse_, HGCalParameters::nCellsFine_, mps_fire::result, HGCalParameters::rMaxLayHex_, HGCalParameters::rMinLayHex_, findQualityFiles::rr, mathSSE::sqrt(), waferPositionNoRot(), waferTypeRotation(), x, xy(), and y.
Referenced by isValidHex8().
bool HGCalDDDConstants::isValidHex | ( | int | lay, |
int | mod, | ||
int | cell, | ||
bool | reco | ||
) | const |
Definition at line 482 of file HGCalDDDConstants.cc.
References HGCalParameters::cellCoarseX_, HGCalParameters::cellFineX_, HGCalParameters::copiesInLayers_, HGCSiliconDetId::HGCalFine, hgpar_, isValidCell(), layers(), maxCells(), mod(), mps_fire::result, findQualityFiles::size, HGCalParameters::waferCopy_, waferHexagon6(), and HGCalParameters::waferTypeT_.
Referenced by HGCNumberingScheme::getUnitID(), and HGCalTopology::valid().
bool HGCalDDDConstants::isValidHex8 | ( | int | lay, |
int | waferU, | ||
int | waferV, | ||
bool | fullAndPart = false |
||
) | const |
Definition at line 524 of file HGCalDDDConstants.cc.
References fullAndPart_, hgpar_, HGCalParameters::typesInLayers_, HGCalTypes::WaferCornerMin, waferIn_, HGCalWaferIndex::waferIndex(), HGCalParameters::waferInfoMap_, HGCalParameters::waferMaskMode_, HGCalTypes::WaferOut, and HGCalParameters::waferTypes_.
Referenced by HGCalTopology::addHGCSiliconId(), isValidHex8(), HGCalTopology::valid(), and HGCalTopology::validModule().
bool HGCalDDDConstants::isValidHex8 | ( | int | lay, |
int | modU, | ||
int | modV, | ||
int | cellU, | ||
int | cellV, | ||
bool | fullAndPart = false |
||
) | const |
Definition at line 567 of file HGCalDDDConstants.cc.
References hgpar_, isValidCell8(), isValidHex8(), N, HGCalParameters::nCellsCoarse_, HGCalParameters::nCellsFine_, HGCalParameters::typesInLayers_, HGCalWaferIndex::waferIndex(), and HGCalParameters::waferTypeL_.
bool HGCalDDDConstants::isValidTrap | ( | int | lay, |
int | ieta, | ||
int | iphi | ||
) | const |
Definition at line 588 of file HGCalDDDConstants.cc.
References getIndex(), hgpar_, HGCalParameters::iradMaxBH_, and HGCalParameters::iradMinBH_.
Referenced by HGCalTopology::addHGCSCintillatorId(), and HGCalTopology::valid().
int HGCalDDDConstants::lastLayer | ( | bool | reco | ) | const |
Definition at line 597 of file HGCalDDDConstants.cc.
References HGCalParameters::firstLayer_, hgpar_, and tot_layers_.
Referenced by HGCalGeometry::neighborZ(), HeterogeneousHGCalHEFCellPositionsFiller::set_conditions_(), and tileCount().
|
private |
Definition at line 1621 of file HGCalDDDConstants.cc.
References HGCalParameters::depthLayerF_, spr::find(), HGCalParameters::firstLayer_, hgpar_, HGCalParameters::layerIndex_, and waferHexagon6().
Referenced by waferIndex().
int HGCalDDDConstants::layerIndex | ( | int | lay, |
bool | reco | ||
) | const |
Definition at line 601 of file HGCalDDDConstants.cc.
References HGCalParameters::depthIndex_, HGCalParameters::depthLayerF_, HGCalParameters::firstLayer_, hgpar_, HGCalParameters::layerIndex_, and waferHexagon6().
Referenced by HGCalGeometryLoader::build(), distFromEdgeHex(), distFromEdgeTrap(), getIndex(), getLayer(), getREtaRange(), and HGCalGeometry::getSummary().
unsigned int HGCalDDDConstants::layers | ( | bool | reco | ) | const |
Definition at line 599 of file HGCalDDDConstants.cc.
References tot_layers_.
Referenced by HGCalTBAnalyzer::analyze(), HGCalDigiClient::beginRun(), HGCalRecHitsClient::beginRun(), HGCalSimHitsClient::beginRun(), HGCalTimingAnalyzer::beginRun(), HGCalTBAnalyzer::beginRun(), HGCalRecHitValidation::dqmBeginRun(), HGCalDigiValidation::dqmBeginRun(), HGCalSimHitValidation::dqmBeginRun(), HGCalDDDConstants(), HGCalTopology::HGCalTopology(), HGCalTriggerGeometryV9Imp2::initialize(), HGCalTriggerGeometryV9Imp3::initialize(), isValidHex(), maxCells(), HGCalTriggerTools::setGeometry(), and wafers().
unsigned int HGCalDDDConstants::layersInit | ( | bool | reco | ) | const |
Definition at line 614 of file HGCalDDDConstants.cc.
References HGCalParameters::depthIndex_, hgpar_, and HGCalParameters::layerIndex_.
Referenced by HGCalDDDConstants().
|
inline |
Definition at line 100 of file HGCalDDDConstants.h.
References hgpar_, and HGCalParameters::levelT_.
Referenced by HGCScintSD::update(), HGCalSD::update(), HFNoseSD::update(), and HGCSD::update().
std::pair< float, float > HGCalDDDConstants::localToGlobal8 | ( | int | lay, |
int | waferU, | ||
int | waferV, | ||
double | localX, | ||
double | localY, | ||
bool | reco, | ||
bool | debug | ||
) | const |
Definition at line 618 of file HGCalDDDConstants.cc.
References HGCalParameters::firstLayer_, getXY(), hgpar_, HGCalParameters::k_ScaleToDDD, HGCalParameters::layerType_, HGCalTypes::WaferCenterR, waferPositionNoRot(), x, xy(), and y.
Referenced by HGCalGeometry::get8Corners(), HGCalGeometry::getCorners(), and HGCalGeometry::getNewCorners().
std::pair< float, float > HGCalDDDConstants::locateCell | ( | int | cell, |
int | lay, | ||
int | type, | ||
bool | reco | ||
) | const |
Definition at line 638 of file HGCalDDDConstants.cc.
References HGCalParameters::cellCoarseX_, HGCalParameters::cellCoarseY_, HGCalParameters::cellFineX_, HGCalParameters::cellFineY_, getIndex(), HGCSiliconDetId::HGCalFine, hgpar_, mps_fire::i, HGCalParameters::k_ScaleToDDD, waferHexagon6(), HGCalParameters::waferPosX_, HGCalParameters::waferPosY_, HGCalParameters::waferTypeT_, x, and y.
Referenced by HGCalSimHitValidation::analyzeHits(), HGCalTBAnalyzer::analyzeSimHits(), cellInLayer(), HFNoseNumberingScheme::checkPosition(), HGCalNumberingScheme::checkPosition(), HGCalGeometry::get8Corners(), HGCalGeometry::getCorners(), HGCNumberingScheme::getLocalCoords(), HGCalGeometry::getNewCorners(), and HGCalGeometry::getPosition().
std::pair< float, float > HGCalDDDConstants::locateCell | ( | int | lay, |
int | waferU, | ||
int | waferV, | ||
int | cellU, | ||
int | cellV, | ||
bool | reco, | ||
bool | all, | ||
bool | norot = false , |
||
bool | debug = false |
||
) | const |
Definition at line 669 of file HGCalDDDConstants.cc.
References HGCalParameters::cellCoarseIndex_, HGCalParameters::cellCoarseX_, HGCalParameters::cellCoarseY_, HGCalParameters::cellFineIndex_, HGCalParameters::cellFineX_, HGCalParameters::cellFineY_, HGCalParameters::firstLayer_, getXY(), hgpar_, HGCalParameters::k_ScaleToDDD, HGCalParameters::layerType_, HGCalParameters::typesInLayers_, HGCalTypes::WaferCenterR, HGCalWaferIndex::waferIndex(), waferPositionNoRot(), HGCalParameters::waferTypeL_, x, xy(), and y.
std::pair< float, float > HGCalDDDConstants::locateCell | ( | const HGCSiliconDetId & | id, |
bool | debug = false |
||
) | const |
Definition at line 718 of file HGCalDDDConstants.cc.
References geomTools_, getXY(), hgpar_, phase1PixelTopology::layer, HGCalParameters::layerCenter_, HGCalParameters::nCellsCoarse_, HGCalParameters::nCellsFine_, dttmaxenums::R, alignCSCRings::r, diffTwoXMLs::r1, HGCalParameters::sensorSeparation_, HGCalGeomTools::shiftXY(), sqrt3_, HGCalParameters::waferSize_, and xy().
std::pair< float, float > HGCalDDDConstants::locateCell | ( | const HGCScintillatorDetId & | id, |
bool | debug = false |
||
) | const |
Definition at line 747 of file HGCalDDDConstants.cc.
References angle_units::operators::convertRadToDeg(), funct::cos(), hgpar_, phase1PixelTopology::layer, phi, alignCSCRings::r, HGCalParameters::radiusLayer_, HGCalParameters::scintCellSize(), funct::sin(), and ecaldqm::zside().
std::pair< float, float > HGCalDDDConstants::locateCellHex | ( | int | cell, |
int | wafer, | ||
bool | reco | ||
) | const |
Definition at line 763 of file HGCalDDDConstants.cc.
References HGCalParameters::cellCoarseX_, HGCalParameters::cellCoarseY_, HGCalParameters::cellFineX_, HGCalParameters::cellFineY_, HGCSiliconDetId::HGCalFine, hgpar_, HGCalParameters::k_ScaleToDDD, HGCalParameters::waferTypeT_, x, and y.
Referenced by HGCalGeometry::get8Corners(), HGCalGeometry::getCorners(), HGCalGeometry::getNewCorners(), and HGCalGeometry::getPosition().
std::pair< float, float > HGCalDDDConstants::locateCellTrap | ( | int | lay, |
int | ieta, | ||
int | iphi, | ||
bool | reco | ||
) | const |
Definition at line 779 of file HGCalDDDConstants.cc.
References funct::abs(), funct::cos(), getIndex(), hgpar_, HGCalParameters::iradMaxBH_, HGCalParameters::iradMinBH_, HGCalParameters::k_ScaleToDDD, SiStripPI::max, SiStripPI::min, mode_, phi, alignCSCRings::r, HGCalParameters::radiusLayer_, sistrip::SpyUtilities::range(), rangeR(), HGCalParameters::scintType(), funct::sin(), HGCalGeometryMode::TrapezoidFile, HGCalGeometryMode::TrapezoidModule, x, y, z, and HGCalParameters::zLayerHex_.
Referenced by HGCalSimHitValidation::analyzeHits(), HGCalGeometryLoader::build(), and HGCalNumberingScheme::checkPosition().
bool HGCalDDDConstants::maskCell | ( | const DetId & | id, |
int | corners | ||
) | const |
Definition at line 809 of file HGCalDDDConstants.cc.
References DetId::det(), DetId::Forward, getUVMax(), HGCalWaferMask::goodCell(), hgpar_, gpuClustering::id, HGCalParameters::k_CornerSize, HGCalWaferMask::k_OffsetRotation, phase1PixelTopology::layer, HGCalWaferMask::maskCell(), N, edm::second(), findQualityFiles::v, waferHexagon8(), HGCalWaferIndex::waferIndex(), HGCalParameters::waferTypes_, HGCalWaferIndex::waferU(), and HGCalWaferIndex::waferV().
Referenced by hgcal::RecHitTools::maskCell(), HGCalTopology::maskCell(), HFNoseSD::setDetUnitId(), HGCalSD::setDetUnitId(), and HGCalTopology::valid().
int HGCalDDDConstants::maxCells | ( | bool | reco | ) | const |
Definition at line 849 of file HGCalDDDConstants.cc.
References cells, HGCalParameters::depth_, hgpar_, mps_fire::i, HGCalParameters::layer_, and layers().
Referenced by HGCalDDDConstants(), HGCalTopology::HGCalTopology(), and isValidHex().
int HGCalDDDConstants::maxCells | ( | int | lay, |
bool | reco | ||
) | const |
Definition at line 859 of file HGCalDDDConstants.cc.
References HGCalParameters::cellCoarseX_, HGCalParameters::cellFineX_, cells, HGCalParameters::defineFull_, HGCalParameters::firstLayer_, getIndex(), HGCSiliconDetId::HGCalCoarseThick, HGCSiliconDetId::HGCalFine, hgpar_, isotrackApplyRegressor::k, SiStripPI::max, N, HGCalParameters::nCellsCoarse_, HGCalParameters::nCellsFine_, HGCalParameters::scintCells(), tileTrapezoid(), HGCalParameters::typesInLayers_, HGCalParameters::waferCopy_, waferHexagon6(), waferHexagon8(), HGCalWaferIndex::waferIndex(), waferInLayerTest(), HGCalParameters::waferTypeL_, HGCalParameters::waferTypeT_, HGCalWaferIndex::waferU(), and HGCalWaferIndex::waferV().
|
inline |
Definition at line 102 of file HGCalDDDConstants.h.
References hgpar_, HGCalParameters::nCellsFine_, and tileTrapezoid().
Referenced by HGCalTopology::HGCalTopology().
|
inline |
|
inline |
int HGCalDDDConstants::maxRows | ( | int | lay, |
bool | reco | ||
) | const |
Definition at line 894 of file HGCalDDDConstants.cc.
References HGCalParameters::defineFull_, getIndex(), hgpar_, mps_fire::i, isotrackApplyRegressor::k, HGCalParameters::waferCopy_, waferHexagon6(), waferHexagon8(), waferInLayerTest(), and HGCalParameters::waferUVMaxLayer_.
|
inline |
Definition at line 108 of file HGCalDDDConstants.h.
References hgpar_, and HGCalParameters::slopeMin_.
Referenced by HGCScintSD::update(), HGCalSD::update(), HFNoseSD::update(), and HGCSD::update().
int HGCalDDDConstants::modifyUV | ( | int | uv, |
int | type1, | ||
int | type2 | ||
) | const |
Definition at line 914 of file HGCalDDDConstants.cc.
Referenced by HGCalTopology::neighbors().
int HGCalDDDConstants::modules | ( | int | lay, |
bool | reco | ||
) | const |
Definition at line 919 of file HGCalDDDConstants.cc.
References first, getIndex(), and max_modules_layer_.
Referenced by wafers().
int HGCalDDDConstants::modulesInit | ( | int | lay, |
bool | reco | ||
) | const |
Definition at line 926 of file HGCalDDDConstants.cc.
References HGCalParameters::defineFull_, HGCalParameters::firstModule_, getIndex(), hgpar_, isotrackApplyRegressor::k, HGCalParameters::lastModule_, tileTrapezoid(), waferInLayerTest(), and HGCalParameters::waferPosX_.
Referenced by HGCalDDDConstants().
double HGCalDDDConstants::mouseBite | ( | bool | reco | ) | const |
Definition at line 942 of file HGCalDDDConstants.cc.
References hgpar_, HGCalParameters::k_ScaleToDDD, and HGCalParameters::mouseBite_.
Referenced by HGCalMouseBite::HGCalMouseBite(), HGCalSD::update(), and HFNoseSD::update().
int HGCalDDDConstants::numberCells | ( | bool | reco | ) | const |
Definition at line 946 of file HGCalDDDConstants.cc.
References cells, HGCalParameters::depth_, hgpar_, isotrackApplyRegressor::k, HGCalParameters::layer_, dt_dqm_sourceclient_common_cff::reco, HGCalGeomParameters::scintillatorFile, tileCount(), tileTrapezoid(), and HGCalParameters::waferMaskMode_.
Referenced by HGCalTopology::allGeomModules().
std::vector< int > HGCalDDDConstants::numberCells | ( | int | lay, |
bool | reco | ||
) | const |
Definition at line 959 of file HGCalDDDConstants.cc.
References HGCalParameters::cellCoarseX_, HGCalParameters::cellFineX_, HGCalParameters::defineFull_, HGCalParameters::firstModule_, getIndex(), HGCSiliconDetId::HGCalFine, hgpar_, mps_fire::i, isotrackApplyRegressor::k, nphi, numberCellsHexagon(), HGCalParameters::scintCells(), tileTrapezoid(), HGCalParameters::waferCopy_, waferHexagon6(), waferInLayerTest(), HGCalParameters::waferTypeT_, HGCalWaferIndex::waferU(), and HGCalWaferIndex::waferV().
int HGCalDDDConstants::numberCellsHexagon | ( | int | wafer | ) | const |
Definition at line 992 of file HGCalDDDConstants.cc.
References HGCalParameters::cellCoarseX_, HGCalParameters::cellFineX_, HGCSiliconDetId::HGCalFine, hgpar_, and HGCalParameters::waferTypeT_.
Referenced by HGCalGeometry::newCell(), numberCells(), and HeterogeneousHGCalHEFCellPositionsFiller::set_conditions_().
int HGCalDDDConstants::numberCellsHexagon | ( | int | lay, |
int | waferU, | ||
int | waferV, | ||
bool | flag | ||
) | const |
Definition at line 1003 of file HGCalDDDConstants.cc.
References HGCSiliconDetId::HGCalCoarseThick, hgpar_, if(), N, HGCalParameters::nCellsCoarse_, HGCalParameters::nCellsFine_, HGCalParameters::typesInLayers_, HGCalWaferIndex::waferIndex(), and HGCalParameters::waferTypeL_.
std::pair< double, double > HGCalDDDConstants::rangeR | ( | double | z, |
bool | reco | ||
) | const |
Definition at line 1014 of file HGCalDDDConstants.cc.
References funct::abs(), HGCalParameters::detectorType_, HGCalParameters::firstLayer_, HGCalParameters::firstMixedLayer_, hgpar_, HGCalParameters::k_ScaleFromDDD, HGCalParameters::k_ScaleToDDD, HGCalGeomTools::radius(), HGCalParameters::radiusMixBoundary_, HGCalParameters::rMaxFront_, HGCalParameters::rMinFront_, HGCalParameters::slopeMin_, HGCalParameters::slopeTop_, HGCalParameters::zFrontMin_, HGCalParameters::zFrontTop_, and HGCalParameters::zLayerHex_.
Referenced by ticl::SeedingRegionByTracks::buildFirstLayers(), HFNoseNumberingScheme::checkPosition(), HGCalNumberingScheme::checkPosition(), HGCDigitizer::checkPosition(), locateCellTrap(), and HGCalGeometry::neighborZ().
std::pair< double, double > HGCalDDDConstants::rangeRLayer | ( | int | lay, |
bool | reco | ||
) | const |
Definition at line 1041 of file HGCalDDDConstants.cc.
References getIndex(), hgpar_, HGCalParameters::k_ScaleToDDD, HGCalParameters::rMaxLayHex_, and HGCalParameters::rMinLayHex_.
std::pair< double, double > HGCalDDDConstants::rangeZ | ( | bool | reco | ) | const |
Definition at line 1059 of file HGCalDDDConstants.cc.
References hgpar_, HGCalParameters::k_ScaleToDDD, HGCalParameters::waferThick_, and HGCalParameters::zLayerHex_.
Referenced by HFNoseNumberingScheme::checkPosition(), HGCalNumberingScheme::checkPosition(), and HGCDigitizer::checkPosition().
std::pair< int, int > HGCalDDDConstants::rowColumnWafer | ( | const int | wafer | ) | const |
Definition at line 1072 of file HGCalDDDConstants.cc.
References cuy::col, filterCSVwithJSON::copy, HGCalTypes::getUnpackedU(), HGCalTypes::getUnpackedV(), hgpar_, and HGCalParameters::waferCopy_.
|
inline |
Definition at line 121 of file HGCalDDDConstants.h.
References hgpar_, and HGCalParameters::nSectors_.
Referenced by HGCalGeometryLoader::build(), HGCalGeometry::getSummary(), HGCalDDDConstants(), and HGCalTopology::HGCalTopology().
std::pair< int, int > HGCalDDDConstants::simToReco | ( | int | cell, |
int | layer, | ||
int | mod, | ||
bool | half | ||
) | const |
Definition at line 1083 of file HGCalDDDConstants.cc.
References HLT_FULL_cff::depth, getIndex(), hgpar_, mps_fire::i, HGCalParameters::layerGroup_, HGCalParameters::layerGroupM_, HGCalParameters::layerGroupO_, mod(), findQualityFiles::size, waferHexagon6(), and HGCalParameters::waferTypeL_.
Referenced by HGCalTimingAnalyzer::analyzeSimHits(), HGCalTBAnalyzer::analyzeSimHits(), CaloParticleDebugger::fillSimHits(), and CaloTruthAccumulator::fillSimHits().
int HGCalDDDConstants::tileCount | ( | int | layer, |
int | ring | ||
) | const |
Definition at line 1112 of file HGCalDDDConstants.cc.
References b, HGCalParameters::firstLayer_, hgpar_, isotrackApplyRegressor::k, lastLayer(), HGCalTileIndex::tileIndex(), HGCalParameters::tileInfoMap_, and HGCalParameters::tileRingRange_.
Referenced by numberCells().
|
inline |
Definition at line 124 of file HGCalDDDConstants.h.
References hgpar_, convertSQLiteXML::ok, HGCalTileIndex::tileExist(), HGCalTileIndex::tileIndex(), and HGCalParameters::tileInfoMap_.
Referenced by HGCalGeometryLoader::build().
|
inline |
Definition at line 130 of file HGCalDDDConstants.h.
References HGCalParameters::firstLayer_, hgpar_, mode_, HGCalParameters::tileRingRange_, and HGCalGeometryMode::TrapezoidFile.
|
inline |
Definition at line 138 of file HGCalDDDConstants.h.
References HGCalTypes::SiPMLarge, and HGCalTypes::SiPMSmall.
Referenced by HGCalNumberingScheme::getUnitID().
|
inline |
Definition at line 139 of file HGCalDDDConstants.h.
References mode_, HGCalGeometryMode::Trapezoid, HGCalGeometryMode::TrapezoidFile, and HGCalGeometryMode::TrapezoidModule.
Referenced by HGCalSimHitValidation::analyzeHits(), cellEtaPhiTrap(), cellSizeHex(), getPhiBins(), getRadiusLayer(), getREtaRange(), getTypeTrap(), HGCalNumberingScheme::getUnitID(), maxCells(), maxCellUV(), modulesInit(), numberCells(), and wafers().
|
inline |
Definition at line 143 of file HGCalDDDConstants.h.
References hgpar_, HGCalTypes::SiPMLarge, HGCalTileIndex::tileIndex(), and HGCalParameters::tileInfoMap_.
Referenced by HGCalGeometryLoader::build(), HGCalTopology::encode(), HGCalNumberingScheme::getUnitID(), and HGCalGeometry::newCell().
|
inline |
Definition at line 153 of file HGCalDDDConstants.h.
References hgpar_, and HGCalParameters::moduleLayR_.
Referenced by HGCalGeometryLoader::build().
|
inline |
|
inline |
Definition at line 183 of file HGCalDDDConstants.h.
References hgpar_, and HGCalParameters::waferInfoMap_.
|
inline |
Definition at line 191 of file HGCalDDDConstants.h.
References hgpar_, and HGCalParameters::waferInfoMap_.
|
inline |
Definition at line 206 of file HGCalDDDConstants.h.
References hgpar_, and HGCalParameters::waferInfoMap_.
|
inline |
Definition at line 199 of file HGCalDDDConstants.h.
References hgpar_, and HGCalParameters::waferInfoMap_.
|
inline |
Definition at line 182 of file HGCalDDDConstants.h.
References hgpar_, and HGCalParameters::waferInfoMap_.
Referenced by waferType(), and waferTypeRotation().
int HGCalDDDConstants::waferFromCopy | ( | int | copy | ) | const |
Definition at line 1138 of file HGCalDDDConstants.cc.
References hgpar_, isotrackApplyRegressor::k, mps_fire::result, and HGCalParameters::waferCopy_.
Referenced by HGCNumberingScheme::getUnitID().
void HGCalDDDConstants::waferFromPosition | ( | const double | x, |
const double | y, | ||
int & | wafer, | ||
int & | icell, | ||
int & | celltyp | ||
) | const |
Definition at line 1163 of file HGCalDDDConstants.cc.
References funct::abs(), HGCalParameters::cellCoarseX_, HGCalParameters::cellCoarseY_, HGCalParameters::cellFineX_, HGCalParameters::cellFineY_, cellHex(), HGCalParameters::cellSize_, PVValHelper::dx, PVValHelper::dy, hexside_, HGCSiliconDetId::HGCalFine, hgpar_, isotrackApplyRegressor::k, HGCalParameters::k_ScaleFromDDD, rmax_, tan30deg_, HGCalParameters::waferCopy_, HGCalParameters::waferPosX_, HGCalParameters::waferPosY_, HGCalParameters::waferTypeT_, x, and y.
Referenced by assignCellHex(), HFNoseNumberingScheme::checkPosition(), HGCalNumberingScheme::checkPosition(), HFNoseNumberingScheme::getUnitID(), HGCNumberingScheme::getUnitID(), and HGCalNumberingScheme::getUnitID().
void HGCalDDDConstants::waferFromPosition | ( | const double | x, |
const double | y, | ||
const int | layer, | ||
int & | waferU, | ||
int & | waferV, | ||
int & | cellU, | ||
int & | cellV, | ||
int & | celltype, | ||
double & | wt, | ||
bool | extend = false , |
||
bool | debug = false |
||
) | const |
Definition at line 1205 of file HGCalDDDConstants.cc.
References funct::abs(), cellHex(), HGCalParameters::cellThickness_, debug, PVValHelper::dx, PVValHelper::dy, HGCalParameters::firstLayer_, HGCalWaferType::getType(), getXY(), HGCalGeometryMode::Hexagon8File, HGCalGeometryMode::Hexagon8Module, hexside_, hexsideT_, HGCSiliconDetId::HGCalCoarseThick, hgpar_, isotrackApplyRegressor::k, HGCalParameters::k_ScaleFromDDD, HGCalParameters::layerType_, mode_, HGCalParameters::nCellsFine_, rmax_, rmaxT_, tan30deg_, HGCalParameters::typesInLayers_, HGCalTypes::WaferCenterR, HGCalParameters::waferCopy_, HGCalWaferIndex::waferIndex(), HGCalParameters::waferInfoMap_, HGCalParameters::waferPosX_, HGCalParameters::waferPosY_, HGCalParameters::waferThick_, HGCalParameters::waferTypeL_, HGCalWaferIndex::waferU(), HGCalParameters::waferUVMax_, HGCalWaferIndex::waferV(), HGCalParameters::xLayerHex_, xy(), and HGCalParameters::yLayerHex_.
bool HGCalDDDConstants::waferFullInLayer | ( | int | wafer, |
int | lay, | ||
bool | reco | ||
) | const |
Definition at line 1305 of file HGCalDDDConstants.cc.
References getIndex(), and waferInLayerTest().
|
inline |
Definition at line 167 of file HGCalDDDConstants.h.
References HGCalGeometryMode::Hexagon, HGCalGeometryMode::HexagonFull, and mode_.
Referenced by assignCell(), cellInLayer(), cellThickness(), getIndex(), getLayer(), HGCalDDDConstants(), isValidHex(), layerFromIndex(), layerIndex(), locateCell(), maxCells(), maxRows(), numberCells(), simToReco(), waferInLayerTest(), waferType(), and waferVirtual().
|
inline |
Definition at line 170 of file HGCalDDDConstants.h.
References HGCalGeometryMode::Hexagon8, HGCalGeometryMode::Hexagon8File, HGCalGeometryMode::Hexagon8Full, HGCalGeometryMode::Hexagon8Module, and mode_.
Referenced by HGCalSimHitValidation::analyzeHits(), assignCellHex(), cellInLayer(), cellSizeHex(), cellThickness(), distFromEdgeHex(), getIndex(), getTypeHex(), HGCalNumberingScheme::getUnitID(), HGCalDDDConstants(), HGCalMouseBite::HGCalMouseBite(), HGCMouseBite::HGCMouseBite(), maskCell(), maxCells(), maxRows(), waferType(), waferTypeRotation(), and waferVirtual().
|
private |
Definition at line 1716 of file HGCalDDDConstants.cc.
References hgpar_, phase1PixelTopology::layer, layerFromIndex(), HGCalParameters::waferCopy_, HGCalWaferIndex::waferIndex(), HGCalWaferIndex::waferU(), and HGCalWaferIndex::waferV().
Referenced by waferInLayerTest().
bool HGCalDDDConstants::waferInLayer | ( | int | wafer, |
int | lay, | ||
bool | reco | ||
) | const |
Definition at line 1298 of file HGCalDDDConstants.cc.
References HGCalParameters::defineFull_, getIndex(), hgpar_, and waferInLayerTest().
Referenced by HGCalGeometryLoader::build(), HGCalGeometry::getSummary(), and HGCalDDDConstants().
|
private |
Definition at line 1728 of file HGCalDDDConstants.cc.
References fullAndPart_, hexside_, hgpar_, recoMuon::in, HGCalParameters::k_CornerSize, rmax_, HGCalParameters::rMaxLayHex_, HGCalParameters::rMinLayHex_, HGCalGeomTools::waferCorner(), waferHexagon6(), waferIndex(), HGCalParameters::waferInfoMap_, HGCalWaferIndex::waferLayer(), HGCalParameters::waferPosX_, HGCalParameters::waferPosY_, HGCalWaferIndex::waferU(), HGCalWaferIndex::waferV(), HGCalParameters::xLayerHex_, and HGCalParameters::yLayerHex_.
Referenced by maxCells(), maxRows(), modulesInit(), numberCells(), waferFullInLayer(), and waferInLayer().
|
inline |
Definition at line 210 of file HGCalDDDConstants.h.
References debug, getXY(), HGCSiliconDetId::layer(), dt_dqm_sourceclient_common_cff::reco, waferPositionNoRot(), HGCSiliconDetId::waferU(), HGCSiliconDetId::waferV(), waferZ(), x, xy(), y, and HGCSiliconDetId::zside().
|
inline |
Definition at line 177 of file HGCalDDDConstants.h.
References waferMax_.
Referenced by HeterogeneousHGCalHEFCellPositionsFiller::set_conditions_().
|
inline |
Definition at line 178 of file HGCalDDDConstants.h.
References waferMax_.
Referenced by HeterogeneousHGCalHEFCellPositionsFiller::set_conditions_().
std::pair< double, double > HGCalDDDConstants::waferParameters | ( | bool | reco | ) | const |
Definition at line 1312 of file HGCalDDDConstants.cc.
References hexside_, HGCalParameters::k_ScaleToDDD, and rmax_.
std::pair< double, double > HGCalDDDConstants::waferPosition | ( | int | wafer, |
bool | reco | ||
) | const |
Definition at line 1319 of file HGCalDDDConstants.cc.
References hgpar_, HGCalParameters::k_ScaleToDDD, HGCalParameters::waferPosX_, and HGCalParameters::waferPosY_.
Referenced by HGCalGeometryLoader::build(), HGCMouseBite::exclude(), and waferPositionNoRot().
std::pair< double, double > HGCalDDDConstants::waferPosition | ( | int | lay, |
int | waferU, | ||
int | waferV, | ||
bool | reco, | ||
bool | debug = false |
||
) | const |
Definition at line 1332 of file HGCalDDDConstants.cc.
References HGCalParameters::firstLayer_, getXY(), hgpar_, HGCalParameters::layerType_, HGCalTypes::WaferCenterR, waferPositionNoRot(), HGCalWaferIndex::waferV(), and xy().
|
private |
Definition at line 1780 of file HGCalDDDConstants.cc.
References hgpar_, HGCalParameters::k_ScaleToDDD, HGCalWaferIndex::waferIndex(), HGCalParameters::waferPosX_, HGCalParameters::waferPosY_, and HGCalParameters::wafersInLayers_.
|
private |
Definition at line 1756 of file HGCalDDDConstants.cc.
References HGCalParameters::firstLayer_, hgpar_, HGCalParameters::k_ScaleToDDD, waferPosition(), HGCalWaferIndex::waferV(), x, HGCalParameters::xLayerHex_, xy(), y, and HGCalParameters::yLayerHex_.
Referenced by isValidCell8(), localToGlobal8(), locateCell(), waferLocal2Global(), and waferPosition().
int HGCalDDDConstants::wafers | ( | ) | const |
Definition at line 1504 of file HGCalDDDConstants.cc.
References HGCalParameters::depth_, hgpar_, mps_fire::i, layers(), HGCalParameters::moduleLayR_, modules(), and tileTrapezoid().
Referenced by HGCalTopology::allGeomModules(), and HGCalDDDConstants().
int HGCalDDDConstants::wafers | ( | int | layer, |
int | type | ||
) | const |
Definition at line 1517 of file HGCalDDDConstants.cc.
References HGCalParameters::firstModule_, getIndex(), hgpar_, HGCalParameters::lastModule_, tileTrapezoid(), and waferLayer_.
|
inline |
Definition at line 207 of file HGCalDDDConstants.h.
References hgpar_, HGCalParameters::k_ScaleToDDD, and HGCalParameters::sensorSeparation_.
|
inline |
Definition at line 225 of file HGCalDDDConstants.h.
References hgpar_, HGCalParameters::k_ScaleToDDD, and HGCalParameters::waferSize_.
Referenced by HGCalMouseBite::HGCalMouseBite(), HGCalSD::update(), and HFNoseSD::update().
|
inline |
Definition at line 230 of file HGCalDDDConstants.h.
References hgpar_, and HGCalParameters::waferCopy_.
int HGCalDDDConstants::waferType | ( | DetId const & | id, |
bool | fromFile = false |
||
) | const |
Definition at line 1351 of file HGCalDDDConstants.cc.
References DetId::Forward, hgpar_, HFNoseDetId::layer(), HGCSiliconDetId::layer(), phase1PixelTopology::layer, HFNoseDetId::type(), HGCSiliconDetId::type(), waferFileSize(), waferHexagon6(), waferHexagon8(), HGCalWaferIndex::waferIndex(), HGCalParameters::waferInfoMap_, waferTypeL(), HGCalWaferIndex::waferU(), HFNoseDetId::waferU(), HGCSiliconDetId::waferU(), HGCalWaferIndex::waferV(), HGCSiliconDetId::waferV(), and HFNoseDetId::waferV().
Referenced by hgc_digi_utils::addCellMetadata(), HGCalSimHitValidation::analyzeHits(), assignCellHex(), cellThickness(), HGCalNumberingScheme::getUnitID(), HGCalUncalibRecHitRecWeightsAlgo< HGCDataFrame >::makeRecHit(), and HeterogeneousHGCalHEFCellPositionsFiller::set_conditions_().
int HGCalDDDConstants::waferType | ( | int | layer, |
int | waferU, | ||
int | waferV, | ||
bool | fromFile = false |
||
) | const |
Definition at line 1379 of file HGCalDDDConstants.cc.
References HGCSiliconDetId::HGCalCoarseThick, hgpar_, HGCalParameters::typesInLayers_, waferFileSize(), waferHexagon6(), waferHexagon8(), HGCalWaferIndex::waferIndex(), HGCalParameters::waferInfoMap_, and HGCalParameters::waferTypeL_.
std::tuple< int, int, int > HGCalDDDConstants::waferType | ( | HGCSiliconDetId const & | id, |
bool | fromFile = false |
||
) | const |
Definition at line 1398 of file HGCalDDDConstants.cc.
References first, hgpar_, HGCalGeomTools::k_allCorners, HGCalGeomTools::k_fiveCorners, HGCalGeomTools::k_fourCorners, HGCalWaferMask::k_OffsetRotation, HGCalGeomTools::k_threeCorners, phase1PixelTopology::layer, edm::second(), HGCalParameters::typesInLayers_, waferFileSize(), HGCalTypes::WaferFive, HGCalTypes::WaferFull, HGCalTypes::WaferHalf, HGCalWaferIndex::waferIndex(), HGCalParameters::waferInfoMap_, HGCalTypes::WaferThree, HGCalParameters::waferTypeL_, HGCalParameters::waferTypes_, HGCalWaferIndex::waferU(), and HGCalWaferIndex::waferV().
|
inline |
Definition at line 240 of file HGCalDDDConstants.h.
References hgpar_, and HGCalParameters::waferTypeL_.
Referenced by HGCalTBAnalyzer::analyzeRecHits(), PFRecHitQTestThresholdInThicknessNormalizedMIPs::test(), and waferType().
std::pair< int, int > HGCalDDDConstants::waferTypeRotation | ( | int | layer, |
int | waferU, | ||
int | waferV, | ||
bool | fromFile = false , |
||
bool | debug = false |
||
) | const |
Definition at line 1437 of file HGCalDDDConstants.cc.
References TauDecayModes::dec, first, hgpar_, HGCalGeomTools::k_allCorners, HGCalGeomTools::k_fiveCorners, HGCalGeomTools::k_fourCorners, HGCalWaferMask::k_OffsetRotation, HGCalGeomTools::k_threeCorners, edm::second(), HGCalTypes::WaferCorner0, waferFileSize(), HGCalTypes::WaferFive, HGCalTypes::WaferFull, HGCalTypes::WaferHalf, waferHexagon8(), HGCalWaferIndex::waferIndex(), HGCalParameters::waferInfoMap_, HGCalTypes::WaferOut, HGCalTypes::WaferThree, and HGCalParameters::waferTypes_.
Referenced by isValidCell8().
|
inline |
Definition at line 236 of file HGCalDDDConstants.h.
References hgpar_, and HGCalParameters::waferTypeT_.
Referenced by HGCalGeometryLoader::build(), HGCalGeometry::getClosestCell(), and hgcal::RecHitTools::isHalfCell().
|
inline |
Definition at line 248 of file HGCalDDDConstants.h.
References hgpar_, and HGCalParameters::waferUVMax_.
Referenced by HGCalTopology::HGCalTopology().
bool HGCalDDDConstants::waferVirtual | ( | int | layer, |
int | waferU, | ||
int | waferV | ||
) | const |
Definition at line 1484 of file HGCalDDDConstants.cc.
References hgpar_, waferHexagon6(), waferHexagon8(), HGCalWaferIndex::waferIndex(), and HGCalParameters::waferTypes_.
double HGCalDDDConstants::waferZ | ( | int | layer, |
bool | reco | ||
) | const |
Definition at line 1496 of file HGCalDDDConstants.cc.
References getIndex(), hgpar_, HGCalParameters::k_ScaleToDDD, and HGCalParameters::zLayerHex_.
Referenced by HGCalSimHitValidation::analyzeHits(), HGCalTBAnalyzer::analyzeRecHits(), HGCalTBAnalyzer::analyzeSimHits(), ticl::SeedingRegionByTracks::buildFirstLayers(), HFNoseNumberingScheme::checkPosition(), HGCalNumberingScheme::checkPosition(), HGCalGeometry::get8Corners(), HGCalGeometry::getCorners(), HGCalTriggerTools::getLayerZ(), HGCalGeometry::getNewCorners(), HGCalGeometry::getPosition(), hgcal::RecHitTools::getPositionLayer(), HGCalGeometry::neighborZ(), HeterogeneousHGCalHEFCellPositionsFiller::set_conditions_(), and waferLocal2Global().
|
private |
Definition at line 271 of file HGCalDDDConstants.h.
|
private |
Definition at line 278 of file HGCalDDDConstants.h.
Referenced by HGCalDDDConstants(), isValidHex8(), and waferInLayerTest().
|
private |
Definition at line 269 of file HGCalDDDConstants.h.
Referenced by locateCell().
|
private |
Definition at line 279 of file HGCalDDDConstants.h.
Referenced by distFromEdgeHex(), HGCalDDDConstants(), waferFromPosition(), waferInLayerTest(), and waferParameters().
|
private |
Definition at line 280 of file HGCalDDDConstants.h.
Referenced by HGCalDDDConstants(), and waferFromPosition().
|
private |
Definition at line 274 of file HGCalDDDConstants.h.
Referenced by assignCell(), assignCellTrap(), cellEtaPhiTrap(), cellHex(), cellInLayer(), cellSizeHex(), cellSizeTrap(), cellThickness(), cellType(), distFromEdgeHex(), distFromEdgeTrap(), firstLayer(), getIndex(), getLayer(), getLayerOffset(), getModule(), getModules(), getParameter(), getPhiBins(), getRadiusLayer(), getREtaRange(), getTrForm(), getTrFormN(), getTrForms(), getTypeHex(), getTypeTrap(), getUVMax(), getXY(), HGCalDDDConstants(), isHalfCell(), isValidCell(), isValidCell8(), isValidHex(), isValidHex8(), isValidTrap(), lastLayer(), layerFromIndex(), layerIndex(), layersInit(), levelTop(), localToGlobal8(), locateCell(), locateCellHex(), locateCellTrap(), maskCell(), maxCells(), maxCellUV(), maxRows(), minSlope(), modulesInit(), mouseBite(), numberCells(), numberCellsHexagon(), rangeR(), rangeRLayer(), rangeZ(), rowColumnWafer(), sectors(), simToReco(), tileCount(), tileExist(), tileRings(), tileType(), volumes(), waferFileIndex(), waferFileInfo(), waferFileInfoExist(), waferFileInfoFromIndex(), waferFileSize(), waferFromCopy(), waferFromPosition(), waferIndex(), waferInLayer(), waferInLayerTest(), waferPosition(), waferPositionNoRot(), wafers(), waferSepar(), waferSize(), waferToCopy(), waferType(), waferTypeL(), waferTypeRotation(), waferTypeT(), waferUVMax(), waferVirtual(), and waferZ().
|
private |
Definition at line 270 of file HGCalDDDConstants.h.
|
private |
Definition at line 283 of file HGCalDDDConstants.h.
Referenced by HGCalDDDConstants(), and modules().
|
private |
Definition at line 284 of file HGCalDDDConstants.h.
Referenced by HGCalDDDConstants(), and maxModulesPerLayer().
|
private |
Definition at line 277 of file HGCalDDDConstants.h.
Referenced by geomMode(), HGCalDDDConstants(), isValidCell8(), locateCellTrap(), tileRings(), tileTrapezoid(), waferFromPosition(), waferHexagon6(), and waferHexagon8().
|
private |
Definition at line 281 of file HGCalDDDConstants.h.
Referenced by HGCalDDDConstants(), and maxModules().
|
private |
Definition at line 279 of file HGCalDDDConstants.h.
Referenced by assignCell(), cellHex(), distFromEdgeHex(), HGCalDDDConstants(), waferFromPosition(), waferInLayerTest(), and waferParameters().
|
private |
Definition at line 280 of file HGCalDDDConstants.h.
Referenced by cellHex(), HGCalDDDConstants(), and waferFromPosition().
|
private |
Definition at line 276 of file HGCalDDDConstants.h.
Referenced by cellHex(), distFromEdgeHex(), and locateCell().
|
staticprivate |
Definition at line 275 of file HGCalDDDConstants.h.
Referenced by cellHex(), distFromEdgeHex(), HGCalDDDConstants(), and waferFromPosition().
|
private |
Definition at line 282 of file HGCalDDDConstants.h.
Referenced by HGCalDDDConstants(), lastLayer(), and layers().
|
private |
Definition at line 281 of file HGCalDDDConstants.h.
Referenced by HGCalDDDConstants().
|
private |
Definition at line 287 of file HGCalDDDConstants.h.
Referenced by HGCalDDDConstants(), and isValidHex8().
|
private |
Definition at line 285 of file HGCalDDDConstants.h.
Referenced by HGCalDDDConstants(), and wafers().
|
private |
Definition at line 286 of file HGCalDDDConstants.h.
Referenced by HGCalDDDConstants(), waferCount(), waferMax(), and waferMin().