#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 &) |
Static Private Attributes | |
static constexpr double | k_ScaleFromDD4hep = (1.0 / dd4hep::mm) |
static constexpr double | k_ScaleFromDD4hepInv = dd4hep::mm |
Definition at line 13 of file HcalSimParametersFromDD.h.
|
default |
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.
bool HcalSimParametersFromDD::build | ( | const cms::DDCompactView & | cpv, |
HcalSimulationParameters & | php | ||
) |
Definition at line 103 of file HcalSimParametersFromDD.cc.
References HcalSimulationParameters::attenuationLength_, filterCSVwithJSON::copy, cms::DDFilteredView::copyNos(), counter, 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, and HcalSimulationParameters::shortFiberLength_.
|
private |
Definition at line 169 of file HcalSimParametersFromDD.cc.
References HcalSimulationParameters::attenuationLength_, angle_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 252 of file HcalSimParametersFromDD.cc.
References ALCARECOTkAlBeamHalo_cff::filter, and MsgTools::getNames().
|
private |
Definition at line 261 of file HcalSimParametersFromDD.cc.
References counter, ALCARECOTkAlBeamHalo_cff::filter, and MsgTools::getNames().
|
private |
Definition at line 272 of file HcalSimParametersFromDD.cc.
References counter, cuy::ii, neta, HcalSimulationParameters::pmtFiberLeft_, HcalSimulationParameters::pmtFiberRight_, HcalSimulationParameters::pmtLeft_, and HcalSimulationParameters::pmtRight_.
|
private |
Definition at line 339 of file HcalSimParametersFromDD.cc.
References DDfetch(), Exception, caHitNtupletGeneratorKernels::nmin, str, pfDeepBoostedJetPreprocessParams_cfi::sv, and relativeConstraints::value.
|
private |
Definition at line 310 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 330 of file HcalSimParametersFromDD.cc.
References spr::find(), cms::DDFilteredView::firstChild(), cms::DDFilteredView::name(), and createJobs::tmp.
|
private |
Definition at line 293 of file HcalSimParametersFromDD.cc.
References spr::find(), HcalSimulationParameters::hfFibreConicalNames_, HcalSimulationParameters::hfFibreNames_, HcalSimulationParameters::hfFibreStraightNames_, HcalSimulationParameters::hfNames_, HcalSimulationParameters::hfPMTNames_, and Skims_PA_cff::name.
|
staticprivate |
Definition at line 30 of file HcalSimParametersFromDD.h.
|
staticprivate |
Definition at line 31 of file HcalSimParametersFromDD.h.