#include <HGCalTBGeomParameters.h>
Classes | |
struct | cellParameters |
struct | layerParameters |
Public Member Functions | |
HGCalTBGeomParameters () | |
void | loadCellParsHexagon (const DDCompactView *cpv, HGCalTBParameters &php) |
void | loadCellParsHexagon (const cms::DDVectorsMap &vmap, HGCalTBParameters &php) |
void | loadCellParsHexagon (const HGCalTBParameters &php) |
void | loadGeometryHexagon (const DDFilteredView &_fv, HGCalTBParameters &php, const std::string &sdTag1, const DDCompactView *cpv, const std::string &sdTag2, const std::string &sdTag3, HGCalGeometryMode::WaferMode mode) |
void | loadGeometryHexagon (const cms::DDCompactView *cpv, HGCalTBParameters &php, const std::string &sdTag1, const std::string &sdTag2, const std::string &sdTag3, HGCalGeometryMode::WaferMode mode) |
void | loadSpecParsHexagon (const DDFilteredView &fv, HGCalTBParameters &php, const DDCompactView *cpv, const std::string &sdTag1, const std::string &sdTag2) |
void | loadSpecParsHexagon (const cms::DDFilteredView &fv, HGCalTBParameters &php, const std::string &sdTag1, const std::string &sdTag2, const std::string &sdTag3, const std::string &sdTag4) |
void | loadWaferHexagon (HGCalTBParameters &php) |
~HGCalTBGeomParameters ()=default | |
Private Member Functions | |
std::pair< double, double > | cellPosition (const std::vector< cellParameters > &wafers, std::vector< cellParameters >::const_iterator &itrf, int wafer, double xx, double yy) |
std::vector< double > | getDDDArray (const std::string &str, const DDsvalues_type &sv, const int nmin) |
void | loadGeometryHexagon (const std::map< int, HGCalTBGeomParameters::layerParameters > &layers, std::vector< HGCalTBParameters::hgtrform > &trforms, std::vector< bool > &trformUse, const std::unordered_map< int32_t, int32_t > &copies, const HGCalTBParameters::layer_map &copiesInLayers, const std::vector< int32_t > &wafer2copy, const std::vector< HGCalTBGeomParameters::cellParameters > &wafers, const std::map< int, int > &wafertype, const std::map< int, HGCalTBGeomParameters::cellParameters > &cellsf, const std::map< int, HGCalTBGeomParameters::cellParameters > &cellsc, HGCalTBParameters &php) |
void | loadSpecParsHexagon (const HGCalTBParameters &php) |
void | rescale (std::vector< double > &, const double s) |
void | resetZero (std::vector< double > &) |
Private Attributes | |
HGCalGeomTools | geomTools_ |
const double | sqrt3_ |
double | waferSize_ |
Static Private Attributes | |
static constexpr double | tan30deg_ = 0.5773502693 |
this class extracts some geometry constants from CompactView to be used by Reco Geometry/Topology
Definition at line 28 of file HGCalTBGeomParameters.h.
HGCalTBGeomParameters::HGCalTBGeomParameters | ( | ) |
Definition at line 28 of file HGCalTBGeomParameters.cc.
|
default |
|
private |
Definition at line 933 of file HGCalTBGeomParameters.cc.
References funct::abs(), PVValHelper::dx, PVValHelper::dy, tolerance, geometryCSVtoXML::xx, and geometryCSVtoXML::yy.
Referenced by loadGeometryHexagon().
|
private |
Definition at line 904 of file HGCalTBGeomParameters.cc.
References DDfetch(), Exception, TrackingDataMCValidation_Standalone_cff::nmin, str, pfDeepBoostedJetPreprocessParams_cfi::sv, and relativeConstraints::value.
Referenced by loadSpecParsHexagon().
void HGCalTBGeomParameters::loadCellParsHexagon | ( | const DDCompactView * | cpv, |
HGCalTBParameters & | php | ||
) |
Definition at line 864 of file HGCalTBGeomParameters.cc.
References HGCalTBParameters::cellCoarse_, HGCalTBParameters::cellFine_, dbl_to_int(), DDFilteredView::firstChild(), convertSQLiteXML::ok, AlCaHLTBitMon_QueryRunRegistry::string, and DDCompactView::vector().
Referenced by loadCellParsHexagon().
void HGCalTBGeomParameters::loadCellParsHexagon | ( | const cms::DDVectorsMap & | vmap, |
HGCalTBParameters & | php | ||
) |
Definition at line 879 of file HGCalTBGeomParameters.cc.
References HGCalTBParameters::cellCoarse_, HGCalTBParameters::cellFine_, mps_fire::i, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, and loadCellParsHexagon().
void HGCalTBGeomParameters::loadCellParsHexagon | ( | const HGCalTBParameters & | php | ) |
Definition at line 893 of file HGCalTBGeomParameters.cc.
References HGCalTBParameters::cellCoarse_, HGCalTBParameters::cellFine_, and isotrackApplyRegressor::k.
void HGCalTBGeomParameters::loadGeometryHexagon | ( | const DDFilteredView & | _fv, |
HGCalTBParameters & | php, | ||
const std::string & | sdTag1, | ||
const DDCompactView * | cpv, | ||
const std::string & | sdTag2, | ||
const std::string & | sdTag3, | ||
HGCalGeometryMode::WaferMode | mode | ||
) |
Definition at line 35 of file HGCalTBGeomParameters.cc.
References funct::abs(), HGCalTBParameters::hgtrap::alpha, HGCalTBParameters::hgtrap::bl, HGCalTBParameters::hgtrap::cellSize, HGCalTBParameters::cellSize_, filterCSVwithJSON::copy, DDFilteredView::copyNumbers(), CommonMethods::cp(), ddpolyhedra_rrz, ddpolyhedra_rz, ddtubs, HGCalTBParameters::hgtrap::dz, PVValHelper::dz, Exception, HGCalTBParameters::fillModule(), spr::find(), DDFilteredView::firstChild(), HGCalTypes::getUnpackedCell6(), HGCalTypes::getUnpackedCellType6(), HGCalTBParameters::hgtrap::h, HGCalTBParameters::hgtrform::h3v, HGCalTBParameters::hgtrform::hr, HGCalTBParameters::k_ScaleFromDDD, HGCalTBParameters::k_ScaleFromDDDToG4, HGCalTBParameters::hgtrap::lay, HGCalTBParameters::hgtrform::lay, nano_mu_digi_cff::layer, HGCalTBParameters::layer_, hgcalTBTopologyTester_cfi::layers, DDFilteredView::logicalPart(), ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, DDName::name(), DDBase< N, C >::name(), mergeVDriftHistosByStation::name, names, DDFilteredView::next(), convertSQLiteXML::ok, AlCaHLTBitMon_ParallelJobs::p, LaserDQM_cfg::p1, SiStripOfflineCRack_cfg::p2, HGCalGeometryMode::Polyhedra, DDTubs::rIn(), DDPolyhedra::rMaxVec(), DDPolyhedra::rMinVec(), idealTransformation::rotation, DDFilteredView::rotation(), DDTubs::rOut(), HGCalTBParameters::hgtrform::sec, mkfit::Const::sol, DDLogicalPart::solid(), AlCaHLTBitMon_QueryRunRegistry::string, HGCalTBParameters::hgtrform::subsec, tan30deg_, HGCalTBParameters::hgtrap::tl, HGCalTBParameters::tol, tolerance, DDFilteredView::translation(), HGCalTBParameters::waferR_, waferSize_, HGCalTBParameters::waferSize_, x, DDExtrudedPolygon::xVec(), geometryCSVtoXML::xx, y, geometryCSVtoXML::yy, z, HGCalTBParameters::hgtrform::zp, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::zv, DDPolyhedra::zVec(), DDExtrudedPolygon::zVec(), and geometryCSVtoXML::zz.
Referenced by loadGeometryHexagon().
void HGCalTBGeomParameters::loadGeometryHexagon | ( | const cms::DDCompactView * | cpv, |
HGCalTBParameters & | php, | ||
const std::string & | sdTag1, | ||
const std::string & | sdTag2, | ||
const std::string & | sdTag3, | ||
HGCalGeometryMode::WaferMode | mode | ||
) |
Definition at line 261 of file HGCalTBGeomParameters.cc.
References funct::abs(), HGCalTBParameters::hgtrap::alpha, HGCalTBParameters::hgtrap::bl, HGCalTBParameters::hgtrap::cellSize, HGCalTBParameters::cellSize_, filterCSVwithJSON::copy, cms::DDFilteredView::copyNos(), CommonMethods::cp(), HGCalTBParameters::hgtrap::dz, PVValHelper::dz, Exception, HGCalTBParameters::fillModule(), ALCARECOTkAlBeamHalo_cff::filter, spr::find(), cms::DDFilteredView::firstChild(), HGCalTypes::getUnpackedCell6(), HGCalTypes::getUnpackedCellType6(), HGCalTBParameters::hgtrap::h, HGCalTBParameters::hgtrform::h3v, HGCalTBParameters::hgtrform::hr, HGCalTBParameters::k_ScaleFromDD4hep, HGCalTBParameters::k_ScaleFromDD4hepToG4, HGCalTBParameters::k_ScaleFromDDD, HGCalTBParameters::hgtrap::lay, HGCalTBParameters::hgtrform::lay, nano_mu_digi_cff::layer, HGCalTBParameters::layer_, hgcalTBTopologyTester_cfi::layers, loadGeometryHexagon(), ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, mergeVDriftHistosByStation::name, cms::DDFilteredView::name(), names, convertSQLiteXML::ok, AlCaHLTBitMon_ParallelJobs::p, LaserDQM_cfg::p1, SiStripOfflineCRack_cfg::p2, cms::DDFilteredView::parameters(), HGCalGeometryMode::Polyhedra, idealTransformation::rotation, cms::DDFilteredView::rotation(), HGCalTBParameters::hgtrform::sec, cms::DDFilteredView::solid(), AlCaHLTBitMon_QueryRunRegistry::string, HGCalTBParameters::hgtrform::subsec, tan30deg_, HGCalTBParameters::hgtrap::tl, HGCalTBParameters::tol, tolerance, cms::DDFilteredView::translation(), HGCalTBParameters::waferR_, waferSize_, HGCalTBParameters::waferSize_, x, geometryCSVtoXML::xx, y, geometryCSVtoXML::yy, z, HGCalTBParameters::hgtrform::zp, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::zv, and geometryCSVtoXML::zz.
|
private |
Definition at line 483 of file HGCalTBGeomParameters.cc.
References HGCalTBParameters::addTrForm(), HGCalTBParameters::hgtrap::bl, HGCalTBParameters::boundR_, HGCalTBParameters::cellCoarseHalf_, HGCalTBParameters::cellCoarseX_, HGCalTBParameters::cellCoarseY_, HGCalTBParameters::cellFineHalf_, HGCalTBParameters::cellFineX_, HGCalTBParameters::cellFineY_, cellPosition(), HGCalTBParameters::hgtrap::cellSize, HGCalTBParameters::copiesInLayers_, TauDecayModes::dec, hcalRecHitTable_cff::depth, HGCalTBParameters::depth_, HGCalTBParameters::depthIndex_, HGCalTBParameters::depthLayerF_, HGCalTBParameters::hgtrap::dz, PVValHelper::dz, Exception, HGCalTBParameters::fillModule(), HGCalTBParameters::fillTrForm(), dqmdumpme::first, HGCalTBParameters::firstLayer_, HGCalTBParameters::getModule(), HGCalTBParameters::hgtrap::h, mps_fire::i, testProducerWithPsetDescEmpty_cfi::i1, testProducerWithPsetDescEmpty_cfi::i2, isotrackApplyRegressor::k, relval_steps::k2, HGCalTBParameters::k_ScaleFromDDD, nano_mu_digi_cff::layer, HGCalTBParameters::layer_, HGCalTBParameters::layerGroup_, HGCalTBParameters::layerIndex_, hgcalTBTopologyTester_cfi::layers, HGCalTBParameters::moduleAlphaR_, HGCalTBParameters::moduleAlphaS_, HGCalTBParameters::moduleBlR_, HGCalTBParameters::moduleBlS_, HGCalTBParameters::moduleDzR_, HGCalTBParameters::moduleDzS_, HGCalTBParameters::moduleHR_, HGCalTBParameters::moduleHS_, HGCalTBParameters::moduleLayR_, HGCalTBParameters::moduleLayS_, HGCalTBParameters::moduleTlR_, HGCalTBParameters::moduleTlS_, HGCalTBParameters::nSectors_, alignCSCRings::r, HGCalTBParameters::rMaxLayHex_, HGCalTBParameters::rMinLayHex_, HGCalTBParameters::scaleTrForm(), HGCalTBParameters::hgtrap::tl, HGCalTBParameters::trformIndex_, HGCalTBParameters::trformRotXX_, HGCalTBParameters::trformRotXY_, HGCalTBParameters::trformRotXZ_, HGCalTBParameters::trformRotYX_, HGCalTBParameters::trformRotYY_, HGCalTBParameters::trformRotYZ_, HGCalTBParameters::trformRotZX_, HGCalTBParameters::trformRotZY_, HGCalTBParameters::trformRotZZ_, HGCalTBParameters::trformTranX_, HGCalTBParameters::trformTranY_, HGCalTBParameters::trformTranZ_, HGCalTBParameters::waferCopy_, HGCalTBParameters::waferPosX_, HGCalTBParameters::waferPosY_, HGCalTBParameters::waferR_, HGCalTBParameters::waferTypeL_, HGCalTBParameters::waferTypeT_, geometryCSVtoXML::xx, geometryCSVtoXML::xy, geometryCSVtoXML::yy, and HGCalTBParameters::zLayerHex_.
void HGCalTBGeomParameters::loadSpecParsHexagon | ( | const DDFilteredView & | fv, |
HGCalTBParameters & | php, | ||
const DDCompactView * | cpv, | ||
const std::string & | sdTag1, | ||
const std::string & | sdTag2 | ||
) |
Definition at line 672 of file HGCalTBGeomParameters.cc.
References HGCalTBParameters::boundR_, HGCalTBParameters::cellSize_, dbl_to_int(), DDFilteredView::firstChild(), getDDDArray(), HGCalTBParameters::k_ScaleFromDDD, HGCalTBParameters::layerGroup_, HGCalTBParameters::layerGroupM_, HGCalTBParameters::layerGroupO_, HGCalTBParameters::levelT_, DDFilteredView::mergedSpecifics(), rescale(), HGCalTBParameters::rLimit_, HGCalTBParameters::slopeMin_, AlCaHLTBitMon_QueryRunRegistry::string, pfDeepBoostedJetPreprocessParams_cfi::sv, and waferSize_.
Referenced by loadSpecParsHexagon().
void HGCalTBGeomParameters::loadSpecParsHexagon | ( | const cms::DDFilteredView & | fv, |
HGCalTBParameters & | php, | ||
const std::string & | sdTag1, | ||
const std::string & | sdTag2, | ||
const std::string & | sdTag3, | ||
const std::string & | sdTag4 | ||
) |
Definition at line 711 of file HGCalTBGeomParameters.cc.
References HGCalTBParameters::boundR_, HGCalTBParameters::cellSize_, dbl_to_int(), cms::DDFilteredView::get(), HGCalTBParameters::k_ScaleFromDD4hep, HGCalTBParameters::k_ScaleFromDD4hepToG4, HGCalTBParameters::layerGroup_, HGCalTBParameters::layerGroupM_, HGCalTBParameters::layerGroupO_, HGCalTBParameters::levelT_, loadSpecParsHexagon(), rescale(), HGCalTBParameters::rLimit_, HGCalTBParameters::slopeMin_, and waferSize_.
|
private |
Definition at line 742 of file HGCalTBGeomParameters.cc.
References HGCalTBParameters::boundR_, HGCalTBParameters::cellSize_, HGCalTBParameters::firstLayer_, isotrackApplyRegressor::k, HGCalTBParameters::layerGroup_, HGCalTBParameters::layerGroupM_, HGCalTBParameters::layerGroupO_, HGCalTBParameters::levelT_, HGCalTBParameters::rLimit_, HGCalTBParameters::slopeMin_, and waferSize_.
void HGCalTBGeomParameters::loadWaferHexagon | ( | HGCalTBParameters & | php | ) |
Definition at line 764 of file HGCalTBGeomParameters.cc.
References HGCalTBParameters::boundR_, HGCalTBParameters::copiesInLayers_, filterCSVwithJSON::copy, TCMET_cfi::corner, PVValHelper::dx, PVValHelper::dy, isotrackApplyRegressor::k, relval_steps::k2, HGCalTBParameters::k_CornerSize, HGCalTBParameters::k_ScaleFromDDD, HGCalTBParameters::layer_, EgHLTOffHistBins_cfi::nr, HGCalTBParameters::nSectors_, ALPAKA_ACCELERATOR_NAMESPACE::caPixelDoublets::ntot, HGCalTypes::packTypeUV(), HGCalTBParameters::rLimit_, HGCalTBParameters::rMaxLayHex_, HGCalTBParameters::rMinLayHex_, findQualityFiles::rr, mathSSE::sqrt(), funct::tan(), HGCalTBParameters::waferCopy_, HGCalGeomTools::waferCorner(), HGCalWaferIndex::waferIndex(), HGCalTBParameters::waferPosX_, HGCalTBParameters::waferPosY_, HGCalTBParameters::waferR_, waferSize_, HGCalTBParameters::waferTypeL_, HGCalTBParameters::waferTypes_, HGCalTBParameters::waferTypeT_, HGCalTBParameters::waferUVMax_, and LaserClient_cfi::wl.
|
private |
Definition at line 960 of file HGCalTBGeomParameters.cc.
References create_idmaps::n, alignCSCRings::s, and findQualityFiles::v.
Referenced by loadSpecParsHexagon().
|
private |
Definition at line 964 of file HGCalTBGeomParameters.cc.
References funct::abs(), create_idmaps::n, tolmin, and findQualityFiles::v.
|
private |
Definition at line 97 of file HGCalTBGeomParameters.h.
|
private |
Definition at line 98 of file HGCalTBGeomParameters.h.
|
staticprivate |
Definition at line 96 of file HGCalTBGeomParameters.h.
Referenced by loadGeometryHexagon().
|
private |
Definition at line 99 of file HGCalTBGeomParameters.h.
Referenced by loadGeometryHexagon(), loadSpecParsHexagon(), and loadWaferHexagon().