CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
fit::RootMinuitCommand Struct Reference

#include <RootMinuitCommands.h>

Public Member Functions

void print (std::ostream &cout) const
 

Public Attributes

std::vector< double > doubleArgs
 
std::string name
 
std::vector< std::string > stringArgs
 

Detailed Description

Definition at line 26 of file RootMinuitCommands.h.

Member Function Documentation

void fit::RootMinuitCommand::print ( std::ostream &  cout) const
inline

Definition at line 30 of file RootMinuitCommands.h.

References doubleArgs, mps_fire::i, name, and stringArgs.

Referenced by fit::RootMinuitCommands< Function >::init().

30  {
31  cout << name;
32  if (!stringArgs.empty()) {
33  for (size_t i = 0; i != stringArgs.size(); ++i) {
34  if (i != 0)
35  cout << ",";
36  cout << " \"" << stringArgs[i] << "\"";
37  }
38  }
39  if (!doubleArgs.empty()) {
40  for (size_t i = 0; i != doubleArgs.size(); ++i) {
41  if (i != 0)
42  cout << ",";
43  cout << " " << doubleArgs[i];
44  }
45  }
46  }
std::vector< std::string > stringArgs
std::vector< double > doubleArgs
tuple cout
Definition: gather_cfg.py:144

Member Data Documentation

std::vector<double> fit::RootMinuitCommand::doubleArgs

Definition at line 29 of file RootMinuitCommands.h.

Referenced by fit::RootMinuitCommands< Function >::init(), and print().

std::string fit::RootMinuitCommand::name
std::vector<std::string> fit::RootMinuitCommand::stringArgs

Definition at line 28 of file RootMinuitCommands.h.

Referenced by fit::RootMinuitCommands< Function >::init(), and print().