////////////////////////////////////////////////////////////////////////
/// \class RAT::Classifiers::PDFClassifier
///
/// \brief All classifiers that use PDFs derive from this
///
/// \author Phil G Jones
\n
/// \author Evelina Arushanova -- contact person \n
/// \author Matt Mottram < m.mottram@qmul.ac.uk> -- contact person
///
/// REVISION HISTORY:\n
/// 2013-10-26 : P G Jones - New file \n
///
/// \details Adds extra PDF functionality.
///
////////////////////////////////////////////////////////////////////////
#ifndef __RAT_Classifier_PDFClassifier_
#define __RAT_Classifier_PDFClassifier_
#include
namespace RAT
{
namespace PDFs
{
class PDF;
}
namespace Classifiers
{
//Note virtual inheritance.
class PDFClassifier : public virtual Classifier
{
public:
/// Constructor
PDFClassifier() : fPDF(NULL) {}
/// Empty virtual destructor
virtual ~PDFClassifier() {}
/// Set the classifiers PDF
void SetPDF( PDFs::PDF* pdf ) { fPDF = pdf; }
protected:
PDFs::PDF* fPDF; ///< Internal PDF
};
} //::Classifier
} //::RAT
#endif