Go to the source code of this file.
Definition at line 9 of file ParameterSet_get_CLHEP_t.cc.
14 std::vector<double>
const clhep_vec2 = {0.6, 123098};
15 std::vector<double>
const clhep_vec3 = {0.4, -0.5, 123.0};
16 std::vector<double>
const clhep_lorVec = {0.4, -0.5, 123.0, 58.};
18 pset.
put<std::vector<double>>(
"clhepTwoVector", clhep_vec2);
19 pset.
put<std::vector<double>>(
"clhepThreeVector", clhep_vec3);
20 pset.
put<std::vector<double>>(
"clhepLorVector", clhep_lorVec);
22 auto const vec2 = pset.
get<CLHEP::Hep2Vector>(
"clhepTwoVector");
23 auto const vec3 = pset.
get<CLHEP::Hep3Vector>(
"clhepThreeVector");
24 auto const lorVec = pset.
get<CLHEP::HepLorentzVector>(
"clhepLorVector");
28 pset.
get<CLHEP::Hep3Vector>(
"clhepTwoVector");
35 pset.
get<CLHEP::Hep2Vector>(
"clhepLorVector");
T get(std::string const &key) const
void put(std::string const &key)
cet::coded_exception< error, detail::translate > exception
QTextStream & endl(QTextStream &s)