#include <CaloSimParametersFromDD.h>
Public Member Functions | |
bool | build (const DDCompactView *, CaloSimulationParameters &) |
bool | build (const cms::DDCompactView *, CaloSimulationParameters &) |
CaloSimParametersFromDD ()=default | |
virtual | ~CaloSimParametersFromDD () |
Private Member Functions | |
bool | buildParameters (const CaloSimulationParameters &) |
std::vector< std::string > | getNames (const std::string &, const DDsvalues_type &, bool) |
std::vector< int > | getNumbers (const std::string &, const DDsvalues_type &, bool) |
Definition at line 14 of file CaloSimParametersFromDD.h.
|
default |
|
inlinevirtual |
Definition at line 17 of file CaloSimParametersFromDD.h.
References build(), buildParameters(), getNames(), getNumbers(), and AlCaHLTBitMon_QueryRunRegistry::string.
bool CaloSimParametersFromDD::build | ( | const DDCompactView * | cpv, |
CaloSimulationParameters & | php | ||
) |
Definition at line 23 of file CaloSimParametersFromDD.cc.
References buildParameters(), CaloSimulationParameters::caloNames_, CaloSimulationParameters::fCaloNames_, ALCARECOTkAlBeamHalo_cff::filter, DDFilteredView::firstChild(), CaloSimulationParameters::fLevels_, getNames(), getNumbers(), CaloSimulationParameters::insideLevel_, CaloSimulationParameters::insideNames_, CaloSimulationParameters::levels_, DDFilteredView::mergedSpecifics(), Skims_PA_cff::name, CaloSimulationParameters::neighbours_, AlCaHLTBitMon_QueryRunRegistry::string, and pfDeepBoostedJetPreprocessParams_cfi::sv.
Referenced by ~CaloSimParametersFromDD().
bool CaloSimParametersFromDD::build | ( | const cms::DDCompactView * | cpv, |
CaloSimulationParameters & | php | ||
) |
Definition at line 47 of file CaloSimParametersFromDD.cc.
References buildParameters(), CaloSimulationParameters::caloNames_, dbl_to_int(), cms::DDCompactView::detector(), CaloSimulationParameters::fCaloNames_, CaloSimulationParameters::fLevels_, CaloSimulationParameters::insideLevel_, CaloSimulationParameters::insideNames_, CaloSimulationParameters::levels_, CaloSimulationParameters::neighbours_, and cms::DDDetector::worldVolume().
|
private |
Definition at line 65 of file CaloSimParametersFromDD.cc.
References CaloSimulationParameters::caloNames_, Exception, CaloSimulationParameters::fCaloNames_, CaloSimulationParameters::fLevels_, CaloSimulationParameters::insideLevel_, CaloSimulationParameters::insideNames_, CaloSimulationParameters::levels_, myPrint(), and CaloSimulationParameters::neighbours_.
Referenced by build(), and ~CaloSimParametersFromDD().
|
private |
Definition at line 86 of file CaloSimParametersFromDD.cc.
References DDfetch(), Exception, str, DDValue::strings(), and relativeConstraints::value.
Referenced by build(), and ~CaloSimParametersFromDD().
|
private |
Definition at line 114 of file CaloSimParametersFromDD.cc.
References dbl_to_int(), DDfetch(), DDValue::doubles(), Exception, str, and relativeConstraints::value.
Referenced by build(), and ~CaloSimParametersFromDD().