#include <HGCalDDDConstants.h>
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 | waferCount (const int type) const |
int | waferFromCopy (int copy) const |
void | waferFromPosition (const double x, const double y, int &wafer, int &icell, int &celltyp) const |
bool | waferInLayer (int wafer, int lay, bool reco) const |
int | waferMax () const |
int | waferMin () const |
std::pair< double, double > | waferPosition (int wafer, bool reco=true) const |
int | wafers () const |
int | wafers (int layer, int type) 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 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 | 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_ |
std::map< int, HGCWaferParam > | waferLayer_ |
std::array< int, 4 > | waferMax_ |
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.
|
private |
Definition at line 108 of file HGCalDDDConstants.h.
|
private |
Definition at line 107 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, getIndex(), getTrForm(), getTrFormN(), hexside_, hgpar_, mps_fire::i, k_ScaleFromDDD, HGCalParameters::hgtrform::lay, layers(), layersInit(), max_modules_layer_, maxCells(), HGCalParameters::mode_, mode_, modHalf_, modulesInit(), rmax_, sectors(), HGCalGeometryMode::Square, tan30deg_, tot_layers_, tot_wafers_, waferInLayer(), waferLayer_, waferMax_, HGCalParameters::waferR_, and wafers().
HGCalDDDConstants::~HGCalDDDConstants | ( | ) |
Definition at line 108 of file HGCalDDDConstants.cc.
std::pair< int, int > HGCalDDDConstants::assignCell | ( | float | x, |
float | y, | ||
int | lay, | ||
int | subSec, | ||
bool | reco | ||
) | const |
Definition at line 110 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 171 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 128 of file HGCalDDDConstants.cc.
References a, b, h, and k_horizontalShift.
Referenced by assignCell().
|
private |
Definition at line 760 of file HGCalDDDConstants.cc.
References funct::abs(), PVValHelper::dx, PVValHelper::dy, 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 187 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 193 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 208 of file HGCalDDDConstants.cc.
References a, b, and k_horizontalShift.
Referenced by findCell(), and simToReco().
|
inline |
Definition at line 40 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 781 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(), HGCalDDDConstants(), 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 236 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 253 of file HGCalDDDConstants.cc.
References HGCalParameters::getModule(), hgpar_, gen::k, and HGCalParameters::moduleLayR_.
|
private |
Definition at line 797 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 94 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(), HGCalGeometry::getSummary(), and HGCalDDDConstants().
|
inline |
Definition at line 93 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 261 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 755 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 269 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 315 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 340 of file HGCalDDDConstants.cc.
References createfilelist::int, and tot_layers_.
Referenced by HGCalTBAnalyzer::analyze(), HGCalDigiClient::beginRun(), HGCalRecHitsClient::beginRun(), HGCalSimHitsClient::beginRun(), HGCalTimingAnalyzer::beginRun(), HGCalTBAnalyzer::beginRun(), HGCalDigiValidation::dqmBeginRun(), HGCalRecHitValidation::dqmBeginRun(), HGCalSimHitValidation::dqmBeginRun(), HGCalTriggerGeometryHexLayerBasedImp1::fillInvalidTriggerCells(), HGCalTriggerGeometryHexImp2::fillInvalidTriggerCells(), geomMode(), HGCalDDDConstants(), HGCalTopology::HGCalTopology(), isValid(), maxCells(), newCell(), SimG4HGCalValidation::update(), and wafers().
unsigned int HGCalDDDConstants::layersInit | ( | bool | reco | ) | const |
Definition at line 344 of file HGCalDDDConstants.cc.
References HGCalParameters::depthIndex_, hgpar_, and HGCalParameters::layerIndex_.
Referenced by geomMode(), and HGCalDDDConstants().
|
inline |
Definition at line 48 of file HGCalDDDConstants.h.
References 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 348 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 383 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 400 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 410 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 432 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 449 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 55 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 469 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 474 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 484 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 509 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 521 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 539 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 575 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 562 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 587 of file HGCalDDDConstants.cc.
References cuy::col, popcon2dropbox::copy(), hgpar_, and HGCalParameters::waferCopy_.
Referenced by minSlope().
|
inline |
Definition at line 68 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 599 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 HGCalTimingAnalyzer::analyzeSimHits(), HGCalTBAnalyzer::analyzeSimHits(), CaloTruthAccumulator::fillSimHits(), HGCalTriggerBackend::HGCalTriggerSimCluster< FECODEC, DATA >::run(), sectors(), and HGCalTriggerNtupleHGCDigis::simhits().
|
inline |
Definition at line 70 of file HGCalDDDConstants.h.
References popcon2dropbox::copy(), hgpar_, HGCalParameters::moduleLayR_, waferFromCopy(), waferFromPosition(), and waferInLayer().
Referenced by HGCalGeometryLoader::build(), and HGCalGeometry::getSummary().
|
inline |
int HGCalDDDConstants::waferFromCopy | ( | int | copy | ) | const |
Definition at line 644 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 669 of file HGCalDDDConstants.cc.
References funct::abs(), HGCalParameters::cellCoarseX_, HGCalParameters::cellCoarseY_, HGCalParameters::cellFineX_, HGCalParameters::cellFineY_, cellHex(), HGCalParameters::cellSize_, gather_cfg::cout, PVValHelper::dx, PVValHelper::dy, 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 704 of file HGCalDDDConstants.cc.
References getIndex().
Referenced by HGCalGeometryLoader::build(), HGCalGeometry::getSummary(), getTrForm(), HGCalDDDConstants(), maxCells(), maxRows(), modulesInit(), numberCells(), and volumes().
|
private |
Definition at line 814 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_.
|
inline |
|
inline |
Definition at line 78 of file HGCalDDDConstants.h.
References waferMax_, waferPosition(), and wafers().
std::pair< double, double > HGCalDDDConstants::waferPosition | ( | int | wafer, |
bool | reco = true |
||
) | const |
Definition at line 711 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 waferMin().
int HGCalDDDConstants::wafers | ( | ) | const |
Definition at line 734 of file HGCalDDDConstants.cc.
References HGCalParameters::depth_, hgpar_, mps_fire::i, layers(), and modules().
Referenced by HGCalTopology::allGeomModules(), HGCalDDDConstants(), and waferMin().
int HGCalDDDConstants::wafers | ( | int | layer, |
int | type | ||
) | const |
Definition at line 744 of file HGCalDDDConstants.cc.
References waferLayer_.
|
inline |
Definition at line 82 of file HGCalDDDConstants.h.
References hgpar_, and HGCalParameters::waferCopy_.
|
inline |
Definition at line 86 of file HGCalDDDConstants.h.
References hgpar_, and HGCalParameters::waferTypeL_.
Referenced by hgcal::RecHitTools::getSiThickness(), HGCalUncalibRecHitRecWeightsAlgo< HGCDataFrame >::makeRecHit(), HGCalTriggerCellBestChoiceCodecImpl::triggerCellSums(), and HGCalTriggerCellThresholdCodecImpl::triggerCellSums().
|
inline |
Definition at line 84 of file HGCalDDDConstants.h.
References hgpar_, and HGCalParameters::waferTypeT_.
Referenced by HGCalGeometryLoader::build(), HGCalTriggerGeometryHexImp2::detIdWaferType(), HGCalTriggerGeometryHexLayerBasedImp1::detIdWaferType(), HGCalTriggerGeometryHexImp1::fillMaps(), HGCalGeometry::getClosestCell(), and hgcal::RecHitTools::isHalfCell().
double HGCalDDDConstants::waferZ | ( | int | layer, |
bool | reco | ||
) | const |
Definition at line 727 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 111 of file HGCalDDDConstants.h.
Referenced by HGCalDDDConstants(), and waferFromPosition().
|
private |
Definition at line 109 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 115 of file HGCalDDDConstants.h.
Referenced by HGCalDDDConstants(), and modules().
|
private |
Definition at line 112 of file HGCalDDDConstants.h.
Referenced by assignCell(), findCell(), geomMode(), getIndex(), HGCalDDDConstants(), isValid(), locateCell(), maxCells(), maxRows(), numberCells(), and simToReco().
|
private |
Definition at line 113 of file HGCalDDDConstants.h.
Referenced by HGCalDDDConstants(), and maxModules().
|
private |
Definition at line 111 of file HGCalDDDConstants.h.
Referenced by assignCellHexagon(), HGCalDDDConstants(), waferFromPosition(), and waferInLayer().
|
staticprivate |
Definition at line 110 of file HGCalDDDConstants.h.
Referenced by cellHex(), HGCalDDDConstants(), waferFromPosition(), and waferInLayer().
|
private |
Definition at line 114 of file HGCalDDDConstants.h.
Referenced by HGCalDDDConstants(), and layers().
|
private |
Definition at line 113 of file HGCalDDDConstants.h.
Referenced by HGCalDDDConstants().
|
private |
Definition at line 116 of file HGCalDDDConstants.h.
Referenced by HGCalDDDConstants(), and wafers().
|
private |
Definition at line 117 of file HGCalDDDConstants.h.
Referenced by HGCalDDDConstants(), waferCount(), waferMax(), and waferMin().