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.
17 {
20 const AthenaAttributeList* attrList{nullptr};
22 StatusCode sc = evtStore()->retrieve(attrList,
"EventInfoAtts");
25
26 coral::AttributeList::const_iterator
it = attrList->begin();
27 while (it != attrList->end()) {
28
29 std::ostringstream
value;
30 it->toOutputStream(value);
33 }
34
36 retc = StatusCode::RECOVERABLE;
38 }
39 }
40 else {
42 }
43 return retc;
44}
char data[hepevt_bytes_allocation_ATLAS]
::StatusCode StatusCode
StatusCode definition for legacy code.
std::ostream & dump(std::ostream &out, const I4MomIter iBeg, const I4MomIter iEnd)
Helper to stream out a range of I4Momentum objects.
◆ preFinalize()
| virtual StatusCode EvenEventsSelectorTool::preFinalize |
( |
| ) |
|
|
inlineoverridevirtual |
◆ preNext()
| virtual StatusCode EvenEventsSelectorTool::preNext |
( |
| ) |
const |
|
inlineoverridevirtual |
The documentation for this class was generated from the following files: