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


Ignore:
Timestamp:
Jun 26, 2001, 7:38:30 PM (24 years ago)
Author:
cmv
Message:

Update Help ObjectExpression + warning g++ cmv 26/6/01

File:
1 edited

Legend:

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

    r1525 r1548  
    103103  bool fgsr = true;
    104104  string txt = tokens[3];
    105   for(int k=4; k<tokens.size(); k++) txt += (' ' + tokens[k]);
    106   int opt = mObjMgr->GetServiceObj()->DecodeDispOption(tokens[2], fgsr);
     105  for(int k=4; k<(int)tokens.size(); k++) txt += (' ' + tokens[k]);
     106  //int opt = mObjMgr->GetServiceObj()->DecodeDispOption(tokens[2], fgsr);
    107107  mImgApp->AddText(txt, xp, yp);
    108108  if (fgsr) mImgApp->RestoreGraphicAtt();
     
    111111  if (tokens.size() < 2) { cout << "Usage: addtitle fontatt titleup " << endl;  return(0); }
    112112  bool fgsr = true;
    113   int opt = mObjMgr->GetServiceObj()->DecodeDispOption(tokens[0], fgsr);
     113  //int opt = mObjMgr->GetServiceObj()->DecodeDispOption(tokens[0], fgsr);
    114114  string txt = tokens[1];
    115   for(int k=2; k<tokens.size(); k++) txt += (' ' + tokens[k]);
     115  for(int k=2; k<(int)tokens.size(); k++) txt += (' ' + tokens[k]);
    116116  string td = "";
    117117  mImgApp->SetTitle(txt, td);
     
    305305    }
    306306  } else if( islower(c[0]) || isupper(c[0]) ) {
    307     for(int i=1;i<tokens.size();i++) {
     307    for(int i=1;i<(int)tokens.size();i++) {
    308308      varname.push_back(tokens[i].c_str());
    309309      nvar++;
     
    986986usage = "Any mathematical expression (math.h) with object variables can be used";
    987987usage += "\n  ------ Object Variable names (double) -------- ";
    988 usage += "\nNTuple varnames - Histo1D/HProf: i,x,val,err - Histo2D: i,j,x,y,val,err";
    989 usage += "\nVector: i,val - Matrix: i,j,val - Image: x=i,y=j, pix=val";
     988usage += "\n- NTuple: ntuple variable names";
     989usage += "\n- Histo1D/HProf: i,x,val,err";
     990usage += "\n- Histo2D: i,j,x,y,val,err";
     991usage += "\n- Vector/Matrix: n,r,c,val,real,imag,mod,phas";
     992usage += "\n- TArray: n,x,y,z,t,u,val,real,imag,mod,phas";
     993usage += "\n- Image: i,j,x,y,val(=pix)";
     994usage += "\n- GeneralFitData: x0,ex0 x1,ex1 ...  xn,exn   y,ey   ok";
     995usage += "\n- LocalMap/SphereThetaPhi/SphereHEALPix: ";
     996usage += "\n-         i,k,val,real,imag,mod,phas,teta,phi";
     997usage += "\n- FITS Binary/ASCII table: fits column names";
     998usage += "\n  ------ Other parameters -------- ";
    990999usage += "\nLoop parameters can be specified as I1[:I2[:DI]] for(int i=I1; i<I2; i+=DI)";
    9911000usage += "\nThe default Cut() expression in true (=1) for all";
    992 usage += "\n  Related commands: plot2d plot2de plot2dw plot3d ";
     1001usage += "\n\n  Related commands: plot2d plot2de plot2dw plot3d ";
    9931002usage += "\n        projh1d projh2d  projprof fillvec fillmtx ";
    9941003usage += "\n        fillnt fillgd1 fillgd2 ntloop exptovec ... ";
Note: See TracChangeset for help on using the changeset viewer.