EventSelector.h
Go to the documentation of this file.
1 #ifndef _EventSelector_h
2 #define _EventSelector_h
3 
4 #include <fwk/VModule.h>
5 #include <vector>
6 #include <string>
7 #include <set>
8 
9 namespace EventSelector {
10 
22  class EventSelector : public fwk::VModule {
23 
24  public:
25  EventSelector();
26  virtual ~EventSelector();
27 
31 
32  protected:
33  bool idSelected(std::string id);
34  std::vector<std::string> fSelectIds;
35 
36  REGISTER_MODULE("EventSelector", EventSelector);
37  };
38 }
39 #endif
REGISTER_MODULE("EventSelector", EventSelector)
fwk::VModule::ResultFlag Init()
Initialize: invoked at beginning of run (NOT beginning of event)
Module interface.
Definition: VModule.h:53
fwk::VModule::ResultFlag Finish()
Finish: invoked at end of the run (NOT end of the event)
ResultFlag
Flag returned by module methods to the RunController.
Definition: VModule.h:60
fwk::VModule::ResultFlag Run(evt::Event &event)
Run: invoked once per event.
preselection of events Inspired by the respective Fd/Sd/Rd modules but more general. So far only selection by event Id.
std::vector< std::string > fSelectIds
Definition: EventSelector.h:34
bool idSelected(std::string id)

, generated on Tue Sep 26 2023.