#include <HGCalTBDDDConstants.h>
Public Member Functions | |
std::pair< int, int > | assignCell (float x, float y, int lay, int subSec, bool reco) const |
double | cellSizeHex (int type) const |
double | cellThickness (int layer, int wafer) const |
double | distFromEdgeHex (double x, double y, double z) const |
int | firstLayer () const |
HGCalGeometryMode::GeometryMode | geomMode () const |
int | getLayer (double z, bool reco) const |
HGCalTBParameters::hgtrap | getModule (unsigned int k, bool hexType, bool reco) const |
std::vector< HGCalTBParameters::hgtrap > | getModules () const |
const HGCalTBParameters * | getParameter () const |
HGCalTBParameters::hgtrform | getTrForm (unsigned int k) const |
unsigned int | getTrFormN () const |
std::vector< HGCalTBParameters::hgtrform > | getTrForms () const |
int | getTypeHex (int layer, int wafer) const |
HGCalTBDDDConstants (const HGCalTBParameters *hp, const std::string &name) | |
bool | isHalfCell (int waferType, int cell) const |
bool | isValidHex (int lay, int mod, int cell, bool reco) 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 | layerType (int lay) const |
int | levelTop (int ind=0) const |
std::pair< float, float > | locateCell (int cell, int lay, int type, bool reco) const |
std::pair< float, float > | locateCellHex (int cell, int wafer, bool reco) const |
int | maxCells (bool reco) const |
int | maxCells (int lay, bool reco) 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 |
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 | waferFromCopy (int copy) 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 | waferHexagon6 () 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 |
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) const |
int | waferType (int layer, int wafer) const |
std::tuple< int, int, int > | waferType (HGCSiliconDetId const &id, bool fromFile=false) const |
int | waferTypeL (int wafer) const |
int | waferTypeT (int wafer) const |
int | waferUVMax () const |
bool | waferVirtual (int layer, int wafer) const |
double | waferZ (int layer, bool reco) const |
~HGCalTBDDDConstants ()=default | |
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 |
std::pair< int, float > | getIndex (int lay, bool reco) const |
bool | isValidCell (int layindex, int wafer, int cell) const |
int | layerFromIndex (int index, bool reco) const |
int32_t | waferIndex (int wafer, int index) const |
bool | waferInLayerTest (int wafer, int lay) const |
Private Attributes | |
const float | dPhiMin = 0.02 |
HGCalGeomTools | geomTools_ |
double | hexside_ |
double | hexsideT_ |
const HGCalTBParameters * | 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 31 of file HGCalTBDDDConstants.h.
|
private |
Definition at line 138 of file HGCalTBDDDConstants.h.
|
private |
Definition at line 137 of file HGCalTBDDDConstants.h.
HGCalTBDDDConstants::HGCalTBDDDConstants | ( | const HGCalTBParameters * | hp, |
const std::string & | name | ||
) |
Definition at line 20 of file HGCalTBDDDConstants.cc.
References HGCalTBParameters::cellSize_, funct::cos(), getIndex(), getTrForm(), getTrFormN(), hexside_, hexsideT_, hgpar_, mps_fire::i, HGCalTBParameters::k_ScaleFromDDD, HGCalTBParameters::hgtrform::lay, nano_mu_digi_cff::layer, layers(), layersInit(), SiStripPI::max, max_modules_layer_, maxCells(), maxWafersPerLayer_, mode_, modHalf_, modulesInit(), Skims_PA_cff::name, rmax_, rmaxT_, sectors(), HGCalTBParameters::sensorSeparation_, tan30deg_, tot_layers_, tot_wafers_, waferHexagon6(), waferInLayer(), waferLayer_, waferMax_, HGCalTBParameters::waferR_, wafers(), cms::cuda::wmax, and cms::cuda::wmin.
|
default |
std::pair< int, int > HGCalTBDDDConstants::assignCell | ( | float | x, |
float | y, | ||
int | lay, | ||
int | subSec, | ||
bool | reco | ||
) | const |
Definition at line 106 of file HGCalTBDDDConstants.cc.
References HGCalTBParameters::cellCoarseX_, HGCalTBParameters::cellCoarseY_, HGCalTBParameters::cellFineX_, HGCalTBParameters::cellFineY_, cellHex(), HGCalTBParameters::cellSize_, getIndex(), hgpar_, HGCalTBParameters::k_ScaleFromDDD, dt_dqm_sourceclient_common_cff::reco, rmax_, findQualityFiles::size, waferHexagon6(), HGCalTBParameters::waferPosX_, HGCalTBParameters::waferPosY_, HGCalTBParameters::waferTypeT_, x, geometryCSVtoXML::xx, y, and geometryCSVtoXML::yy.
Referenced by HGCNumberingScheme::assignCell(), and HGCalTBGeometry::getClosestCell().
|
private |
Definition at line 674 of file HGCalTBDDDConstants.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().
double HGCalTBDDDConstants::cellSizeHex | ( | int | type | ) | const |
Definition at line 145 of file HGCalTBDDDConstants.cc.
References HGCalTBParameters::cellSize_, hgpar_, and HGCalTBParameters::k_ScaleFromDDD.
double HGCalTBDDDConstants::cellThickness | ( | int | layer, |
int | wafer | ||
) | const |
Definition at line 151 of file HGCalTBDDDConstants.cc.
References nano_mu_digi_cff::layer, and waferType().
Referenced by HGCalTBAnalyzer::analyzeSimHits().
double HGCalTBDDDConstants::distFromEdgeHex | ( | double | x, |
double | y, | ||
double | z | ||
) | const |
Definition at line 159 of file HGCalTBDDDConstants.cc.
References funct::abs(), PVValHelper::dx, PVValHelper::dy, hexside_, hgpar_, dqmdumpme::k, HGCalTBParameters::k_ScaleFromDDD, HGCalTBParameters::k_ScaleToDDD, rmax_, sqrt3_, tan30deg_, HGCalTBParameters::waferPosX_, HGCalTBParameters::waferPosY_, x, geometryCSVtoXML::xx, y, geometryCSVtoXML::yy, and z.
|
inline |
Definition at line 40 of file HGCalTBDDDConstants.h.
References HGCalTBParameters::firstLayer_, and hgpar_.
Referenced by HGCalTBTopology::HGCalTBTopology(), and HGCalTBGeometry::neighborZ().
|
inline |
Definition at line 41 of file HGCalTBDDDConstants.h.
References mode_.
Referenced by HGCNumberingScheme::getUnitID(), HGCalTBTopology::HGCalTBTopology(), and HGCSD::update().
|
private |
Definition at line 693 of file HGCalTBDDDConstants.cc.
References hgpar_, layerIndex(), HGCalTBParameters::moduleCellR_, HGCalTBParameters::moduleCellS_, and waferHexagon6().
Referenced by assignCell(), HGCalTBDDDConstants(), locateCell(), maxCells(), maxRows(), modules(), modulesInit(), numberCells(), rangeRLayer(), waferFullInLayer(), waferInLayer(), and waferZ().
int HGCalTBDDDConstants::getLayer | ( | double | z, |
bool | reco | ||
) | const |
Definition at line 200 of file HGCalTBDDDConstants.cc.
References funct::abs(), HGCalTBParameters::firstLayer_, hgpar_, dqmdumpme::k, HGCalTBParameters::k_ScaleFromDDD, HGCalTBParameters::layerGroupO_, layerIndex(), dt_dqm_sourceclient_common_cff::reco, waferHexagon6(), z, HGCalTBParameters::zLayerHex_, and geometryCSVtoXML::zz.
HGCalTBParameters::hgtrap HGCalTBDDDConstants::getModule | ( | unsigned int | k, |
bool | hexType, | ||
bool | reco | ||
) | const |
Definition at line 220 of file HGCalTBDDDConstants.cc.
References HGCalTBParameters::getModule(), HGCalTBParameters::HGCalCoarseThick, hgpar_, findQualityFiles::size, HGCalTBParameters::waferPosX_, HGCalTBParameters::waferPosY_, and HGCalTBParameters::waferTypeL_.
Referenced by HGCalTBGeometry::getSummary().
std::vector< HGCalTBParameters::hgtrap > HGCalTBDDDConstants::getModules | ( | ) | const |
Definition at line 236 of file HGCalTBDDDConstants.cc.
References HGCalTBParameters::getModule(), hgpar_, dqmdumpme::k, and HGCalTBParameters::moduleLayR_.
|
inline |
|
inline |
Definition at line 46 of file HGCalTBDDDConstants.h.
References HGCalTBParameters::getTrForm(), hgpar_, and dqmdumpme::k.
Referenced by HGCalTBGeometry::getSummary(), and HGCalTBDDDConstants().
|
inline |
Definition at line 47 of file HGCalTBDDDConstants.h.
References hgpar_, and HGCalTBParameters::trformIndex_.
Referenced by HGCalTBGeometry::getSummary(), and HGCalTBDDDConstants().
std::vector< HGCalTBParameters::hgtrform > HGCalTBDDDConstants::getTrForms | ( | ) | const |
Definition at line 243 of file HGCalTBDDDConstants.cc.
References HGCalTBParameters::getTrForm(), hgpar_, dqmdumpme::k, and HGCalTBParameters::trformIndex_.
|
inline |
Definition at line 49 of file HGCalTBDDDConstants.h.
bool HGCalTBDDDConstants::isHalfCell | ( | int | waferType, |
int | cell | ||
) | const |
Definition at line 250 of file HGCalTBDDDConstants.cc.
References HGCalTBParameters::cellCoarseHalf_, HGCalTBParameters::cellFineHalf_, hgpar_, and waferType().
|
private |
Definition at line 719 of file HGCalTBDDDConstants.cc.
References HGCalTBParameters::cellCoarseX_, HGCalTBParameters::cellCoarseY_, HGCalTBParameters::cellFineX_, HGCalTBParameters::cellFineY_, HGCalTBParameters::HGCalFine, hgpar_, mps_fire::result, HGCalTBParameters::rMaxLayHex_, HGCalTBParameters::rMinLayHex_, findQualityFiles::rr, mathSSE::sqrt(), HGCalTBParameters::waferPosX_, HGCalTBParameters::waferPosY_, HGCalTBParameters::waferTypeT_, x, and y.
Referenced by isValidHex().
bool HGCalTBDDDConstants::isValidHex | ( | int | lay, |
int | mod, | ||
int | cell, | ||
bool | reco | ||
) | const |
Definition at line 256 of file HGCalTBDDDConstants.cc.
References HGCalTBParameters::cellCoarseX_, HGCalTBParameters::cellFineX_, HGCalTBParameters::copiesInLayers_, HGCalTBParameters::HGCalFine, hgpar_, isValidCell(), layers(), maxCells(), mod(), mps_fire::result, findQualityFiles::size, HGCalTBParameters::waferCopy_, waferHexagon6(), and HGCalTBParameters::waferTypeT_.
Referenced by HGCNumberingScheme::getUnitID(), and HGCalTBTopology::valid().
int HGCalTBDDDConstants::lastLayer | ( | bool | reco | ) | const |
Definition at line 299 of file HGCalTBDDDConstants.cc.
References HGCalTBParameters::firstLayer_, hgpar_, and tot_layers_.
Referenced by HGCalTBGeometry::neighborZ().
|
private |
Definition at line 704 of file HGCalTBDDDConstants.cc.
References HGCalTBParameters::depthLayerF_, spr::find(), HGCalTBParameters::firstLayer_, hgpar_, and waferHexagon6().
Referenced by waferIndex().
int HGCalTBDDDConstants::layerIndex | ( | int | lay, |
bool | reco | ||
) | const |
Definition at line 303 of file HGCalTBDDDConstants.cc.
References HGCalTBParameters::depthIndex_, HGCalTBParameters::depthLayerF_, HGCalTBParameters::firstLayer_, hgpar_, HGCalTBParameters::layerIndex_, and waferHexagon6().
Referenced by getIndex(), and getLayer().
unsigned int HGCalTBDDDConstants::layers | ( | bool | reco | ) | const |
Definition at line 315 of file HGCalTBDDDConstants.cc.
References dt_dqm_sourceclient_common_cff::reco, and tot_layers_.
Referenced by HGCalTBAnalyzer::analyze(), HGCalTimingAnalyzer::beginRun(), HGCalTBAnalyzer::beginRun(), HGCalTBDDDConstants(), HGCalTBTopology::HGCalTBTopology(), isValidHex(), and maxCells().
unsigned int HGCalTBDDDConstants::layersInit | ( | bool | reco | ) | const |
Definition at line 317 of file HGCalTBDDDConstants.cc.
References HGCalTBParameters::depthIndex_, hgpar_, and HGCalTBParameters::layerIndex_.
Referenced by HGCalTBDDDConstants().
|
inline |
|
inline |
Definition at line 59 of file HGCalTBDDDConstants.h.
References hgpar_, and HGCalTBParameters::levelT_.
Referenced by HGCSD::update().
std::pair< float, float > HGCalTBDDDConstants::locateCell | ( | int | cell, |
int | lay, | ||
int | type, | ||
bool | reco | ||
) | const |
Definition at line 321 of file HGCalTBDDDConstants.cc.
References HGCalTBParameters::cellCoarseX_, HGCalTBParameters::cellCoarseY_, HGCalTBParameters::cellFineX_, HGCalTBParameters::cellFineY_, getIndex(), HGCalTBParameters::HGCalFine, hgpar_, mps_fire::i, HGCalTBParameters::k_ScaleToDDD, waferHexagon6(), HGCalTBParameters::waferPosX_, HGCalTBParameters::waferPosY_, HGCalTBParameters::waferTypeT_, x, and y.
Referenced by HGCalTBAnalyzer::analyzeSimHits(), and HGCNumberingScheme::getLocalCoords().
std::pair< float, float > HGCalTBDDDConstants::locateCellHex | ( | int | cell, |
int | wafer, | ||
bool | reco | ||
) | const |
Definition at line 352 of file HGCalTBDDDConstants.cc.
References HGCalTBParameters::cellCoarseX_, HGCalTBParameters::cellCoarseY_, HGCalTBParameters::cellFineX_, HGCalTBParameters::cellFineY_, HGCalTBParameters::HGCalFine, hgpar_, HGCalTBParameters::k_ScaleToDDD, HGCalTBParameters::waferTypeT_, x, and y.
Referenced by HGCalTBGeometry::get8Corners(), HGCalTBGeometry::getCorners(), HGCalTBGeometry::getNewCorners(), and HGCalTBGeometry::getPosition().
int HGCalTBDDDConstants::maxCells | ( | bool | reco | ) | const |
Definition at line 368 of file HGCalTBDDDConstants.cc.
References hgcalTBTopologyTester_cfi::cells, HGCalTBParameters::depth_, hgpar_, mps_fire::i, HGCalTBParameters::layer_, and layers().
Referenced by HGCalTBDDDConstants(), HGCalTBTopology::HGCalTBTopology(), and isValidHex().
int HGCalTBDDDConstants::maxCells | ( | int | lay, |
bool | reco | ||
) | const |
Definition at line 378 of file HGCalTBDDDConstants.cc.
References HGCalTBParameters::cellCoarseX_, HGCalTBParameters::cellFineX_, hgcalTBTopologyTester_cfi::cells, getIndex(), HGCalTBParameters::HGCalFine, hgpar_, dqmdumpme::k, waferHexagon6(), waferInLayerTest(), and HGCalTBParameters::waferTypeT_.
|
inline |
|
inline |
Definition at line 63 of file HGCalTBDDDConstants.h.
References maxWafersPerLayer_.
int HGCalTBDDDConstants::maxRows | ( | int | lay, |
bool | reco | ||
) | const |
Definition at line 394 of file HGCalTBDDDConstants.cc.
References getIndex(), hgpar_, mps_fire::i, dqmdumpme::k, HGCalTBParameters::waferCopy_, waferHexagon6(), and waferInLayerTest().
|
inline |
Definition at line 65 of file HGCalTBDDDConstants.h.
References hgpar_, and HGCalTBParameters::slopeMin_.
Referenced by HGCSD::update().
int HGCalTBDDDConstants::modifyUV | ( | int | uv, |
int | type1, | ||
int | type2 | ||
) | const |
Definition at line 410 of file HGCalTBDDDConstants.cc.
int HGCalTBDDDConstants::modules | ( | int | lay, |
bool | reco | ||
) | const |
Definition at line 415 of file HGCalTBDDDConstants.cc.
References dqmdumpme::first, getIndex(), max_modules_layer_, and dt_dqm_sourceclient_common_cff::reco.
int HGCalTBDDDConstants::modulesInit | ( | int | lay, |
bool | reco | ||
) | const |
Definition at line 422 of file HGCalTBDDDConstants.cc.
References getIndex(), hgpar_, dqmdumpme::k, waferInLayerTest(), and HGCalTBParameters::waferPosX_.
Referenced by HGCalTBDDDConstants().
double HGCalTBDDDConstants::mouseBite | ( | bool | reco | ) | const |
Definition at line 434 of file HGCalTBDDDConstants.cc.
References hgpar_, HGCalTBParameters::k_ScaleToDDD, and HGCalTBParameters::mouseBite_.
int HGCalTBDDDConstants::numberCells | ( | bool | reco | ) | const |
Definition at line 438 of file HGCalTBDDDConstants.cc.
References hgcalTBTopologyTester_cfi::cells, HGCalTBParameters::depth_, hgpar_, dqmdumpme::k, HGCalTBParameters::layer_, and dt_dqm_sourceclient_common_cff::reco.
std::vector< int > HGCalTBDDDConstants::numberCells | ( | int | lay, |
bool | reco | ||
) | const |
Definition at line 448 of file HGCalTBDDDConstants.cc.
References HGCalTBParameters::cellCoarseX_, HGCalTBParameters::cellFineX_, getIndex(), HGCalTBParameters::HGCalFine, hgpar_, mps_fire::i, dqmdumpme::k, waferHexagon6(), waferInLayerTest(), and HGCalTBParameters::waferTypeT_.
int HGCalTBDDDConstants::numberCellsHexagon | ( | int | wafer | ) | const |
Definition at line 465 of file HGCalTBDDDConstants.cc.
References HGCalTBParameters::cellCoarseX_, HGCalTBParameters::cellFineX_, hgpar_, and HGCalTBParameters::waferTypeT_.
Referenced by HGCalTBGeometry::newCell().
std::pair< double, double > HGCalTBDDDConstants::rangeR | ( | double | z, |
bool | reco | ||
) | const |
Definition at line 476 of file HGCalTBDDDConstants.cc.
References HGCalTBParameters::k_ScaleToDDD, and z.
Referenced by HGCalTBGeometry::neighborZ().
std::pair< double, double > HGCalTBDDDConstants::rangeRLayer | ( | int | lay, |
bool | reco | ||
) | const |
Definition at line 489 of file HGCalTBDDDConstants.cc.
References getIndex(), hgpar_, HGCalTBParameters::k_ScaleToDDD, HGCalTBParameters::rMaxLayHex_, and HGCalTBParameters::rMinLayHex_.
std::pair< double, double > HGCalTBDDDConstants::rangeZ | ( | bool | reco | ) | const |
Definition at line 507 of file HGCalTBDDDConstants.cc.
References hgpar_, HGCalTBParameters::k_ScaleToDDD, HGCalTBParameters::waferThick_, HGCalTBParameters::zLayerHex_, SiStripMonitorCluster_cfi::zmax, and SiStripMonitorCluster_cfi::zmin.
std::pair< int, int > HGCalTBDDDConstants::rowColumnWafer | ( | const int | wafer | ) | const |
Definition at line 520 of file HGCalTBDDDConstants.cc.
References cuy::col, filterCSVwithJSON::copy, HGCalTypes::getUnpackedU(), HGCalTypes::getUnpackedV(), hgpar_, and HGCalTBParameters::waferCopy_.
|
inline |
Definition at line 77 of file HGCalTBDDDConstants.h.
References hgpar_, and HGCalTBParameters::nSectors_.
Referenced by HGCalTBGeometry::getSummary(), HGCalTBDDDConstants(), and HGCalTBTopology::HGCalTBTopology().
std::pair< int, int > HGCalTBDDDConstants::simToReco | ( | int | cell, |
int | layer, | ||
int | mod, | ||
bool | half | ||
) | const |
Definition at line 530 of file HGCalTBDDDConstants.cc.
Referenced by HGCalTimingAnalyzer::analyzeSimHits(), and HGCalTBAnalyzer::analyzeSimHits().
|
inline |
Definition at line 79 of file HGCalTBDDDConstants.h.
References hgpar_, and HGCalTBParameters::moduleLayR_.
|
inline |
int HGCalTBDDDConstants::waferFromCopy | ( | int | copy | ) | const |
Definition at line 534 of file HGCalTBDDDConstants.cc.
References filterCSVwithJSON::copy, hgpar_, dqmdumpme::k, mps_fire::result, and HGCalTBParameters::waferCopy_.
Referenced by HGCNumberingScheme::getUnitID().
void HGCalTBDDDConstants::waferFromPosition | ( | const double | x, |
const double | y, | ||
int & | wafer, | ||
int & | icell, | ||
int & | celltyp | ||
) | const |
Definition at line 559 of file HGCalTBDDDConstants.cc.
References funct::abs(), HGCalTBParameters::cellCoarseX_, HGCalTBParameters::cellCoarseY_, HGCalTBParameters::cellFineX_, HGCalTBParameters::cellFineY_, cellHex(), HGCalTBParameters::cellSize_, PVValHelper::dx, PVValHelper::dy, hexside_, HGCalTBParameters::HGCalFine, hgpar_, dqmdumpme::k, HGCalTBParameters::k_ScaleFromDDD, rmax_, tan30deg_, HGCalTBParameters::waferCopy_, HGCalTBParameters::waferPosX_, HGCalTBParameters::waferPosY_, HGCalTBParameters::waferTypeT_, x, geometryCSVtoXML::xx, y, and geometryCSVtoXML::yy.
Referenced by HGCNumberingScheme::getUnitID().
bool HGCalTBDDDConstants::waferFullInLayer | ( | int | wafer, |
int | lay, | ||
bool | reco | ||
) | const |
Definition at line 611 of file HGCalTBDDDConstants.cc.
References getIndex(), and waferInLayerTest().
|
inline |
Definition at line 82 of file HGCalTBDDDConstants.h.
References HGCalGeometryMode::Hexagon, HGCalGeometryMode::HexagonFull, and mode_.
Referenced by assignCell(), getIndex(), getLayer(), HGCalTBDDDConstants(), isValidHex(), layerFromIndex(), layerIndex(), locateCell(), maxCells(), maxRows(), numberCells(), and waferInLayerTest().
|
private |
Definition at line 743 of file HGCalTBDDDConstants.cc.
References nano_mu_digi_cff::layer, layerFromIndex(), and HGCalWaferIndex::waferIndex().
bool HGCalTBDDDConstants::waferInLayer | ( | int | wafer, |
int | lay, | ||
bool | reco | ||
) | const |
Definition at line 604 of file HGCalTBDDDConstants.cc.
References getIndex(), and waferInLayerTest().
Referenced by HGCalTBGeometry::getSummary(), and HGCalTBDDDConstants().
|
inlineprivate |
Definition at line 132 of file HGCalTBDDDConstants.h.
References waferHexagon6().
Referenced by maxCells(), maxRows(), modulesInit(), numberCells(), waferFullInLayer(), and waferInLayer().
GlobalPoint HGCalTBDDDConstants::waferLocal2Global | ( | HepGeom::Point3D< float > & | loc, |
const DetId & | id, | ||
bool | useWafer, | ||
bool | reco, | ||
bool | debug | ||
) | const |
|
inline |
|
inline |
std::pair< double, double > HGCalTBDDDConstants::waferParameters | ( | bool | reco | ) | const |
Definition at line 618 of file HGCalTBDDDConstants.cc.
References hexside_, HGCalTBParameters::k_ScaleToDDD, and rmax_.
std::pair< double, double > HGCalTBDDDConstants::waferPosition | ( | int | wafer, |
bool | reco | ||
) | const |
Definition at line 625 of file HGCalTBDDDConstants.cc.
References hgpar_, HGCalTBParameters::k_ScaleToDDD, HGCalTBParameters::waferPosX_, HGCalTBParameters::waferPosY_, geometryCSVtoXML::xx, and geometryCSVtoXML::yy.
Referenced by HGCMouseBite::exclude().
int HGCalTBDDDConstants::wafers | ( | ) | const |
Definition at line 638 of file HGCalTBDDDConstants.cc.
References hgpar_, and HGCalTBParameters::moduleLayR_.
Referenced by HGCalTBTopology::allGeomModules(), and HGCalTBDDDConstants().
int HGCalTBDDDConstants::wafers | ( | int | layer, |
int | type | ||
) | const |
Definition at line 640 of file HGCalTBDDDConstants.cc.
References nano_mu_digi_cff::layer, and waferLayer_.
|
inline |
Definition at line 94 of file HGCalTBDDDConstants.h.
References hgpar_, HGCalTBParameters::k_ScaleToDDD, and HGCalTBParameters::sensorSeparation_.
|
inline |
Definition at line 97 of file HGCalTBDDDConstants.h.
References hgpar_, HGCalTBParameters::k_ScaleToDDD, and HGCalTBParameters::waferSize_.
|
inline |
Definition at line 102 of file HGCalTBDDDConstants.h.
References hgpar_, and HGCalTBParameters::waferCopy_.
int HGCalTBDDDConstants::waferType | ( | DetId const & | id | ) | const |
Definition at line 650 of file HGCalTBDDDConstants.cc.
References nano_mu_digi_cff::layer.
Referenced by cellThickness(), and isHalfCell().
int HGCalTBDDDConstants::waferType | ( | int | layer, |
int | wafer | ||
) | const |
Definition at line 654 of file HGCalTBDDDConstants.cc.
References HGCalTBParameters::HGCalCoarseThick, hgpar_, and HGCalTBParameters::waferTypeL_.
std::tuple<int, int, int> HGCalTBDDDConstants::waferType | ( | HGCSiliconDetId const & | id, |
bool | fromFile = false |
||
) | const |
|
inline |
Definition at line 112 of file HGCalTBDDDConstants.h.
References hgpar_, and HGCalTBParameters::waferTypeL_.
Referenced by HGCalTBAnalyzer::analyzeRecHits().
|
inline |
Definition at line 108 of file HGCalTBDDDConstants.h.
References hgpar_, and HGCalTBParameters::waferTypeT_.
Referenced by HGCalTBGeometry::getClosestCell().
|
inline |
Definition at line 118 of file HGCalTBDDDConstants.h.
References hgpar_, and HGCalTBParameters::waferUVMax_.
bool HGCalTBDDDConstants::waferVirtual | ( | int | layer, |
int | wafer | ||
) | const |
Definition at line 661 of file HGCalTBDDDConstants.cc.
References hgpar_, nano_mu_digi_cff::layer, HGCalWaferIndex::waferIndex(), HGCalTBParameters::waferTypes_, and LaserClient_cfi::wl.
double HGCalTBDDDConstants::waferZ | ( | int | layer, |
bool | reco | ||
) | const |
Definition at line 666 of file HGCalTBDDDConstants.cc.
References getIndex(), hgpar_, HGCalTBParameters::k_ScaleToDDD, and HGCalTBParameters::zLayerHex_.
Referenced by HGCalTBAnalyzer::analyzeRecHits(), HGCalTBAnalyzer::analyzeSimHits(), and HGCalTBGeometry::neighborZ().
|
private |
Definition at line 136 of file HGCalTBDDDConstants.h.
|
private |
Definition at line 134 of file HGCalTBDDDConstants.h.
|
private |
Definition at line 143 of file HGCalTBDDDConstants.h.
Referenced by distFromEdgeHex(), HGCalTBDDDConstants(), waferFromPosition(), and waferParameters().
|
private |
Definition at line 144 of file HGCalTBDDDConstants.h.
Referenced by HGCalTBDDDConstants().
|
private |
Definition at line 139 of file HGCalTBDDDConstants.h.
Referenced by assignCell(), cellSizeHex(), distFromEdgeHex(), firstLayer(), getIndex(), getLayer(), getModule(), getModules(), getParameter(), getTrForm(), getTrFormN(), getTrForms(), HGCalTBDDDConstants(), isHalfCell(), isValidCell(), isValidHex(), lastLayer(), layerFromIndex(), layerIndex(), layersInit(), levelTop(), locateCell(), locateCellHex(), maxCells(), maxRows(), minSlope(), modulesInit(), mouseBite(), numberCells(), numberCellsHexagon(), rangeRLayer(), rangeZ(), rowColumnWafer(), sectors(), volumes(), waferFromCopy(), waferFromPosition(), waferPosition(), wafers(), waferSepar(), waferSize(), waferToCopy(), waferType(), waferTypeL(), waferTypeT(), waferUVMax(), waferVirtual(), and waferZ().
|
private |
Definition at line 135 of file HGCalTBDDDConstants.h.
|
private |
Definition at line 147 of file HGCalTBDDDConstants.h.
Referenced by HGCalTBDDDConstants(), and modules().
|
private |
Definition at line 148 of file HGCalTBDDDConstants.h.
Referenced by HGCalTBDDDConstants(), and maxModulesPerLayer().
|
private |
Definition at line 142 of file HGCalTBDDDConstants.h.
Referenced by geomMode(), HGCalTBDDDConstants(), and waferHexagon6().
|
private |
Definition at line 145 of file HGCalTBDDDConstants.h.
Referenced by HGCalTBDDDConstants(), and maxModules().
|
private |
Definition at line 143 of file HGCalTBDDDConstants.h.
Referenced by assignCell(), distFromEdgeHex(), HGCalTBDDDConstants(), waferFromPosition(), and waferParameters().
|
private |
Definition at line 144 of file HGCalTBDDDConstants.h.
Referenced by HGCalTBDDDConstants().
|
private |
Definition at line 141 of file HGCalTBDDDConstants.h.
Referenced by distFromEdgeHex().
|
staticprivate |
Definition at line 140 of file HGCalTBDDDConstants.h.
Referenced by cellHex(), distFromEdgeHex(), HGCalTBDDDConstants(), and waferFromPosition().
|
private |
Definition at line 146 of file HGCalTBDDDConstants.h.
Referenced by HGCalTBDDDConstants(), lastLayer(), and layers().
|
private |
Definition at line 145 of file HGCalTBDDDConstants.h.
Referenced by HGCalTBDDDConstants().
|
private |
Definition at line 151 of file HGCalTBDDDConstants.h.
|
private |
Definition at line 149 of file HGCalTBDDDConstants.h.
Referenced by HGCalTBDDDConstants(), and wafers().
|
private |
Definition at line 150 of file HGCalTBDDDConstants.h.
Referenced by HGCalTBDDDConstants(), waferCount(), waferMax(), and waferMin().