#include <EcalSimParametersFromDD.h>
Public Member Functions | |
bool | build (const cms::DDCompactView *, const std::string &name, EcalSimulationParameters &) |
bool | build (const DDCompactView *, const std::string &name, EcalSimulationParameters &) |
EcalSimParametersFromDD ()=default | |
Private Member Functions | |
bool | buildParameters (const EcalSimulationParameters &) |
std::vector< double > | getDDDArray (const std::string &, const DDsvalues_type &) |
std::vector< std::string > | getStringArray (const std::string &, const DDsvalues_type &) |
Definition at line 14 of file EcalSimParametersFromDD.h.
|
default |
bool EcalSimParametersFromDD::build | ( | const cms::DDCompactView * | cpv, |
const std::string & | name, | ||
EcalSimulationParameters & | php | ||
) |
Definition at line 98 of file EcalSimParametersFromDD.cc.
References geant_units::operators::convertCmToMm(), data, dbl_to_int(), EcalSimulationParameters::depth1Name_, EcalSimulationParameters::depth2Name_, cms::DDCompactView::detector(), PVValHelper::dz, EcalSimulationParameters::dzs_, EcalSimulationParameters::etaBaskets_, cms::DDSpecParRegistry::filter(), spr::find(), EcalSimulationParameters::lvNames_, EcalSimulationParameters::matNames_, Skims_PA_cff::name, EcalSimulationParameters::ncrys_, EcalSimulationParameters::nmods_, cms::dd::noNamespace(), EcalSimulationParameters::nxtalEta_, EcalSimulationParameters::nxtalPhi_, EcalSimulationParameters::phiBaskets_, findQualityFiles::size, cms::DDCompactView::specpars(), AlCaHLTBitMon_QueryRunRegistry::string, EcalSimulationParameters::useWeight_, and cms::DDDetector::worldVolume().
bool EcalSimParametersFromDD::build | ( | const DDCompactView * | cpv, |
const std::string & | name, | ||
EcalSimulationParameters & | php | ||
) |
Definition at line 26 of file EcalSimParametersFromDD.cc.
References dbl_to_int(), ddtrap, EcalSimulationParameters::depth1Name_, EcalSimulationParameters::depth2Name_, PVValHelper::dz, EcalSimulationParameters::dzs_, EcalSimulationParameters::etaBaskets_, ALCARECOTkAlBeamHalo_cff::filter, spr::find(), DDFilteredView::firstChild(), DDFilteredView::logicalPart(), EcalSimulationParameters::lvNames_, DDLogicalPart::material(), EcalSimulationParameters::matNames_, DDFilteredView::mergedSpecifics(), Skims_PA_cff::name, DDName::name(), DDBase< N, C >::name(), EcalSimulationParameters::ncrys_, DDFilteredView::next(), EcalSimulationParameters::nmods_, EcalSimulationParameters::nxtalEta_, EcalSimulationParameters::nxtalPhi_, DDSolid::parameters(), EcalSimulationParameters::phiBaskets_, DDSolid::shape(), DDLogicalPart::solid(), AlCaHLTBitMon_QueryRunRegistry::string, pfDeepBoostedJetPreprocessParams_cfi::sv, and EcalSimulationParameters::useWeight_.
Referenced by EcalSimParametersESModule::produce().
|
private |
Definition at line 177 of file EcalSimParametersFromDD.cc.
References EcalSimulationParameters::depth1Name_, EcalSimulationParameters::depth2Name_, EcalSimulationParameters::dzs_, EcalSimulationParameters::etaBaskets_, EcalSimulationParameters::lvNames_, EcalSimulationParameters::matNames_, myPrint(), EcalSimulationParameters::ncrys_, EcalSimulationParameters::nmods_, EcalSimulationParameters::nxtalEta_, EcalSimulationParameters::nxtalPhi_, EcalSimulationParameters::phiBaskets_, and EcalSimulationParameters::useWeight_.
|
private |
Definition at line 191 of file EcalSimParametersFromDD.cc.
References DDfetch(), str, pfDeepBoostedJetPreprocessParams_cfi::sv, and relativeConstraints::value.
|
private |
Definition at line 208 of file EcalSimParametersFromDD.cc.
References DDfetch(), str, pfDeepBoostedJetPreprocessParams_cfi::sv, and relativeConstraints::value.