#include <FindDuplicateEvents.hpp>
Inheritance diagram for caf_util::FindDuplicateEvents:

Public Types | |
| typedef std::pair< int, int > | Key |
| typedef std::set< Key > | KeySet |
| typedef KeySet::const_iterator | KeyIter |
Public Member Functions | |
| ClassDef (FindDuplicateEvents, 0) | |
| FindDuplicateEvents (const char *name) | |
| ~FindDuplicateEvents () | |
| bool | processEvent (cafe::Event &event) |
| Called for every event. | |
| void | finish () |
| Called at end of processing. | |
Private Attributes | |
| int | _nscreams |
| int | _ndups |
| bool | _ignoreMC |
| KeySet | _keys |
| cafe::Variables | _vars |
Static Private Attributes | |
| const TString | _line |
Usage: add this processor to the controller Run processor, e.g.
cafe.Run ... FindDuplicateEvents(processor_name) ...
You can change default behavior via configuration file.
Optional parameters:
Note: The first occurence of a duplicate event is not reported as it is inefficient to remember such details.
Definition at line 28 of file FindDuplicateEvents.hpp.
|
|
Definition at line 39 of file FindDuplicateEvents.hpp. Referenced by processEvent(). |
|
|
Definition at line 41 of file FindDuplicateEvents.hpp. Referenced by processEvent(). |
|
|
Definition at line 40 of file FindDuplicateEvents.hpp. |
|
|
Definition at line 9 of file FindDuplicateEvents.cpp. References _ignoreMC, _ndups, _nscreams, cafe::Config::get(), and cafe::Processor::name(). |
|
|
Definition at line 35 of file FindDuplicateEvents.hpp. |
|
||||||||||||
|
|
|
|
Called at end of processing.
Reimplemented from cafe::Processor. Definition at line 62 of file FindDuplicateEvents.cpp. References _line, _ndups, _nscreams, cafe::Processor::name(), and cafe::Processor::out(). |
|
|
Called for every event.
Reimplemented from cafe::Processor. Definition at line 20 of file FindDuplicateEvents.cpp. References _ignoreMC, _keys, _line, _ndups, _nscreams, _vars, cafe::Processor::debug(), cafe::Processor::err(), TMBGlobal::evtno(), cafe::Event::getGlobal(), cafe::Event::getMCEventInfo(), Key, KeyIter, cafe::Processor::name(), TMBMCevtInfo::nchunks(), cafe::Processor::out(), and TMBGlobal::runno(). |
|
|
Definition at line 46 of file FindDuplicateEvents.hpp. Referenced by FindDuplicateEvents(), and processEvent(). |
|
|
Definition at line 47 of file FindDuplicateEvents.hpp. Referenced by processEvent(). |
|
|
Referenced by finish(), and processEvent(). |
|
|
Definition at line 45 of file FindDuplicateEvents.hpp. Referenced by FindDuplicateEvents(), finish(), and processEvent(). |
|
|
Definition at line 45 of file FindDuplicateEvents.hpp. Referenced by FindDuplicateEvents(), finish(), and processEvent(). |
|
|
Definition at line 50 of file FindDuplicateEvents.hpp. Referenced by processEvent(). |
1.3.4