/////////////////////////////////////////////////////////////////////// // // Simple time fitting method // // Author: Phil G Jones // Author: Matthew Mottram -- contact person // // REVISION HISTORY: // 01/08/2013 : P G Jones - New file // // Reconstructs the time // /////////////////////////////////////////////////////////////////////// #ifndef __RAT_Method_SimpleTime_ #define __RAT_Method_SimpleTime_ #include #include #include #include namespace RAT { namespace Methods { class SimpleTime : public SeededMethod { public: virtual std::string GetName() const { return SimpleTime::Name(); } static std::string Name() { return std::string( "simpleTime" ); } void Initialise( const std::string& param ); virtual void SetI( const std::string& param, int value); void BeginOfRun( DS::Run& ); void EndOfRun( DS::Run& ) { } void DefaultSeed(); virtual DS::FitResult GetBestFit(); private: bool fGroup; // Use group or effective [defaut] velocity for light path calculations? std::string fAverage; int fBinning; DU::LightPathCalculator fLightPath; // Light path calculator for a given run }; } //::Method } //::RAT #endif