BCEfficiencyFitter::ToyDataInterface Class Referenceabstract

Abstract class which doesn't do anything but offers the right interface to allow calculation the distribution of any statistic. More...

#include <BCEfficiencyFitter.h>

Public Member Functions

virtual void operator() (const std::vector< double > &expectation, const std::vector< unsigned > &toyData)=0
 operator() is called for each generated toy data set of the fast p-value calculation. More...
 
virtual ~ToyDataInterface ()
 pure abstract
 

Detailed Description

Abstract class which doesn't do anything but offers the right interface to allow calculation the distribution of any statistic.

User has to create a subclass and implement the operator().

Definition at line 59 of file BCEfficiencyFitter.h.

Member Function Documentation

virtual void BCEfficiencyFitter::ToyDataInterface::operator() ( const std::vector< double > &  expectation,
const std::vector< unsigned > &  toyData 
)
pure virtual

operator() is called for each generated toy data set of the fast p-value calculation.

Parameters
expectationthe expected number of events for the parameter values chosen in the call to CalculatePValueFast
toyDataone toy data set

The documentation for this class was generated from the following file: