#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 zside, int lay, bool reco, bool extend, bool debug) const |
std::array< int, 3 > | assignCellTrap (float x, float y, float z, int lay, bool reco) const |
bool | cassetteMode () const |
bool | cassetteShiftScintillator (int zside, int layer, int iphi) const |
bool | cassetteShiftSilicon (int zside, int layer, int waferU, int waferV) const |
int | cassetteTile (int iphi) const |
std::pair< double, double > | cellEtaPhiTrap (int type, int irad) const |
bool | cellInLayer (int waferU, int waferV, int cellU, int cellV, int lay, int zside, 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 |
int32_t | cellType (int type, int waferU, int waferV, int iz, int fwdBack, int orient) 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< double, double > | getRangeR (int, bool reco) 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 |
double | guardRingOffset (bool reco) 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) const |
bool | isValidHex8 (int lay, int modU, int modV, int cellU, int cellV, bool fullAndPart) const |
bool | isValidTrap (int zside, 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 | layerType (int lay) const |
int | levelTop (int ind=0) const |
std::pair< float, float > | localToGlobal8 (int zside, 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 zside, int lay, int waferU, int waferV, int cellU, int cellV, bool reco, bool all, bool norot, bool debug) const |
std::pair< float, float > | locateCell (const HGCSiliconDetId &, bool debug) const |
std::pair< float, float > | locateCell (const HGCScintillatorDetId &, bool debug) const |
std::pair< float, float > | locateCellHex (int cell, int wafer, bool reco) const |
std::pair< float, float > | locateCellTrap (int zside, int lay, int ieta, int iphi, bool reco, bool debug) 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 |
double | sensorSizeOffset (bool reco) 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 |
HGCalParameters::tileInfo | tileInfo (int zside, int layer, int ring) const |
bool | tilePhiEdge (double phi, int layer, int iphi) const |
bool | tileRingEdge (double rho, int layer, int ring) 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 |
bool | trapezoidFile () const |
unsigned int | volumes () const |
int | waferCount (const int type) const |
int | waferFileIndex (unsigned int kk) const |
std::tuple< int, int, int, int > | waferFileInfo (unsigned int kk) const |
bool | waferFileInfoExist (int kk) const |
std::tuple< int, 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 zside, const int layer, int &waferU, int &waferV, int &cellU, int &cellV, int &celltype, double &wt, bool extend, bool debug) const |
bool | waferFullInLayer (int wafer, int lay, bool reco) const |
bool | waferHexagon6 () const |
bool | waferHexagon8 () const |
bool | waferHexagon8File () const |
bool | waferHexagon8Module () const |
HGCalParameters::waferInfo | waferInfo (int lay, int waferU, int waferV) 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) 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) const |
int | waferType (int layer, int waferU, int waferV, bool fromFile) const |
std::tuple< int, int, int > | waferType (HGCSiliconDetId const &id, bool fromFile) const |
int | waferTypeL (int wafer) const |
std::pair< int, int > | waferTypeRotation (int layer, int waferU, int waferV, bool fromFile, bool debug) 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 ()=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 |
void | cellHex (double xloc, double yloc, int cellType, int place, int part, int &cellU, int &cellV, bool extend, bool debug) 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) const |
Private Attributes | |
const bool | fullAndPart_ |
HGCalGeomTools | geomTools_ |
double | hexside_ |
double | hexsideT_ |
HGCalCassette | hgcassette_ |
std::unique_ptr< HGCalCell > | hgcell_ |
std::unique_ptr< HGCalCellUV > | hgcellUV_ |
const HGCalParameters * | hgpar_ |
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 float | dPhiMin = 0.02 |
static constexpr double | k_horizontalShift = 1.0 |
static constexpr double | tan30deg_ = 0.5773502693 |
static constexpr double | tol_ = 0.001 |
this class reads the constant section of the numbering xml-files of the high granulairy calorimeter
Definition at line 35 of file HGCalDDDConstants.h.
|
private |
Definition at line 256 of file HGCalDDDConstants.h.
|
private |
Definition at line 255 of file HGCalDDDConstants.h.
HGCalDDDConstants::HGCalDDDConstants | ( | const HGCalParameters * | hp, |
const std::string & | name | ||
) |
Definition at line 25 of file HGCalDDDConstants.cc.
References cassetteMode(), HGCalParameters::cassettes_, HGCalParameters::cassetteShift_, HGCalParameters::cellSize_, funct::cos(), fullAndPart_, getIndex(), getTrForm(), getTrFormN(), hexside_, hexsideT_, hgcassette_, hgcell_, hgcellUV_, hgpar_, mps_fire::i, HGCalParameters::k_ScaleFromDDD, HGCalParameters::hgtrform::lay, nano_mu_digi_cff::layer, layers(), layersInit(), SiStripPI::max, max_modules_layer_, maxCells(), maxWafersPerLayer_, mode_, modHalf_, modulesInit(), Skims_PA_cff::name, HGCalParameters::nCellsCoarse_, HGCalParameters::nCellsFine_, rmax_, rmaxT_, sectors(), HGCalParameters::sensorSeparation_, HGCalCassette::setParameter(), 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.
|
default |
std::pair< int, int > HGCalDDDConstants::assignCell | ( | float | x, |
float | y, | ||
int | lay, | ||
int | subSec, | ||
bool | reco | ||
) | const |
Definition at line 127 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_, 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 | zside, | ||
int | lay, | ||
bool | reco, | ||
bool | extend, | ||
bool | debug | ||
) | const |
Definition at line 166 of file HGCalDDDConstants.cc.
References debug, HGCalParameters::k_ScaleToDDD, dt_dqm_sourceclient_common_cff::reco, waferFromPosition(), waferHexagon8(), waferType(), HGCalWaferIndex::waferU(), HGCalWaferIndex::waferV(), x, geometryCSVtoXML::xx, y, geometryCSVtoXML::yy, and ecaldqm::zside().
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 181 of file HGCalDDDConstants.cc.
References funct::abs(), cassetteMode(), HGCalParameters::cassettes_, angle_units::operators::convertRadToDeg(), HGCalParameters::firstLayer_, getIndex(), HGCalCassette::getShift(), hgcassette_, hgpar_, hcalRecHitTable_cff::iphi, HGCalParameters::iradMaxBH_, HGCalParameters::iradMinBH_, HGCalParameters::k_ScaleFromDDD, nano_mu_digi_cff::layer, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, M_PI, HGCalParameters::nphiCassette_, phi, HGCalParameters::phiOffset_, alignCSCRings::r, HGCalParameters::radiusLayer_, dt_dqm_sourceclient_common_cff::reco, HGCalParameters::scintCells(), HGCalParameters::scintCellSize(), HGCalParameters::scintType(), mathSSE::sqrt(), HGCalTileIndex::tileCassette(), tileExist(), tilePhiEdge(), tileRingEdge(), tol_, x, HGCalParameters::xLayerHex_, geometryCSVtoXML::xx, y, HGCalParameters::yLayerHex_, geometryCSVtoXML::yy, z, and ecaldqm::zside().
Referenced by HGCalGeometry::getClosestCell(), and HGCalNumberingScheme::getUnitID().
|
inline |
Definition at line 43 of file HGCalDDDConstants.h.
References HGCalGeometryMode::Hexagon8CalibCell, HGCalGeometryMode::Hexagon8Cassette, mode_, and HGCalGeometryMode::TrapezoidCassette.
Referenced by assignCellTrap(), cassetteShiftScintillator(), cassetteShiftSilicon(), cellHex(), cellInLayer(), HGCalDDDConstants(), isValidCell8(), localToGlobal8(), locateCell(), locateCellTrap(), maskCell(), and waferFromPosition().
bool HGCalDDDConstants::cassetteShiftScintillator | ( | int | zside, |
int | layer, | ||
int | iphi | ||
) | const |
Definition at line 273 of file HGCalDDDConstants.cc.
References cassetteMode(), cassetteTile(), HGCalCassette::getShift(), hgcassette_, hcalRecHitTable_cff::iphi, nano_mu_digi_cff::layer, edm::shift, and ecaldqm::zside().
Referenced by HGCScintSD::setDetUnitId().
bool HGCalDDDConstants::cassetteShiftSilicon | ( | int | zside, |
int | layer, | ||
int | waferU, | ||
int | waferV | ||
) | const |
Definition at line 259 of file HGCalDDDConstants.cc.
References cassetteMode(), HGCalCassette::getShift(), hgcassette_, hgpar_, nano_mu_digi_cff::layer, edm::shift, HGCalWaferIndex::waferIndex(), HGCalParameters::waferInfoMap_, HGCalWaferIndex::waferU(), HGCalWaferIndex::waferV(), and ecaldqm::zside().
Referenced by HGCalSD::setDetUnitId().
|
inline |
Definition at line 49 of file HGCalDDDConstants.h.
References HGCalParameters::cassettes_, hgpar_, hcalRecHitTable_cff::iphi, HGCalParameters::nphiCassette_, HGCalParameters::phiOffset_, and HGCalTileIndex::tileCassette().
Referenced by cassetteShiftScintillator().
std::pair< double, double > HGCalDDDConstants::cellEtaPhiTrap | ( | int | type, |
int | irad | ||
) | const |
Definition at line 283 of file HGCalDDDConstants.cc.
References HGCalParameters::cellSize_, hgcalPerformanceValidation::df, l1ctLayer1_cff::dr, hgpar_, alignCSCRings::r, HGCalParameters::radiusLayer_, and tileTrapezoid().
|
private |
Definition at line 1851 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().
|
private |
Definition at line 1870 of file HGCalDDDConstants.cc.
References funct::abs(), cassetteMode(), cellType(), debug, newFWLiteAna::found, hgcellUV_, hgpar_, testProducerWithPsetDescEmpty_cfi::i1, testProducerWithPsetDescEmpty_cfi::i2, SiStripPI::max, SiStripPI::min, HGCalParameters::nCellsCoarse_, HGCalParameters::nCellsFine_, rmax_, rmaxT_, edm::shift, sqrt3_, V0Monitor_cff::v0, HGCalTypes::WaferFull, and waferHexagon8File().
bool HGCalDDDConstants::cellInLayer | ( | int | waferU, |
int | waferV, | ||
int | cellU, | ||
int | cellV, | ||
int | lay, | ||
int | zside, | ||
bool | reco | ||
) | const |
Definition at line 293 of file HGCalDDDConstants.cc.
References cassetteMode(), getIndex(), HGCalWaferMask::goodCell(), HGCalGeometryMode::Hexagon8Module, hgpar_, locateCell(), mode_, HGCalParameters::nCellsCoarse_, HGCalParameters::nCellsFine_, hgcalPerformanceValidation::orient, HGCalParameters::rMinLayHex_, mathSSE::sqrt(), HGCalTypes::WaferFineThin, HGCalTypes::WaferFull, waferHexagon6(), waferHexagon8(), HGCalWaferIndex::waferIndex(), HGCalParameters::waferInfoMap_, HGCalTypes::WaferOrient0, HGCalWaferIndex::waferU(), HGCalWaferIndex::waferV(), geometryCSVtoXML::xy, and ecaldqm::zside().
Referenced by HGCalGeometry::newCell().
double HGCalDDDConstants::cellSizeHex | ( | int | type | ) | const |
Definition at line 339 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 55 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 326 of file HGCalDDDConstants.cc.
References HGCalParameters::cellThickness_, hgpar_, nano_mu_digi_cff::layer, waferHexagon6(), waferHexagon8(), waferType(), HGCalWaferIndex::waferU(), and HGCalWaferIndex::waferV().
Referenced by HGCalTBAnalyzer::analyzeSimHits(), and hgcal::RecHitTools::getSiThickness().
int32_t HGCalDDDConstants::cellType | ( | int | type, |
int | waferU, | ||
int | waferV, | ||
int | iz, | ||
int | fwdBack, | ||
int | orient | ||
) | const |
Definition at line 346 of file HGCalDDDConstants.cc.
References HGCalCell::cellPlacementIndex(), HGCalCell::cellPlacementOld, HGCalCell::cellType(), hgpar_, HGCalParameters::nCellsCoarse_, HGCalParameters::nCellsFine_, and hgcalPerformanceValidation::orient.
Referenced by cellHex(), and HGCalTopology::neighbors().
double HGCalDDDConstants::distFromEdgeHex | ( | double | x, |
double | y, | ||
double | z | ||
) | const |
Definition at line 353 of file HGCalDDDConstants.cc.
References funct::abs(), PVValHelper::dx, PVValHelper::dy, getLayer(), hexside_, hgpar_, dqmdumpme::k, HGCalParameters::k_ScaleFromDDD, HGCalParameters::k_ScaleToDDD, layerIndex(), rmax_, sqrt3_, tan30deg_, waferHexagon8(), HGCalParameters::waferPosX_, HGCalParameters::waferPosY_, x, HGCalParameters::xLayerHex_, geometryCSVtoXML::xx, y, HGCalParameters::yLayerHex_, geometryCSVtoXML::yy, and z.
Referenced by HFNoseSD::isItinFidVolume().
double HGCalDDDConstants::distFromEdgeTrap | ( | double | x, |
double | y, | ||
double | z | ||
) | const |
Definition at line 399 of file HGCalDDDConstants.cc.
References funct::abs(), getLayer(), hgpar_, hcalRecHitTable_cff::iphi, HGCalParameters::iradMaxBH_, HGCalParameters::iradMinBH_, HGCalParameters::k_ScaleFromDDD, HGCalParameters::k_ScaleToDDD, layerIndex(), pfDeepBoostedJetPreprocessParams_cfi::lower_bound, M_PI, SiStripPI::max, SiStripPI::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 70 of file HGCalDDDConstants.h.
References HGCalParameters::firstLayer_, and hgpar_.
Referenced by HGCalDigiValidation::dqmBeginRun(), HGCalRecHitValidation::dqmBeginRun(), HGCalSimHitValidation::dqmBeginRun(), HGCalTopology::HGCalTopology(), HGCalGeometry::neighborZ(), HeterogeneousHGCalHEFCellPositionsFiller::set_conditions_(), and HGCScintSD::update().
|
inline |
Definition at line 71 of file HGCalDDDConstants.h.
References mode_.
Referenced by HGCalSimHitValidation::analyzeHits(), HGCNumberingScheme::getUnitID(), HGCalTopology::HGCalTopology(), HGCScintSD::update(), HFNoseSD::update(), HGCalSD::update(), and HGCSD::update().
|
private |
Definition at line 1932 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 429 of file HGCalDDDConstants.cc.
References funct::abs(), HGCalParameters::firstLayer_, hgpar_, dqmdumpme::k, HGCalParameters::k_ScaleFromDDD, HGCalParameters::layerGroupO_, layerIndex(), dt_dqm_sourceclient_common_cff::reco, waferHexagon6(), z, HGCalParameters::zLayerHex_, and geometryCSVtoXML::zz.
Referenced by distFromEdgeHex(), distFromEdgeTrap(), HGCalGeometry::getClosestCell(), and HGCalGeometry::getClosestCellHex().
|
inline |
Definition at line 73 of file HGCalDDDConstants.h.
References hgpar_, and HGCalParameters::layerOffset_.
Referenced by HGCalNumberingScheme::HGCalNumberingScheme().
HGCalParameters::hgtrap HGCalDDDConstants::getModule | ( | unsigned int | k, |
bool | hexType, | ||
bool | reco | ||
) | const |
Definition at line 449 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 465 of file HGCalDDDConstants.cc.
References HGCalParameters::getModule(), hgpar_, dqmdumpme::k, and HGCalParameters::moduleLayR_.
|
inline |
Definition at line 76 of file HGCalDDDConstants.h.
References hgpar_.
Referenced by HGCalGeometryLoader::build(), HGCGuardRing::exclude(), HGCGuardRingPartial::exclude(), HGCalGeometry::getSummary(), HGCalNumberingScheme::getUnitID(), HGCalCalibrationCell::HGCalCalibrationCell(), HeterogeneousHGCalHEFCellPositionsFiller::produce(), HGCalSD::update(), and HFNoseSD::update().
int HGCalDDDConstants::getPhiBins | ( | int | lay | ) | const |
Definition at line 472 of file HGCalDDDConstants.cc.
References hgpar_, HGCalParameters::scintCells(), and tileTrapezoid().
|
inline |
Definition at line 80 of file HGCalDDDConstants.h.
References hgpar_, nano_mu_digi_cff::layer, HGCalParameters::radiusLayer_, HGCalParameters::scintType(), and tileTrapezoid().
std::pair< double, double > HGCalDDDConstants::getRangeR | ( | int | lay, |
bool | reco | ||
) | const |
Definition at line 474 of file HGCalDDDConstants.cc.
References hgpar_, layerIndex(), HGCalParameters::rMaxLayHex_, and HGCalParameters::rMinLayHex_.
std::pair< int, int > HGCalDDDConstants::getREtaRange | ( | int | lay | ) | const |
Definition at line 482 of file HGCalDDDConstants.cc.
References hgpar_, HGCalParameters::iradMaxBH_, HGCalParameters::iradMinBH_, layerIndex(), and tileTrapezoid().
Referenced by HGCalTriggerGeometryV9Imp2::getModuleFromTriggerCell(), and HGCalTriggerGeometryV9Imp2::getTriggerCellsFromModule().
|
inline |
Definition at line 83 of file HGCalDDDConstants.h.
References HGCalParameters::getTrForm(), hgpar_, and dqmdumpme::k.
Referenced by HGCalGeometryLoader::build(), HGCalGeometry::getSummary(), and HGCalDDDConstants().
|
inline |
Definition at line 84 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 494 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 510 of file HGCalDDDConstants.cc.
References hgpar_, nano_mu_digi_cff::layer, HGCalParameters::typesInLayers_, waferHexagon8(), HGCalWaferIndex::waferIndex(), HGCalParameters::waferTypeL_, HGCalWaferIndex::waferU(), and HGCalWaferIndex::waferV().
Referenced by HGCalGeometryLoader::build(), HGCalTriggerGeometryV9Imp2::detIdWaferType(), HGCalTriggerGeometryV9Imp3::detIdWaferType(), and HGCalTopology::neighbors().
int HGCalDDDConstants::getTypeTrap | ( | int | layer | ) | const |
Definition at line 501 of file HGCalDDDConstants.cc.
References hgpar_, nano_mu_digi_cff::layer, HGCalParameters::scintType(), and tileTrapezoid().
Referenced by HGCalTriggerGeometryV9Imp3::detIdWaferType().
|
inline |
Definition at line 89 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 520 of file HGCalDDDConstants.cc.
References HGCalParameters::firstLayer_, hgpar_, nano_mu_digi_cff::layer, HGCalParameters::layerRotV_, HGCalParameters::layerType_, x, testProducerWithPsetDescEmpty_cfi::x1, y, and testProducerWithPsetDescEmpty_cfi::y1.
Referenced by localToGlobal8(), locateCell(), waferFromPosition(), waferLocal2Global(), and waferPosition().
double HGCalDDDConstants::guardRingOffset | ( | bool | reco | ) | const |
Definition at line 549 of file HGCalDDDConstants.cc.
References HGCalParameters::guardRingOffset_, hgpar_, and HGCalParameters::k_ScaleToDDD.
Referenced by HGCalSD::update().
bool HGCalDDDConstants::isHalfCell | ( | int | waferType, |
int | cell | ||
) | const |
Definition at line 553 of file HGCalDDDConstants.cc.
References HGCalParameters::cellCoarseHalf_, HGCalParameters::cellFineHalf_, hgpar_, and waferType().
Referenced by hgcal::RecHitTools::isHalfCell().
|
private |
Definition at line 1969 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 1993 of file HGCalDDDConstants.cc.
References cassetteMode(), HGCalParameters::cellCoarseIndex_, HGCalParameters::cellCoarseX_, HGCalParameters::cellCoarseY_, HGCalParameters::cellFineIndex_, HGCalParameters::cellFineX_, HGCalParameters::cellFineY_, HGCalParameters::firstLayer_, HGCalWaferMask::goodCell(), hgpar_, mode_, N, HGCalParameters::nCellsCoarse_, HGCalParameters::nCellsFine_, mps_fire::result, HGCalParameters::rMaxLayHex_, HGCalParameters::rMinLayHex_, findQualityFiles::rr, mathSSE::sqrt(), waferHexagon8File(), waferPositionNoRot(), waferTypeRotation(), HGCalWaferIndex::waferU(), HGCalWaferIndex::waferV(), x, geometryCSVtoXML::xy, and y.
Referenced by isValidHex8().
bool HGCalDDDConstants::isValidHex | ( | int | lay, |
int | mod, | ||
int | cell, | ||
bool | reco | ||
) | const |
Definition at line 559 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 | ||
) | const |
Definition at line 602 of file HGCalDDDConstants.cc.
References fullAndPart_, hgpar_, nano_mu_digi_cff::layer, HGCalParameters::typesInLayers_, HGCalTypes::WaferCornerMin, waferIn_, HGCalWaferIndex::waferIndex(), HGCalParameters::waferInfoMap_, HGCalParameters::waferMaskMode_, HGCalTypes::WaferOut, and HGCalParameters::waferTypes_.
Referenced by HGCalTopology::addHGCSiliconId(), isValidHex8(), HGCalSD::setDetUnitId(), HGCalTopology::valid(), and HGCalTopology::validModule().
bool HGCalDDDConstants::isValidHex8 | ( | int | lay, |
int | modU, | ||
int | modV, | ||
int | cellU, | ||
int | cellV, | ||
bool | fullAndPart | ||
) | const |
Definition at line 670 of file HGCalDDDConstants.cc.
References hgpar_, isValidCell8(), isValidHex8(), nano_mu_digi_cff::layer, N, HGCalParameters::nCellsCoarse_, HGCalParameters::nCellsFine_, HGCalParameters::typesInLayers_, HGCalWaferIndex::waferIndex(), and HGCalParameters::waferTypeL_.
bool HGCalDDDConstants::isValidTrap | ( | int | zside, |
int | lay, | ||
int | ieta, | ||
int | iphi | ||
) | const |
Definition at line 704 of file HGCalDDDConstants.cc.
References getIndex(), hgpar_, hcalRecHitTable_cff::iphi, HGCalParameters::iradMaxBH_, HGCalParameters::iradMinBH_, nano_mu_digi_cff::layer, convertSQLiteXML::ok, HGCalParameters::scintCells(), tileExist(), trapezoidFile(), validateGeometry_cfg::valid, and ecaldqm::zside().
Referenced by HGCalTopology::addHGCSCintillatorId(), HGCScintSD::setDetUnitId(), and HGCalTopology::valid().
int HGCalDDDConstants::lastLayer | ( | bool | reco | ) | const |
Definition at line 723 of file HGCalDDDConstants.cc.
References HGCalParameters::firstLayer_, hgpar_, and tot_layers_.
Referenced by HGCalGeometry::neighborZ(), HeterogeneousHGCalHEFCellPositionsFiller::set_conditions_(), and tileCount().
|
private |
Definition at line 1949 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 729 of file HGCalDDDConstants.cc.
References HGCalParameters::depthIndex_, HGCalParameters::depthLayerF_, HGCalParameters::firstLayer_, hgpar_, HGCalParameters::layerIndex_, and waferHexagon6().
Referenced by HGCalGeometryLoader::build(), distFromEdgeHex(), distFromEdgeTrap(), getIndex(), getLayer(), getRangeR(), getREtaRange(), and HGCalGeometry::getSummary().
unsigned int HGCalDDDConstants::layers | ( | bool | reco | ) | const |
Definition at line 727 of file HGCalDDDConstants.cc.
References dt_dqm_sourceclient_common_cff::reco, and tot_layers_.
Referenced by HGCalTBAnalyzer::analyze(), HGCalDigiClient::beginRun(), HGCalRecHitsClient::beginRun(), HGCalSimHitsClient::beginRun(), SimG4HGCalValidation::beginRun(), HGCalTimingAnalyzer::beginRun(), HGCalTBAnalyzer::beginRun(), HGCalDigiValidation::dqmBeginRun(), HGCalRecHitValidation::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 742 of file HGCalDDDConstants.cc.
References HGCalParameters::depthIndex_, hgpar_, and HGCalParameters::layerIndex_.
Referenced by HGCalDDDConstants().
|
inline |
Definition at line 100 of file HGCalDDDConstants.h.
References HGCalParameters::firstLayer_, hgpar_, HGCalParameters::layerType_, and HGCalTypes::WaferCenter.
Referenced by HGCalCalibrationCell::findCell(), locateCell(), HGCalSD::setDetUnitId(), and waferFromPosition().
|
inline |
Definition at line 113 of file HGCalDDDConstants.h.
References hgpar_, and HGCalParameters::levelT_.
Referenced by SimG4HGCalValidation::beginRun(), HGCScintSD::update(), HGCalSD::update(), HFNoseSD::update(), and HGCSD::update().
std::pair< float, float > HGCalDDDConstants::localToGlobal8 | ( | int | zside, |
int | lay, | ||
int | waferU, | ||
int | waferV, | ||
double | localX, | ||
double | localY, | ||
bool | reco, | ||
bool | debug | ||
) | const |
Definition at line 746 of file HGCalDDDConstants.cc.
References cassetteMode(), debug, HGCalParameters::firstLayer_, HGCalCassette::getShift(), getXY(), hgcassette_, hgpar_, caHitNtupletGeneratorKernels::if(), HGCalParameters::k_ScaleToDDD, HGCalParameters::layerType_, HGCalTypes::WaferCenterR, HGCalWaferIndex::waferIndex(), HGCalParameters::waferInfoMap_, waferPositionNoRot(), HGCalWaferIndex::waferU(), HGCalWaferIndex::waferV(), x, geometryCSVtoXML::xy, y, and ecaldqm::zside().
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 786 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(), HGCalGeometry::getPosition(), locateCell(), HGCScintSD::setDetUnitId(), and HGCalSD::setDetUnitId().
std::pair< float, float > HGCalDDDConstants::locateCell | ( | int | zside, |
int | lay, | ||
int | waferU, | ||
int | waferV, | ||
int | cellU, | ||
int | cellV, | ||
bool | reco, | ||
bool | all, | ||
bool | norot, | ||
bool | debug | ||
) | const |
Definition at line 817 of file HGCalDDDConstants.cc.
References python.cmstools::all(), cassetteMode(), HGCalParameters::cellCoarseIndex_, HGCalParameters::cellCoarseX_, HGCalParameters::cellCoarseY_, HGCalParameters::cellFineIndex_, HGCalParameters::cellFineX_, HGCalParameters::cellFineY_, HGCalCell::cellPlacementIndex(), HGCalCell::cellPlacementOld, debug, HGCalParameters::firstLayer_, HGCalCassette::getShift(), getXY(), hgcassette_, hgcell_, hgpar_, caHitNtupletGeneratorKernels::if(), HGCalParameters::k_ScaleToDDD, HGCalTypes::layerFrontBack(), layerType(), hgcalPerformanceValidation::orient, HGCalParameters::typesInLayers_, HGCalTypes::WaferCenterR, waferHexagon8File(), HGCalWaferIndex::waferIndex(), HGCalParameters::waferInfoMap_, waferPositionNoRot(), HGCalParameters::waferTypeL_, HGCalWaferIndex::waferU(), HGCalWaferIndex::waferV(), x, geometryCSVtoXML::xy, and y.
std::pair< float, float > HGCalDDDConstants::locateCell | ( | const HGCSiliconDetId & | id, |
bool | debug | ||
) | const |
Definition at line 900 of file HGCalDDDConstants.cc.
References debug, nano_mu_digi_cff::layer, locateCell(), HGCalWaferIndex::waferU(), HGCalWaferIndex::waferV(), and ecaldqm::zside().
std::pair< float, float > HGCalDDDConstants::locateCell | ( | const HGCScintillatorDetId & | id, |
bool | debug | ||
) | const |
Definition at line 904 of file HGCalDDDConstants.cc.
References debug, hcalRecHitTable_cff::iphi, nano_mu_digi_cff::layer, locateCellTrap(), and ecaldqm::zside().
std::pair< float, float > HGCalDDDConstants::locateCellHex | ( | int | cell, |
int | wafer, | ||
bool | reco | ||
) | const |
Definition at line 908 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 | zside, |
int | lay, | ||
int | ieta, | ||
int | iphi, | ||
bool | reco, | ||
bool | debug | ||
) | const |
Definition at line 924 of file HGCalDDDConstants.cc.
References funct::abs(), cassetteMode(), HGCalParameters::cassettes_, angle_units::operators::convertRadToDeg(), funct::cos(), debug, HGCalParameters::firstLayer_, getIndex(), HGCalCassette::getShift(), hgcassette_, hgpar_, hcalRecHitTable_cff::iphi, HGCalParameters::iradMaxBH_, HGCalParameters::iradMinBH_, HGCalParameters::k_ScaleToDDD, SiStripPI::max, SiStripPI::min, HGCalParameters::nphiCassette_, phi, HGCalParameters::phiOffset_, alignCSCRings::r, HGCalParameters::radiusLayer_, FastTimerService_cff::range, rangeR(), HGCalParameters::scintType(), funct::sin(), HGCalTileIndex::tileCassette(), trapezoidFile(), x, HGCalParameters::xLayerHex_, y, HGCalParameters::yLayerHex_, z, and HGCalParameters::zLayerHex_.
Referenced by HGCalSimHitValidation::analyzeHits(), HGCalGeometryLoader::build(), HGCalNumberingScheme::checkPosition(), and locateCell().
bool HGCalDDDConstants::maskCell | ( | const DetId & | id, |
int | corners | ||
) | const |
Definition at line 972 of file HGCalDDDConstants.cc.
References cassetteMode(), hcalRecHitTable_cff::detId, DetId::Forward, getUVMax(), HGCalWaferMask::goodCell(), hgpar_, l1ctLayer2EG_cff::id, HGCalParameters::k_CornerSize, HGCalTypes::k_OffsetRotation, nano_mu_digi_cff::layer, gpuClustering::pixelStatus::mask, HGCalWaferMask::maskCell(), N, edm::second(), findQualityFiles::v, HGCalTypes::WaferFull, waferHexagon8(), HGCalWaferIndex::waferIndex(), HGCalParameters::waferInfoMap_, HGCalParameters::waferTypes_, HGCalWaferIndex::waferU(), HGCalWaferIndex::waferV(), 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 1017 of file HGCalDDDConstants.cc.
References hgcalTBTopologyTester_cfi::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 1027 of file HGCalDDDConstants.cc.
References HGCalParameters::cellCoarseX_, HGCalParameters::cellFineX_, hgcalTBTopologyTester_cfi::cells, HGCalParameters::defineFull_, HGCalParameters::firstLayer_, getIndex(), HGCSiliconDetId::HGCalCoarseThick, HGCSiliconDetId::HGCalFine, hgpar_, dqmdumpme::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 115 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 1062 of file HGCalDDDConstants.cc.
References HGCalParameters::defineFull_, getIndex(), hgpar_, mps_fire::i, dqmdumpme::k, HGCalParameters::waferCopy_, waferHexagon6(), waferHexagon8(), waferInLayerTest(), and HGCalParameters::waferUVMaxLayer_.
|
inline |
Definition at line 121 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 1082 of file HGCalDDDConstants.cc.
Referenced by HGCalTopology::neighbors().
int HGCalDDDConstants::modules | ( | int | lay, |
bool | reco | ||
) | const |
Definition at line 1087 of file HGCalDDDConstants.cc.
References dqmdumpme::first, getIndex(), max_modules_layer_, and dt_dqm_sourceclient_common_cff::reco.
Referenced by wafers().
int HGCalDDDConstants::modulesInit | ( | int | lay, |
bool | reco | ||
) | const |
Definition at line 1094 of file HGCalDDDConstants.cc.
References HGCalParameters::defineFull_, HGCalParameters::firstModule_, getIndex(), hgpar_, dqmdumpme::k, HGCalParameters::lastModule_, tileTrapezoid(), waferInLayerTest(), and HGCalParameters::waferPosX_.
Referenced by HGCalDDDConstants().
double HGCalDDDConstants::mouseBite | ( | bool | reco | ) | const |
Definition at line 1110 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 1114 of file HGCalDDDConstants.cc.
References hgcalTBTopologyTester_cfi::cells, HGCalParameters::depth_, hgpar_, dqmdumpme::k, HGCalParameters::layer_, dt_dqm_sourceclient_common_cff::reco, HGCalGeomParameters::scintillatorCassette, HGCalGeomParameters::scintillatorFile, tileCount(), tileTrapezoid(), and HGCalParameters::waferMaskMode_.
Referenced by HGCalTopology::allGeomModules().
std::vector< int > HGCalDDDConstants::numberCells | ( | int | lay, |
bool | reco | ||
) | const |
Definition at line 1129 of file HGCalDDDConstants.cc.
References HGCalParameters::cellCoarseX_, HGCalParameters::cellFineX_, HGCalParameters::defineFull_, HGCalParameters::firstModule_, getIndex(), HGCSiliconDetId::HGCalFine, hgpar_, mps_fire::i, dqmdumpme::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 1162 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 1173 of file HGCalDDDConstants.cc.
References RemoveAddSevLevel::flag, HGCSiliconDetId::HGCalCoarseThick, hgpar_, caHitNtupletGeneratorKernels::if(), N, HGCalParameters::nCellsCoarse_, HGCalParameters::nCellsFine_, HGCalParameters::typesInLayers_, HGCalWaferIndex::waferIndex(), HGCalParameters::waferTypeL_, HGCalWaferIndex::waferU(), and HGCalWaferIndex::waferV().
std::pair< double, double > HGCalDDDConstants::rangeR | ( | double | z, |
bool | reco | ||
) | const |
Definition at line 1184 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(), ticl::LinkingAlgoByDirectionGeometric::buildLayers(), HFNoseNumberingScheme::checkPosition(), HGCalNumberingScheme::checkPosition(), HGCDigitizer::checkPosition(), locateCellTrap(), and HGCalGeometry::neighborZ().
std::pair< double, double > HGCalDDDConstants::rangeRLayer | ( | int | lay, |
bool | reco | ||
) | const |
Definition at line 1211 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 1229 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 1242 of file HGCalDDDConstants.cc.
References cuy::col, filterCSVwithJSON::copy, HGCalTypes::getUnpackedU(), HGCalTypes::getUnpackedV(), hgpar_, and HGCalParameters::waferCopy_.
|
inline |
Definition at line 134 of file HGCalDDDConstants.h.
References hgpar_, and HGCalParameters::nSectors_.
Referenced by HGCalGeometryLoader::build(), HGCalGeometry::getSummary(), HGCalDDDConstants(), and HGCalTopology::HGCalTopology().
double HGCalDDDConstants::sensorSizeOffset | ( | bool | reco | ) | const |
Definition at line 1253 of file HGCalDDDConstants.cc.
References hgpar_, HGCalParameters::k_ScaleToDDD, and HGCalParameters::sensorSizeOffset_.
Referenced by HGCalSD::update().
std::pair< int, int > HGCalDDDConstants::simToReco | ( | int | cell, |
int | layer, | ||
int | mod, | ||
bool | half | ||
) | const |
Definition at line 1257 of file HGCalDDDConstants.cc.
References hcalRecHitTable_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 1286 of file HGCalDDDConstants.cc.
References b, HGCalParameters::firstLayer_, hgpar_, dqmdumpme::k, lastLayer(), nano_mu_digi_cff::layer, relativeConstraints::ring, HGCalTileIndex::tileIndex(), HGCalParameters::tileInfoMap_, and HGCalParameters::tileRingRange_.
Referenced by numberCells().
bool HGCalDDDConstants::tileExist | ( | int | zside, |
int | layer, | ||
int | ring, | ||
int | phi | ||
) | const |
Definition at line 1327 of file HGCalDDDConstants.cc.
References hgpar_, nano_mu_digi_cff::layer, convertSQLiteXML::ok, phi, relativeConstraints::ring, HGCalTileIndex::tileExist(), HGCalTileIndex::tileIndex(), HGCalParameters::tileInfoMap_, and ecaldqm::zside().
Referenced by assignCellTrap(), HGCalGeometryLoader::build(), and isValidTrap().
HGCalParameters::tileInfo HGCalDDDConstants::tileInfo | ( | int | zside, |
int | layer, | ||
int | ring | ||
) | const |
Definition at line 1334 of file HGCalDDDConstants.cc.
References hgpar_, nano_mu_digi_cff::layer, relativeConstraints::ring, HGCalTileIndex::tileIndex(), and HGCalParameters::tileInfoMap_.
bool HGCalDDDConstants::tilePhiEdge | ( | double | phi, |
int | layer, | ||
int | iphi | ||
) | const |
Definition at line 1340 of file HGCalDDDConstants.cc.
References funct::abs(), cuy::dif1, cuy::dif2, hgpar_, hcalRecHitTable_cff::iphi, nano_mu_digi_cff::layer, phi, HGCalParameters::scintCellSize(), and tol_.
Referenced by assignCellTrap().
bool HGCalDDDConstants::tileRingEdge | ( | double | rho, |
int | layer, | ||
int | ring | ||
) | const |
Definition at line 1350 of file HGCalDDDConstants.cc.
References funct::abs(), cuy::dif1, cuy::dif2, hgpar_, nano_mu_digi_cff::layer, alignCSCRings::r, HGCalParameters::radiusLayer_, relativeConstraints::ring, HGCalParameters::scintType(), and tol_.
Referenced by assignCellTrap().
std::pair< int, int > HGCalDDDConstants::tileRings | ( | int | layer | ) | const |
Definition at line 1360 of file HGCalDDDConstants.cc.
References HGCalParameters::firstLayer_, hgpar_, nano_mu_digi_cff::layer, HGCalParameters::tileRingRange_, and trapezoidFile().
|
inline |
Definition at line 143 of file HGCalDDDConstants.h.
References HGCalTypes::SiPMLarge, and HGCalTypes::SiPMSmall.
Referenced by HGCalNumberingScheme::getUnitID().
|
inline |
Definition at line 144 of file HGCalDDDConstants.h.
References mode_, HGCalGeometryMode::Trapezoid, HGCalGeometryMode::TrapezoidCassette, HGCalGeometryMode::TrapezoidFile, and HGCalGeometryMode::TrapezoidModule.
Referenced by HGCalSimHitValidation::analyzeHits(), cellEtaPhiTrap(), cellSizeHex(), getPhiBins(), getRadiusLayer(), getREtaRange(), getTypeTrap(), HGCalNumberingScheme::getUnitID(), HGCalNumberingScheme::HGCalNumberingScheme(), maxCells(), maxCellUV(), modulesInit(), numberCells(), HGCalTopology::tileTrapezoid(), and wafers().
std::pair< int, int > HGCalDDDConstants::tileType | ( | int | layer, |
int | ring, | ||
int | phi | ||
) | const |
Definition at line 1369 of file HGCalDDDConstants.cc.
References hgpar_, nano_mu_digi_cff::layer, phi, relativeConstraints::ring, HGCalTypes::SiPMLarge, HGCalTileIndex::tileIndex(), and HGCalParameters::tileInfoMap_.
Referenced by HGCalGeometryLoader::build(), HGCalTopology::encode(), HGCalNumberingScheme::getUnitID(), and HGCalGeometry::newCell().
|
inline |
Definition at line 149 of file HGCalDDDConstants.h.
References mode_, HGCalGeometryMode::TrapezoidCassette, HGCalGeometryMode::TrapezoidFile, and HGCalGeometryMode::TrapezoidModule.
Referenced by isValidTrap(), locateCellTrap(), and tileRings().
|
inline |
Definition at line 153 of file HGCalDDDConstants.h.
References hgpar_, and HGCalParameters::moduleLayR_.
Referenced by HGCalGeometryLoader::build().
|
inline |
int HGCalDDDConstants::waferFileIndex | ( | unsigned int | kk | ) | const |
Definition at line 1629 of file HGCalDDDConstants.cc.
References hgpar_, GetRecoTauVFromDQM_MC_cff::kk, and HGCalParameters::waferInfoMap_.
std::tuple< int, int, int, int > HGCalDDDConstants::waferFileInfo | ( | unsigned int | kk | ) | const |
Definition at line 1638 of file HGCalDDDConstants.cc.
References hgpar_, GetRecoTauVFromDQM_MC_cff::kk, and HGCalParameters::waferInfoMap_.
Referenced by HGCalSD::setDetUnitId().
|
inline |
Definition at line 197 of file HGCalDDDConstants.h.
References hgpar_, GetRecoTauVFromDQM_MC_cff::kk, and HGCalParameters::waferInfoMap_.
std::tuple< int, int, int, int > HGCalDDDConstants::waferFileInfoFromIndex | ( | int | kk | ) | const |
Definition at line 1647 of file HGCalDDDConstants.cc.
References hgpar_, GetRecoTauVFromDQM_MC_cff::kk, and HGCalParameters::waferInfoMap_.
|
inline |
Definition at line 193 of file HGCalDDDConstants.h.
References hgpar_, and HGCalParameters::waferInfoMap_.
Referenced by waferType(), and waferTypeRotation().
int HGCalDDDConstants::waferFromCopy | ( | int | copy | ) | const |
Definition at line 1380 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, | ||
int & | wafer, | ||
int & | icell, | ||
int & | celltyp | ||
) | const |
Definition at line 1405 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_, 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().
void HGCalDDDConstants::waferFromPosition | ( | const double | x, |
const double | y, | ||
const int | zside, | ||
const int | layer, | ||
int & | waferU, | ||
int & | waferV, | ||
int & | cellU, | ||
int & | cellV, | ||
int & | celltype, | ||
double & | wt, | ||
bool | extend, | ||
bool | debug | ||
) | const |
Definition at line 1447 of file HGCalDDDConstants.cc.
References funct::abs(), cassetteMode(), cellHex(), HGCalCell::cellPlacementIndex(), HGCalCell::cellPlacementOld, HGCalParameters::cellThickness_, debug, PVValHelper::dx, PVValHelper::dy, HGCalParameters::firstLayer_, HGCalWaferType::getCassette(), HGCalWaferType::getOrient(), HGCalWaferType::getPartial(), HGCalCassette::getShift(), HGCalWaferType::getType(), getXY(), hexside_, hexsideT_, HGCSiliconDetId::HGCalCoarseThick, hgcassette_, hgpar_, dqmdumpme::k, HGCalParameters::k_ScaleFromDDD, nano_mu_digi_cff::layer, HGCalTypes::layerFrontBack(), layerType(), HGCalParameters::layerType_, HGCalParameters::nCellsFine_, hgcalPerformanceValidation::orient, rmax_, rmaxT_, tan30deg_, HGCalParameters::typesInLayers_, HGCalParameters::useSimWt_, HGCalTypes::WaferCenterR, HGCalParameters::waferCopy_, HGCalTypes::WaferFull, waferHexagon8File(), HGCalWaferIndex::waferIndex(), HGCalParameters::waferInfoMap_, HGCalParameters::waferPosX_, HGCalParameters::waferPosY_, HGCalParameters::waferThick_, HGCalParameters::waferTypeL_, HGCalWaferIndex::waferU(), HGCalParameters::waferUVMax_, HGCalWaferIndex::waferV(), x, testProducerWithPsetDescEmpty_cfi::x1, HGCalParameters::xLayerHex_, geometryCSVtoXML::xx, geometryCSVtoXML::xy, y, testProducerWithPsetDescEmpty_cfi::y1, HGCalParameters::yLayerHex_, geometryCSVtoXML::yy, and ecaldqm::zside().
bool HGCalDDDConstants::waferFullInLayer | ( | int | wafer, |
int | lay, | ||
bool | reco | ||
) | const |
Definition at line 1577 of file HGCalDDDConstants.cc.
References getIndex(), and waferInLayerTest().
|
inline |
Definition at line 168 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(), HGCalTopology::waferHexagon6(), waferInLayerTest(), waferType(), and waferVirtual().
|
inline |
Definition at line 171 of file HGCalDDDConstants.h.
References HGCalGeometryMode::Hexagon8, HGCalGeometryMode::Hexagon8CalibCell, HGCalGeometryMode::Hexagon8Cassette, HGCalGeometryMode::Hexagon8File, HGCalGeometryMode::Hexagon8Full, HGCalGeometryMode::Hexagon8Module, and mode_.
Referenced by HGCalSimHitValidation::analyzeHits(), assignCellHex(), cellInLayer(), cellSizeHex(), cellThickness(), distFromEdgeHex(), getIndex(), getTypeHex(), HGCalNumberingScheme::getUnitID(), HGCalDDDConstants(), HGCMouseBite::HGCMouseBite(), maskCell(), maxCells(), maxRows(), HGCalTopology::waferHexagon8(), waferType(), waferTypeRotation(), and waferVirtual().
|
inline |
Definition at line 176 of file HGCalDDDConstants.h.
References HGCalGeometryMode::Hexagon8CalibCell, HGCalGeometryMode::Hexagon8Cassette, HGCalGeometryMode::Hexagon8File, HGCalGeometryMode::Hexagon8Module, and mode_.
Referenced by cellHex(), HGCalNumberingScheme::getUnitID(), HGCalNumberingScheme::HGCalNumberingScheme(), isValidCell8(), locateCell(), HGCalSD::setDetUnitId(), and waferFromPosition().
|
inline |
Definition at line 180 of file HGCalDDDConstants.h.
References HGCalGeometryMode::Hexagon8CalibCell, HGCalGeometryMode::Hexagon8Cassette, HGCalGeometryMode::Hexagon8Module, and mode_.
|
private |
Definition at line 2059 of file HGCalDDDConstants.cc.
References hgpar_, nano_mu_digi_cff::layer, layerFromIndex(), HGCalParameters::waferCopy_, HGCalWaferIndex::waferIndex(), HGCalWaferIndex::waferU(), and HGCalWaferIndex::waferV().
Referenced by waferInLayerTest().
HGCalParameters::waferInfo HGCalDDDConstants::waferInfo | ( | int | lay, |
int | waferU, | ||
int | waferV | ||
) | const |
Definition at line 1584 of file HGCalDDDConstants.cc.
References hgpar_, HGCalWaferIndex::waferIndex(), HGCalParameters::waferInfoMap_, HGCalWaferIndex::waferU(), and HGCalWaferIndex::waferV().
Referenced by HGCalCalibrationCell::findCell(), and HGCalNumberingScheme::getUnitID().
bool HGCalDDDConstants::waferInLayer | ( | int | wafer, |
int | lay, | ||
bool | reco | ||
) | const |
Definition at line 1570 of file HGCalDDDConstants.cc.
References HGCalParameters::defineFull_, getIndex(), hgpar_, and waferInLayerTest().
Referenced by HGCalGeometryLoader::build(), HGCalGeometry::getSummary(), and HGCalDDDConstants().
|
private |
Definition at line 2071 of file HGCalDDDConstants.cc.
References TCMET_cfi::corner, full, 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().
GlobalPoint HGCalDDDConstants::waferLocal2Global | ( | HepGeom::Point3D< float > & | loc, |
const DetId & | id, | ||
bool | useWafer, | ||
bool | reco, | ||
bool | debug | ||
) | const |
Definition at line 1655 of file HGCalDDDConstants.cc.
References debug, getXY(), HGCSiliconDetId::layer(), dt_dqm_sourceclient_common_cff::reco, waferPositionNoRot(), HGCSiliconDetId::waferU(), HGCSiliconDetId::waferV(), waferZ(), x, geometryCSVtoXML::xx, geometryCSVtoXML::xy, y, HGCSiliconDetId::zside(), and geometryCSVtoXML::zz.
|
inline |
Definition at line 188 of file HGCalDDDConstants.h.
References waferMax_.
Referenced by HeterogeneousHGCalHEFCellPositionsFiller::set_conditions_().
|
inline |
Definition at line 189 of file HGCalDDDConstants.h.
References waferMax_.
Referenced by HeterogeneousHGCalHEFCellPositionsFiller::set_conditions_().
std::pair< double, double > HGCalDDDConstants::waferParameters | ( | bool | reco | ) | const |
Definition at line 1590 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 1597 of file HGCalDDDConstants.cc.
References hgpar_, HGCalParameters::k_ScaleToDDD, HGCalParameters::waferPosX_, HGCalParameters::waferPosY_, geometryCSVtoXML::xx, and geometryCSVtoXML::yy.
Referenced by HGCalGeometryLoader::build(), HGCMouseBite::exclude(), and waferPositionNoRot().
std::pair< double, double > HGCalDDDConstants::waferPosition | ( | int | lay, |
int | waferU, | ||
int | waferV, | ||
bool | reco, | ||
bool | debug | ||
) | const |
Definition at line 1610 of file HGCalDDDConstants.cc.
References debug, HGCalParameters::firstLayer_, getXY(), hgpar_, HGCalParameters::layerType_, HGCalTypes::WaferCenterR, waferPositionNoRot(), HGCalWaferIndex::waferU(), HGCalWaferIndex::waferV(), and geometryCSVtoXML::xy.
|
private |
Definition at line 2123 of file HGCalDDDConstants.cc.
References hgpar_, HGCalParameters::k_ScaleToDDD, HGCalWaferIndex::waferIndex(), HGCalParameters::waferPosX_, HGCalParameters::waferPosY_, HGCalParameters::wafersInLayers_, HGCalWaferIndex::waferU(), HGCalWaferIndex::waferV(), geometryCSVtoXML::xx, and geometryCSVtoXML::yy.
|
private |
Definition at line 2099 of file HGCalDDDConstants.cc.
References debug, HGCalParameters::firstLayer_, hgpar_, HGCalParameters::k_ScaleToDDD, waferPosition(), HGCalWaferIndex::waferU(), HGCalWaferIndex::waferV(), x, HGCalParameters::xLayerHex_, geometryCSVtoXML::xy, y, and HGCalParameters::yLayerHex_.
Referenced by isValidCell8(), localToGlobal8(), locateCell(), waferLocal2Global(), and waferPosition().
int HGCalDDDConstants::wafers | ( | ) | const |
Definition at line 1670 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 1683 of file HGCalDDDConstants.cc.
References HGCalParameters::firstModule_, getIndex(), hgpar_, HGCalParameters::lastModule_, nano_mu_digi_cff::layer, tileTrapezoid(), and waferLayer_.
|
inline |
Definition at line 202 of file HGCalDDDConstants.h.
References hgpar_, HGCalParameters::k_ScaleToDDD, and HGCalParameters::sensorSeparation_.
|
inline |
Definition at line 205 of file HGCalDDDConstants.h.
References hgpar_, HGCalParameters::k_ScaleToDDD, and HGCalParameters::waferSize_.
Referenced by HFNoseSD::update(), and HGCalSD::update().
|
inline |
Definition at line 210 of file HGCalDDDConstants.h.
References hgpar_, and HGCalParameters::waferCopy_.
int HGCalDDDConstants::waferType | ( | DetId const & | id, |
bool | fromFile | ||
) | const |
Definition at line 1698 of file HGCalDDDConstants.cc.
References DetId::Forward, hgpar_, nano_mu_digi_cff::layer, HFNoseDetId::layer(), HGCSiliconDetId::layer(), HGCSiliconDetId::type(), HFNoseDetId::type(), waferFileSize(), waferHexagon6(), waferHexagon8(), HGCalWaferIndex::waferIndex(), HGCalParameters::waferInfoMap_, waferTypeL(), HGCalWaferIndex::waferU(), HFNoseDetId::waferU(), HGCSiliconDetId::waferU(), HGCalWaferIndex::waferV(), HGCSiliconDetId::waferV(), and HFNoseDetId::waferV().
Referenced by HGCalSimHitValidation::analyzeHits(), assignCellHex(), cellThickness(), HGCalNumberingScheme::getUnitID(), isHalfCell(), HGCalUncalibRecHitRecWeightsAlgo< HGCDataFrame >::makeRecHit(), and HeterogeneousHGCalHEFCellPositionsFiller::set_conditions_().
int HGCalDDDConstants::waferType | ( | int | layer, |
int | waferU, | ||
int | waferV, | ||
bool | fromFile | ||
) | const |
Definition at line 1726 of file HGCalDDDConstants.cc.
References HGCSiliconDetId::HGCalCoarseThick, hgpar_, nano_mu_digi_cff::layer, HGCalParameters::typesInLayers_, waferFileSize(), waferHexagon6(), waferHexagon8(), HGCalWaferIndex::waferIndex(), HGCalParameters::waferInfoMap_, HGCalParameters::waferTypeL_, HGCalWaferIndex::waferU(), and HGCalWaferIndex::waferV().
std::tuple< int, int, int > HGCalDDDConstants::waferType | ( | HGCSiliconDetId const & | id, |
bool | fromFile | ||
) | const |
Definition at line 1745 of file HGCalDDDConstants.cc.
References dqmdumpme::first, hgpar_, HGCalGeomTools::k_allCorners, HGCalGeomTools::k_fiveCorners, HGCalGeomTools::k_fourCorners, HGCalTypes::k_OffsetRotation, HGCalGeomTools::k_threeCorners, nano_mu_digi_cff::layer, hgcalPerformanceValidation::orient, 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 220 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, | ||
bool | debug | ||
) | const |
Definition at line 1784 of file HGCalDDDConstants.cc.
References debug, TauDecayModes::dec, dqmdumpme::first, hgpar_, HGCalGeomTools::k_allCorners, HGCalGeomTools::k_fiveCorners, HGCalGeomTools::k_fourCorners, HGCalTypes::k_OffsetRotation, HGCalGeomTools::k_threeCorners, nano_mu_digi_cff::layer, hgcalPerformanceValidation::orient, edm::second(), HGCalTypes::WaferCorner0, waferFileSize(), HGCalTypes::WaferFive, HGCalTypes::WaferFull, HGCalTypes::WaferHalf, waferHexagon8(), HGCalWaferIndex::waferIndex(), HGCalParameters::waferInfoMap_, HGCalTypes::WaferOut, HGCalTypes::WaferThree, HGCalParameters::waferTypes_, HGCalWaferIndex::waferU(), HGCalWaferIndex::waferV(), and LaserClient_cfi::wl.
Referenced by isValidCell8(), and HGCalSD::setDetUnitId().
|
inline |
Definition at line 216 of file HGCalDDDConstants.h.
References hgpar_, and HGCalParameters::waferTypeT_.
Referenced by HGCalGeometryLoader::build(), HGCalGeometry::getClosestCell(), and hgcal::RecHitTools::isHalfCell().
|
inline |
Definition at line 227 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 1831 of file HGCalDDDConstants.cc.
References hgpar_, nano_mu_digi_cff::layer, waferHexagon6(), waferHexagon8(), HGCalWaferIndex::waferIndex(), HGCalParameters::waferTypes_, HGCalWaferIndex::waferU(), HGCalWaferIndex::waferV(), and LaserClient_cfi::wl.
double HGCalDDDConstants::waferZ | ( | int | layer, |
bool | reco | ||
) | const |
Definition at line 1843 of file HGCalDDDConstants.cc.
References getIndex(), hgpar_, HGCalParameters::k_ScaleToDDD, and HGCalParameters::zLayerHex_.
Referenced by HGCalSimHitValidation::analyzeHits(), HGCalTBAnalyzer::analyzeRecHits(), HGCalTBAnalyzer::analyzeSimHits(), ticl::SeedingRegionByTracks::buildFirstLayers(), ticl::LinkingAlgoByDirectionGeometric::buildLayers(), HFNoseNumberingScheme::checkPosition(), HGCalNumberingScheme::checkPosition(), HGCalGeometry::get8Corners(), HGCalGeometry::getCorners(), HGCalTriggerTools::getLayerZ(), HGCalGeometry::getNewCorners(), HGCalGeometry::getPosition(), hgcal::RecHitTools::getPositionLayer(), ticl::LinkingAlgoByDirectionGeometric::linkTracksters(), HGCalGeometry::neighborZ(), HeterogeneousHGCalHEFCellPositionsFiller::set_conditions_(), and waferLocal2Global().
|
staticprivate |
Definition at line 254 of file HGCalDDDConstants.h.
|
private |
Definition at line 262 of file HGCalDDDConstants.h.
Referenced by HGCalDDDConstants(), isValidHex8(), and waferInLayerTest().
|
private |
Definition at line 252 of file HGCalDDDConstants.h.
|
private |
Definition at line 263 of file HGCalDDDConstants.h.
Referenced by distFromEdgeHex(), HGCalDDDConstants(), waferFromPosition(), waferInLayerTest(), and waferParameters().
|
private |
Definition at line 264 of file HGCalDDDConstants.h.
Referenced by HGCalDDDConstants(), and waferFromPosition().
|
private |
Definition at line 249 of file HGCalDDDConstants.h.
Referenced by assignCellTrap(), cassetteShiftScintillator(), cassetteShiftSilicon(), HGCalDDDConstants(), localToGlobal8(), locateCell(), locateCellTrap(), and waferFromPosition().
|
private |
Definition at line 250 of file HGCalDDDConstants.h.
Referenced by HGCalDDDConstants(), and locateCell().
|
private |
Definition at line 251 of file HGCalDDDConstants.h.
Referenced by cellHex(), and HGCalDDDConstants().
|
private |
Definition at line 257 of file HGCalDDDConstants.h.
Referenced by assignCell(), assignCellTrap(), cassetteShiftSilicon(), cassetteTile(), cellEtaPhiTrap(), cellHex(), cellInLayer(), cellSizeHex(), cellSizeTrap(), cellThickness(), cellType(), distFromEdgeHex(), distFromEdgeTrap(), firstLayer(), getIndex(), getLayer(), getLayerOffset(), getModule(), getModules(), getParameter(), getPhiBins(), getRadiusLayer(), getRangeR(), getREtaRange(), getTrForm(), getTrFormN(), getTrForms(), getTypeHex(), getTypeTrap(), getUVMax(), getXY(), guardRingOffset(), HGCalDDDConstants(), isHalfCell(), isValidCell(), isValidCell8(), isValidHex(), isValidHex8(), isValidTrap(), lastLayer(), layerFromIndex(), layerIndex(), layersInit(), layerType(), levelTop(), localToGlobal8(), locateCell(), locateCellHex(), locateCellTrap(), maskCell(), maxCells(), maxCellUV(), maxRows(), minSlope(), modulesInit(), mouseBite(), numberCells(), numberCellsHexagon(), rangeR(), rangeRLayer(), rangeZ(), rowColumnWafer(), sectors(), sensorSizeOffset(), simToReco(), tileCount(), tileExist(), tileInfo(), tilePhiEdge(), tileRingEdge(), tileRings(), tileType(), volumes(), waferFileIndex(), waferFileInfo(), waferFileInfoExist(), waferFileInfoFromIndex(), waferFileSize(), waferFromCopy(), waferFromPosition(), waferIndex(), waferInfo(), waferInLayer(), waferInLayerTest(), waferPosition(), waferPositionNoRot(), wafers(), waferSepar(), waferSize(), waferToCopy(), waferType(), waferTypeL(), waferTypeRotation(), waferTypeT(), waferUVMax(), waferVirtual(), and waferZ().
|
staticprivate |
Definition at line 253 of file HGCalDDDConstants.h.
|
private |
Definition at line 267 of file HGCalDDDConstants.h.
Referenced by HGCalDDDConstants(), and modules().
|
private |
Definition at line 268 of file HGCalDDDConstants.h.
Referenced by HGCalDDDConstants(), and maxModulesPerLayer().
|
private |
Definition at line 261 of file HGCalDDDConstants.h.
Referenced by cassetteMode(), cellInLayer(), geomMode(), HGCalDDDConstants(), isValidCell8(), tileTrapezoid(), trapezoidFile(), waferHexagon6(), waferHexagon8(), waferHexagon8File(), and waferHexagon8Module().
|
private |
Definition at line 265 of file HGCalDDDConstants.h.
Referenced by HGCalDDDConstants(), and maxModules().
|
private |
Definition at line 263 of file HGCalDDDConstants.h.
Referenced by assignCell(), cellHex(), distFromEdgeHex(), HGCalDDDConstants(), waferFromPosition(), waferInLayerTest(), and waferParameters().
|
private |
Definition at line 264 of file HGCalDDDConstants.h.
Referenced by cellHex(), HGCalDDDConstants(), and waferFromPosition().
|
private |
Definition at line 260 of file HGCalDDDConstants.h.
Referenced by cellHex(), and distFromEdgeHex().
|
staticprivate |
Definition at line 258 of file HGCalDDDConstants.h.
Referenced by cellHex(), distFromEdgeHex(), HGCalDDDConstants(), and waferFromPosition().
|
staticprivate |
Definition at line 259 of file HGCalDDDConstants.h.
Referenced by assignCellTrap(), tilePhiEdge(), and tileRingEdge().
|
private |
Definition at line 266 of file HGCalDDDConstants.h.
Referenced by HGCalDDDConstants(), lastLayer(), and layers().
|
private |
Definition at line 265 of file HGCalDDDConstants.h.
Referenced by HGCalDDDConstants().
|
private |
Definition at line 271 of file HGCalDDDConstants.h.
Referenced by HGCalDDDConstants(), and isValidHex8().
|
private |
Definition at line 269 of file HGCalDDDConstants.h.
Referenced by HGCalDDDConstants(), and wafers().
|
private |
Definition at line 270 of file HGCalDDDConstants.h.
Referenced by HGCalDDDConstants(), waferCount(), waferMax(), and waferMin().