#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) 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 |
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 modU, int modV, int cellU, int cellV, bool fullAndPart=false) const |
bool | isValidHex8 (int lay, int waferU, int waferV, 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 > | locateCell (const HGCSiliconDetId &, bool debug=false) 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 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 lay, int waferU, int waferV, bool flag) const |
int | numberCellsHexagon (int wafer) 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 |
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, const int layer, int &waferU, int &waferV, int &cellU, int &cellV, int &celltype, double &wt, bool debug=false) const |
void | waferFromPosition (const double x, const double y, int &wafer, int &icell, int &celltyp) const |
bool | waferFullInLayer (int wafer, int lay, bool reco) const |
bool | waferInLayer (int wafer, int lay, bool reco) const |
int | waferMax () const |
int | waferMin () const |
std::pair< double, double > | waferParameters (bool reco) const |
std::pair< double, double > | waferPosition (int lay, int waferU, int waferV, bool reco, bool debug=false) const |
std::pair< double, double > | waferPosition (int wafer, bool reco) 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 |
std::tuple< int, int, int > | waferType (HGCSiliconDetId const &id, bool fromFile=false) const |
int | waferType (int layer, int waferU, int waferV, 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 | |
void | cellHex (double xloc, double yloc, int cellType, int &cellU, int &cellV, bool debug=false) const |
int | cellHex (double xx, double yy, const double &cellR, const std::vector< double > &posX, const std::vector< double > &posY) 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 |
bool | waferInLayerTest (int wafer, int lay, bool full) const |
std::pair< double, double > | waferPosition (int waferU, int waferV, bool reco) const |
Private Attributes | |
const float | dPhiMin = 0.02 |
HGCalGeomTools | geomTools_ |
double | hexside_ |
const HGCalParameters * | hgpar_ |
const double | k_horizontalShift = 1.0 |
Simrecovecs | max_modules_layer_ |
int32_t | maxWafersPerLayer_ |
HGCalGeometryMode::GeometryMode | mode_ |
int32_t | modHalf_ |
double | rmax_ |
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 | |
constexpr static double | tan30deg_ = 0.5773502693 |
this class reads the constant section of the numbering xml-files of the high granulairy calorimeter
Definition at line 25 of file HGCalDDDConstants.h.
|
private |
Definition at line 202 of file HGCalDDDConstants.h.
|
private |
Definition at line 201 of file HGCalDDDConstants.h.
HGCalDDDConstants::HGCalDDDConstants | ( | const HGCalParameters * | hp, |
const std::string & | name | ||
) |
Definition at line 23 of file HGCalDDDConstants.cc.
References HGCalParameters::cellSize_, funct::cos(), getIndex(), getTrForm(), getTrFormN(), HGCalGeometryMode::Hexagon, HGCalGeometryMode::Hexagon8, HGCalGeometryMode::Hexagon8Full, HGCalGeometryMode::HexagonFull, hexside_, hgpar_, mps_fire::i, HGCalParameters::k_ScaleFromDDD, HGCalParameters::hgtrform::lay, layers(), layersInit(), SiStripPI::max, max_modules_layer_, maxCells(), maxWafersPerLayer_, HGCalParameters::mode_, mode_, modHalf_, modulesInit(), Skims_PA_cff::name, rmax_, sectors(), tan30deg_, tot_layers_, tot_wafers_, HGCalParameters::waferCopy_, 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 119 of file HGCalDDDConstants.cc.
std::pair< int, int > HGCalDDDConstants::assignCell | ( | float | x, |
float | y, | ||
int | lay, | ||
int | subSec, | ||
bool | reco | ||
) | const |
Definition at line 121 of file HGCalDDDConstants.cc.
References HGCalParameters::cellCoarseX_, HGCalParameters::cellCoarseY_, HGCalParameters::cellFineX_, HGCalParameters::cellFineY_, cellHex(), HGCalParameters::cellSize_, getIndex(), HGCalGeometryMode::Hexagon, HGCalGeometryMode::HexagonFull, hgpar_, HGCalParameters::k_ScaleFromDDD, mode_, dt_dqm_sourceclient_common_cff::reco, rmax_, findQualityFiles::size, HGCalParameters::waferPosX_, HGCalParameters::waferPosY_, HGCalParameters::waferTypeT_, x, geometryCSVtoXML::xx, y, and geometryCSVtoXML::yy.
Referenced by HGCNumberingScheme::assignCell(), and HGCalGeometry::getClosestCell().
std::array< int, 5 > HGCalDDDConstants::assignCellHex | ( | float | x, |
float | y, | ||
int | lay, | ||
bool | reco | ||
) | const |
Definition at line 160 of file HGCalDDDConstants.cc.
References HGCalGeometryMode::Hexagon8, HGCalGeometryMode::Hexagon8Full, HGCalParameters::k_ScaleToDDD, mode_, dt_dqm_sourceclient_common_cff::reco, waferFromPosition(), waferType(), x, geometryCSVtoXML::xx, y, and geometryCSVtoXML::yy.
Referenced by HGCalGeometry::getClosestCell().
std::array< int, 3 > HGCalDDDConstants::assignCellTrap | ( | float | x, |
float | y, | ||
float | z, | ||
int | lay, | ||
bool | reco | ||
) | const |
Definition at line 171 of file HGCalDDDConstants.cc.
References getIndex(), hgpar_, createfilelist::int, LEDCalibrationChannels::iphi, HGCalParameters::iradMaxBH_, HGCalParameters::iradMinBH_, HGCalParameters::k_ScaleFromDDD, cuda_std::lower_bound(), M_PI, phi, alignCSCRings::r, HGCalParameters::radiusLayer_, HGCalParameters::scintType(), mathSSE::sqrt(), x, geometryCSVtoXML::xx, y, and z.
Referenced by HGCalGeometry::getClosestCell(), and HGCalNumberingScheme::getUnitID().
std::pair< double, double > HGCalDDDConstants::cellEtaPhiTrap | ( | int | type, |
int | irad | ||
) | const |
Definition at line 194 of file HGCalDDDConstants.cc.
References HGCalParameters::cellSize_, flavorHistoryFilter_cfi::dr, hgpar_, mode_, alignCSCRings::r, HGCalParameters::radiusLayer_, and HGCalGeometryMode::Trapezoid.
|
private |
Definition at line 1422 of file HGCalDDDConstants.cc.
References funct::abs(), cellType(), debug, newFWLiteAna::found, hgpar_, testProducerWithPsetDescEmpty_cfi::i1, testProducerWithPsetDescEmpty_cfi::i2, SiStripPI::max, min(), N, HGCalParameters::nCellsCoarse_, HGCalParameters::nCellsFine_, rmax_, edm::shift, sqrt3_, and V0Monitor_cff::v0.
|
private |
Definition at line 1403 of file HGCalDDDConstants.cc.
References funct::abs(), PVValHelper::dx, PVValHelper::dy, dqmdumpme::k, EgammaValidation_cff::num, RecoTauValidation_cfi::posX, RecoTauValidation_cfi::posY, tan30deg_, TrackerOfflineValidation_Dqm_cff::xmax, geometryCSVtoXML::xx, and geometryCSVtoXML::yy.
Referenced by assignCell(), and waferFromPosition().
bool HGCalDDDConstants::cellInLayer | ( | int | waferU, |
int | waferV, | ||
int | cellU, | ||
int | cellV, | ||
int | lay, | ||
bool | reco | ||
) | const |
Definition at line 204 of file HGCalDDDConstants.cc.
References getIndex(), HGCalGeometryMode::Hexagon, HGCalGeometryMode::Hexagon8, HGCalGeometryMode::Hexagon8Full, HGCalGeometryMode::HexagonFull, hgpar_, locateCell(), mode_, HGCalParameters::rMinLayHex_, mathSSE::sqrt(), and geometryCSVtoXML::xy.
Referenced by HGCalGeometry::newCell().
double HGCalDDDConstants::cellSizeHex | ( | int | type | ) | const |
Definition at line 235 of file HGCalDDDConstants.cc.
References HGCalParameters::cellSize_, HGCalGeometryMode::Hexagon8, HGCalGeometryMode::Hexagon8Full, hgpar_, HGCalParameters::k_ScaleFromDDD, mode_, and HGCalGeometryMode::Trapezoid.
|
inline |
Definition at line 36 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 222 of file HGCalDDDConstants.cc.
References HGCalParameters::cellThickness_, HGCalGeometryMode::Hexagon, HGCalGeometryMode::Hexagon8, HGCalGeometryMode::Hexagon8Full, HGCalGeometryMode::HexagonFull, hgpar_, mode_, and waferType().
Referenced by HGCalTBAnalyzer::analyzeSimHits().
HGCalTypes::CellType HGCalDDDConstants::cellType | ( | int | type, |
int | waferU, | ||
int | waferV | ||
) | const |
Definition at line 245 of file HGCalDDDConstants.cc.
References HGCalTypes::BottomCorner, HGCalTypes::BottomLeftCorner, HGCalTypes::BottomLeftEdge, HGCalTypes::BottomRightCorner, HGCalTypes::BottomRightEdge, HGCalTypes::CentralType, hgpar_, HGCalTypes::LeftEdge, N, HGCalParameters::nCellsCoarse_, HGCalParameters::nCellsFine_, HGCalTypes::RightEdge, HGCalTypes::TopCorner, HGCalTypes::TopLeftCorner, HGCalTypes::TopLeftEdge, HGCalTypes::TopRightCorner, HGCalTypes::TopRightEdge, and HGCalTypes::UndefinedType.
Referenced by cellHex(), and HGCalTopology::neighbors().
double HGCalDDDConstants::distFromEdgeHex | ( | double | x, |
double | y, | ||
double | z | ||
) | const |
Definition at line 285 of file HGCalDDDConstants.cc.
References funct::abs(), PVValHelper::dx, PVValHelper::dy, getLayer(), HGCalGeometryMode::Hexagon8, HGCalGeometryMode::Hexagon8Full, hexside_, hgpar_, createfilelist::int, dqmdumpme::k, HGCalParameters::k_ScaleFromDDD, HGCalParameters::k_ScaleToDDD, layerIndex(), mode_, rmax_, sqrt3_, tan30deg_, HGCalParameters::waferPosX_, HGCalParameters::waferPosY_, x, HGCalParameters::xLayerHex_, geometryCSVtoXML::xx, y, HGCalParameters::yLayerHex_, geometryCSVtoXML::yy, and z.
Referenced by HFNoseSD::isItinFidVolume(), and HGCalSD::isItinFidVolume().
double HGCalDDDConstants::distFromEdgeTrap | ( | double | x, |
double | y, | ||
double | z | ||
) | const |
Definition at line 331 of file HGCalDDDConstants.cc.
References funct::abs(), getLayer(), hgpar_, createfilelist::int, LEDCalibrationChannels::iphi, HGCalParameters::iradMaxBH_, HGCalParameters::iradMinBH_, HGCalParameters::k_ScaleFromDDD, HGCalParameters::k_ScaleToDDD, layerIndex(), cuda_std::lower_bound(), M_PI, SiStripPI::max, min(), phi, alignCSCRings::r, HGCalParameters::radiusLayer_, HGCalParameters::scintCellSize(), HGCalParameters::scintType(), mathSSE::sqrt(), x, geometryCSVtoXML::xx, y, and z.
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 51 of file HGCalDDDConstants.h.
References HGCalParameters::firstLayer_, and hgpar_.
Referenced by HGCalRecHitValidation::dqmBeginRun(), HGCalDigiValidation::dqmBeginRun(), HGCalSimHitValidation::dqmBeginRun(), HGCalTriggerGeometryV9Imp1::fillInvalidTriggerCells(), HGCalTopology::HGCalTopology(), and HGCalGeometry::neighborZ().
|
inline |
Definition at line 52 of file HGCalDDDConstants.h.
References mode_.
Referenced by HGCalSimHitValidation::analyzeHits(), HGCalSimHitValidation::defineGeometry(), HGCNumberingScheme::getUnitID(), HGCalTopology::HGCalTopology(), HGCMouseBite::HGCMouseBite(), HGCScintSD::update(), HFNoseSD::update(), HGCalSD::update(), HGCSD::update(), and SimG4HGCalValidation::update().
|
private |
Definition at line 1472 of file HGCalDDDConstants.cc.
References HGCalGeometryMode::Hexagon, HGCalGeometryMode::Hexagon8, HGCalGeometryMode::Hexagon8Full, HGCalGeometryMode::HexagonFull, hgpar_, layerIndex(), mode_, HGCalParameters::moduleCellR_, HGCalParameters::moduleCellS_, and HGCalParameters::scintCellSize().
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 361 of file HGCalDDDConstants.cc.
References funct::abs(), HGCalParameters::firstLayer_, HGCalGeometryMode::Hexagon, HGCalGeometryMode::HexagonFull, hgpar_, dqmdumpme::k, HGCalParameters::k_ScaleFromDDD, HGCalParameters::layerGroupO_, layerIndex(), mode_, dt_dqm_sourceclient_common_cff::reco, z, HGCalParameters::zLayerHex_, and geometryCSVtoXML::zz.
Referenced by distFromEdgeHex(), distFromEdgeTrap(), HGCMouseBite::exclude(), and HGCalGeometry::getClosestCell().
|
inline |
Definition at line 54 of file HGCalDDDConstants.h.
References hgpar_, and HGCalParameters::layerOffset_.
HGCalParameters::hgtrap HGCalDDDConstants::getModule | ( | unsigned int | k, |
bool | hexType, | ||
bool | reco | ||
) | const |
Definition at line 381 of file HGCalDDDConstants.cc.
References HGCalParameters::getModule(), HGCSiliconDetId::HGCalCoarseThick, hgpar_, findQualityFiles::size, HGCalParameters::waferPosX_, HGCalParameters::waferPosY_, and HGCalParameters::waferTypeL_.
Referenced by HGCalGeometry::getSummary().
std::vector< HGCalParameters::hgtrap > HGCalDDDConstants::getModules | ( | ) | const |
Definition at line 397 of file HGCalDDDConstants.cc.
References HGCalParameters::getModule(), hgpar_, dqmdumpme::k, and HGCalParameters::moduleLayR_.
|
inline |
Definition at line 57 of file HGCalDDDConstants.h.
References hgpar_.
Referenced by HGCalGeometry::getSummary().
int HGCalDDDConstants::getPhiBins | ( | int | lay | ) | const |
Definition at line 404 of file HGCalDDDConstants.cc.
References hgpar_, mode_, HGCalParameters::scintCells(), and HGCalGeometryMode::Trapezoid.
|
inline |
Definition at line 60 of file HGCalDDDConstants.h.
References hgpar_, mode_, HGCalParameters::radiusLayer_, HGCalParameters::scintType(), and HGCalGeometryMode::Trapezoid.
std::pair< int, int > HGCalDDDConstants::getREtaRange | ( | int | lay | ) | const |
Definition at line 408 of file HGCalDDDConstants.cc.
References hgpar_, HGCalParameters::iradMaxBH_, HGCalParameters::iradMinBH_, layerIndex(), mode_, and HGCalGeometryMode::Trapezoid.
Referenced by HGCalTriggerGeometryV9Imp2::getModuleFromTriggerCell(), and HGCalTriggerGeometryV9Imp2::getTriggerCellsFromModule().
|
inline |
Definition at line 64 of file HGCalDDDConstants.h.
References HGCalParameters::getTrForm(), hgpar_, and dqmdumpme::k.
Referenced by HGCalGeometry::getSummary(), and HGCalDDDConstants().
|
inline |
Definition at line 65 of file HGCalDDDConstants.h.
References hgpar_, and HGCalParameters::trformIndex_.
Referenced by HGCalGeometry::getSummary(), and HGCalDDDConstants().
std::vector< HGCalParameters::hgtrform > HGCalDDDConstants::getTrForms | ( | ) | const |
Definition at line 420 of file HGCalDDDConstants.cc.
References HGCalParameters::getTrForm(), hgpar_, dqmdumpme::k, and HGCalParameters::trformIndex_.
Referenced by HGCalTrackCollectionProducer::beginLuminosityBlock().
int HGCalDDDConstants::getTypeHex | ( | int | layer, |
int | waferU, | ||
int | waferV | ||
) | const |
Definition at line 436 of file HGCalDDDConstants.cc.
References HGCalGeometryMode::Hexagon8, HGCalGeometryMode::Hexagon8Full, hgpar_, mode_, HGCalParameters::typesInLayers_, HGCalWaferIndex::waferIndex(), and HGCalParameters::waferTypeL_.
Referenced by HGCalTriggerGeometryV9Imp2::detIdWaferType(), HGCalTriggerGeometryV9Imp1::detIdWaferType(), and HGCalTopology::neighbors().
int HGCalDDDConstants::getTypeTrap | ( | int | layer | ) | const |
Definition at line 427 of file HGCalDDDConstants.cc.
References hgpar_, mode_, HGCalParameters::scintType(), and HGCalGeometryMode::Trapezoid.
Referenced by HGCalTriggerGeometryV9Imp1::fillInvalidTriggerCells(), HGCalTriggerGeometryV9Imp1::getCellsFromTriggerCell(), and HGCalTriggerGeometryV9Imp1::getNeighborsFromTriggerCell().
|
inline |
Definition at line 69 of file HGCalDDDConstants.h.
References hgpar_, HGCalParameters::nCellsCoarse_, and HGCalParameters::nCellsFine_.
Referenced by maskCell(), and HGCalTopology::neighbors().
bool HGCalDDDConstants::isHalfCell | ( | int | waferType, |
int | cell | ||
) | const |
Definition at line 446 of file HGCalDDDConstants.cc.
References HGCalParameters::cellCoarseHalf_, HGCalParameters::cellFineHalf_, hgpar_, and waferType().
|
private |
Definition at line 1489 of file HGCalDDDConstants.cc.
References HGCalParameters::cellCoarseX_, HGCalParameters::cellCoarseY_, HGCalParameters::cellFineX_, HGCalParameters::cellFineY_, HGCSiliconDetId::HGCalFine, hgpar_, createfilelist::int, 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 1513 of file HGCalDDDConstants.cc.
References HGCalParameters::cellCoarseIndex_, HGCalParameters::cellCoarseX_, HGCalParameters::cellCoarseY_, HGCalParameters::cellFineIndex_, HGCalParameters::cellFineX_, HGCalParameters::cellFineY_, HGCalParameters::firstLayer_, hgpar_, mps_fire::result, HGCalParameters::rMaxLayHex_, HGCalParameters::rMinLayHex_, findQualityFiles::rr, mathSSE::sqrt(), waferPosition(), x, geometryCSVtoXML::xy, and y.
Referenced by isValidHex8().
bool HGCalDDDConstants::isValidHex | ( | int | lay, |
int | mod, | ||
int | cell, | ||
bool | reco | ||
) | const |
Definition at line 452 of file HGCalDDDConstants.cc.
References HGCalParameters::cellCoarseX_, HGCalParameters::cellFineX_, HGCalParameters::copiesInLayers_, HGCalGeometryMode::Hexagon, HGCalGeometryMode::HexagonFull, HGCSiliconDetId::HGCalFine, hgpar_, createfilelist::int, isValidCell(), layers(), maxCells(), mod(), mode_, mps_fire::result, findQualityFiles::size, HGCalParameters::waferCopy_, and HGCalParameters::waferTypeT_.
Referenced by HGCNumberingScheme::getUnitID(), and HGCalTopology::valid().
bool HGCalDDDConstants::isValidHex8 | ( | int | lay, |
int | modU, | ||
int | modV, | ||
int | cellU, | ||
int | cellV, | ||
bool | fullAndPart = false |
||
) | const |
Definition at line 526 of file HGCalDDDConstants.cc.
References hgpar_, isValidCell8(), isValidHex8(), N, HGCalParameters::nCellsCoarse_, HGCalParameters::nCellsFine_, HGCalParameters::typesInLayers_, HGCalWaferIndex::waferIndex(), and HGCalParameters::waferTypeL_.
bool HGCalDDDConstants::isValidHex8 | ( | int | lay, |
int | waferU, | ||
int | waferV, | ||
bool | fullAndPart = false |
||
) | const |
Definition at line 494 of file HGCalDDDConstants.cc.
References hgpar_, HGCalParameters::typesInLayers_, HGCalTypes::WaferCornerMin, waferIn_, HGCalWaferIndex::waferIndex(), HGCalParameters::waferMaskMode_, HGCalTypes::WaferOut, and HGCalParameters::waferTypes_.
Referenced by HGCalTopology::addHGCSiliconId(), isValidHex8(), HGCalTopology::valid(), and HGCalTopology::validModule().
bool HGCalDDDConstants::isValidTrap | ( | int | lay, |
int | ieta, | ||
int | iphi | ||
) | const |
Definition at line 547 of file HGCalDDDConstants.cc.
References getIndex(), hgpar_, LEDCalibrationChannels::iphi, and HGCalParameters::iradMinBH_.
Referenced by HGCalTopology::addHGCSCintillatorId(), and HGCalTopology::valid().
int HGCalDDDConstants::lastLayer | ( | bool | reco | ) | const |
Definition at line 556 of file HGCalDDDConstants.cc.
References HGCalParameters::firstLayer_, hgpar_, and tot_layers_.
Referenced by HGCalGeometry::neighborZ().
int HGCalDDDConstants::layerIndex | ( | int | lay, |
bool | reco | ||
) | const |
Definition at line 560 of file HGCalDDDConstants.cc.
References HGCalParameters::depthIndex_, HGCalParameters::depthLayerF_, HGCalParameters::firstLayer_, HGCalGeometryMode::Hexagon, HGCalGeometryMode::HexagonFull, hgpar_, HGCalParameters::layerIndex_, and mode_.
Referenced by distFromEdgeHex(), distFromEdgeTrap(), getIndex(), getLayer(), getREtaRange(), and HGCalGeometry::getSummary().
unsigned int HGCalDDDConstants::layers | ( | bool | reco | ) | const |
Definition at line 558 of file HGCalDDDConstants.cc.
References createfilelist::int, and tot_layers_.
Referenced by HGCalDigiClient::beginRun(), HGCalRecHitsClient::beginRun(), HGCalSimHitsClient::beginRun(), HGCalTimingAnalyzer::beginRun(), HGCalTBAnalyzer::beginRun(), HGCalRecHitValidation::dqmBeginRun(), HGCalDigiValidation::dqmBeginRun(), HGCalSimHitValidation::dqmBeginRun(), HGCalTriggerTools::eventSetup(), HGCalTriggerGeometryHexImp2::fillInvalidTriggerCells(), HGCalTriggerGeometryHexLayerBasedImp1::fillInvalidTriggerCells(), HGCalTriggerGeometryV9Imp1::fillInvalidTriggerCells(), HGCalDDDConstants(), HGCalTopology::HGCalTopology(), HGCalTriggerGeometryHexLayerBasedImp1::initialize(), HGCalTriggerGeometryV9Imp1::initialize(), HGCalTriggerGeometryV9Imp2::initialize(), isValidHex(), HGCalTriggerGeometryHexImp2::lastTriggerLayer(), HGCalTriggerGeometryGenericMapping::lastTriggerLayer(), maxCells(), SimG4HGCalValidation::update(), and wafers().
unsigned int HGCalDDDConstants::layersInit | ( | bool | reco | ) | const |
Definition at line 573 of file HGCalDDDConstants.cc.
References HGCalParameters::depthIndex_, hgpar_, and HGCalParameters::layerIndex_.
Referenced by HGCalDDDConstants().
|
inline |
Definition at line 85 of file HGCalDDDConstants.h.
References hgpar_, and HGCalParameters::levelT_.
Referenced by HGCScintSD::update(), HGCalSD::update(), HFNoseSD::update(), HGCSD::update(), and SimG4HGCalValidation::update().
std::pair< float, float > HGCalDDDConstants::locateCell | ( | const HGCSiliconDetId & | id, |
bool | debug = false |
||
) | const |
Definition at line 659 of file HGCalDDDConstants.cc.
References debug, geomTools_, hgpar_, HGCalParameters::layerCenter_, HGCalParameters::nCellsCoarse_, HGCalParameters::nCellsFine_, dttmaxenums::R, alignCSCRings::r, diffTwoXMLs::r1, HGCalParameters::sensorSeparation_, HGCalGeomTools::shiftXY(), sqrt3_, HGCalParameters::waferSize_, and ecaldqm::zside().
std::pair< float, float > HGCalDDDConstants::locateCell | ( | int | cell, |
int | lay, | ||
int | type, | ||
bool | reco | ||
) | const |
Definition at line 577 of file HGCalDDDConstants.cc.
References HGCalParameters::cellCoarseX_, HGCalParameters::cellCoarseY_, HGCalParameters::cellFineX_, HGCalParameters::cellFineY_, getIndex(), HGCalGeometryMode::Hexagon, HGCalGeometryMode::HexagonFull, HGCSiliconDetId::HGCalFine, hgpar_, mps_fire::i, HGCalParameters::k_ScaleToDDD, mode_, 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 | debug = false |
||
) | const |
Definition at line 608 of file HGCalDDDConstants.cc.
References python.cmstools::all(), HGCalParameters::cellCoarseIndex_, HGCalParameters::cellCoarseX_, HGCalParameters::cellCoarseY_, HGCalParameters::cellFineIndex_, HGCalParameters::cellFineX_, HGCalParameters::cellFineY_, debug, hgpar_, HGCalParameters::k_ScaleToDDD, HGCalParameters::typesInLayers_, HGCalWaferIndex::waferIndex(), waferPosition(), HGCalParameters::waferTypeL_, x, geometryCSVtoXML::xy, and y.
std::pair< float, float > HGCalDDDConstants::locateCellHex | ( | int | cell, |
int | wafer, | ||
bool | reco | ||
) | const |
Definition at line 687 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 703 of file HGCalDDDConstants.cc.
References funct::abs(), funct::cos(), getIndex(), hgpar_, LEDCalibrationChannels::iphi, HGCalParameters::iradMaxBH_, HGCalParameters::iradMinBH_, HGCalParameters::k_ScaleToDDD, SiStripPI::max, min(), phi, alignCSCRings::r, HGCalParameters::radiusLayer_, FastTimerService_cff::range, rangeR(), HGCalParameters::scintType(), funct::sin(), x, y, z, and HGCalParameters::zLayerHex_.
Referenced by HGCalSimHitValidation::analyzeHits(), and HGCalNumberingScheme::checkPosition().
bool HGCalDDDConstants::maskCell | ( | const DetId & | id, |
int | corners | ||
) | const |
Definition at line 732 of file HGCalDDDConstants.cc.
References DetId::det(), DetId::Forward, getUVMax(), HGCalWaferMask::goodCell(), HGCalGeometryMode::Hexagon8, HGCalGeometryMode::Hexagon8Full, hgpar_, triggerObjects_cff::id, HGCalParameters::k_CornerSize, HGCalWaferMask::k_OffsetRotation, HGCalWaferMask::maskCell(), mode_, N, edm::second(), findQualityFiles::v, HGCalWaferIndex::waferIndex(), HGCalParameters::waferTypes_, and LaserClient_cfi::wl.
Referenced by hgcal::RecHitTools::maskCell(), HGCalTopology::maskCell(), HFNoseSD::setDetUnitId(), HGCalSD::setDetUnitId(), and HGCalTopology::valid().
int HGCalDDDConstants::maxCells | ( | bool | reco | ) | const |
Definition at line 772 of file HGCalDDDConstants.cc.
References postprocess-scan-build::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 782 of file HGCalDDDConstants.cc.
References HGCalParameters::cellCoarseX_, HGCalParameters::cellFineX_, postprocess-scan-build::cells, HGCalParameters::defineFull_, HGCalParameters::firstLayer_, getIndex(), HGCalGeometryMode::Hexagon, HGCalGeometryMode::Hexagon8, HGCalGeometryMode::Hexagon8Full, HGCalGeometryMode::HexagonFull, HGCSiliconDetId::HGCalCoarseThick, HGCSiliconDetId::HGCalFine, hgpar_, dqmdumpme::k, SiStripPI::max, mode_, N, HGCalParameters::nCellsCoarse_, HGCalParameters::nCellsFine_, HGCalParameters::scintCells(), HGCalGeometryMode::Trapezoid, HGCalParameters::typesInLayers_, HGCalParameters::waferCopy_, HGCalWaferIndex::waferIndex(), waferInLayerTest(), HGCalParameters::waferTypeL_, HGCalParameters::waferTypeT_, HGCalWaferIndex::waferU(), and HGCalWaferIndex::waferV().
|
inline |
Definition at line 87 of file HGCalDDDConstants.h.
References hgpar_, mode_, HGCalParameters::nCellsFine_, and HGCalGeometryMode::Trapezoid.
Referenced by HGCalTopology::HGCalTopology().
|
inline |
|
inline |
int HGCalDDDConstants::maxRows | ( | int | lay, |
bool | reco | ||
) | const |
Definition at line 817 of file HGCalDDDConstants.cc.
References HGCalParameters::defineFull_, getIndex(), HGCalGeometryMode::Hexagon, HGCalGeometryMode::Hexagon8, HGCalGeometryMode::Hexagon8Full, HGCalGeometryMode::HexagonFull, hgpar_, mps_fire::i, dqmdumpme::k, mode_, HGCalParameters::waferCopy_, waferInLayerTest(), and HGCalParameters::waferUVMaxLayer_.
|
inline |
Definition at line 95 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 837 of file HGCalDDDConstants.cc.
Referenced by HGCalTopology::neighbors().
int HGCalDDDConstants::modules | ( | int | lay, |
bool | reco | ||
) | const |
Definition at line 842 of file HGCalDDDConstants.cc.
References dqmdumpme::first, getIndex(), createfilelist::int, and max_modules_layer_.
Referenced by wafers().
int HGCalDDDConstants::modulesInit | ( | int | lay, |
bool | reco | ||
) | const |
Definition at line 849 of file HGCalDDDConstants.cc.
References HGCalParameters::defineFull_, HGCalParameters::firstModule_, getIndex(), hgpar_, dqmdumpme::k, HGCalParameters::lastModule_, mode_, HGCalGeometryMode::Trapezoid, waferInLayerTest(), and HGCalParameters::waferPosX_.
Referenced by HGCalDDDConstants().
double HGCalDDDConstants::mouseBite | ( | bool | reco | ) | const |
Definition at line 865 of file HGCalDDDConstants.cc.
References hgpar_, HGCalParameters::k_ScaleToDDD, and HGCalParameters::mouseBite_.
Referenced by HFNoseSD::update(), and HGCalSD::update().
int HGCalDDDConstants::numberCells | ( | bool | reco | ) | const |
Definition at line 869 of file HGCalDDDConstants.cc.
References postprocess-scan-build::cells, HGCalParameters::depth_, hgpar_, dqmdumpme::k, HGCalParameters::layer_, and dt_dqm_sourceclient_common_cff::reco.
Referenced by HGCalTopology::allGeomModules().
std::vector< int > HGCalDDDConstants::numberCells | ( | int | lay, |
bool | reco | ||
) | const |
Definition at line 879 of file HGCalDDDConstants.cc.
References HGCalParameters::cellCoarseX_, HGCalParameters::cellFineX_, HGCalParameters::defineFull_, HGCalParameters::firstModule_, getIndex(), HGCalGeometryMode::Hexagon, HGCalGeometryMode::HexagonFull, HGCSiliconDetId::HGCalFine, hgpar_, mps_fire::i, dqmdumpme::k, mode_, nphi, numberCellsHexagon(), HGCalParameters::scintCells(), HGCalGeometryMode::Trapezoid, HGCalParameters::waferCopy_, waferInLayerTest(), HGCalParameters::waferTypeT_, HGCalWaferIndex::waferU(), and HGCalWaferIndex::waferV().
int HGCalDDDConstants::numberCellsHexagon | ( | int | lay, |
int | waferU, | ||
int | waferV, | ||
bool | flag | ||
) | const |
Definition at line 923 of file HGCalDDDConstants.cc.
References RemoveAddSevLevel::flag, HGCSiliconDetId::HGCalCoarseThick, hgpar_, N, HGCalParameters::nCellsCoarse_, HGCalParameters::nCellsFine_, HGCalParameters::typesInLayers_, HGCalWaferIndex::waferIndex(), and HGCalParameters::waferTypeL_.
int HGCalDDDConstants::numberCellsHexagon | ( | int | wafer | ) | const |
Definition at line 912 of file HGCalDDDConstants.cc.
References HGCalParameters::cellCoarseX_, HGCalParameters::cellFineX_, HGCSiliconDetId::HGCalFine, hgpar_, and HGCalParameters::waferTypeT_.
Referenced by HGCalTriggerGeometryHexImp1::fillMaps(), HGCalGeometry::newCell(), and numberCells().
std::pair< double, double > HGCalDDDConstants::rangeR | ( | double | z, |
bool | reco | ||
) | const |
Definition at line 934 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_, z, HGCalParameters::zFrontMin_, HGCalParameters::zFrontTop_, HGCalParameters::zLayerHex_, and geometryCSVtoXML::zz.
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 961 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 979 of file HGCalDDDConstants.cc.
References hgpar_, HGCalParameters::k_ScaleToDDD, HGCalParameters::waferThick_, HGCalParameters::zLayerHex_, SiStripMonitorCluster_cfi::zmax, and SiStripMonitorCluster_cfi::zmin.
Referenced by HFNoseNumberingScheme::checkPosition(), HGCalNumberingScheme::checkPosition(), and HGCDigitizer::checkPosition().
std::pair< int, int > HGCalDDDConstants::rowColumnWafer | ( | const int | wafer | ) | const |
Definition at line 992 of file HGCalDDDConstants.cc.
References cuy::col, filterCSVwithJSON::copy, hgpar_, and HGCalParameters::waferCopy_.
|
inline |
Definition at line 108 of file HGCalDDDConstants.h.
References hgpar_, and HGCalParameters::nSectors_.
Referenced by HGCalGeometry::getSummary(), HGCalDDDConstants(), and HGCalTopology::HGCalTopology().
std::pair< int, int > HGCalDDDConstants::simToReco | ( | int | cell, |
int | layer, | ||
int | mod, | ||
bool | half | ||
) | const |
Definition at line 1006 of file HGCalDDDConstants.cc.
References LEDCalibrationChannels::depth, getIndex(), HGCalGeometryMode::Hexagon, HGCalGeometryMode::HexagonFull, hgpar_, mps_fire::i, HGCalParameters::layerGroup_, HGCalParameters::layerGroupM_, HGCalParameters::layerGroupO_, mod(), mode_, findQualityFiles::size, and HGCalParameters::waferTypeL_.
Referenced by HGCalTimingAnalyzer::analyzeSimHits(), HGCalTBAnalyzer::analyzeSimHits(), CaloParticleDebugger::fillSimHits(), and CaloTruthAccumulator::fillSimHits().
|
inline |
Definition at line 110 of file HGCalDDDConstants.h.
References hgpar_, and HGCalParameters::moduleLayR_.
|
inline |
|
inline |
Definition at line 132 of file HGCalDDDConstants.h.
References hgpar_, GetRecoTauVFromDQM_MC_cff::kk, and HGCalParameters::waferInfoMap_.
|
inline |
Definition at line 140 of file HGCalDDDConstants.h.
References hgpar_, GetRecoTauVFromDQM_MC_cff::kk, and HGCalParameters::waferInfoMap_.
|
inline |
Definition at line 155 of file HGCalDDDConstants.h.
References hgpar_, GetRecoTauVFromDQM_MC_cff::kk, and HGCalParameters::waferInfoMap_.
|
inline |
Definition at line 148 of file HGCalDDDConstants.h.
References hgpar_, GetRecoTauVFromDQM_MC_cff::kk, and HGCalParameters::waferInfoMap_.
|
inline |
Definition at line 131 of file HGCalDDDConstants.h.
References hgpar_, and HGCalParameters::waferInfoMap_.
Referenced by waferType(), and waferTypeRotation().
int HGCalDDDConstants::waferFromCopy | ( | int | copy | ) | const |
Definition at line 1035 of file HGCalDDDConstants.cc.
References filterCSVwithJSON::copy, hgpar_, dqmdumpme::k, mps_fire::result, and HGCalParameters::waferCopy_.
Referenced by HGCNumberingScheme::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 | debug = false |
||
) | const |
Definition at line 1102 of file HGCalDDDConstants.cc.
References funct::abs(), cellHex(), HGCalParameters::cellThickness_, debug, PVValHelper::dx, PVValHelper::dy, HGCalParameters::firstLayer_, hexside_, HGCSiliconDetId::HGCalCoarseThick, hgpar_, dqmdumpme::k, HGCalParameters::k_ScaleFromDDD, HGCalParameters::nCellsFine_, rmax_, tan30deg_, HGCalParameters::typesInLayers_, HGCalParameters::waferCopy_, HGCalWaferIndex::waferIndex(), HGCalParameters::waferPosX_, HGCalParameters::waferPosY_, HGCalParameters::waferThick_, HGCalParameters::waferTypeL_, HGCalWaferIndex::waferU(), HGCalParameters::waferUVMax_, HGCalWaferIndex::waferV(), x, testProducerWithPsetDescEmpty_cfi::x1, HGCalParameters::xLayerHex_, geometryCSVtoXML::xx, y, testProducerWithPsetDescEmpty_cfi::y1, HGCalParameters::yLayerHex_, and geometryCSVtoXML::yy.
void HGCalDDDConstants::waferFromPosition | ( | const double | x, |
const double | y, | ||
int & | wafer, | ||
int & | icell, | ||
int & | celltyp | ||
) | const |
Definition at line 1060 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_, createfilelist::int, dqmdumpme::k, HGCalParameters::k_ScaleFromDDD, rmax_, tan30deg_, HGCalParameters::waferCopy_, HGCalParameters::waferPosX_, HGCalParameters::waferPosY_, HGCalParameters::waferTypeT_, x, geometryCSVtoXML::xx, y, and geometryCSVtoXML::yy.
Referenced by assignCellHex(), HFNoseNumberingScheme::checkPosition(), HGCalNumberingScheme::checkPosition(), HFNoseNumberingScheme::getUnitID(), HGCNumberingScheme::getUnitID(), and HGCalNumberingScheme::getUnitID().
bool HGCalDDDConstants::waferFullInLayer | ( | int | wafer, |
int | lay, | ||
bool | reco | ||
) | const |
Definition at line 1176 of file HGCalDDDConstants.cc.
References getIndex(), and waferInLayerTest().
bool HGCalDDDConstants::waferInLayer | ( | int | wafer, |
int | lay, | ||
bool | reco | ||
) | const |
Definition at line 1169 of file HGCalDDDConstants.cc.
References HGCalParameters::defineFull_, getIndex(), hgpar_, and waferInLayerTest().
Referenced by HGCalGeometry::getSummary(), and HGCalDDDConstants().
|
private |
Definition at line 1554 of file HGCalDDDConstants.cc.
References distTCMET_cfi::corner, RemoveAddSevLevel::flag, full, HGCalGeometryMode::Hexagon, HGCalGeometryMode::HexagonFull, hexside_, hgpar_, recoMuon::in, HGCalParameters::k_CornerSize, mode_, rmax_, HGCalParameters::rMaxLayHex_, HGCalParameters::rMinLayHex_, HGCalGeomTools::waferCorner(), HGCalParameters::waferPosX_, and HGCalParameters::waferPosY_.
Referenced by maxCells(), maxRows(), modulesInit(), numberCells(), waferFullInLayer(), and waferInLayer().
|
inline |
|
inline |
std::pair< double, double > HGCalDDDConstants::waferParameters | ( | bool | reco | ) | const |
Definition at line 1183 of file HGCalDDDConstants.cc.
References hexside_, HGCalParameters::k_ScaleToDDD, and rmax_.
std::pair< double, double > HGCalDDDConstants::waferPosition | ( | int | lay, |
int | waferU, | ||
int | waferV, | ||
bool | reco, | ||
bool | debug = false |
||
) | const |
Definition at line 1203 of file HGCalDDDConstants.cc.
References debug, HGCalParameters::firstLayer_, hgpar_, HGCalParameters::k_ScaleToDDD, waferPosition(), x, HGCalParameters::xLayerHex_, geometryCSVtoXML::xy, y, and HGCalParameters::yLayerHex_.
std::pair< double, double > HGCalDDDConstants::waferPosition | ( | int | wafer, |
bool | reco | ||
) | const |
Definition at line 1190 of file HGCalDDDConstants.cc.
References hgpar_, HGCalParameters::k_ScaleToDDD, HGCalParameters::waferPosX_, HGCalParameters::waferPosY_, geometryCSVtoXML::xx, and geometryCSVtoXML::yy.
Referenced by HGCMouseBite::exclude(), isValidCell8(), locateCell(), and waferPosition().
|
private |
Definition at line 1572 of file HGCalDDDConstants.cc.
References hgpar_, HGCalParameters::k_ScaleToDDD, HGCalWaferIndex::waferIndex(), HGCalParameters::waferPosX_, HGCalParameters::waferPosY_, HGCalParameters::wafersInLayers_, geometryCSVtoXML::xx, and geometryCSVtoXML::yy.
int HGCalDDDConstants::wafers | ( | ) | const |
Definition at line 1375 of file HGCalDDDConstants.cc.
References HGCalParameters::depth_, hgpar_, mps_fire::i, createfilelist::int, layers(), mode_, HGCalParameters::moduleLayR_, modules(), and HGCalGeometryMode::Trapezoid.
Referenced by HGCalTopology::allGeomModules(), and HGCalDDDConstants().
int HGCalDDDConstants::wafers | ( | int | layer, |
int | type | ||
) | const |
Definition at line 1388 of file HGCalDDDConstants.cc.
References HGCalParameters::firstModule_, getIndex(), hgpar_, HGCalParameters::lastModule_, mode_, HGCalGeometryMode::Trapezoid, and waferLayer_.
|
inline |
Definition at line 156 of file HGCalDDDConstants.h.
References hgpar_, HGCalParameters::k_ScaleToDDD, and HGCalParameters::sensorSeparation_.
|
inline |
Definition at line 159 of file HGCalDDDConstants.h.
References hgpar_, HGCalParameters::k_ScaleToDDD, and HGCalParameters::waferSize_.
Referenced by HFNoseSD::update(), and HGCalSD::update().
|
inline |
Definition at line 164 of file HGCalDDDConstants.h.
References hgpar_, and HGCalParameters::waferCopy_.
int HGCalDDDConstants::waferType | ( | DetId const & | id, |
bool | fromFile = false |
||
) | const |
Definition at line 1228 of file HGCalDDDConstants.cc.
References DetId::Forward, HGCalGeometryMode::Hexagon, HGCalGeometryMode::Hexagon8, HGCalGeometryMode::Hexagon8Full, HGCalGeometryMode::HexagonFull, hgpar_, HFNoseDetId::layer(), HGCSiliconDetId::layer(), mode_, HFNoseDetId::type(), HGCSiliconDetId::type(), waferFileSize(), HGCalWaferIndex::waferIndex(), HGCalParameters::waferInfoMap_, waferTypeL(), HFNoseDetId::waferU(), HGCSiliconDetId::waferU(), HGCSiliconDetId::waferV(), and HFNoseDetId::waferV().
Referenced by assignCellHex(), cellThickness(), isHalfCell(), and HGCalUncalibRecHitRecWeightsAlgo< HGCDataFrame >::makeRecHit().
std::tuple< int, int, int > HGCalDDDConstants::waferType | ( | HGCSiliconDetId const & | id, |
bool | fromFile = false |
||
) | const |
Definition at line 1275 of file HGCalDDDConstants.cc.
References dqmdumpme::first, hgpar_, HGCalGeomTools::k_allCorners, HGCalGeomTools::k_fiveCorners, HGCalGeomTools::k_fourCorners, HGCalWaferMask::k_OffsetRotation, HGCalGeomTools::k_threeCorners, edm::second(), HGCalParameters::typesInLayers_, waferFileSize(), HGCalTypes::WaferFive, HGCalTypes::WaferFull, HGCalTypes::WaferHalf, HGCalWaferIndex::waferIndex(), HGCalParameters::waferInfoMap_, HGCalTypes::WaferThree, HGCalParameters::waferTypeL_, and HGCalParameters::waferTypes_.
int HGCalDDDConstants::waferType | ( | int | layer, |
int | waferU, | ||
int | waferV, | ||
bool | fromFile = false |
||
) | const |
Definition at line 1256 of file HGCalDDDConstants.cc.
References HGCalGeometryMode::Hexagon, HGCalGeometryMode::Hexagon8, HGCalGeometryMode::Hexagon8Full, HGCalGeometryMode::HexagonFull, HGCSiliconDetId::HGCalCoarseThick, hgpar_, createfilelist::int, mode_, HGCalParameters::typesInLayers_, waferFileSize(), HGCalWaferIndex::waferIndex(), HGCalParameters::waferInfoMap_, and HGCalParameters::waferTypeL_.
|
inline |
Definition at line 173 of file HGCalDDDConstants.h.
References hgpar_, and HGCalParameters::waferTypeL_.
Referenced by HGCalTBAnalyzer::analyzeRecHits(), HGCalTriggerTools::sensorCellThicknessV8(), 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 1314 of file HGCalDDDConstants.cc.
References debug, TauDecayModes::dec, dqmdumpme::first, HGCalGeometryMode::Hexagon8, HGCalGeometryMode::Hexagon8Full, hgpar_, HGCalGeomTools::k_allCorners, HGCalGeomTools::k_fiveCorners, HGCalGeomTools::k_fourCorners, HGCalWaferMask::k_OffsetRotation, HGCalGeomTools::k_threeCorners, mode_, edm::second(), waferFileSize(), HGCalTypes::WaferFive, HGCalTypes::WaferFull, HGCalTypes::WaferHalf, HGCalWaferIndex::waferIndex(), HGCalParameters::waferInfoMap_, HGCalTypes::WaferOut, HGCalTypes::WaferThree, HGCalParameters::waferTypes_, and LaserClient_cfi::wl.
|
inline |
Definition at line 169 of file HGCalDDDConstants.h.
References hgpar_, and HGCalParameters::waferTypeT_.
Referenced by HGCalTriggerGeometryHexImp2::detIdWaferType(), HGCalTriggerGeometryHexLayerBasedImp1::detIdWaferType(), HGCalTriggerGeometryHexImp1::fillMaps(), and HGCalGeometry::getClosestCell().
|
inline |
Definition at line 181 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 1355 of file HGCalDDDConstants.cc.
References HGCalGeometryMode::Hexagon, HGCalGeometryMode::Hexagon8, HGCalGeometryMode::Hexagon8Full, HGCalGeometryMode::HexagonFull, hgpar_, mode_, HGCalWaferIndex::waferIndex(), HGCalParameters::waferTypes_, and LaserClient_cfi::wl.
double HGCalDDDConstants::waferZ | ( | int | layer, |
bool | reco | ||
) | const |
Definition at line 1367 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(), HGCalTriggerTools::getLayerZ(), hgcal::RecHitTools::getPositionLayer(), and HGCalGeometry::neighborZ().
|
private |
Definition at line 200 of file HGCalDDDConstants.h.
|
private |
Definition at line 198 of file HGCalDDDConstants.h.
Referenced by locateCell().
|
private |
Definition at line 206 of file HGCalDDDConstants.h.
Referenced by distFromEdgeHex(), HGCalDDDConstants(), waferFromPosition(), waferInLayerTest(), and waferParameters().
|
private |
Definition at line 203 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(), HGCalDDDConstants(), isHalfCell(), isValidCell(), isValidCell8(), isValidHex(), isValidHex8(), isValidTrap(), lastLayer(), layerIndex(), layersInit(), levelTop(), locateCell(), locateCellHex(), locateCellTrap(), maskCell(), maxCells(), maxCellUV(), maxRows(), minSlope(), modulesInit(), mouseBite(), numberCells(), numberCellsHexagon(), rangeR(), rangeRLayer(), rangeZ(), rowColumnWafer(), sectors(), simToReco(), volumes(), waferFileIndex(), waferFileInfo(), waferFileInfoExist(), waferFileInfoFromIndex(), waferFileSize(), waferFromCopy(), waferFromPosition(), waferInLayer(), waferInLayerTest(), waferPosition(), wafers(), waferSepar(), waferSize(), waferToCopy(), waferType(), waferTypeL(), waferTypeRotation(), waferTypeT(), waferUVMax(), waferVirtual(), and waferZ().
|
private |
Definition at line 199 of file HGCalDDDConstants.h.
|
private |
Definition at line 210 of file HGCalDDDConstants.h.
Referenced by HGCalDDDConstants(), and modules().
|
private |
Definition at line 211 of file HGCalDDDConstants.h.
Referenced by HGCalDDDConstants(), and maxModulesPerLayer().
|
private |
Definition at line 207 of file HGCalDDDConstants.h.
Referenced by assignCell(), assignCellHex(), cellEtaPhiTrap(), cellInLayer(), cellSizeHex(), cellThickness(), distFromEdgeHex(), geomMode(), getIndex(), getLayer(), getPhiBins(), getRadiusLayer(), getREtaRange(), getTypeHex(), getTypeTrap(), HGCalDDDConstants(), isValidHex(), layerIndex(), locateCell(), maskCell(), maxCells(), maxCellUV(), maxRows(), modulesInit(), numberCells(), simToReco(), waferInLayerTest(), wafers(), waferType(), waferTypeRotation(), and waferVirtual().
|
private |
Definition at line 208 of file HGCalDDDConstants.h.
Referenced by HGCalDDDConstants(), and maxModules().
|
private |
Definition at line 206 of file HGCalDDDConstants.h.
Referenced by assignCell(), cellHex(), distFromEdgeHex(), HGCalDDDConstants(), waferFromPosition(), waferInLayerTest(), and waferParameters().
|
private |
Definition at line 205 of file HGCalDDDConstants.h.
Referenced by cellHex(), distFromEdgeHex(), and locateCell().
|
staticconstexprprivate |
Definition at line 204 of file HGCalDDDConstants.h.
Referenced by cellHex(), distFromEdgeHex(), HGCalDDDConstants(), and waferFromPosition().
|
private |
Definition at line 209 of file HGCalDDDConstants.h.
Referenced by HGCalDDDConstants(), lastLayer(), and layers().
|
private |
Definition at line 208 of file HGCalDDDConstants.h.
Referenced by HGCalDDDConstants().
|
private |
Definition at line 214 of file HGCalDDDConstants.h.
Referenced by HGCalDDDConstants(), and isValidHex8().
|
private |
Definition at line 212 of file HGCalDDDConstants.h.
Referenced by HGCalDDDConstants(), and wafers().
|
private |
Definition at line 213 of file HGCalDDDConstants.h.
Referenced by HGCalDDDConstants(), waferCount(), waferMax(), and waferMin().