10 std::vector<std::string> psetNames;
12 for (
unsigned int i = 0;
i != psetNames.size(); ++
i) {
25 for (; it != it_end; ++it)
26 it->second->setHolder(hn);
32 for (; it != it_end; ++it)
40 ss << std::setw(10) <<
event.id().run() <<
" : " << std::setw(10) <<
event.id().event();
41 for (; it != it_end; ++it) {
42 if (it->second->compute(
event))
43 ss <<
" : " << it->first <<
"=" << (*it->second)(
event);
45 ss <<
" : " << it->first <<
" N/A";
55 <<
" list of available variables follows.";
VariableHelper(const edm::ParameterSet &iConfig, edm::ConsumesCollector &iC)
T getParameter(std::string const &) const
size_t getParameterSetNames(std::vector< std::string > &output, bool trackiness=true) const
const CachingVariable * variable(std::string name) const
std::string printValues(const edm::Event &event) const
std::map< std::string, const CachingVariable * > variables_
void setHolder(std::string hn)
std::map< std::string, const CachingVariable * >::const_iterator iterator