#include <HcalSimParametersFromDD.h>
Public Member Functions | |
bool | build (const cms::DDCompactView &, HcalSimulationParameters &) |
bool | build (const DDCompactView *, HcalSimulationParameters &) |
HcalSimParametersFromDD ()=default | |
Private Member Functions | |
bool | buildParameters (const HcalSimulationParameters &) |
void | fillNameVector (const cms::DDCompactView &, const std::string &, std::vector< std::string > &) |
void | fillNameVector (const DDCompactView *, const std::string &, 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 (cms::DDFilteredView &fv) |
std::vector< std::string > | getNames (DDFilteredView &fv) |
bool | isItHF (const std::string &, const HcalSimulationParameters &) |
Definition at line 13 of file HcalSimParametersFromDD.h.
|
default |
bool HcalSimParametersFromDD::build | ( | const cms::DDCompactView & | cpv, |
HcalSimulationParameters & | php | ||
) |
Definition at line 103 of file HcalSimParametersFromDD.cc.
References HcalSimulationParameters::attenuationLength_, begin, geant_units::operators::convertCmToMm(), filterCSVwithJSON::copy, cms::DDFilteredView::copyNos(), counter, end, ALCARECOTkAlBeamHalo_cff::filter, spr::find(), cms::DDFilteredView::firstChild(), cms::DDFilteredView::get(), HcalSimulationParameters::hcalMaterialNames_, HcalSimulationParameters::hfFibreConicalNames_, HcalSimulationParameters::hfFibreNames_, HcalSimulationParameters::hfFibreStraightNames_, HcalSimulationParameters::hfLevels_, HcalSimulationParameters::hfNames_, HcalSimulationParameters::hfPMTNames_, HcalSimulationParameters::lambdaLimits_, HcalSimulationParameters::longFiberLength_, cms::DDFilteredView::materialName(), dqmiodumpmetadata::n, neta, cms::dd::noNamespace(), and HcalSimulationParameters::shortFiberLength_.
bool HcalSimParametersFromDD::build | ( | const DDCompactView * | cpv, |
HcalSimulationParameters & | php | ||
) |
Definition at line 18 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_, DDFilteredView::mergedSpecifics(), neta, DDFilteredView::next(), HcalSimulationParameters::shortFiberLength_, AlCaHLTBitMon_QueryRunRegistry::string, and pfDeepBoostedJetPreprocessParams_cfi::sv.
Referenced by HcalSimParametersESModule::produce().
|
private |
Definition at line 168 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 260 of file HcalSimParametersFromDD.cc.
References counter, ALCARECOTkAlBeamHalo_cff::filter, and MsgTools::getNames().
|
private |
Definition at line 251 of file HcalSimParametersFromDD.cc.
References ALCARECOTkAlBeamHalo_cff::filter, and MsgTools::getNames().
|
private |
Definition at line 271 of file HcalSimParametersFromDD.cc.
References counter, cuy::ii, neta, HcalSimulationParameters::pmtFiberLeft_, HcalSimulationParameters::pmtFiberRight_, HcalSimulationParameters::pmtLeft_, and HcalSimulationParameters::pmtRight_.
|
private |
Definition at line 338 of file HcalSimParametersFromDD.cc.
References DDfetch(), Exception, str, pfDeepBoostedJetPreprocessParams_cfi::sv, and relativeConstraints::value.
|
private |
Definition at line 329 of file HcalSimParametersFromDD.cc.
References begin, end, spr::find(), cms::DDFilteredView::firstChild(), cms::DDFilteredView::name(), and createJobs::tmp.
|
private |
Definition at line 309 of file HcalSimParametersFromDD.cc.
References DDFilteredView::firstChild(), mps_fire::i, dqm-mbProfile::log, DDFilteredView::logicalPart(), DDFilteredView::next(), convertSQLiteXML::ok, and createJobs::tmp.
|
private |
Definition at line 292 of file HcalSimParametersFromDD.cc.
References begin, end, spr::find(), HcalSimulationParameters::hfFibreConicalNames_, HcalSimulationParameters::hfFibreNames_, HcalSimulationParameters::hfFibreStraightNames_, HcalSimulationParameters::hfNames_, HcalSimulationParameters::hfPMTNames_, and Skims_PA_cff::name.