#include <HGCalGeomParameters.h>
Classes | |
struct | cellParameters |
struct | layerParameters |
Public Member Functions | |
HGCalGeomParameters () | |
void | loadGeometryHexagon (const DDFilteredView &, HGCalParameters &, const std::string &, const DDCompactView *, const std::string &, const std::string &) |
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 &) |
~HGCalGeomParameters () | |
Private Member Functions | |
std::pair< double, double > | cellPosition (const std::vector< GlobalPoint > &wafers, std::vector< GlobalPoint >::const_iterator &itrf, unsigned int num, double rmax, double ymax, double xx, double yy, unsigned int ncells) |
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 26 of file HGCalGeomParameters.h.
HGCalGeomParameters::HGCalGeomParameters | ( | ) |
HGCalGeomParameters::~HGCalGeomParameters | ( | ) |
|
private |
Definition at line 757 of file HGCalGeomParameters.cc.
References funct::abs(), funct::tan(), hlt_dqm_clientPB-live_cfg::xmax, and SiStripMonitorClusterAlca_cfi::ymax.
Referenced by loadGeometryHexagon().
|
private |
Definition at line 720 of file HGCalGeomParameters.cc.
References DDfetch(), DDValue::doubles(), Exception, and relativeConstraints::value.
Referenced by loadSpecParsHexagon(), and loadSpecParsSquare().
void HGCalGeomParameters::loadGeometryHexagon | ( | const DDFilteredView & | _fv, |
HGCalParameters & | php, | ||
const std::string & | sdTag1, | ||
const DDCompactView * | cpv, | ||
const std::string & | sdTag2, | ||
const std::string & | sdTag3 | ||
) |
Definition at line 210 of file HGCalGeomParameters.cc.
References funct::abs(), DDFilteredView::addFilter(), HGCalParameters::addTrForm(), HGCalParameters::hgtrap::alpha, HGCalParameters::hgtrap::bl, HGCalParameters::boundR_, HGCalParameters::cellCoarseX_, HGCalParameters::cellCoarseY_, HGCalParameters::cellFineX_, HGCalParameters::cellFineY_, cellPosition(), HGCalParameters::hgtrap::cellSize, HGCalParameters::copiesInLayers_, filterCSVwithJSON::copy, DDFilteredView::copyNumbers(), funct::cos(), gather_cfg::cout, CommonMethods::cp(), TauDecayModes::dec, HLT_25ns10e33_v2_cff::depth, HGCalParameters::depth_, HGCalParameters::depthIndex_, HGCalParameters::depthLayerF_, HGCalParameters::hgtrap::dz, equals, Exception, HGCalParameters::fillModule(), HGCalParameters::fillTrForm(), spr::find(), plotBeamSpotDB::first, DDFilteredView::firstChild(), citk::for(), HGCalParameters::getModule(), HGCalParameters::hgtrap::h, AnalysisDataFormats_SUSYBSMObjects::hr, i, relval_2017::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_, mergeVDriftHistosByStation::name, DDBase< N, C >::name(), cscdqm::h::names, DDFilteredView::next(), HGCalParameters::nSectors_, convertSQLiteXML::ok, alignCSCRings::r, DDTubs::rIn(), HGCalParameters::rMaxLayHex_, DDPolyhedra::rMaxVec(), HGCalParameters::rMinLayHex_, idealTransformation::rotation, DDFilteredView::rotation(), DDTubs::rOut(), HGCalParameters::scaleTrForm(), DDSpecificsFilter::setCriteria(), DDLogicalPart::solid(), AlCaHLTBitMon_QueryRunRegistry::string, funct::tan(), 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, create_public_lumi_plots::xy, y, SiStripMonitorClusterAlca_cfi::ymax, z, HGCalParameters::zLayerHex_, HGCalParameters::hgtrform::zp, and DDPolyhedra::zVec().
Referenced by HGCalParametersFromDD::build().
void HGCalGeomParameters::loadGeometrySquare | ( | const DDFilteredView & | _fv, |
HGCalParameters & | php, | ||
const std::string & | sdTag | ||
) |
Definition at line 35 of file HGCalGeomParameters.cc.
References HGCalParameters::addTrForm(), HGCalParameters::hgtrap::alpha, DDTrap::alpha1(), HGCalParameters::hgtrap::bl, HGCalParameters::cellFactor_, HGCalParameters::hgtrap::cellSize, HGCalParameters::cellSize_, filterCSVwithJSON::copy, DDFilteredView::copyNumbers(), gather_cfg::cout, TauDecayModes::dec, HLT_25ns10e33_v2_cff::depth, HGCalParameters::depth_, HGCalParameters::depthIndex_, HGCalParameters::depthLayerF_, HGCalParameters::hgtrap::dz, Exception, HGCalParameters::fillModule(), HGCalParameters::fillTrForm(), spr::find(), plotBeamSpotDB::first, HGCalParameters::getModule(), HGCalParameters::hgtrap::h, DDTrap::halfZ(), AnalysisDataFormats_SUSYBSMObjects::hr, i, relval_2017::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_, mergeVDriftHistosByStation::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 652 of file HGCalGeomParameters.cc.
References DDFilteredView::addFilter(), HGCalParameters::boundR_, HGCalParameters::cellSize_, gather_cfg::cout, dbl_to_int(), DebugLog, equals, DDFilteredView::firstChild(), getDDDArray(), relval_2017::k, k_ScaleFromDDD, HGCalParameters::layerGroup_, HGCalParameters::layerGroupM_, HGCalParameters::layerGroupO_, DDFilteredView::mergedSpecifics(), DDSpecificsFilter::setCriteria(), AlCaHLTBitMon_QueryRunRegistry::string, and waferSize_.
Referenced by HGCalParametersFromDD::build().
void HGCalGeomParameters::loadSpecParsSquare | ( | const DDFilteredView & | fv, |
HGCalParameters & | php | ||
) |
Definition at line 610 of file HGCalGeomParameters.cc.
References HGCalParameters::cellFactor_, HGCalParameters::cellSize_, gather_cfg::cout, dbl_to_int(), getDDDArray(), i, HGCalParameters::layerGroup_, DDFilteredView::mergedSpecifics(), and HGCalParameters::nCells_.
Referenced by HGCalParametersFromDD::build().
|
private |
Definition at line 63 of file HGCalGeomParameters.h.
Referenced by loadGeometryHexagon(), and loadSpecParsHexagon().