////////////////////////////////////////////////////////////////////////
/// \class RAT::PDFs::RadialPDF
///
/// \brief Radial binned PDF using the ET1D
///
/// \author Phil G Jones
/// \author Matt Mottram < m.mottram@qmul.ac.uk> -- contact person
///
/// REVISION HISTORY:\n
/// 15/07/2011 : P G Jones - New file \n
///
/// \details Uses many ET1Ds for a radially binned PDF
///
////////////////////////////////////////////////////////////////////////
#ifndef __RAT_PDF_RadialPDF__
#define __RAT_PDF_RadialPDF__
#include
#include
#include
namespace RAT
{
class FitterPMT;
namespace DS
{
class FitVertex;
}
namespace PDFs
{
class ET1D;
class RadialPDF : public PDF
{
public:
virtual ~RadialPDF();
virtual double
GetProbability( const FitterPMT& pmt,
const DS::FitVertex& vertex );
virtual std::string GetName() const { return Name(); }
static std::string Name() { return std::string( "radialPDF" ); }
/// Initialise the scintTiming PDF
void Initialise( const std::string& param );
void BeginOfRun( DS::Run& run );
void EndOfRun( DS::Run& run );
protected:
std::vector fPDFs;
std::vector fRadialCentre;
std::string fIndex; ///< Optional database index
};
} //::PDFs
} //::RAT
#endif