#include <HGCalDDDConstants.h>
Public Types | |
typedef std::array< std::vector< int32_t >, 2 > | simrecovecs |
Public Member Functions | |
std::pair< int, int > | assignCell (float x, float y, int lay, int subSec, bool reco) const |
std::pair< int, int > | assignCellHexagon (float x, float y) const |
std::pair< int, int > | assignCellSquare (float x, float y, float h, float bl, float tl, float alpha, float cellSize) const |
double | cellSizeHex (int type) const |
std::pair< int, int > | findCell (int cell, int lay, int subSec, bool reco) const |
std::pair< int, int > | findCellSquare (int cell, float h, float bl, float tl, float alpha, float cellSize) const |
HGCalGeometryMode::GeometryMode | geomMode () const |
std::pair< int, float > | getIndex (int lay, bool reco) const |
HGCalParameters::hgtrap | getModule (unsigned int k, bool hexType, bool reco) const |
std::vector< HGCalParameters::hgtrap > | getModules () const |
HGCalParameters::hgtrform | getTrForm (unsigned int k) const |
unsigned int | getTrFormN () const |
std::vector< HGCalParameters::hgtrform > | getTrForms () const |
HGCalDDDConstants (const HGCalParameters *hp, const std::string name) | |
bool | isHalfCell (int waferType, int cell) const |
bool | isValid (int lay, int mod, int cell, bool reco) const |
bool | isValidCell (int layindex, int wafer, int cell) const |
unsigned int | layers (bool reco) const |
unsigned int | layersInit (bool reco) const |
int | levelTop () 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 | maxCellsSquare (float h, float bl, float tl, float alpha, float cellSize) const |
int | maxModules () const |
int | maxRows (int lay, bool reco) const |
double | minSlope () const |
int | modules (int lay, bool reco) const |
int | modulesInit (int lay, bool reco) const |
std::pair< int, int > | newCell (int cell, int layer, int sector, int subsector, int incrx, int incry, bool half) const |
std::pair< int, int > | newCell (int cell, int layer, int subsector, int incrz, bool half) const |
int | newCell (int kx, int ky, int lay, int subSec) const |
std::vector< int > | numberCells (int lay, bool reco) const |
int | numberCellsHexagon (int wafer) const |
std::vector< int > | numberCellsSquare (float h, float bl, float tl, float alpha, float cellSize) 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 | waferFromCopy (int copy) const |
void | waferFromPosition (const double x, const double y, int &wafer, int &icell, int &celltyp) const |
bool | waferInLayer (int wafer, int lay, bool reco) const |
std::pair< double, double > | waferPosition (int wafer, bool reco=true) const |
int | wafers () const |
int | waferToCopy (int wafer) const |
int | waferTypeL (int wafer) const |
int | waferTypeT (int wafer) const |
double | waferZ (int layer, bool reco) const |
~HGCalDDDConstants () | |
Private Member Functions | |
int | cellHex (double xx, double yy, const double &cellR, const std::vector< double > &posX, const std::vector< double > &posY) const |
void | getParameterSquare (int lay, int subSec, bool reco, float &h, float &bl, float &tl, float &alpha) const |
bool | waferInLayer (int wafer, int lay) const |
Private Attributes | |
double | hexside_ |
const HGCalParameters * | hgpar_ |
simrecovecs | max_modules_layer_ |
HGCalGeometryMode::GeometryMode | mode_ |
int32_t | modHalf_ |
double | rmax_ |
std::array< uint32_t, 2 > | tot_layers_ |
int32_t | tot_wafers_ |
Static Private Attributes | |
static double | tan30deg_ = 0.5773502693 |
this class reads the constant section of the numbering xml-files of the high granulairy calorimeter
Definition at line 23 of file HGCalDDDConstants.h.
typedef std::array<std::vector<int32_t>, 2> HGCalDDDConstants::simrecovecs |
Definition at line 27 of file HGCalDDDConstants.h.
HGCalDDDConstants::HGCalDDDConstants | ( | const HGCalParameters * | hp, |
const std::string | name | ||
) |
Definition at line 15 of file HGCalDDDConstants.cc.
References HGCalParameters::cellSize_, funct::cos(), gather_cfg::cout, hexside_, hgpar_, k_ScaleFromDDD, layers(), layersInit(), max_modules_layer_, maxCells(), mode_, HGCalParameters::mode_, modHalf_, modulesInit(), rmax_, sectors(), HGCalGeometryMode::Square, tan30deg_, tot_layers_, tot_wafers_, HGCalParameters::waferR_, and wafers().
HGCalDDDConstants::~HGCalDDDConstants | ( | ) |
Definition at line 80 of file HGCalDDDConstants.cc.
std::pair< int, int > HGCalDDDConstants::assignCell | ( | float | x, |
float | y, | ||
int | lay, | ||
int | subSec, | ||
bool | reco | ||
) | const |
Definition at line 82 of file HGCalDDDConstants.cc.
References alpha, assignCellHexagon(), assignCellSquare(), getIndex(), getParameterSquare(), h, mps_fire::i, diffTreeTool::index, k_ScaleFromDDD, mode_, trackingPlots::reco, HGCalGeometryMode::Square, geometryCSVtoXML::xx, and geometryCSVtoXML::yy.
Referenced by HGCNumberingScheme::assignCell(), HGCalGeometry::getClosestCell(), HGCNumberingScheme::getUnitID(), and newCell().
std::pair< int, int > HGCalDDDConstants::assignCellHexagon | ( | float | x, |
float | y | ||
) | const |
Definition at line 143 of file HGCalDDDConstants.cc.
References HGCalParameters::cellCoarseX_, HGCalParameters::cellCoarseY_, HGCalParameters::cellFineX_, HGCalParameters::cellFineY_, cellHex(), HGCalParameters::cellSize_, hgpar_, k_ScaleFromDDD, rmax_, HGCalParameters::waferPosX_, HGCalParameters::waferPosY_, HGCalParameters::waferTypeT_, geometryCSVtoXML::xx, and geometryCSVtoXML::yy.
Referenced by assignCell().
std::pair< int, int > HGCalDDDConstants::assignCellSquare | ( | float | x, |
float | y, | ||
float | h, | ||
float | bl, | ||
float | tl, | ||
float | alpha, | ||
float | cellSize | ||
) | const |
Definition at line 100 of file HGCalDDDConstants.cc.
References a, b, h, and k_horizontalShift.
Referenced by assignCell().
|
private |
Definition at line 721 of file HGCalDDDConstants.cc.
References funct::abs(), gen::k, pileupDistInMC::num, tan30deg_, and TrackerOfflineValidation_Dqm_cff::xmax.
Referenced by assignCellHexagon(), getTrForm(), and waferFromPosition().
double HGCalDDDConstants::cellSizeHex | ( | int | type | ) | const |
Definition at line 159 of file HGCalDDDConstants.cc.
References HGCalParameters::cellSize_, hgpar_, and k_ScaleFromDDD.
Referenced by HGCalGeometryLoader::build(), and hgcal::RecHitTools::getRadiusToSide().
std::pair< int, int > HGCalDDDConstants::findCell | ( | int | cell, |
int | lay, | ||
int | subSec, | ||
bool | reco | ||
) | const |
Definition at line 173 of file HGCalDDDConstants.cc.
References alpha, findCellSquare(), getIndex(), getParameterSquare(), h, mps_fire::i, diffTreeTool::index, mode_, and HGCalGeometryMode::Square.
Referenced by locateCell(), and newCell().
std::pair< int, int > HGCalDDDConstants::findCellSquare | ( | int | cell, |
float | h, | ||
float | bl, | ||
float | tl, | ||
float | alpha, | ||
float | cellSize | ||
) | const |
Definition at line 188 of file HGCalDDDConstants.cc.
References a, b, and k_horizontalShift.
Referenced by findCell(), and simToReco().
|
inline |
Definition at line 42 of file HGCalDDDConstants.h.
References isValid(), isValidCell(), layers(), layersInit(), locateCell(), locateCellHex(), mod(), and mode_.
Referenced by HGCalSimHitValidation::analyzeHits(), HGCalGeometry::getClosestCell(), HGCNumberingScheme::getUnitID(), HGCalTopology::HGCalTopology(), HGCSD::update(), and SimG4HGCalValidation::update().
std::pair< int, float > HGCalDDDConstants::getIndex | ( | int | lay, |
bool | reco | ||
) | const |
Definition at line 742 of file HGCalDDDConstants.cc.
References HGCalParameters::depthIndex_, HGCalParameters::depthLayerF_, hgpar_, HGCalParameters::layerIndex_, mode_, HGCalParameters::moduleCellR_, HGCalParameters::moduleCellS_, and HGCalGeometryMode::Square.
Referenced by assignCell(), findCell(), getTrForm(), locateCell(), maxCells(), maxRows(), modules(), modulesInit(), newCell(), numberCells(), simToReco(), waferInLayer(), and waferZ().
HGCalParameters::hgtrap HGCalDDDConstants::getModule | ( | unsigned int | k, |
bool | hexType, | ||
bool | reco | ||
) | const |
Definition at line 216 of file HGCalDDDConstants.cc.
References HGCalParameters::getModule(), hgpar_, reco::if(), and HGCalParameters::waferTypeL_.
Referenced by HGCalGeometryLoader::build(), and HGCalGeometry::getSummary().
std::vector< HGCalParameters::hgtrap > HGCalDDDConstants::getModules | ( | ) | const |
Definition at line 233 of file HGCalDDDConstants.cc.
References HGCalParameters::getModule(), hgpar_, gen::k, and HGCalParameters::moduleLayR_.
|
private |
Definition at line 758 of file HGCalDDDConstants.cc.
References alpha, hgpar_, HGCalParameters::moduleAlphaR_, HGCalParameters::moduleAlphaS_, HGCalParameters::moduleBlR_, HGCalParameters::moduleBlS_, HGCalParameters::moduleHR_, HGCalParameters::moduleHS_, HGCalParameters::moduleTlR_, and HGCalParameters::moduleTlS_.
Referenced by assignCell(), findCell(), getTrForm(), locateCell(), maxCells(), and numberCells().
|
inline |
Definition at line 92 of file HGCalDDDConstants.h.
References cellHex(), getIndex(), getParameterSquare(), HGCalParameters::getTrForm(), getTrForms(), hgpar_, RecoTauValidation_cfi::posX, RecoTauValidation_cfi::posY, waferInLayer(), geometryCSVtoXML::xx, and geometryCSVtoXML::yy.
Referenced by HGCalGeometryLoader::build(), and HGCalGeometry::getSummary().
|
inline |
Definition at line 91 of file HGCalDDDConstants.h.
References hgpar_, and HGCalParameters::trformIndex_.
Referenced by HGCalGeometryLoader::build(), and HGCalGeometry::getSummary().
std::vector< HGCalParameters::hgtrform > HGCalDDDConstants::getTrForms | ( | ) | const |
Definition at line 241 of file HGCalDDDConstants.cc.
References HGCalParameters::getTrForm(), hgpar_, gen::k, and HGCalParameters::trformIndex_.
Referenced by HGCalTrackCollectionProducer::beginLuminosityBlock(), and getTrForm().
bool HGCalDDDConstants::isHalfCell | ( | int | waferType, |
int | cell | ||
) | const |
Definition at line 716 of file HGCalDDDConstants.cc.
References HGCalParameters::cellCoarseHalf_, HGCalParameters::cellFineHalf_, and hgpar_.
Referenced by hgcal::RecHitTools::isHalfCell().
bool HGCalDDDConstants::isValid | ( | int | lay, |
int | mod, | ||
int | cell, | ||
bool | reco | ||
) | const |
Definition at line 249 of file HGCalDDDConstants.cc.
References HGCalParameters::cellCoarseX_, HGCalParameters::cellFineX_, HGCalParameters::copiesInLayers_, gather_cfg::cout, hgpar_, createfilelist::int, isValidCell(), layers(), maxCells(), mod(), mode_, modmax, convertSQLiteXML::ok, sectors(), HGCalGeometryMode::Square, HGCalParameters::waferCopy_, and HGCalParameters::waferTypeT_.
Referenced by ntupleDataFormat._Object::_checkIsValid(), geomMode(), HGCNumberingScheme::getUnitID(), core.AutoHandle.AutoHandle::ReallyLoad(), and HGCalTopology::valid().
bool HGCalDDDConstants::isValidCell | ( | int | layindex, |
int | wafer, | ||
int | cell | ||
) | const |
Definition at line 295 of file HGCalDDDConstants.cc.
References HGCalParameters::cellCoarseX_, HGCalParameters::cellCoarseY_, HGCalParameters::cellFineX_, HGCalParameters::cellFineY_, gather_cfg::cout, hgpar_, convertSQLiteXML::ok, HGCalParameters::rMaxLayHex_, HGCalParameters::rMinLayHex_, findQualityFiles::rr, mathSSE::sqrt(), HGCalParameters::waferPosX_, HGCalParameters::waferPosY_, HGCalParameters::waferTypeT_, x, and y.
Referenced by geomMode(), and isValid().
unsigned int HGCalDDDConstants::layers | ( | bool | reco | ) | const |
Definition at line 165 of file HGCalDDDConstants.cc.
References createfilelist::int, and tot_layers_.
Referenced by HGCalTBAnalyzer::analyze(), HGCalDigiClient::beginRun(), HGCalRecHitsClient::beginRun(), HGCalSimHitsClient::beginRun(), HGCalTBAnalyzer::beginRun(), HGCalDigiValidation::dqmBeginRun(), HGCalRecHitValidation::dqmBeginRun(), HGCalSimHitValidation::dqmBeginRun(), HGCalTriggerGeometryHexImp2::fillInvalidTriggerCells(), geomMode(), HGCalDDDConstants(), HGCalTopology::HGCalTopology(), isValid(), maxCells(), newCell(), SimG4HGCalValidation::update(), and wafers().
unsigned int HGCalDDDConstants::layersInit | ( | bool | reco | ) | const |
Definition at line 169 of file HGCalDDDConstants.cc.
References HGCalParameters::depthIndex_, hgpar_, and HGCalParameters::layerIndex_.
Referenced by geomMode(), and HGCalDDDConstants().
|
inline |
Definition at line 50 of file HGCalDDDConstants.h.
References alpha, hgpar_, HGCalParameters::levelT_, maxCells(), and maxCellsSquare().
Referenced by HGCSD::update().
std::pair< float, float > HGCalDDDConstants::locateCell | ( | int | cell, |
int | lay, | ||
int | type, | ||
bool | reco | ||
) | const |
Definition at line 320 of file HGCalDDDConstants.cc.
References alpha, HGCalParameters::cellCoarseX_, HGCalParameters::cellCoarseY_, HGCalParameters::cellFineX_, HGCalParameters::cellFineY_, findCell(), getIndex(), getParameterSquare(), h, hgpar_, mps_fire::i, diffTreeTool::index, k_ScaleFromDDD, mode_, HGCalGeometryMode::Square, HGCalParameters::waferPosX_, HGCalParameters::waferPosY_, HGCalParameters::waferTypeT_, x, and y.
Referenced by HGCalSimHitValidation::analyzeHits(), HGCalTBAnalyzer::analyzeSimHits(), geomMode(), HGCalGeometry::getCorners(), HGCNumberingScheme::getLocalCoords(), HGCalGeometry::getPosition(), and newCell().
std::pair< float, float > HGCalDDDConstants::locateCellHex | ( | int | cell, |
int | wafer, | ||
bool | reco | ||
) | const |
Definition at line 355 of file HGCalDDDConstants.cc.
References HGCalParameters::cellCoarseX_, HGCalParameters::cellCoarseY_, HGCalParameters::cellFineX_, HGCalParameters::cellFineY_, hgpar_, k_ScaleFromDDD, HGCalParameters::waferTypeT_, x, and y.
Referenced by geomMode(), HGCalGeometry::getCorners(), and HGCalGeometry::getPosition().
int HGCalDDDConstants::maxCells | ( | bool | reco | ) | const |
Definition at line 372 of file HGCalDDDConstants.cc.
References HGCalParameters::depth_, hgpar_, mps_fire::i, HGCalParameters::layer_, and layers().
Referenced by HGCalDDDConstants(), HGCalTopology::HGCalTopology(), isValid(), levelTop(), HGCalGeometry::newCell(), and newCell().
int HGCalDDDConstants::maxCells | ( | int | lay, |
bool | reco | ||
) | const |
Definition at line 382 of file HGCalDDDConstants.cc.
References alpha, HGCalParameters::cellCoarseX_, HGCalParameters::cellFineX_, getIndex(), getParameterSquare(), h, hgpar_, mps_fire::i, diffTreeTool::index, gen::k, maxCellsSquare(), mode_, HGCalGeometryMode::Square, waferInLayer(), and HGCalParameters::waferTypeT_.
int HGCalDDDConstants::maxCellsSquare | ( | float | h, |
float | bl, | ||
float | tl, | ||
float | alpha, | ||
float | cellSize | ||
) | const |
Definition at line 404 of file HGCalDDDConstants.cc.
References a, b, and k_horizontalShift.
Referenced by levelTop(), and maxCells().
|
inline |
int HGCalDDDConstants::maxRows | ( | int | lay, |
bool | reco | ||
) | const |
Definition at line 421 of file HGCalDDDConstants.cc.
References getIndex(), hgpar_, mps_fire::i, diffTreeTool::index, gen::k, mode_, HGCalParameters::moduleHR_, HGCalParameters::moduleHS_, trackingPlots::reco, HGCalGeometryMode::Square, HGCalParameters::waferCopy_, and waferInLayer().
Referenced by maxModules(), and newCell().
|
inline |
Definition at line 57 of file HGCalDDDConstants.h.
References hgpar_, modules(), modulesInit(), newCell(), numberCells(), numberCellsHexagon(), numberCellsSquare(), rowColumnWafer(), and HGCalParameters::slopeMin_.
Referenced by HGCSD::update().
int HGCalDDDConstants::modules | ( | int | lay, |
bool | reco | ||
) | const |
Definition at line 441 of file HGCalDDDConstants.cc.
References plotBeamSpotDB::first, getIndex(), createfilelist::int, and max_modules_layer_.
Referenced by minSlope(), and wafers().
int HGCalDDDConstants::modulesInit | ( | int | lay, |
bool | reco | ||
) | const |
Definition at line 446 of file HGCalDDDConstants.cc.
References getIndex(), hgpar_, diffTreeTool::index, gen::k, waferInLayer(), and HGCalParameters::waferPosX_.
Referenced by HGCalDDDConstants(), and minSlope().
std::pair< int, int > HGCalDDDConstants::newCell | ( | int | cell, |
int | layer, | ||
int | sector, | ||
int | subsector, | ||
int | incrx, | ||
int | incry, | ||
bool | half | ||
) | const |
Definition at line 456 of file HGCalDDDConstants.cc.
References findCell(), hgpar_, maxCells(), maxRows(), and HGCalParameters::nSectors_.
Referenced by HGCalTopology::changeXY(), HGCalTopology::changeZ(), and minSlope().
std::pair< int, int > HGCalDDDConstants::newCell | ( | int | cell, |
int | layer, | ||
int | subsector, | ||
int | incrz, | ||
bool | half | ||
) | const |
Definition at line 481 of file HGCalDDDConstants.cc.
References assignCell(), layers(), locateCell(), and geometryCSVtoXML::xy.
int HGCalDDDConstants::newCell | ( | int | kx, |
int | ky, | ||
int | lay, | ||
int | subSec | ||
) | const |
Definition at line 493 of file HGCalDDDConstants.cc.
References a, alpha, b, getIndex(), hgpar_, mps_fire::i, diffTreeTool::index, k_horizontalShift, maxCells(), HGCalParameters::moduleAlphaS_, HGCalParameters::moduleBlR_, HGCalParameters::moduleHR_, and HGCalParameters::moduleTlR_.
std::vector< int > HGCalDDDConstants::numberCells | ( | int | lay, |
bool | reco | ||
) | const |
Definition at line 511 of file HGCalDDDConstants.cc.
References alpha, HGCalParameters::cellCoarseX_, HGCalParameters::cellFineX_, getIndex(), getParameterSquare(), h, hgpar_, mps_fire::i, diffTreeTool::index, gen::k, mode_, numberCellsSquare(), HGCalGeometryMode::Square, waferInLayer(), and HGCalParameters::waferTypeT_.
Referenced by minSlope().
int HGCalDDDConstants::numberCellsHexagon | ( | int | wafer | ) | const |
Definition at line 547 of file HGCalDDDConstants.cc.
References HGCalParameters::cellCoarseX_, HGCalParameters::cellFineX_, hgpar_, createfilelist::int, and HGCalParameters::waferTypeT_.
Referenced by HGCalTriggerGeometryHexImp1::fillMaps(), minSlope(), and HGCalGeometry::newCell().
std::vector< int > HGCalDDDConstants::numberCellsSquare | ( | float | h, |
float | bl, | ||
float | tl, | ||
float | alpha, | ||
float | cellSize | ||
) | const |
Definition at line 534 of file HGCalDDDConstants.cc.
References a, b, and k_horizontalShift.
Referenced by minSlope(), and numberCells().
std::pair< int, int > HGCalDDDConstants::rowColumnWafer | ( | const int | wafer | ) | const |
Definition at line 559 of file HGCalDDDConstants.cc.
References cuy::col, popcon2dropbox::copy(), hgpar_, and HGCalParameters::waferCopy_.
Referenced by minSlope().
|
inline |
Definition at line 70 of file HGCalDDDConstants.h.
References hgpar_, HGCalParameters::nSectors_, and simToReco().
Referenced by HGCalGeometryLoader::build(), HGCalGeometry::getSummary(), HGCalDDDConstants(), HGCalTopology::HGCalTopology(), and isValid().
std::pair< int, int > HGCalDDDConstants::simToReco | ( | int | cell, |
int | layer, | ||
int | mod, | ||
bool | half | ||
) | const |
Definition at line 571 of file HGCalDDDConstants.cc.
References a, b, HGCalParameters::cellFactor_, gather_cfg::cout, particleFlowClusterECALTimeSelected_cfi::depth, findCellSquare(), getIndex(), hgpar_, mps_fire::i, diffTreeTool::index, k_horizontalShift, HGCalParameters::layerGroup_, HGCalParameters::layerGroupM_, HGCalParameters::layerGroupO_, mod(), mode_, HGCalParameters::moduleAlphaS_, HGCalParameters::moduleBlS_, HGCalParameters::moduleHS_, HGCalParameters::moduleTlS_, HGCalGeometryMode::Square, and HGCalParameters::waferTypeL_.
Referenced by HGCalTBAnalyzer::analyzeSimHits(), CaloTruthAccumulator::fillSimHits(), HGCalTriggerBackend::HGCalTriggerSimCluster< FECODEC, DATA >::run(), sectors(), and HGCalTriggerNtupleHGCDigis::simhits().
|
inline |
Definition at line 72 of file HGCalDDDConstants.h.
References popcon2dropbox::copy(), hgpar_, HGCalParameters::moduleLayR_, waferFromCopy(), waferFromPosition(), waferInLayer(), waferPosition(), wafers(), x, and y.
Referenced by HGCalGeometryLoader::build(), and HGCalGeometry::getSummary().
int HGCalDDDConstants::waferFromCopy | ( | int | copy | ) | const |
Definition at line 616 of file HGCalDDDConstants.cc.
References gather_cfg::cout, hgpar_, gen::k, convertSQLiteXML::ok, and HGCalParameters::waferCopy_.
Referenced by HGCNumberingScheme::getUnitID(), and volumes().
void HGCalDDDConstants::waferFromPosition | ( | const double | x, |
const double | y, | ||
int & | wafer, | ||
int & | icell, | ||
int & | celltyp | ||
) | const |
Definition at line 641 of file HGCalDDDConstants.cc.
References funct::abs(), HGCalParameters::cellCoarseX_, HGCalParameters::cellCoarseY_, HGCalParameters::cellFineX_, HGCalParameters::cellFineY_, cellHex(), HGCalParameters::cellSize_, gather_cfg::cout, hexside_, hgpar_, createfilelist::int, gen::k, k_ScaleFromDDD, rmax_, tan30deg_, HGCalParameters::waferCopy_, HGCalParameters::waferPosX_, HGCalParameters::waferPosY_, HGCalParameters::waferTypeT_, geometryCSVtoXML::xx, and geometryCSVtoXML::yy.
Referenced by HGCNumberingScheme::getUnitID(), and volumes().
bool HGCalDDDConstants::waferInLayer | ( | int | wafer, |
int | lay, | ||
bool | reco | ||
) | const |
Definition at line 676 of file HGCalDDDConstants.cc.
References getIndex().
Referenced by HGCalGeometryLoader::build(), HGCalGeometry::getSummary(), getTrForm(), maxCells(), maxRows(), modulesInit(), numberCells(), and volumes().
|
private |
Definition at line 775 of file HGCalDDDConstants.cc.
References HGCalGeometryMode::Hexagon, HGCalGeometryMode::HexagonFull, hgpar_, recoMuon::in, gen::k, HGCalParameters::mode_, rmax_, HGCalParameters::rMinLayHex_, findQualityFiles::rr, mathSSE::sqrt(), tan30deg_, HGCalParameters::waferPosX_, and HGCalParameters::waferPosY_.
std::pair< double, double > HGCalDDDConstants::waferPosition | ( | int | wafer, |
bool | reco = true |
||
) | const |
Definition at line 683 of file HGCalDDDConstants.cc.
References hgpar_, k_ScaleFromDDD, HGCalParameters::waferPosX_, HGCalParameters::waferPosY_, geometryCSVtoXML::xx, geometryCSVtoXML::xy, and geometryCSVtoXML::yy.
Referenced by HGCalGeometryLoader::build(), HGCMouseBite::exclude(), and volumes().
int HGCalDDDConstants::wafers | ( | ) | const |
Definition at line 706 of file HGCalDDDConstants.cc.
References HGCalParameters::depth_, hgpar_, mps_fire::i, layers(), and modules().
Referenced by HGCalTopology::allGeomModules(), HGCalDDDConstants(), and volumes().
|
inline |
Definition at line 80 of file HGCalDDDConstants.h.
References hgpar_, and HGCalParameters::waferCopy_.
|
inline |
Definition at line 84 of file HGCalDDDConstants.h.
References hgpar_, and HGCalParameters::waferTypeL_.
Referenced by hgcal::RecHitTools::getSiThickness(), and HGCalUncalibRecHitRecWeightsAlgo< HGCDataFrame >::makeRecHit().
|
inline |
Definition at line 82 of file HGCalDDDConstants.h.
References hgpar_, and HGCalParameters::waferTypeT_.
Referenced by HGCalGeometryLoader::build(), HGCalTriggerGeometryHexImp2::detIdWaferType(), HGCalTriggerGeometryHexImp1::fillMaps(), HGCalGeometry::getClosestCell(), and hgcal::RecHitTools::isHalfCell().
double HGCalDDDConstants::waferZ | ( | int | layer, |
bool | reco | ||
) | const |
Definition at line 699 of file HGCalDDDConstants.cc.
References getIndex(), hgpar_, mps_fire::i, diffTreeTool::index, and HGCalParameters::zLayerHex_.
Referenced by HGCalSimHitValidation::analyzeHits(), HGCalTBAnalyzer::analyzeRecHits(), HGCalTBAnalyzer::analyzeSimHits(), and CaloTruthAccumulator::beginLuminosityBlock().
|
private |
Definition at line 107 of file HGCalDDDConstants.h.
Referenced by HGCalDDDConstants(), and waferFromPosition().
|
private |
Definition at line 105 of file HGCalDDDConstants.h.
Referenced by assignCellHexagon(), cellSizeHex(), getIndex(), getModule(), getModules(), getParameterSquare(), getTrForm(), getTrFormN(), getTrForms(), HGCalDDDConstants(), isHalfCell(), isValid(), isValidCell(), layersInit(), levelTop(), locateCell(), locateCellHex(), maxCells(), maxRows(), minSlope(), modulesInit(), newCell(), numberCells(), numberCellsHexagon(), rowColumnWafer(), sectors(), simToReco(), volumes(), waferFromCopy(), waferFromPosition(), waferInLayer(), waferPosition(), wafers(), waferToCopy(), waferTypeL(), waferTypeT(), and waferZ().
|
private |
Definition at line 111 of file HGCalDDDConstants.h.
Referenced by HGCalDDDConstants(), and modules().
|
private |
Definition at line 108 of file HGCalDDDConstants.h.
Referenced by assignCell(), findCell(), geomMode(), getIndex(), HGCalDDDConstants(), isValid(), locateCell(), maxCells(), maxRows(), numberCells(), and simToReco().
|
private |
Definition at line 109 of file HGCalDDDConstants.h.
Referenced by HGCalDDDConstants(), and maxModules().
|
private |
Definition at line 107 of file HGCalDDDConstants.h.
Referenced by assignCellHexagon(), HGCalDDDConstants(), waferFromPosition(), and waferInLayer().
|
staticprivate |
Definition at line 106 of file HGCalDDDConstants.h.
Referenced by cellHex(), HGCalDDDConstants(), waferFromPosition(), and waferInLayer().
|
private |
Definition at line 110 of file HGCalDDDConstants.h.
Referenced by HGCalDDDConstants(), and layers().
|
private |
Definition at line 109 of file HGCalDDDConstants.h.
Referenced by HGCalDDDConstants().