#include <HGCalGeomParameters.h>
Classes | |
struct | cellParameters |
struct | layerParameters |
Public Member Functions | |
HGCalGeomParameters () | |
void | loadCellParsHexagon (const DDCompactView *cpv, HGCalParameters &php) |
void | loadGeometryHexagon (const DDFilteredView &, HGCalParameters &, const std::string &, const DDCompactView *, const std::string &, const std::string &, HGCalGeometryMode::WaferMode) |
void | loadGeometrySquare (const DDFilteredView &, HGCalParameters &, const std::string &) |
void | loadSpecParsHexagon (const DDFilteredView &, HGCalParameters &, const DDCompactView *, const std::string &, const std::string &) |
void | loadSpecParsSquare (const DDFilteredView &, HGCalParameters &) |
void | loadWaferHexagon (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 &, int &) |
Private Attributes | |
double | waferSize_ |
this class extracts some geometry constants from CompactView to be used by Reco Geometry/Topology
Definition at line 28 of file HGCalGeomParameters.h.
HGCalGeomParameters::HGCalGeomParameters | ( | ) |
HGCalGeomParameters::~HGCalGeomParameters | ( | ) |
|
private |
Definition at line 921 of file HGCalGeomParameters.cc.
References funct::abs(), PVValHelper::dx, and PVValHelper::dy.
Referenced by HGCalGeomParameters::cellParameters::cellParameters(), and loadGeometryHexagon().
|
private |
Definition at line 884 of file HGCalGeomParameters.cc.
References DDfetch(), DDValue::doubles(), Exception, harvestTrackValidationPlots::str, and relativeConstraints::value.
Referenced by HGCalGeomParameters::cellParameters::cellParameters(), loadSpecParsHexagon(), and loadSpecParsSquare().
void HGCalGeomParameters::loadCellParsHexagon | ( | const DDCompactView * | cpv, |
HGCalParameters & | php | ||
) |
Definition at line 856 of file HGCalGeomParameters.cc.
References HGCalParameters::cellCoarse_, HGCalParameters::cellFine_, gather_cfg::cout, dbl_to_int(), DDFilteredView::firstChild(), DDVectorGetter::get(), gen::k, convertSQLiteXML::ok, and AlCaHLTBitMon_QueryRunRegistry::string.
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 212 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(), gather_cfg::cout, SimDataFormats::CaloAnalysis::cp, TauDecayModes::dec, particleFlowClusterECALTimeSelected_cfi::depth, HGCalParameters::depth_, HGCalParameters::depthIndex_, HGCalParameters::depthLayerF_, HGCalParameters::hgtrap::dz, PVValHelper::dz, Exception, HGCalParameters::fillModule(), HGCalParameters::fillTrForm(), spr::find(), plotBeamSpotDB::first, DDFilteredView::firstChild(), HGCalParameters::getModule(), HGCalParameters::hgtrap::h, AnalysisDataFormats_SUSYBSMObjects::hr, mps_fire::i, createfilelist::int, gen::k, 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_, dataset::name, DDBase< N, C >::name(), cscdqm::h::names, DDFilteredView::next(), HGCalParameters::nSectors_, convertSQLiteXML::ok, AlCaHLTBitMon_ParallelJobs::p, p1, p2, HGCalGeometryMode::Polyhedra, alignCSCRings::r, DDTubs::rIn(), HGCalParameters::rMaxLayHex_, DDPolyhedra::rMaxVec(), HGCalParameters::rMinLayHex_, idealTransformation::rotation, DDFilteredView::rotation(), DDTubs::rOut(), HGCalParameters::scaleTrForm(), DDLogicalPart::solid(), AlCaHLTBitMon_QueryRunRegistry::string, HGCalParameters::hgtrap::tl, 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::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::loadGeometrySquare | ( | const DDFilteredView & | _fv, |
HGCalParameters & | php, | ||
const std::string & | sdTag | ||
) |
Definition at line 37 of file HGCalGeomParameters.cc.
References HGCalParameters::addTrForm(), HGCalParameters::hgtrap::alpha, DDTrap::alpha1(), HGCalParameters::hgtrap::bl, HGCalParameters::cellFactor_, HGCalParameters::hgtrap::cellSize, HGCalParameters::cellSize_, popcon2dropbox::copy(), DDFilteredView::copyNumbers(), gather_cfg::cout, TauDecayModes::dec, particleFlowClusterECALTimeSelected_cfi::depth, HGCalParameters::depth_, HGCalParameters::depthIndex_, HGCalParameters::depthLayerF_, HGCalParameters::hgtrap::dz, PVValHelper::dz, Exception, HGCalParameters::fillModule(), HGCalParameters::fillTrForm(), spr::find(), plotBeamSpotDB::first, HGCalParameters::getModule(), HGCalParameters::hgtrap::h, DDTrap::halfZ(), AnalysisDataFormats_SUSYBSMObjects::hr, mps_fire::i, createfilelist::int, gen::k, k_ScaleFromDDD, HGCalParameters::hgtrap::lay, HGCalParameters::layer_, HGCalParameters::layerGroup_, HGCalParameters::layerIndex_, DDFilteredView::logicalPart(), HGCalParameters::moduleAlphaR_, HGCalParameters::moduleAlphaS_, HGCalParameters::moduleBlR_, HGCalParameters::moduleBlS_, HGCalParameters::moduleCellR_, HGCalParameters::moduleCellS_, HGCalParameters::moduleDzR_, HGCalParameters::moduleDzS_, HGCalParameters::moduleHR_, HGCalParameters::moduleHS_, HGCalParameters::moduleLayR_, HGCalParameters::moduleLayS_, HGCalParameters::moduleTlR_, HGCalParameters::moduleTlS_, dataset::name, DDBase< N, C >::name(), DDFilteredView::next(), HGCalParameters::nSectors_, idealTransformation::rotation, DDFilteredView::rotation(), HGCalParameters::scaleTrForm(), DDLogicalPart::solid(), AlCaHLTBitMon_QueryRunRegistry::string, HGCalParameters::hgtrap::tl, 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, DDTrap::x1(), DDTrap::x2(), y, DDTrap::y1(), DDTrap::y2(), z, and HGCalParameters::hgtrform::zp.
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 662 of file HGCalGeomParameters.cc.
References HGCalParameters::boundR_, gather_cfg::cout, dbl_to_int(), DDFilteredView::firstChild(), getDDDArray(), gen::k, k_ScaleFromDDD, HGCalParameters::layerGroup_, HGCalParameters::layerGroupM_, HGCalParameters::layerGroupO_, HGCalParameters::levelT_, DDFilteredView::mergedSpecifics(), HGCalParameters::rLimit_, HGCalParameters::slopeMin_, AlCaHLTBitMon_QueryRunRegistry::string, pfDeepBoostedJetPreprocessParams_cfi::sv, and waferSize_.
Referenced by HGCalParametersFromDD::build().
void HGCalGeomParameters::loadSpecParsSquare | ( | const DDFilteredView & | fv, |
HGCalParameters & | php | ||
) |
Definition at line 623 of file HGCalGeomParameters.cc.
References HGCalParameters::cellFactor_, HGCalParameters::cellSize_, gather_cfg::cout, dbl_to_int(), getDDDArray(), mps_fire::i, HGCalParameters::layerGroup_, DDFilteredView::mergedSpecifics(), HGCalParameters::nCells_, HGCalParameters::slopeMin_, and pfDeepBoostedJetPreprocessParams_cfi::sv.
Referenced by HGCalParametersFromDD::build().
void HGCalGeomParameters::loadWaferHexagon | ( | HGCalParameters & | php | ) |
Definition at line 740 of file HGCalGeomParameters.cc.
References HGCalParameters::boundR_, HGCalParameters::copiesInLayers_, popcon2dropbox::copy(), TCMET_cfi::corner, gather_cfg::cout, PVValHelper::dx, PVValHelper::dy, createfilelist::int, gen::k, 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_, HGCalParameters::waferPosX_, HGCalParameters::waferPosY_, HGCalParameters::waferR_, waferSize_, HGCalParameters::waferTypeL_, and HGCalParameters::waferTypeT_.
Referenced by HGCalParametersFromDD::build().
|
private |
Definition at line 69 of file HGCalGeomParameters.h.
Referenced by loadGeometryHexagon(), loadSpecParsHexagon(), and loadWaferHexagon().