CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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, i, name, and stringArgs.

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

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

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().