CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
GenerateOnly Class Reference

#include <GenerateOnly.h>

Inheritance diagram for GenerateOnly:
LimitAlgo

Public Member Functions

virtual void applyOptions (const boost::program_options::variables_map &vm)
 
 GenerateOnly ()
 
virtual const std::string & name () const
 
virtual bool run (RooWorkspace *w, RooStats::ModelConfig *mc_s, RooStats::ModelConfig *mc_b, RooAbsData &data, double &limit, double &limitErr, const double *hint)
 
- Public Member Functions inherited from LimitAlgo
virtual void applyDefaultOptions ()
 
 LimitAlgo ()
 
 LimitAlgo (const char *desc)
 
const
boost::program_options::options_description & 
options () const
 
virtual void setNToys (const int)
 
virtual void setToyNumber (const int)
 
virtual ~LimitAlgo ()
 

Additional Inherited Members

- Protected Attributes inherited from LimitAlgo
boost::program_options::options_description options_
 

Detailed Description

Class for generation of toy samples without any actual limit computation

Author
Luca Lista (INFN)

Definition at line 15 of file GenerateOnly.h.

Constructor & Destructor Documentation

GenerateOnly::GenerateOnly ( )

Definition at line 6 of file GenerateOnly.cc.

6  :
7  LimitAlgo("GenerateOnly specific options: none") {
8 }
LimitAlgo()
Definition: LimitAlgo.h:19

Member Function Documentation

void GenerateOnly::applyOptions ( const boost::program_options::variables_map &  vm)
virtual

Reimplemented from LimitAlgo.

Definition at line 10 of file GenerateOnly.cc.

10  {
11 }
virtual const std::string& GenerateOnly::name ( void  ) const
inlinevirtual

Implements LimitAlgo.

Definition at line 19 of file GenerateOnly.h.

19  {
20  static const std::string name("GenerateOnly");
21  return name;
22  }
virtual const std::string & name() const
Definition: GenerateOnly.h:19
bool GenerateOnly::run ( RooWorkspace *  w,
RooStats::ModelConfig *  mc_s,
RooStats::ModelConfig *  mc_b,
RooAbsData &  data,
double &  limit,
double &  limitErr,
const double *  hint 
)
virtual

Implements LimitAlgo.

Definition at line 13 of file GenerateOnly.cc.

References gather_cfg::cout.

13  {
14  if (verbose > 0) {
15  std::cout << "generate toy samples only; no limit computation " << std::endl;
16  }
17  return true;
18 }
tuple cout
Definition: gather_cfg.py:121