//////////////////////////////////////////////////////////////////////// /// \class RAT::Classifiers::MeanTime /// /// \brief Calculates the mean pos corrected time of hits /// /// \author name Phil G Jones /// \author Evelina Arushanova -- contact person /// /// REVISION HISTORY:\n /// 26/06/2011 : P G Jones - New file \n /// /// \details As brief... /// //////////////////////////////////////////////////////////////////////// #ifndef __RAT_Classifiers_MeanTime_ #define __RAT_Classifiers_MeanTime_ #include #include #include namespace RAT { namespace DS { class FitResult; } namespace Classifiers { class MeanTime : public SeededClassifier { public: virtual std::string GetName() const { return MeanTime::Name(); } static std::string Name() { return std::string( "meanTime" ); } void Initialise( const std::string& ) { } void BeginOfRun( DS::Run& ); void EndOfRun( DS::Run& ) { } virtual DS::ClassifierResult GetClassification(); /// Set the seed to the default void DefaultSeed(); /// Set the seed from seed void SetSeed( const DS::FitResult& seed ); private: TVector3 fEventPos; double fEventTime; DU::LightPathCalculator fLightPath; ///< Light path calculator for a given run }; } //::Classifier } //::RAT #endif