1 #ifndef ConfigurableAnalysis_VariableHelper_H
2 #define ConfigurableAnalysis_VariableHelper_H
18 typedef std::map<std::string,const CachingVariable*>::const_iterator
iterator;
58 std::cerr<<user<<
" VariableHelper user already defined."<<std::endl;
71 std::cerr<<
" none of VariableHelperUniqueInstance_ or SetVariableHelperUniqueInstance_ is valid."<<std::endl;
94 <<f->second->printValues(event);
101 std::cerr<<user<<
" VariableHelper user not defined."<<std::endl;
T getParameter(std::string const &) const
VariableHelper(const edm::ParameterSet &iConfig, edm::ConsumesCollector &iC)
VariableHelper & set(std::string user)
const CachingVariable * variable(std::string name) const
std::map< std::string, VariableHelper * > multipleInstance_
bool exists(std::string const ¶meterName) const
checks if a parameter exists
VariableHelper * SetVariableHelperUniqueInstance_
std::string printValuesForEachEventCategory_
std::map< std::string, const CachingVariable * > variables_
std::string const & moduleLabel() const
void watchPreModule(PreModule::slot_type const &iSlot)
void preModule(const edm::ModuleDescription &desc)
void postProcess(const edm::Event &event, const edm::EventSetup &setup)
void watchPostProcessEvent(PostProcessEvent::slot_type const &iSlot)
bool printValuesForEachEvent_
std::string printValues(const edm::Event &event) const
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
void setHolder(std::string hn)
VariableHelperService(const edm::ParameterSet &iConfig, edm::ActivityRegistry &r)
VariableHelper & init(std::string user, const edm::ParameterSet &iConfig, edm::ConsumesCollector &&iC)
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
std::map< std::string, const CachingVariable * >::const_iterator iterator