1 #ifndef PhysicsTools_RooStatsCms_BinomialInterval_h 2 #define PhysicsTools_RooStatsCms_BinomialInterval_h 11 #if (defined (STANDALONE) or defined (__CINT__) ) 19 #
if (defined (STANDALONE)
or defined (__CINT__) )
42 virtual const char*
name()
const = 0;
60 void scan_rho(
const int ntot,
const int nrho,
double* rho,
double*
prob);
65 void scan_ntot(
const double rho,
const int ntot_min,
const int ntot_max,
double* ntot,
double* prob);
70 virtual bool neyman(
const int ntot,
const int nrho,
double* rho,
double* x_l,
double* x_r) {
return false; }
75 void dump(
const int trials_min,
const int trials_max);
93 void set(
double l,
double u) { lower_ =
l; upper_ = u; }
95 #if (defined (STANDALONE) or defined (__CINT__) )
virtual const char * name() const =0
virtual bool neyman(const int ntot, const int nrho, double *rho, double *x_l, double *x_r)
virtual void calculate(const double successes, const double trials)=0
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
void init(const double alpha, const tail_type t=equal_tailed)
void scan_rho(const int ntot, const int nrho, double *rho, double *prob)
virtual ~BinomialInterval()=default
double coverage_prob(const double rho, const int trials)
bool contains(double rho)
void scan_ntot(const double rho, const int ntot_min, const int ntot_max, double *ntot, double *prob)
void dump(const int trials_min, const int trials_max)