Public Member Functions

BCHistogramFitterToyDataInterface Class Reference

#include <BCHistogramFitter.h>

List of all members.

Public Member Functions

virtual void operator() (const std::vector< double > &expectation, const std::vector< int > &toyData)=0
virtual ~BCHistogramFitterToyDataInterface ()

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 272 of file BCHistogramFitter.h.


Constructor & Destructor Documentation

virtual BCHistogramFitterToyDataInterface::~BCHistogramFitterToyDataInterface (  )  [inline, virtual]

pure abstract

Definition at line 284 of file BCHistogramFitter.h.

{}


Member Function Documentation

virtual void BCHistogramFitterToyDataInterface::operator() ( const std::vector< double > &  expectation,
const std::vector< int > &  toyData 
) [pure virtual]

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

Parameters:
expectation the expected number of events for the parameter values chosen in the call to CalculatePValueFast
toyData one toy data set

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