Changeset 2922 in Sophya for trunk/SophyaPI/PIext/basexecut.cc


Ignore:
Timestamp:
Mar 27, 2006, 6:57:19 PM (20 years ago)
Author:
ansari
Message:

Ajout commande expmeansig pour TD/TP SurvEnv - Reza 27/3/2006

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PIext/basexecut.cc

    r2792 r2922  
    785785    }
    786786  srvo->PrepareNTExpressionCFile(tokens[0],tokens[1], tokens[2]);
     787  }
     788
     789else if (kw == "expmeansig" ) {
     790  if (tokens.size() < 2) {
     791    cout << "Usage: expmeansig nameobj expx [expcut loop_par]" << endl;
     792    return(0);
     793    }
     794  while (tokens.size() < 4) tokens.push_back("");
     795  string dummy = "";
     796  cout << " expmeansig: computing mean/sigma + min/max for " << tokens[0]
     797       << "." << tokens[1] << endl;
     798  srvo->ExpressionToVector(tokens[0],tokens[1],tokens[2],dummy,dummy,tokens[3]);
    787799  }
    788800
     
    12101222mpiac->RegisterCommand(kw, usage, this, "Expr. Plotting");
    12111223
     1224kw = "expmeansig";
     1225usage = "Computes Mean/Sigma (+Min/Max) for an expression X=f(Object)";
     1226usage += "\n Usage: expmeansig nameobj f_X() [Cut() loop_param]";
     1227usage += "\n  Related commands: exptovec ntloop fillnt ObjectExpressions ...";
     1228mpiac->RegisterCommand(kw, usage, this, "Expr. Plotting");
     1229
    12121230kw = "exptovec";
    12131231usage = "Creates and Fills a Vector with X=f(Object)";
     
    12151233usage += "\n  Related commands: ntloop fillnt ObjectExpressions ...";
    12161234mpiac->RegisterCommand(kw, usage, this, "Expr. Plotting");
     1235
    12171236kw = "fillgd1";
    12181237usage = "Creates and Fills a GeneralFitData with (X=f(Object), Y=g(...), ErrY=h(...))";
Note: See TracChangeset for help on using the changeset viewer.