//////////////////////////////////////////////////////////////////////// /// \class RAT::Classifiers::AlphaClassifierUnseeded /// /// \brief Classifies pre-reconstruction events as either Alpha or Electron /// /// \author name Krish Majumdar /// based on NearAVClassifier by Phil G Jones /// /// REVISION HISTORY:\n /// 07/05/2012 : Krish Majumdar - New file \n /// /// \details Looks at the distribution of PMT Trigger Times, as a longer tail on /// this distribution indicates an alpha. Will return the ratio of PMT /// hits in the tail to the total number of PMT hits in the event. /// //////////////////////////////////////////////////////////////////////// #ifndef __RAT_Classifiers_AlphaClassifierUnseeded_ #define __RAT_Classifiers_AlphaClassifierUnseeded_ #include #include #include #include namespace RAT { namespace DS { class Entry; class EV; } namespace Classifiers { class AlphaClassifierUnseeded : public Classifier { public: AlphaClassifierUnseeded() {}; virtual std::string GetName() const { return AlphaClassifierUnseeded::Name(); } static std::string Name() { return std::string("UnseededAlpha"); } void Initialise(const std::string&) {} void BeginOfRun(DS::Run& run); void EndOfRun(DS::Run& run) { } virtual DS::ClassifierResult GetClassification(); private: double fTailFraction; ///< Fraction of the PMT Trigger Time distribution that is denoted as the "tail" double fpmtMin; double fpmtMax; }; } //::Classifier } //::RAT #endif