CMS 3D CMS Logo

Public Member Functions | Public Attributes

fit::RootMinuitCommand Struct Reference

#include <RootMinuitCommands.h>

List of all members.

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

                                       {
      cout << name;
      if(stringArgs.size() > 0) {
        for(size_t i = 0; i != stringArgs.size(); ++i) {
          if(i != 0) cout << ",";
          cout << " \"" << stringArgs[i] << "\"";
        }
      }
      if(doubleArgs.size() > 0) {
        for(size_t i = 0; i != doubleArgs.size(); ++i) {
          if(i != 0) cout << ",";
          cout << " " << doubleArgs[i];
        }
      }
    }

Member Data Documentation

Definition at line 29 of file RootMinuitCommands.h.

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

Definition at line 27 of file RootMinuitCommands.h.

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

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

Definition at line 28 of file RootMinuitCommands.h.

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