This class provides an example for reading with a ISelectorTool to veto events on AttributeList.
More...
#include <EvenEventsSelectorTool.h>
This class provides an example for reading with a ISelectorTool to veto events on AttributeList.
Definition at line 20 of file EvenEventsSelectorTool.h.
◆ ~EvenEventsSelectorTool()
EvenEventsSelectorTool::~EvenEventsSelectorTool |
( |
| ) |
|
|
virtual |
◆ postInitialize()
virtual StatusCode EvenEventsSelectorTool::postInitialize |
( |
| ) |
|
|
inlineoverridevirtual |
◆ postNext()
StatusCode EvenEventsSelectorTool::postNext |
( |
| ) |
const |
|
overridevirtual |
Definition at line 17 of file EvenEventsSelectorTool.cxx.
22 StatusCode sc = evtStore()->retrieve(attrList,
"EventInfoAtts");
26 coral::AttributeList::const_iterator
it = attrList->begin();
27 while (
it != attrList->end()) {
29 std::ostringstream
value;
35 if ((*attrList)[
"EventNumber"].data<unsigned long long>()%2!=0) {
36 retc = StatusCode::RECOVERABLE;
◆ preFinalize()
virtual StatusCode EvenEventsSelectorTool::preFinalize |
( |
| ) |
|
|
inlineoverridevirtual |
◆ preNext()
virtual StatusCode EvenEventsSelectorTool::preNext |
( |
| ) |
const |
|
inlineoverridevirtual |
The documentation for this class was generated from the following files: