#include <HcalSimParametersFromDD.h>
Public Member Functions | |
bool | build (const DDCompactView *, HcalSimulationParameters &) |
bool | build (const cms::DDCompactView *, HcalSimulationParameters &) |
HcalSimParametersFromDD ()=default | |
Private Member Functions | |
bool | buildParameters (const HcalSimulationParameters &) |
void | fillNameVector (const DDCompactView *, const std::string &, const std::string &, std::vector< std::string > &) |
void | fillNameVector (const cms::DDCompactView *, const std::string &, std::vector< std::string > &) |
void | fillPMTs (const std::vector< double > &, bool, HcalSimulationParameters &) |
std::vector< double > | getDDDArray (const std::string &str, const DDsvalues_type &sv, int &nmin) |
std::vector< std::string > | getNames (DDFilteredView &fv) |
std::vector< std::string > | getNames (cms::DDFilteredView &fv) |
bool | isItHF (const std::string &, const HcalSimulationParameters &) |
Definition at line 13 of file HcalSimParametersFromDD.h.
|
default |
bool HcalSimParametersFromDD::build | ( | const DDCompactView * | cpv, |
HcalSimulationParameters & | php | ||
) |
Definition at line 17 of file HcalSimParametersFromDD.cc.
References HcalSimulationParameters::attenuationLength_, dbl_to_int(), Exception, DDFilteredView::firstChild(), MsgTools::getNames(), HcalSimulationParameters::hcalMaterialNames_, HcalSimulationParameters::hfFibreConicalNames_, HcalSimulationParameters::hfFibreNames_, HcalSimulationParameters::hfFibreStraightNames_, HcalSimulationParameters::hfLevels_, HcalSimulationParameters::hfNames_, HcalSimulationParameters::hfPMTNames_, mps_fire::i, HcalSimulationParameters::lambdaLimits_, dqm-mbProfile::log, DDFilteredView::logicalPart(), HcalSimulationParameters::longFiberLength_, DDLogicalPart::material(), DDFilteredView::mergedSpecifics(), DDName::name(), DDBase< N, C >::name(), DDFilteredView::next(), HcalSimulationParameters::shortFiberLength_, AlCaHLTBitMon_QueryRunRegistry::string, and pfDeepBoostedJetPreprocessParams_cfi::sv.
bool HcalSimParametersFromDD::build | ( | const cms::DDCompactView * | cpv, |
HcalSimulationParameters & | php | ||
) |
Definition at line 102 of file HcalSimParametersFromDD.cc.
References HcalSimulationParameters::attenuationLength_, begin, geant_units::operators::convertCmToMm(), data, dbl_to_int(), cms::DDCompactView::detector(), end, cms::DDSpecParRegistry::filter(), spr::find(), HcalSimulationParameters::hcalMaterialNames_, HcalSimulationParameters::hfFibreConicalNames_, HcalSimulationParameters::hfFibreNames_, HcalSimulationParameters::hfFibreStraightNames_, HcalSimulationParameters::hfLevels_, HcalSimulationParameters::hfNames_, HcalSimulationParameters::hfPMTNames_, HcalSimulationParameters::lambdaLimits_, HcalSimulationParameters::longFiberLength_, dqmiodumpmetadata::n, Skims_PA_cff::name, cms::dd::noNamespace(), pfMETCorrectionType0_cfi::par2, HcalSimulationParameters::shortFiberLength_, findQualityFiles::size, cms::DDCompactView::specpars(), AlCaHLTBitMon_QueryRunRegistry::string, and cms::DDDetector::worldVolume().
|
private |
Definition at line 161 of file HcalSimParametersFromDD.cc.
References HcalSimulationParameters::attenuationLength_, geant_units::operators::convertMmToCm(), HcalSimulationParameters::hcalMaterialNames_, HcalSimulationParameters::hfFibreConicalNames_, HcalSimulationParameters::hfFibreNames_, HcalSimulationParameters::hfFibreStraightNames_, HcalSimulationParameters::hfLevels_, HcalSimulationParameters::hfNames_, HcalSimulationParameters::hfPMTNames_, cuy::ii, dqmdumpme::k, HcalSimulationParameters::lambdaLimits_, HcalSimulationParameters::longFiberLength_, HcalSimulationParameters::pmtFiberLeft_, HcalSimulationParameters::pmtFiberRight_, HcalSimulationParameters::pmtLeft_, HcalSimulationParameters::pmtRight_, and HcalSimulationParameters::shortFiberLength_.
|
private |
Definition at line 244 of file HcalSimParametersFromDD.cc.
References ALCARECOTkAlBeamHalo_cff::filter, and MsgTools::getNames().
|
private |
Definition at line 253 of file HcalSimParametersFromDD.cc.
References cms::DDCompactView::detector(), cms::DDSpecParRegistry::filter(), MsgTools::getNames(), cms::DDCompactView::specpars(), and cms::DDDetector::worldVolume().
|
private |
Definition at line 264 of file HcalSimParametersFromDD.cc.
References cuy::ii, HcalSimulationParameters::pmtFiberLeft_, HcalSimulationParameters::pmtFiberRight_, HcalSimulationParameters::pmtLeft_, and HcalSimulationParameters::pmtRight_.
|
private |
Definition at line 328 of file HcalSimParametersFromDD.cc.
References DDfetch(), DDValue::doubles(), Exception, str, and relativeConstraints::value.
|
private |
Definition at line 299 of file HcalSimParametersFromDD.cc.
References DDFilteredView::firstChild(), mps_fire::i, dqm-mbProfile::log, DDFilteredView::logicalPart(), DDName::name(), DDBase< N, C >::name(), DDFilteredView::next(), convertSQLiteXML::ok, and createJobs::tmp.
|
private |
Definition at line 319 of file HcalSimParametersFromDD.cc.
References begin, end, spr::find(), cms::DDFilteredView::firstChild(), cms::DDFilteredView::name(), and createJobs::tmp.
|
private |
Definition at line 282 of file HcalSimParametersFromDD.cc.
References begin, end, spr::find(), HcalSimulationParameters::hfFibreConicalNames_, HcalSimulationParameters::hfFibreNames_, HcalSimulationParameters::hfFibreStraightNames_, HcalSimulationParameters::hfNames_, and HcalSimulationParameters::hfPMTNames_.