1 #ifndef FWCore_Framework_UnscheduledCallProducer_h
2 #define FWCore_Framework_UnscheduledCallProducer_h
33 it->second->doWork<
T>(
p, es,
nullptr, &timer);
36 std::ostringstream ost;
38 ost <<
"Calling event method";
40 else if (T::begin_ && T::branchType_ ==
InRun) {
41 ost <<
"Calling beginRun";
43 else if (T::begin_ && T::branchType_ ==
InLumi) {
44 ost <<
"Calling beginLuminosityBlock";
46 else if (!T::begin_ && T::branchType_ ==
InLumi) {
47 ost <<
"Calling endLuminosityBlock";
49 else if (!T::begin_ && T::branchType_ ==
InRun) {
50 ost <<
"Calling endRun";
54 ost <<
"Calling unknown function";
56 ost <<
" for unscheduled module " << it->second->description().moduleName()
57 <<
"/'" << it->second->description().moduleLabel() <<
"'";
60 ost <<
"Processing " << p.id();
73 std::map<std::string, Worker*>::const_iterator itFound =
81 std::ostringstream ost;
82 ost <<
"Calling produce method for unscheduled module "
83 << itFound->second->description().moduleName() <<
"/'"
84 << itFound->second->description().moduleLabel() <<
"'";
ModuleDescription const & description() const
std::string const & moduleLabel() const
void addWorker(Worker *aWorker)
void runNow(typename T::MyPrincipal &p, EventSetup const &es)
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
virtual bool tryToFillImpl(std::string const &moduleLabel, EventPrincipal &event, EventSetup const &eventSetup, CurrentProcessingContext const *iContext)
UnscheduledCallProducer()
void addContext(std::string const &context)
std::map< std::string, Worker * > labelToWorkers_