3 #include "boost/bind.hpp"
26 std::vector<std::string>
paths;
35 std::vector<std::string>
const& triggernames,
40 std::map<std::string, std::vector<std::string> > paths_for_process;
41 for (std::vector<parsed_path_spec_t>::const_iterator
42 i = path_specs.begin(),
48 if (
i->second ==
"") {
52 paths_for_process[
i->second].push_back(
i->first);
57 for (
std::map<std::string, std::vector<std::string> >::const_iterator
58 i = paths_for_process.begin(),
59 e = paths_for_process.end();
65 if (
i->first == process_name) {
102 bool match_found =
false;
103 while (!match_found && (i!=e))
105 match_found = i->match();
119 <<
"CachedProducts::returnOneHandleOrThrow: "
120 <<
" too few products found, "
121 <<
"exepcted one, got zero\n";
128 <<
"CachedProducts::returnOneHandleOrThrow: "
129 <<
"too many products found, "
handle_t returnOneHandleOrThrow()
handle_t getOneTriggerResults(Event const &e)
detail::NamedEventSelector NES
Func for_all(ForwardSequence &s, Func f)
wrapper for std::for_each
selectors_t::size_type size_type
size_type fill(Event const &ev)
void setup(std::vector< parsed_path_spec_t > const &path_specs, std::vector< std::string > const &triggernames, const std::string &process_name)
selectors_t::iterator iter
void setupDefault(std::vector< std::string > const &triggernames)
bool wantEvent(Event const &e)