#include <UnscheduledCallProducer.h>
Definition at line 20 of file UnscheduledCallProducer.h.
edm::UnscheduledCallProducer::UnscheduledCallProducer |
( |
| ) |
|
|
inline |
void edm::UnscheduledCallProducer::addWorker |
( |
Worker * |
aWorker | ) |
|
|
inline |
template<typename T , typename U >
void edm::UnscheduledCallProducer::runNow |
( |
typename T::MyPrincipal & |
p, |
|
|
EventSetup const & |
es, |
|
|
StreamID |
streamID, |
|
|
typename T::Context const * |
topContext, |
|
|
U const * |
context |
|
) |
| |
|
inline |
Definition at line 29 of file UnscheduledCallProducer.h.
References cms::Exception::addContext(), edm::InLumi, edm::InRun, labelToWorkers_, and AlCaHLTBitMon_ParallelJobs::p.
38 ParentContext parentContext(context);
39 it->second->doWork<
T>(
p, es, &timer,streamID, parentContext, topContext);
42 std::ostringstream ost;
44 ost <<
"Calling event method";
46 else if (T::begin_ && T::branchType_ ==
InRun) {
47 ost <<
"Calling beginRun";
49 else if (T::begin_ && T::branchType_ ==
InLumi) {
50 ost <<
"Calling beginLuminosityBlock";
52 else if (!T::begin_ && T::branchType_ ==
InLumi) {
53 ost <<
"Calling endLuminosityBlock";
55 else if (!T::begin_ && T::branchType_ ==
InRun) {
56 ost <<
"Calling endRun";
60 ost <<
"Calling unknown function";
62 ost <<
" for unscheduled module " << it->second->description().moduleName()
63 <<
"/'" << it->second->description().moduleLabel() <<
"'";
66 ost <<
"Processing " <<
p.id();
void addContext(std::string const &context)
std::map< std::string, Worker * > labelToWorkers_
Implements edm::UnscheduledHandler.
Definition at line 75 of file UnscheduledCallProducer.h.
References cms::Exception::addContext(), event(), edm::ModuleCallingContext::getStreamContext(), and labelToWorkers_.
79 std::map<std::string, Worker*>::const_iterator itFound =
84 ParentContext parentContext(mcc);
85 itFound->second->doWork<OccurrenceTraits<EventPrincipal, BranchActionStreamBegin> >(
event,
86 eventSetup, &timer,
event.streamID(), parentContext, mcc->getStreamContext());
89 std::ostringstream ost;
90 ost <<
"Calling produce method for unscheduled module "
91 << itFound->second->description().moduleName() <<
"/'"
92 << itFound->second->description().moduleLabel() <<
"'";
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 addContext(std::string const &context)
std::map< std::string, Worker * > labelToWorkers_
std::map<std::string, Worker*> edm::UnscheduledCallProducer::labelToWorkers_ |
|
private |