RdClusterFinder.h
Go to the documentation of this file.
1 #ifndef _RdClusterFinder_RdClusterFinder_h_
2 #define _RdClusterFinder_RdClusterFinder_h_
3 
4 #include <fwk/VModule.h>
5 #include <revt/Station.h>
6 
7 
8 namespace RdClusterFinder {
9 
19  class RdClusterFinder : public fwk::VModule {
20 
21 
22  public:
23  fwk::VModule::ResultFlag Init() override;
24  fwk::VModule::ResultFlag Run(evt::Event& event) override;
26 
27  private:
28  bool fRejectLonelyStations = false;
29  unsigned int fIgnoreRejectedStations = 0;
31 
33 
38 
39  bool UseStation(const revt::Station& station);
40  bool CheckRejection(const revt::Station& station);
41 
42  REGISTER_MODULE("RdClusterFinder", RdClusterFinder);
43  };
44 
45 }
46 
47 
48 #endif
fwk::VModule::ResultFlag Run(evt::Event &event) override
Run: invoked once per event.
fwk::VModule::ResultFlag Init() override
Initialize: invoked at beginning of run (NOT beginning of event)
REGISTER_MODULE("RdClusterFinder", RdClusterFinder)
class to hold data at the radio Station level.
This module selects a cluster of stations associated with Sd shower.
Module interface.
Definition: VModule.h:53
fwk::VModule::ResultFlag Finish() override
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
bool UseStation(const revt::Station &station)
bool CheckRejection(const revt::Station &station)

, generated on Tue Sep 26 2023.