#include <HGCalGeomParameters.h>
Classes | |
struct | cellParameters |
struct | layerParameters |
Public Member Functions | |
HGCalGeomParameters () | |
void | loadCellParsHexagon (const DDCompactView *cpv, HGCalParameters &php) |
void | loadCellTrapezoid (HGCalParameters &php) |
void | loadGeometryHexagon (const DDFilteredView &, HGCalParameters &, const std::string &, const DDCompactView *, const std::string &, const std::string &, HGCalGeometryMode::WaferMode) |
void | loadGeometryHexagon8 (const DDFilteredView &, HGCalParameters &, int) |
void | loadSpecParsHexagon (const DDFilteredView &, HGCalParameters &, const DDCompactView *, const std::string &, const std::string &) |
void | loadSpecParsHexagon8 (const DDFilteredView &, HGCalParameters &) |
void | loadSpecParsTrapezoid (const DDFilteredView &, HGCalParameters &) |
void | loadWaferHexagon (HGCalParameters &php) |
void | loadWaferHexagon8 (HGCalParameters &php) |
~HGCalGeomParameters () | |
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 &, const DDsvalues_type &, const int) |
Private Attributes | |
const double | sqrt3_ |
double | waferSize_ |
this class extracts some geometry constants from CompactView to be used by Reco Geometry/Topology
Definition at line 27 of file HGCalGeomParameters.h.
HGCalGeomParameters::HGCalGeomParameters | ( | ) |
Definition at line 29 of file HGCalGeomParameters.cc.
HGCalGeomParameters::~HGCalGeomParameters | ( | ) |
Definition at line 36 of file HGCalGeomParameters.cc.
|
private |
Definition at line 1284 of file HGCalGeomParameters.cc.
References funct::abs(), PVValHelper::dx, PVValHelper::dy, and tolerance.
Referenced by HGCalGeomParameters::cellParameters::cellParameters(), and loadGeometryHexagon().
|
private |
Definition at line 1247 of file HGCalGeomParameters.cc.
References DDfetch(), DDValue::doubles(), Exception, str, and relativeConstraints::value.
Referenced by HGCalGeomParameters::cellParameters::cellParameters(), loadSpecParsHexagon(), loadSpecParsHexagon8(), and loadSpecParsTrapezoid().
void HGCalGeomParameters::loadCellParsHexagon | ( | const DDCompactView * | cpv, |
HGCalParameters & | php | ||
) |
Definition at line 1086 of file HGCalGeomParameters.cc.
References HGCalParameters::cellCoarse_, HGCalParameters::cellFine_, dbl_to_int(), DDFilteredView::firstChild(), DDVectorGetter::get(), gen::k, convertSQLiteXML::ok, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by HGCalParametersFromDD::build().
void HGCalGeomParameters::loadCellTrapezoid | ( | HGCalParameters & | php | ) |
Definition at line 1112 of file HGCalGeomParameters.cc.
References HGCalParameters::hgtrap::alpha, HGCalParameters::hgtrap::bl, HGCalParameters::hgtrap::cellSize, HGCalParameters::cellSize_, HGCalParameters::hgtrap::dz, PVValHelper::eta, JetChargeProducer_cfi::exp, HGCalParameters::fillModule(), HGCalParameters::firstLayer_, HGCalParameters::firstModule_, HGCalParameters::hgtrap::h, createfilelist::int, HGCalParameters::iradMaxBH_, HGCalParameters::iradMinBH_, gen::k, HGCalParameters::k_ScaleFromDDD, HGCalParameters::k_ScaleToDDD, GetRecoTauVFromDQM_MC_cff::kk, HGCalParameters::lastModule_, HGCalParameters::hgtrap::lay, HGCalParameters::layerFrontBH_, cmsBatch::log, HGCalParameters::minTileSize_, HGCalParameters::nSectors_, HGCalParameters::radiusLayer_, HGCalParameters::rMaxLayHex_, HGCalParameters::rMinLayerBH_, HGCalParameters::rMinLayHex_, HGCalParameters::scintCellSize(), HGCalParameters::scintType(), funct::tan(), HGCalParameters::hgtrap::tl, HGCalParameters::waferThick_, HGCalParameters::waferUVMax_, and HGCalParameters::zLayerHex_.
Referenced by HGCalParametersFromDD::build().
void HGCalGeomParameters::loadGeometryHexagon | ( | const DDFilteredView & | _fv, |
HGCalParameters & | php, | ||
const std::string & | sdTag1, | ||
const DDCompactView * | cpv, | ||
const std::string & | sdTag2, | ||
const std::string & | sdTag3, | ||
HGCalGeometryMode::WaferMode | mode | ||
) |
Definition at line 42 of file HGCalGeomParameters.cc.
References funct::abs(), HGCalParameters::addTrForm(), HGCalParameters::hgtrap::alpha, HGCalParameters::hgtrap::bl, HGCalParameters::boundR_, HGCalParameters::cellCoarseHalf_, HGCalParameters::cellCoarseX_, HGCalParameters::cellCoarseY_, HGCalParameters::cellFineHalf_, HGCalParameters::cellFineX_, HGCalParameters::cellFineY_, cellPosition(), HGCalParameters::hgtrap::cellSize, HGCalParameters::cellSize_, HGCalParameters::copiesInLayers_, popcon2dropbox::copy(), DDFilteredView::copyNumbers(), funct::cos(), SimDataFormats::CaloAnalysis::cp, ddpolyhedra_rrz, ddpolyhedra_rz, ddtubs, TauDecayModes::dec, egammaForCoreTracking_cff::depth, HGCalParameters::depth_, HGCalParameters::depthIndex_, HGCalParameters::depthLayerF_, HGCalParameters::hgtrap::dz, PVValHelper::dz, Exception, HGCalParameters::fillModule(), HGCalParameters::fillTrForm(), spr::find(), plotBeamSpotDB::first, DDFilteredView::firstChild(), HGCalParameters::firstLayer_, HGCalParameters::getModule(), HGCalParameters::hgtrap::h, AnalysisDataFormats_SUSYBSMObjects::hr, mps_fire::i, createfilelist::int, gen::k, HGCalParameters::k_ScaleFromDDD, HGCalParameters::hgtrap::lay, HGCalParameters::layer_, HGCalParameters::layerGroup_, HGCalParameters::layerIndex_, LayerTriplets::layers(), DDFilteredView::logicalPart(), HGCalParameters::moduleAlphaR_, HGCalParameters::moduleAlphaS_, HGCalParameters::moduleBlR_, HGCalParameters::moduleBlS_, HGCalParameters::moduleDzR_, HGCalParameters::moduleDzS_, HGCalParameters::moduleHR_, HGCalParameters::moduleHS_, HGCalParameters::moduleLayR_, HGCalParameters::moduleLayS_, HGCalParameters::moduleTlR_, HGCalParameters::moduleTlS_, DDName::name(), dataset::name, DDBase< N, C >::name(), names, DDFilteredView::next(), HGCalParameters::nSectors_, convertSQLiteXML::ok, AlCaHLTBitMon_ParallelJobs::p, p1, p2, HGCalGeometryMode::Polyhedra, alignCSCRings::r, DDTubs::rIn(), HGCalParameters::rMaxLayHex_, DDPolyhedra::rMaxVec(), HGCalParameters::rMinLayHex_, DDPolyhedra::rMinVec(), idealTransformation::rotation, DDFilteredView::rotation(), DDTubs::rOut(), HGCalParameters::scaleTrForm(), DDSolid::shape(), DDLogicalPart::solid(), AlCaHLTBitMon_QueryRunRegistry::string, HGCalParameters::hgtrap::tl, tolerance, DDFilteredView::translation(), HGCalParameters::trformIndex_, HGCalParameters::trformRotXX_, HGCalParameters::trformRotXY_, HGCalParameters::trformRotXZ_, HGCalParameters::trformRotYX_, HGCalParameters::trformRotYY_, HGCalParameters::trformRotYZ_, HGCalParameters::trformRotZX_, HGCalParameters::trformRotZY_, HGCalParameters::trformRotZZ_, HGCalParameters::trformTranX_, HGCalParameters::trformTranY_, HGCalParameters::trformTranZ_, HGCalParameters::waferCopy_, HGCalParameters::waferPosX_, HGCalParameters::waferPosY_, HGCalParameters::waferR_, waferSize_, HGCalParameters::waferSize_, HGCalParameters::waferTypeL_, HGCalParameters::waferTypeT_, x, DDExtrudedPolygon::xVec(), geometryCSVtoXML::xx, geometryCSVtoXML::xy, y, geometryCSVtoXML::yy, z, HGCalParameters::zLayerHex_, HGCalParameters::hgtrform::zp, DDPolyhedra::zVec(), and DDExtrudedPolygon::zVec().
Referenced by HGCalParametersFromDD::build().
void HGCalGeomParameters::loadGeometryHexagon8 | ( | const DDFilteredView & | _fv, |
HGCalParameters & | php, | ||
int | firstLayer | ||
) |
Definition at line 482 of file HGCalGeomParameters.cc.
References funct::abs(), popcon2dropbox::copy(), DDFilteredView::copyNumbers(), TauDecayModes::dec, HGCalParameters::depth_, HGCalParameters::depthIndex_, HGCalParameters::depthLayerF_, Exception, HGCalParameters::fillTrForm(), spr::find(), AnalysisDataFormats_SUSYBSMObjects::hr, mps_fire::i, createfilelist::int, gen::k, HGCalParameters::k_ScaleFromDDD, HGCalParameters::layer_, HGCalParameters::layerIndex_, LayerTriplets::layers(), HGCalParameters::levelT_, HGCalParameters::levelZSide_, DDFilteredView::logicalPart(), SiStripPI::max, DDFilteredView::next(), DDTubs::rIn(), HGCalParameters::rLimit_, HGCalParameters::rMaxLayHex_, HGCalParameters::rMinLayHex_, idealTransformation::rotation, DDFilteredView::rotation(), DDTubs::rOut(), DDLogicalPart::solid(), tolerance, DDFilteredView::translation(), HGCalParameters::trformIndex_, HGCalParameters::trformRotXX_, HGCalParameters::trformRotXY_, HGCalParameters::trformRotXZ_, HGCalParameters::trformRotYX_, HGCalParameters::trformRotYY_, HGCalParameters::trformRotYZ_, HGCalParameters::trformRotZX_, HGCalParameters::trformRotZY_, HGCalParameters::trformRotZZ_, HGCalParameters::trformTranX_, HGCalParameters::trformTranY_, HGCalParameters::trformTranZ_, x, geometryCSVtoXML::xx, y, geometryCSVtoXML::yy, z, HGCalParameters::zLayerHex_, HGCalParameters::hgtrform::zp, and ecaldqm::zside().
Referenced by HGCalParametersFromDD::build().
void HGCalGeomParameters::loadSpecParsHexagon | ( | const DDFilteredView & | fv, |
HGCalParameters & | php, | ||
const DDCompactView * | cpv, | ||
const std::string & | sdTag1, | ||
const std::string & | sdTag2 | ||
) |
Definition at line 602 of file HGCalGeomParameters.cc.
References HGCalParameters::boundR_, HGCalParameters::cellSize_, dbl_to_int(), DDFilteredView::firstChild(), getDDDArray(), gen::k, HGCalParameters::k_ScaleFromDDD, HGCalParameters::layerGroup_, HGCalParameters::layerGroupM_, HGCalParameters::layerGroupO_, HGCalParameters::levelT_, DDFilteredView::mergedSpecifics(), gen::n, HGCalParameters::rLimit_, HGCalParameters::slopeMin_, AlCaHLTBitMon_QueryRunRegistry::string, pfDeepBoostedJetPreprocessParams_cfi::sv, and waferSize_.
Referenced by HGCalParametersFromDD::build().
void HGCalGeomParameters::loadSpecParsHexagon8 | ( | const DDFilteredView & | fv, |
HGCalParameters & | php | ||
) |
Definition at line 674 of file HGCalGeomParameters.cc.
References HGCalParameters::cellThickness_, HGCalParameters::choiceType_, HGCalParameters::fracAreaMin_, DDVectorGetter::get(), getDDDArray(), createfilelist::int, gen::k, HGCalParameters::k_ScaleFromDDD, DDFilteredView::mergedSpecifics(), gen::n, HGCalParameters::nCornerCut_, HGCalParameters::radius100to200_, HGCalParameters::radius200to300_, HGCalParameters::radiusMixBoundary_, HGCalParameters::rMaxFront_, HGCalParameters::rMinFront_, HGCalParameters::slopeMin_, HGCalParameters::slopeTop_, pfDeepBoostedJetPreprocessParams_cfi::sv, HGCalParameters::zFrontMin_, HGCalParameters::zFrontTop_, HGCalParameters::zMinForRad_, and HGCalParameters::zRanges_.
Referenced by HGCalParametersFromDD::build().
void HGCalGeomParameters::loadSpecParsTrapezoid | ( | const DDFilteredView & | fv, |
HGCalParameters & | php | ||
) |
Definition at line 760 of file HGCalGeomParameters.cc.
References HGCalParameters::cellSize_, dbl_to_int(), HGCalParameters::firstLayer_, DDVectorGetter::get(), getDDDArray(), gen::k, HGCalParameters::k_ScaleFromDDD, HGCalParameters::layerFrontBH_, M_PI, DDFilteredView::mergedSpecifics(), gen::n, HGCalParameters::nCellsCoarse_, HGCalParameters::nCellsFine_, HGCalParameters::nPhiBinBH_, HGCalParameters::radiusMixBoundary_, HGCalParameters::rMaxFront_, HGCalParameters::rMinFront_, HGCalParameters::rMinLayerBH_, HGCalParameters::scintCells(), HGCalParameters::scintCellSize(), HGCalParameters::slopeMin_, HGCalParameters::slopeTop_, pfDeepBoostedJetPreprocessParams_cfi::sv, HGCalParameters::zFrontMin_, HGCalParameters::zFrontTop_, and HGCalParameters::zRanges_.
Referenced by HGCalParametersFromDD::build().
void HGCalGeomParameters::loadWaferHexagon | ( | HGCalParameters & | php | ) |
Definition at line 830 of file HGCalGeomParameters.cc.
References HGCalParameters::boundR_, HGCalParameters::copiesInLayers_, popcon2dropbox::copy(), TCMET_cfi::corner, PVValHelper::dx, PVValHelper::dy, createfilelist::int, gen::k, HGCalParameters::k_CornerSize, HGCalParameters::k_ScaleFromDDD, HGCalParameters::layer_, create_public_lumi_plots::ncol, HGCalParameters::nSectors_, HGCalParameters::rLimit_, HGCalParameters::rMaxLayHex_, HGCalParameters::rMinLayHex_, findQualityFiles::rr, mathSSE::sqrt(), funct::tan(), HGCalParameters::waferCopy_, HGCalGeomTools::waferCorner(), HGCalWaferIndex::waferIndex(), HGCalParameters::waferPosX_, HGCalParameters::waferPosY_, HGCalParameters::waferR_, waferSize_, HGCalParameters::waferTypeL_, HGCalParameters::waferTypes_, HGCalParameters::waferTypeT_, and HGCalParameters::waferUVMax_.
Referenced by HGCalParametersFromDD::build().
void HGCalGeomParameters::loadWaferHexagon8 | ( | HGCalParameters & | php | ) |
Definition at line 940 of file HGCalGeomParameters.cc.
References funct::abs(), HGCalParameters::hgtrap::alpha, HGCalParameters::hgtrap::bl, HGCalParameters::hgtrap::cellSize, HGCalParameters::cellThickness_, HGCalParameters::choiceType_, TCMET_cfi::corner, TauDecayModes::dec, HGCalParameters::defineFull_, PVValHelper::dy, HGCalParameters::hgtrap::dz, PVValHelper::dz, HGCalParameters::fillModule(), HGCalParameters::fracAreaMin_, HGCalParameters::getModule(), HGCalParameters::hgtrap::h, mps_fire::i, triggerObjects_cff::id, createfilelist::int, gen::k, HGCalParameters::k_CornerSize, HGCalParameters::k_ScaleFromDDD, HGCalParameters::k_ScaleToDDD, HGCalParameters::hgtrap::lay, HGCalParameters::layer_, HGCalParameters::layerIndex_, SiStripPI::max, N, HGCalParameters::nCornerCut_, HGCalParameters::nSectors_, dttmaxenums::R, alignCSCRings::r, HGCalParameters::radius100to200_, HGCalParameters::radius200to300_, HGCalParameters::rLimit_, HGCalParameters::rMaxLayHex_, HGCalParameters::rMinLayHex_, HGCalParameters::sensorSeparation_, sqrt3_, HGCalParameters::hgtrap::tl, HGCalParameters::typesInLayers_, findQualityFiles::v, HGCalParameters::waferCopy_, HGCalGeomTools::waferCorner(), HGCalWaferIndex::waferIndex(), HGCalWaferIndex::waferLayer(), HGCalParameters::waferPosX_, HGCalParameters::waferPosY_, HGCalParameters::waferR_, HGCalParameters::wafersInLayers_, HGCalParameters::waferSize_, HGCalParameters::waferTypeL_, HGCalParameters::waferTypes_, HGCalParameters::waferTypeT_, HGCalWaferIndex::waferU(), HGCalParameters::waferUVMax_, HGCalParameters::waferUVMaxLayer_, HGCalWaferIndex::waferV(), HGCalParameters::zLayerHex_, and HGCalParameters::zMinForRad_.
Referenced by HGCalParametersFromDD::build().
|
private |
Definition at line 68 of file HGCalGeomParameters.h.
Referenced by loadWaferHexagon8().
|
private |
Definition at line 69 of file HGCalGeomParameters.h.
Referenced by loadGeometryHexagon(), loadSpecParsHexagon(), and loadWaferHexagon().