1 #ifndef ConfigurableAnalysis_VariableHelper_H 2 #define ConfigurableAnalysis_VariableHelper_H 19 typedef std::map<std::string, const CachingVariable*>::const_iterator
iterator;
31 std::map<std::string, const CachingVariable*>
variables_;
62 std::cerr <<
user <<
" VariableHelper user already defined." << std::endl;
75 std::cerr <<
" none of VariableHelperUniqueInstance_ or SetVariableHelperUniqueInstance_ is valid." << std::endl;
111 std::cerr <<
user <<
" VariableHelper user not defined." << std::endl;
VariableHelper(const edm::ParameterSet &iConfig, edm::ConsumesCollector &iC)
T getParameter(std::string const &) const
bool exists(std::string const ¶meterName) const
checks if a parameter exists
VariableHelper * SetVariableHelperUniqueInstance_
std::string printValuesForEachEventCategory_
ModuleDescription const * moduleDescription() const noexcept
const CachingVariable * variable(std::string name) const
std::string printValues(const edm::Event &event) const
void postProcess(edm::StreamContext const &sc)
bool printValuesForEachEvent_
void preModule(edm::StreamContext const &, edm::ModuleCallingContext const &mcc)
std::map< std::string, const CachingVariable * > variables_
void setHolder(std::string hn)
std::map< std::string, const CachingVariable * >::const_iterator iterator
VariableHelperService(const edm::ParameterSet &iConfig, edm::ActivityRegistry &r)
std::map< std::string, VariableHelper * > multipleInstance_
VariableHelper & init(std::string user, const edm::ParameterSet &iConfig, edm::ConsumesCollector &&iC)