1 #ifndef _RdPreWaveFitter_RdPreWaveFitter_h_
2 #define _RdPreWaveFitter_RdPreWaveFitter_h_
5 #include <fwk/VModule.h>
7 #include <revt/REvent.h>
10 #include <utl/CoordinateSystem.h>
86 bool reuseFit =
false)
const;
utl::Point fCoordinateOrigin
bool fcontinueAfterFailedFit
fwk::VModule::ResultFlag Finish() override
Finish: invoked at end of the run (NOT end of the event)
Interface class to access to the Radio part of an event.
boost::shared_ptr< const CoordinateTransformer > CoordinateSystemPtr
Shared pointer for coordinate systems.
fwk::VModule::ResultFlag ComputeSignalPosition(revt::REvent &rEvent, bool hilbert=false)
fwk::VModule::ResultFlag ComputeRMS(revt::REvent &rEvent)
fwk::VModule::ResultFlag PlaneWaveFit(const revt::REvent &rEvent, FitParameters &fit, int type) const
ResultFlag
Flag returned by module methods to the RunController.
fwk::VModule::ResultFlag Run(evt::Event &event) override
Run: invoked once per event.
Chi2ForPlaneWaveFit * ChiPWF
fwk::VModule::ResultFlag ComputeBaryCenter(const revt::REvent &rEvent, utl::Point &baryCenter)
fwk::VModule::ResultFlag Init() override
Initialize: invoked at beginning of run (NOT beginning of event)
fwk::VModule::ResultFlag ScanPWF(const revt::REvent &rEvent, FitParameters &sFitResults) const
REGISTER_MODULE("RdPreWaveFitter", RdPreWaveFitter)
fwk::VModule::ResultFlag CallPlaneWaveFit(const revt::REvent &rEvent, FitParameters &sFitResults, bool reuseFit=false) const
utl::CoordinateSystemPtr fLocalCS