//////////////////////////////////////////////////////////////////////////////////// /// \class RAT::Classifiers::MuonClassifier /// /// \brief Classifier to separate water-only- from muons passing through scintillator /// /// \author name: Arnd Soerensen /// /// REVISION HISTORY:\n /// 23/10/2013 : A Soerensen - New file \n /// /// \details At the moment very simple check of NHits and charge to decide whether /// the muon went only through the water shell inside the PSUP (charge below threshold /// and Nhits below 9000) or was passing through the scintillator. Very different fitting /// routines are called accordingly. /// //////////////////////////////////////////////////////////////////////////////////// #ifndef __RAT_Classifiers_MuonClassifier_ #define __RAT_Classifiers_MuonClassifier_ #include #include #include namespace RAT { namespace DS { class Root; class EV; } namespace Classifiers { class MuonClassifier : public Classifier { public: MuonClassifier() {}; virtual std::string GetName() const {return MuonClassifier::Name();} static std::string Name() {return std::string("muon");} void Initialise(const std::string&) { } void BeginOfRun( DS::Run& ) { } void EndOfRun( DS::Run& ) { } /// Classification into water-only muons and muons flying through the scintillator /// /// @return boolean "medium" variable if medium = false --> water muon *** medium = true --> scint muon virtual DS::ClassifierResult GetClassification(); }; } // End of namespace Classifiers } // End of namespace RAT #endif