CMS 3D CMS Logo

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 mps_fire::i, and name.

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)
35  cout << ",";
36  cout << " \"" << stringArgs[i] << "\"";
37  }
38  }
39  if (doubleArgs.size() > 0) {
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

Member Data Documentation

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

Definition at line 29 of file RootMinuitCommands.h.

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

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