Changeset 178 in Sophya for trunk/SophyaPI/PIext


Ignore:
Timestamp:
Dec 23, 1998, 4:37:24 PM (27 years ago)
Author:
ercodmgr
Message:

const ds noms variables NTuple Reza 23/12/98

Location:
trunk/SophyaPI/PIext
Files:
2 edited

Legend:

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

    r165 r178  
    976976
    977977// Creation NTuple
    978 char* ntn[4] = {"expx","expy","expex","expey",};
     978const char* ntn[4] = {"expx","expy","expex","expey",};
    979979NTuple* nt = NULL;
    980980bool haserr = false;
     
    10161016if (!myImgApp)  return;
    10171017
    1018 char* ntn[3] = {"expx","expy","expz"};
     1018const char* ntn[3] = {"expx","expy","expz"};
    10191019NTuple* nt = new NTuple(3,ntn);  // Creation NTuple
    10201020
     
    10631063if ( (oh != NULL) && (oh->ClassId() == ClassId_Histo1D) )  h1 = (Histo*)oh;  // Pas de remise a zero ! h1->Zero();
    10641064else {
    1065   char* ntn[2]= {"hxval", "hwt"};
     1065  const char* ntn[2]= {"hxval", "hwt"};
    10661066  nt = new NTuple(2,ntn);  // Creation NTuple
    10671067  }
     
    11121112if ( (oh != NULL) && (oh->ClassId() == ClassId_Histo2D) )  h2 = (Histo2D*)oh;  // Pas de remise a zero ! h2->Zero();
    11131113else {
    1114   char* ntn[3]= {"hxval", "hyval", "hwt"};
     1114  const char* ntn[3]= {"hxval", "hyval", "hwt"};
    11151115  nt = new NTuple(3,ntn);  // Creation NTuple
    11161116  }
     
    11731173if( (oh!=NULL) && (oh->ClassId()== ClassId_HProf) )  hprof = (HProf*)oh;
    11741174else {
    1175   char* ntn[3]= {"hxval", "hyval", "hwt"};
     1175  const char* ntn[3]= {"hxval", "hyval", "hwt"};
    11761176  nt = new NTuple(3,ntn);  // Creation NTuple
    11771177}
     
    12181218if (nomvec.length() < 1) nomvec = "VecFill";
    12191219
    1220 char* ntn[2]= {"vecval", "vecwt"};
     1220const char* ntn[2]= {"vecval", "vecwt"};
    12211221nt = new NTuple(1,ntn);  // Creation NTuple
    12221222 
     
    12701270  } 
    12711271if (nt == NULL) {
    1272   char* ntn[4]= {"x", "y","z","t"};
     1272  const char* ntn[4]= {"x", "y","z","t"};
    12731273  nt = new NTuple(4,ntn);  // Creation NTuple
    12741274  fgnnt = true;
     
    13571357
    13581358// Creation NTuple Buffer
    1359 char* ntn[4]= {"x","y","f","e"};
     1359const char* ntn[4]= {"x","y","f","e"};
    13601360NTuple*nt = new NTuple(4,ntn);
    13611361
     
    20312031if (fft.NData() < 1)  return;
    20322032
    2033 char* ntn[3] = {"refc", "imfc", "pfc"};
     2033const char* ntn[3] = {"refc", "imfc", "pfc"};
    20342034NTuple* nt = new NTuple(3,ntn);  // Creation NTuple
    20352035Vector* vf = new Vector(fft.NData()/2);
  • trunk/SophyaPI/PIext/piacmd.cc

    r174 r178  
    969969r_4 xnt[4];
    970970NTuple *ntfl=NULL, *ntex=NULL;
    971 {char* name[4]={"npx","flux","fond","mag"}; ntfl = new NTuple(4,name);}
    972 {char* name[3]={"k","a","f0"};              ntex = new NTuple(3,name);}
     971{const char* name[4]={"npx","flux","fond","mag"}; ntfl = new NTuple(4,name);}
     972{const char* name[3]={"k","a","f0"};              ntex = new NTuple(3,name);}
    973973
    974974// Calcul du fond sur les pixels du bord du pave
Note: See TracChangeset for help on using the changeset viewer.