#include <UnscheduledCallProducer.h>
Definition at line 21 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 |
|
) |
| const |
|
inline |
Definition at line 66 of file UnscheduledCallProducer.h.
References cms::Exception::addContext(), edm::InLumi, edm::InRun, AlCaHLTBitMon_ParallelJobs::p, and workerLookup_.
72 ParentContext parentContext(context);
73 worker->doWork<
T>(
p, es, streamID, parentContext, topContext);
76 std::ostringstream ost;
78 ost <<
"Calling event method";
80 else if (T::begin_ && T::branchType_ ==
InRun) {
81 ost <<
"Calling beginRun";
83 else if (T::begin_ && T::branchType_ ==
InLumi) {
84 ost <<
"Calling beginLuminosityBlock";
86 else if (!T::begin_ && T::branchType_ ==
InLumi) {
87 ost <<
"Calling endLuminosityBlock";
89 else if (!T::begin_ && T::branchType_ ==
InRun) {
90 ost <<
"Calling endRun";
94 ost <<
"Calling unknown function";
96 ost <<
" for unscheduled module " << worker->description().moduleName()
97 <<
"/'" << worker->description().moduleLabel() <<
"'";
100 ost <<
"Processing " <<
p.id();
void addContext(std::string const &context)
WorkerLookup workerLookup_
|
inlineoverrideprivatevirtual |
Implements edm::UnscheduledHandler.
Definition at line 109 of file UnscheduledCallProducer.h.
References cms::Exception::addContext(), event(), edm::UnscheduledCallProducer::WorkerLookup::find(), edm::ModuleCallingContext::getStreamContext(), and workerLookup_.
115 if(worker !=
nullptr) {
117 ParentContext parentContext(mcc);
118 worker->doWork<OccurrenceTraits<EventPrincipal, BranchActionStreamBegin> >(
event,
119 eventSetup,
event.streamID(), parentContext, mcc->getStreamContext());
122 std::ostringstream ost;
123 ost <<
"Calling produce method for unscheduled module "
124 << worker->description().moduleName() <<
"/'"
125 << worker->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)
Worker * find(std::string const &iLabel) const
WorkerLookup workerLookup_