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

◆ print()

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

Definition at line 30 of file RootMinuitCommands.h.

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  }

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

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

Member Data Documentation

◆ doubleArgs

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

Definition at line 29 of file RootMinuitCommands.h.

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

◆ name

std::string fit::RootMinuitCommand::name

◆ stringArgs

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

Definition at line 28 of file RootMinuitCommands.h.

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

mps_fire.i
i
Definition: mps_fire.py:428
fit::RootMinuitCommand::doubleArgs
std::vector< double > doubleArgs
Definition: RootMinuitCommands.h:29
gather_cfg.cout
cout
Definition: gather_cfg.py:144
fit::RootMinuitCommand::name
std::string name
Definition: RootMinuitCommands.h:27
fit::RootMinuitCommand::stringArgs
std::vector< std::string > stringArgs
Definition: RootMinuitCommands.h:28