11 #ifndef _LDFFinderOG_LDFFinder_h_
12 #define _LDFFinderOG_LDFFinder_h_
14 #include <fwk/VModule.h>
15 #include <utl/Point.h>
16 #include <utl/Vector.h>
17 #include <utl/TimeStamp.h>
34 namespace LDFFinderOG {
127 double*
const par,
const int iFlag);
129 double*
const par,
const int iFlag);
135 double*
const par,
const int iFlag);
221 #endif // _LDFFinderOG_LDFFinder_h_
static utl::Vector fgShowerAxis
static bool fgUseSilentStations
static utl::Point fgBarycenter
static double fgNoRecovery
utl::RandomEngine * fRandomEngine
Fit the LDF and the universe.
bool FixGamma(const LDFFitInterface &fi) const
Interface class to access to the SD part of an event.
double ParameterizedRc(const LDFFitInterface &fi) const
double FitCurvatureDriver(CurvatureFitInterface &fi) const
bool EstimateCurvature(CurvatureFitInterface &fi) const
struct LDFFinderOG::LDFFinder::Stage3 fStage3
static const sevt::SEvent * fgCurrentSEvent
double fMaxAxisAngleDifference
bool FixBeta(const LDFFitInterface &fi) const
REGISTER_MODULE("LDFFinderOG", LDFFinder)
static LDFFunctionType fgLDFType
fwk::VModule::ResultFlag Init()
Initialize: invoked at beginning of run (NOT beginning of event)
void EstimateLDFbySeedStations(LDFFitInterface &fi, const utl::Point &core) const
A TimeStamp holds GPS second and nanosecond for some event.
struct LDFFinderOG::LDFFinder::Stage1 fStage1
static double fgSilentMaxRadius
struct LDFFinderOG::LDFFinder::Stage0 fStage0
boost::shared_ptr< const CoordinateTransformer > CoordinateSystemPtr
Shared pointer for coordinate systems.
void EstimateEnergy(LDFFitInterface &fi) const
void EstimateLDF(LDFFitInterface &fi, const utl::Point &core) const
void OutputStations(const LDFFitInterface &fi) const
fwk::VModule::ResultFlag Finish()
Finish: invoked at end of the run (NOT end of the event)
Wraps the random number engine used to generate distributions.
fwk::VModule::ResultFlag Run(evt::Event &event)
Run: invoked once per event.
static double fgNKGFermiMu
static utl::TimeStamp fgBaryTime
bool FitLDF(LDFFitInterface &fi, const int nStations) const
double fSilentRadiusTransition
int fMinNumberForFullCurvatureFit
static utl::CoordinateSystemPtr fgLocalCS
static void CurvatureFitFnc(int &nPar, double *const grad, double &value, double *const par, const int iFlag)
void SetRecData(evt::Event &event, const LDFFitInterface &lfi, const CurvatureFitInterface &cfi) const
ResultFlag
Flag returned by module methods to the RunController.
static double fgSilentSignalThreshold
double EstimateChi2(const LDFFitInterface &fi) const
Estimate Chi2 using Minuit.
static void LDFFitMaxLikeFnc(int &nPar, double *const grad, double &value, double *const par, const int iFlag)
Likelihood function to minimize.
static double fgNKGFermiTau
double fMaxBaryToCoreDistance
EnergyConversion fEnergyConversion
bool FixCore(const evt::Event &event, Point &core, TimeStamp &coreTime, Vector &axis) const
void EstimateS1000(LDFFitInterface &fi) const
First guess of S1000 to give a starting point.
struct LDFFinderOG::LDFFinder::Stage2 fStage2
static void LDFFitChi2Fnc(int &nPar, double *const grad, double &value, double *const par, const int iFlag)
double FitLDFDriver(LDFFitInterface &fi) const
Fit using Minuit.
void OutputResults(const evt::Event &event) const
double EstimateNStationsInFit(const LDFFitInterface &fi) const
static double fgSilentRadiusTransition