4 #include <fwk/VModule.h>
5 #include <revt/Channel.h>
6 #include <revt/REvent.h>
7 #include <utl/Vector.h>
9 #include <utl/TimeStamp.h>
10 #include <utl/CoordinateSystem.h>
11 #include <utl/GeometryUtilities.h>
172 bool reuseFit =
false)
const;
179 bool reuseFit =
false);
198 const std::vector<double>
GetTimeResiduals(
const std::vector<utl::Vector> &AntennaPositions,
199 const std::vector<double> &AntennaTimes,
const utl::Vector& ShowerAxis,
200 const unsigned int waveFrontModel,
const double gamma = 1,
const double rho = 0)
const;
unsigned int fWaveFrontModel
fwk::VModule::ResultFlag CallSphericalWaveFitVarC(revt::REvent &rEvent, FitParameters &sFitResults, bool reuseFit=false)
fwk::VModule::ResultFlag CallConicalWaveFit(revt::REvent &rEvent, FitParameters &sFitResults, bool reuseFit=false)
fwk::VModule::ResultFlag PlaneWaveFit(revt::REvent &rEvent, FitParameters &fit, int type) const
fwk::VModule::ResultFlag Finish()
Finish: invoked at end of the run (NOT end of the event)
Interface class to access to the Radio part of an event.
fwk::VModule::ResultFlag ScanSWFVarC(revt::REvent &rEvent, FitParameters &sFitResults) const
fwk::VModule::ResultFlag SphericalWaveFit(revt::REvent &rEvent, FitParameters &fit, int type) const
bool fAllowUnphysicalCosines
Objective function for the spherical wave fit.
const std::vector< double > GetTimeResiduals(const std::vector< utl::Vector > &AntennaPositions, const std::vector< double > &AntennaTimes, const utl::Vector &ShowerAxis, const unsigned int waveFrontModel, const double gamma=1, const double rho=0) const
fwk::VModule::ResultFlag SphericalWaveFitVarC(revt::REvent &rEvent, FitParameters &fit, int type) const
utl::CoordinateSystemPtr fLocalCS
Chi2ForSphericalWaveFit * ChiSWF
boost::shared_ptr< const CoordinateTransformer > CoordinateSystemPtr
Shared pointer for coordinate systems.
fwk::VModule::ResultFlag ScanSWF(revt::REvent &rEvent, FitParameters &sFitResults) const
fwk::VModule::ResultFlag CallSphericalWaveFit(revt::REvent &rEvent, FitParameters &sFitResults, bool reuseFit=false)
Objective function for the plane wave fit.
Chi2ForConicalWaveFit * ChiCWF
std::string fUsedCorePosition
utl::Point fReferenceCore
fwk::VModule::ResultFlag ScanPWF(revt::REvent &rEvent, FitParameters &sFitResults) const
unsigned int currentWaveFrontModel
fwk::VModule::ResultFlag ConicalWaveFit(revt::REvent &rEvent, FitParameters &fit, int type) const
double fEventTimeNanoSecond
ResultFlag
Flag returned by module methods to the RunController.
Chi2ForSphericalWaveFitVarC * ChiSWFVarC
Chi2ForPlaneWaveFit * ChiPWF
fwk::VModule::ResultFlag ScanCWF(revt::REvent &rEvent, FitParameters &sFitResults) const
bool fSphericalWaveFitVarC
utl::CoordinateSystemPtr Create(utl::Point arg1)
fwk::VModule::ResultFlag CallPlaneWaveFit(revt::REvent &rEvent, FitParameters &sFitResults, bool reuseFit=false) const
std::string fUsedDirection
fwk::VModule::ResultFlag Run(evt::Event &event)
Run: invoked once per event.
REGISTER_MODULE("RdWaveFit", RdWaveFit)
fwk::VModule::ResultFlag ComputeBaryCenter(const revt::REvent &rEvent, utl::Point &baryCenter)
Objective function for the conical wave fit.
Objective function for the spherical wave fit including the speed of light.
fwk::VModule::ResultFlag Init()
Initialize: invoked at beginning of run (NOT beginning of event)