Changeset 3572 in Sophya


Ignore:
Timestamp:
Feb 7, 2009, 10:50:34 PM (17 years ago)
Author:
cmv
Message:

char* -> const char* pour regler les problemes de deprecated string const... + comparaison unsigned signed + suppression EVOL_PLANCK rz+cmv 07/02/2009

Location:
trunk
Files:
10 deleted
172 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cosmo/RadioBeam/brsrc.cc

    r3192 r3572  
    118118NTuple BRSourceGen::Convert2Table(double freq0)
    119119{
    120   char* nomsntsrc[9] = {"num","freq","freqred","amp","angrad","angdeg","phase",
    121                         "angyrad","angymin"};
     120  const char* nomsntsrc[9] = {"num","freq","freqred","amp","angrad","angdeg","phase",
     121                              "angyrad","angymin"};
    122122  NTuple nt(9, nomsntsrc);
    123123  double xnt[15];
  • trunk/Cosmo/RadioBeam/multicyl.cc

    r3192 r3572  
    3333
    3434//-----------------------------------------------------------------------------
    35 MultiCylinders::MultiCylinders(char* fileName)
     35MultiCylinders::MultiCylinders(const char* fileName)
    3636{
    3737  adfg_ = false; src_ = NULL;
  • trunk/Cosmo/RadioBeam/multicyl.h

    r3192 r3572  
    2828  //   longueur @ f=2 ~ 64 (256*lambda/2 = 256*0.25)
    2929 MultiCylinders(int nr=256, int ns=1024);
    30  MultiCylinders(char* filename);
     30 MultiCylinders(const char* filename);
    3131 ~MultiCylinders();
    3232
  • trunk/Cosmo/RadioBeam/treccyl.cc

    r3192 r3572  
    3636static int test1cyl(string& ppfname);
    3737static int testmulticyl(string& ppfname);
    38 int ReadParam(char* fileName);
     38int ReadParam(const char* fileName);
    3939
    4040//-----------------------------------------------------------
     
    285285
    286286//---------------------------------------------------------------------
    287 int ReadParam(char* fileName)
     287int ReadParam(const char* fileName)
    288288
    289289  DataCards dc;
  • trunk/Cosmo/SimLSS/cmvchkwhu.cc

    r3348 r3572  
    4848
    4949 const int n = 11;
    50  char *vname[n] = {"k","tf","tfnw","tfnb","tfc","tfb"
     50 const char *vname[n] = {"k","tf","tfnw","tfnb","tfc","tfb"
    5151                  ,"hutf","hutfnw","hutfnb","hutfc","hutfb"};
    5252 NTuple nt(n,vname);
  • trunk/Cosmo/SimLSS/cmvfitpk.cc

    r3381 r3572  
    133133 POutPersist pos("cmvfitpk.ppf");
    134134 const int nvar = 2*npar+1;
    135  char *vname[nvar] = {
     135 const char *vname[nvar] = {
    136136       "xi2"
    137137       ,"b","a","oc","ob","ol","h","n"
  • trunk/Cosmo/SimLSS/cmvsinxsx.cc

    r3501 r3572  
    7575 //--- Create NTuple
    7676 const int nvar = 11;
    77  char *vname[nvar] = {"t","s","sn","sx","sx2","snx","snx2","asx","asx2","asnx","asnx2"};
     77 const char *vname[nvar] = {"t","s","sn","sx","sx2","snx","snx2","asx","asx2","asnx","asnx2"};
    7878 double xnt[nvar];
    7979 NTuple nt(nvar,vname);
  • trunk/Cosmo/SimLSS/cmvtgrowth.cc

    r3115 r3572  
    3535
    3636 const int n = 2;
    37  char *vname[n] = {"z","d1"};
     37 const char *vname[n] = {"z","d1"};
    3838 NTuple nt(n,vname);
    3939 double xnt[n];
  • trunk/Cosmo/SimLSS/cmvtluc.cc

    r3115 r3572  
    5656 double norm3 = pow(norm,3.);
    5757 const int n = 11;
    58  char *vname[n] = {
     58 const char *vname[n] = {
    5959   "z","hz","om","or","ol","ok","ot",
    6060   "da","dl","dvc","vc0"
  • trunk/Cosmo/SimLSS/cmvtransf.cc

    r3318 r3572  
    7979
    8080 const int n = 6;
    81  char *vname[n] = {"k","t","tnosc1","tnosc2","tnob","tcmbf"};
     81 const char *vname[n] = {"k","t","tnosc1","tnosc2","tnob","tcmbf"};
    8282 NTuple nt(n,vname);
    8383 double xnt[n];
  • trunk/Cosmo/SimLSS/cmvtstagn.cc

    r3289 r3572  
    158158
    159159del ntjack
    160 c++exec char *vname[2] = {"x","y"}; double xnt[2]; \
     160c++exec const char *vname[2] = {"x","y"}; double xnt[2]; \
    161161NTuple ntjack(2,vname); \
    162162for(int i=0;i<xjack.Size();i++) \
  • trunk/Cosmo/SimLSS/cmvtstblack.cc

    r3347 r3572  
    267267
    268268 const int n = 14;
    269  char *vname[n] = {"f","l","prf","prl","pdf","pdl","rrf","rrl","rdf","rdl","wrf","wrl","wdf","wdl"};
     269 const char *vname[n] = {"f","l","prf","prl","pdf","pdl","rrf","rrl","rdf","rdl","wrf","wrl","wdf","wdl"};
    270270 NTuple nt(n,vname);
    271271 double xnt[n];
  • trunk/Cosmo/SimLSS/cmvtstpk.cc

    r3485 r3572  
    119119 //--------------------------
    120120 const int n = 14;
    121  char *vname[n] = {
     121 const char *vname[n] = {
    122122   "k","pkini",
    123123   "tf","pk0","pk",
  • trunk/Cosmo/SimLSS/cmvtstsch.cc

    r3343 r3572  
    169169 //-------
    170170 const int n = 3;
    171  char *vname[n] = {"m","f","mf"};
     171 const char *vname[n] = {"m","f","mf"};
    172172 NTuple nt(n,vname);
    173173 double xnt[n];
  • trunk/Cosmo/SimLSS/cmvtuniv.cc

    r3313 r3572  
    184184 double norm3 = pow(norm,3.);
    185185 const int n = 15;
    186  char *vname[n] = {
     186 const char *vname[n] = {
    187187   "z","hz","om","or","ol","ok","ot","ob",
    188188   "dtc","dlc","da","dl",
     
    269269
    270270 const int n = 8;
    271  char *vname[n] = {"z","d","di","dl","dp","zi","zl","zp"};
     271 const char *vname[n] = {"z","d","di","dl","dp","zi","zl","zp"};
    272272 NTuple nt(n,vname);
    273273 double xnt[n];
  • trunk/Cosmo/SimLSS/cmvtvarspec.cc

    r3348 r3572  
    130130//-----------------------------------------------------------------
    131131 const int n = 2;
    132  char *vname[n] = {"k","pk"};
     132 const char *vname[n] = {"k","pk"};
    133133 NTuple nt(n,vname);
    134134 double xnt[n];
  • trunk/Cosmo/SimLSS/genefluct3d.cc

    r3524 r3572  
    106106                <<" D="<<dx<<","<<dy<<","<<dz<<endl;
    107107 if(nx<=0 || dx<=0.) {
    108    char *bla = "GeneFluct3D::setsize_Error: bad value(s) for nn/dx";
     108   const char *bla = "GeneFluct3D::setsize_Error: bad value(s) for nn/dx";
    109109   cout<<bla<<endl; throw ParmError(bla);
    110110 }
     
    228228 if(kredshref<0.) {
    229229   if(Nz_<=0) {
    230      char *bla = "GeneFluct3D::SetObservator_Error: for kredsh_ref<0 define cube geometry first";
     230     const char *bla = "GeneFluct3D::SetObservator_Error: for kredsh_ref<0 define cube geometry first";
    231231     cout<<bla<<endl; throw ParmError(bla);
    232232   }
     
    265265
    266266 if(cosmo_ == NULL || redsh_ref_<0.) {
    267    char *bla = "GeneFluct3D::LosComRedshift_Error: set Observator and Cosmology first";
     267   const char *bla = "GeneFluct3D::LosComRedshift_Error: set Observator and Cosmology first";
    268268   cout<<bla<<endl; throw ParmError(bla);
    269269 }
     
    561561  else if(array_type==2) nvar = 4;
    562562  else return;
    563   char *vname[4] = {"t","z","re","im"};
     563  const char *vname[4] = {"t","z","re","im"};
    564564  float xnt[4];
    565565  NTuple nt(nvar,vname);
     
    852852
    853853 if(growth_ == NULL) {
    854    char *bla = "GeneFluct3D::ApplyGrowthFactor_Error: set GrowthFactor first";
     854   const char *bla = "GeneFluct3D::ApplyGrowthFactor_Error: set GrowthFactor first";
    855855   cout<<bla<<endl; throw ParmError(bla);
    856856 }
    857857 if(type_evol<1 || type_evol>2) {
    858    char *bla = "GeneFluct3D::ApplyGrowthFactor_Error: bad type_evol value";
     858   const char *bla = "GeneFluct3D::ApplyGrowthFactor_Error: bad type_evol value";
    859859   cout<<bla<<endl; throw ParmError(bla);
    860860 }
    861861
    862862 InterpFunc interpinv(loscom2zred_min_,loscom2zred_max_,loscom2zred_);
    863  unsigned short ok;
     863 //unsigned short ok;
    864864
    865865 //CHECK: Histo hgr(0.9*zred_[0],1.1*zred_[n-1],1000);
     
    14211421 if(type_evol<0) type_evol = 0;
    14221422 if(type_evol>2) {
    1423    char *bla = "GeneFluct3D::AddNoise2Real_Error: bad type_evol value";
     1423   const char *bla = "GeneFluct3D::AddNoise2Real_Error: bad type_evol value";
    14241424   cout<<bla<<endl; throw ParmError(bla);
    14251425 }
     
    14361436   //      Mlim ~ sqrt(DNu) * (Dlum)^2 / Dtrcom
    14371437   if(cosmo_ == NULL || redsh_ref_<0.| loscom2zred_.size()<1) {
    1438      char *bla = "GeneFluct3D::AddNoise2Real_Error: set Observator and Cosmology first";
     1438     const char *bla = "GeneFluct3D::AddNoise2Real_Error: set Observator and Cosmology first";
    14391439     cout<<bla<<endl; throw ParmError(bla);
    14401440   }
  • trunk/FrEROS/AnaLC/anafsv.cc

    r3308 r3572  
    6464
    6565
    66 char *Pgnm = "hanafsv";
     66const char *Pgnm = "hanafsv";
    6767
    6868int main(int narg, char *arg[] )
  • trunk/FrEROS/AnaLC/courbe_nb.cc

    r3308 r3572  
    77
    88/*==============================================================*/
    9 FILE *CreCourbe(char *str)
     9FILE *CreCourbe(const char *str)
    1010/*
    1111Pour ouvrir le fichier COURBE_NB_FILE avec le nom "str".
  • trunk/FrEROS/AnaLC/courbe_nb.h

    r3308 r3572  
    1616
    1717FILE *CreCourbe(int et);
    18 FILE *CreCourbe(char *);
     18FILE *CreCourbe(const char *str);
    1919void FillCourbe(int et,int coul
    2020              ,float t,float flx,float eflx,float flb,float eflb
  • trunk/FrEROS/AnaLC/lcproc.cc

    r3308 r3572  
    4747
    4848  // We have to check that  fgbad has been filled
    49   if (fgbad.size() < nmes)
     49  if ((int)fgbad.size() < nmes)
    5050    for(int kb=fgbad.size(); kb<nmes; kb++) fgbad.push_back(0);
    5151
  • trunk/FrEROS/AnaLC/nbsreadu_base.cc

    r3308 r3572  
    5151
    5252// Create NTuple
    53 char *nament[NXNT] = {
     53const char *nament[NXNT] = {
    5454      "et","xref","flr","dm1","dm21","xp","yp","npt"
    5555     ,"mean","sig","sigi"
  • trunk/FrEROS/AnaLC/nbsreadu_bosse.cc

    r3308 r3572  
    5959
    6060// Create NTuple
    61 char *nament[NXNT] = {
     61const char *nament[NXNT] = {
    6262      "etr","etb","fr","fb",
    6363      "dmin1","dmin2","dm21","dm22",
  • trunk/FrEROS/AnaLC/nbsreadu_ppf.cc

    r3308 r3572  
    6464 // Fill TimeInfoU into NTuple
    6565 const int nxtn = 12;
    66  char *nament[nxtn] =
     66 const char *nament[nxtn] =
    6767   {"ts","texp","fd","sfd","sx","sy","rho","dx","dy","absor","amass","fgcal"};
    6868 r_8 xnt[nxtn];
     
    9494 // Create NTuple for StarInfo
    9595 const int nsti = 12;
    96  char *namentsti[nsti] =
     96 const char *namentsti[nsti] =
    9797   {"net","xref","fmean","fsig","fref","xp","yp","dm","dm2","dm2r","fgref","nbvois"};
    9898 for(int ic=0;ic<NCOULMX;ic++) {
     
    138138
    139139   const int nxtn = 15;
    140    char *nament[nxtn] =
     140   const char *nament[nxtn] =
    141141     {"ic",
    142142      "ts","fd","sx","sy","rho",
  • trunk/FrEROS/AnaLC/nomfits2.c

    r3308 r3572  
    9393/*
    9494++
    95 unsigned long int decode_zeza(char* s, int i1, int i2)
     95unsigned long int decode_zeza(const char* s, int i1, int i2)
    9696        Pour coder (Rc) en entier decimal la chaine de caracteres
    9797        comprise entre `s[i1]' et `s[i2]' interpretee comme
     
    9999--
    100100*/
    101 unsigned long int decode_zeza(char* s, int i1, int i2)
     101unsigned long int decode_zeza(const char* s, int i1, int i2)
    102102{
    103103  unsigned long int D, ibase = 1;
     
    247247/*
    248248++
    249 int Test_NoCorrupt(char *flnm)
     249int Test_NoCorrupt(const char *flnm)
    250250        Test pour voir si le fichier Fits de nom `flnm' n'est
    251251        pas corrompu.
     
    260260--
    261261*/
    262 int Test_NoCorrupt(char *flnm)
     262int Test_NoCorrupt(const char *flnm)
    263263{
    264264int lp=0;
  • trunk/FrEROS/AnaLC/nomfits2.h

    r3308 r3572  
    1313/* --- fin ajout depuis Peida/LibsUtil/datime.h ----- */
    1414
    15 unsigned long int decode_zeza(char* s, int i1, int i2);
     15unsigned long int decode_zeza(const char* s, int i1, int i2);
    1616char * dec2zeza(unsigned long z, char *s, int n);
    1717int qSort_fits2(const void *x1,const void *x2);
    1818
    1919/* CMV: test des conneries du serveur MG ! */
    20 int Test_NoCorrupt(char *flnm);
     20int Test_NoCorrupt(const char *flnm);
    2121
    2222/* codage de la date/tsid dans timeinfo */
  • trunk/SophyaExt/FitsIOServer/Makefile

    r3407 r3572  
    44 
    55clean:
    6          rm -f $(SOPHYAOBJP)datacirclefits.o $(SOPHYAOBJP)fabtcolread.o $(SOPHYAOBJP)fabtwriter.o $(SOPHYAOBJP)fboloread.o $(SOPHYAOBJP)fbtntintf.o $(SOPHYAOBJP)fiosinit.o $(SOPHYAOBJP)fitsautoreader.o $(SOPHYAOBJP)fitsbntbllineRW.o $(SOPHYAOBJP)fitsfile.o $(SOPHYAOBJP)fitsgenedata.o $(SOPHYAOBJP)fitshdtable.o $(SOPHYAOBJP)fitshisterr.o $(SOPHYAOBJP)fitshistos.o $(SOPHYAOBJP)fitsinoutfile.o $(SOPHYAOBJP)fitslocalmap.o $(SOPHYAOBJP)fitsmanager.o $(SOPHYAOBJP)fitsntuple.o $(SOPHYAOBJP)fitsspherehealpix.o $(SOPHYAOBJP)fitsspherethetaphi.o $(SOPHYAOBJP)fitstarray.o $(SOPHYAOBJP)fitsxntuple.o $(SOPHYAOBJP)swfitsdtable.o
     6         rm -f $(SOPHYAOBJP)datacirclefits.o $(SOPHYAOBJP)fabtcolread.o $(SOPHYAOBJP)fabtwriter.o $(SOPHYAOBJP)fboloread.o $(SOPHYAOBJP)fbtntintf.o $(SOPHYAOBJP)fiosinit.o $(SOPHYAOBJP)fitsbntbllineRW.o $(SOPHYAOBJP)fitsfile.o $(SOPHYAOBJP)fitsgenedata.o $(SOPHYAOBJP)fitshdtable.o $(SOPHYAOBJP)fitshisterr.o $(SOPHYAOBJP)fitshistos.o $(SOPHYAOBJP)fitsinoutfile.o $(SOPHYAOBJP)fitslocalmap.o $(SOPHYAOBJP)fitsmanager.o $(SOPHYAOBJP)fitsntuple.o $(SOPHYAOBJP)fitsspherehealpix.o $(SOPHYAOBJP)fitsspherethetaphi.o $(SOPHYAOBJP)fitstarray.o $(SOPHYAOBJP)swfitsdtable.o
    77        rm -f $(SOPHYALIBP)libFitsIOServer.a
    88 
    9 $(SOPHYALIBP)libFitsIOServer.a : $(SOPHYAOBJP)datacirclefits.o $(SOPHYAOBJP)fabtcolread.o $(SOPHYAOBJP)fabtwriter.o $(SOPHYAOBJP)fboloread.o $(SOPHYAOBJP)fbtntintf.o $(SOPHYAOBJP)fiosinit.o $(SOPHYAOBJP)fitsautoreader.o $(SOPHYAOBJP)fitsbntbllineRW.o $(SOPHYAOBJP)fitsfile.o $(SOPHYAOBJP)fitsgenedata.o $(SOPHYAOBJP)fitshdtable.o $(SOPHYAOBJP)fitshisterr.o $(SOPHYAOBJP)fitshistos.o $(SOPHYAOBJP)fitsinoutfile.o $(SOPHYAOBJP)fitslocalmap.o $(SOPHYAOBJP)fitsmanager.o $(SOPHYAOBJP)fitsntuple.o $(SOPHYAOBJP)fitsspherehealpix.o $(SOPHYAOBJP)fitsspherethetaphi.o $(SOPHYAOBJP)fitstarray.o $(SOPHYAOBJP)fitsxntuple.o $(SOPHYAOBJP)swfitsdtable.o
     9$(SOPHYALIBP)libFitsIOServer.a : $(SOPHYAOBJP)datacirclefits.o $(SOPHYAOBJP)fabtcolread.o $(SOPHYAOBJP)fabtwriter.o $(SOPHYAOBJP)fboloread.o $(SOPHYAOBJP)fbtntintf.o $(SOPHYAOBJP)fiosinit.o $(SOPHYAOBJP)fitsbntbllineRW.o $(SOPHYAOBJP)fitsfile.o $(SOPHYAOBJP)fitsgenedata.o $(SOPHYAOBJP)fitshdtable.o $(SOPHYAOBJP)fitshisterr.o $(SOPHYAOBJP)fitshistos.o $(SOPHYAOBJP)fitsinoutfile.o $(SOPHYAOBJP)fitslocalmap.o $(SOPHYAOBJP)fitsmanager.o $(SOPHYAOBJP)fitsntuple.o $(SOPHYAOBJP)fitsspherehealpix.o $(SOPHYAOBJP)fitsspherethetaphi.o $(SOPHYAOBJP)fitstarray.o $(SOPHYAOBJP)swfitsdtable.o
    1010        $(AR) $(ARFLAGS) $@ $?
    1111        touch $(SOPHYAINCP)/SophyaConfInfo/libextsophya.objlist
     
    184184        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  fiosinit.cc
    185185 
    186 $(SOPHYAOBJP)fitsautoreader.o: fitsautoreader.cc \
    187   $(SOPHYAINCP)sopnamsp.h \
    188   $(SOPHYAINCP)pexceptions.h \
    189   $(SOPHYAINCP)machdefs.h fitsautoreader.h \
    190   $(SOPHYAINCP)machdefs.h \
    191   $(SOPHYAINCP)anydataobj.h fitsfile.h \
    192   $(SOPHYAINCP)ndatablock.h \
    193   $(SOPHYAINCP)anydataobj.h \
    194   $(SOPHYAINCP)dvlist.h \
    195   $(SOPHYAINCP)objfio.h \
    196   $(SOPHYAINCP)ppersist.h \
    197   $(SOPHYAINCP)pexceptions.h \
    198   $(SOPHYAINCP)gnumd5.h \
    199   $(SOPHYAINCP)ppfbinstream.h \
    200   $(SOPHYAINCP)rawstream.h \
    201   $(SOPHYAINCP)ppfnametag.h \
    202   $(SOPHYAINCP)mutyv.h \
    203   $(SOPHYAINCP)timestamp.h fitsinoutfile.h \
    204   $(SOPHYAINCP)FitsIO/fitsio.h \
    205   $(SOPHYAINCP)FitsIO/longnam.h fitshandler.h \
    206   fitstarray.h $(SOPHYAINCP)tarray.h \
    207   $(SOPHYAINCP)basarr.h \
    208   $(SOPHYAINCP)dvlist.h \
    209   $(SOPHYAINCP)ndatablock.h \
    210   $(SOPHYAINCP)utilarr.h fitsspherehealpix.h \
    211   $(SOPHYAINCP)spherehealpix.h \
    212   $(SOPHYAINCP)sphericalmap.h \
    213   $(SOPHYAINCP)smathconst.h \
    214   $(SOPHYAINCP)pixelmap.h \
    215   $(SOPHYAINCP)spherepos.h \
    216   $(SOPHYAINCP)unitvector.h \
    217   $(SOPHYAINCP)vector3d.h \
    218   $(SOPHYAINCP)longlat.h \
    219   $(SOPHYAINCP)utilgeom.h \
    220   $(SOPHYAINCP)datatype.h \
    221   $(SOPHYAINCP)tvector.h \
    222   $(SOPHYAINCP)tmatrix.h \
    223   $(SOPHYAINCP)tarray.h \
    224   $(SOPHYAINCP)tmatrix_tsnl.h \
    225   $(SOPHYAINCP)tvector_tsnl.h \
    226   $(SOPHYAINCP)HEALPixUtils.h fitsntuple.h \
    227   $(SOPHYAINCP)ntuple.h \
    228   $(SOPHYAINCP)ntupintf.h \
    229   $(SOPHYAINCP)ppersist.h fitsxntuple.h \
    230   $(SOPHYAINCP)xntuple.h fitslocalmap.h \
    231   $(SOPHYAINCP)localmap.h fbtntintf.h \
    232   $(SOPHYAINCP)ntupintf.h
    233         $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  fitsautoreader.cc
    234  
    235186$(SOPHYAOBJP)fitsbntbllineRW.o: fitsbntbllineRW.cc \
    236187  $(SOPHYAINCP)sopnamsp.h \
     
    633584        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  fitstarray.cc
    634585 
    635 $(SOPHYAOBJP)fitsxntuple.o: fitsxntuple.cc \
    636   $(SOPHYAINCP)sopnamsp.h \
    637   $(SOPHYAINCP)pexceptions.h \
    638   $(SOPHYAINCP)machdefs.h fitsxntuple.h \
    639   $(SOPHYAINCP)machdefs.h \
    640   $(SOPHYAINCP)xntuple.h \
    641   $(SOPHYAINCP)ntupintf.h \
    642   $(SOPHYAINCP)ppersist.h \
    643   $(SOPHYAINCP)pexceptions.h \
    644   $(SOPHYAINCP)gnumd5.h \
    645   $(SOPHYAINCP)ppfbinstream.h \
    646   $(SOPHYAINCP)rawstream.h \
    647   $(SOPHYAINCP)ppfnametag.h \
    648   $(SOPHYAINCP)dvlist.h \
    649   $(SOPHYAINCP)objfio.h \
    650   $(SOPHYAINCP)anydataobj.h \
    651   $(SOPHYAINCP)mutyv.h \
    652   $(SOPHYAINCP)timestamp.h \
    653   $(SOPHYAINCP)anydataobj.h \
    654   $(SOPHYAINCP)ppersist.h fitsfile.h \
    655   $(SOPHYAINCP)ndatablock.h \
    656   $(SOPHYAINCP)dvlist.h fitsinoutfile.h \
    657   $(SOPHYAINCP)FitsIO/fitsio.h \
    658   $(SOPHYAINCP)FitsIO/longnam.h fitshandler.h
    659         $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  fitsxntuple.cc
    660  
    661586$(SOPHYAOBJP)swfitsdtable.o: swfitsdtable.cc swfitsdtable.h \
    662587  $(SOPHYAINCP)basedtable.h \
  • trunk/SophyaExt/FitsIOServer/fabtcolread.cc

    r3188 r3572  
    189189  \return value into double
    190190*/
    191 double FitsOpenFile::ReadKey(fitsfile *fitsptr,char *keyname)
     191double FitsOpenFile::ReadKey(fitsfile *fitsptr,const char *keyname)
    192192{
    193193 if(keyname==NULL || fitsptr==NULL) return 0.;
     
    204204  \return value into long
    205205*/
    206 long FitsOpenFile::ReadKeyL(fitsfile *fitsptr,char *keyname)
     206long FitsOpenFile::ReadKeyL(fitsfile *fitsptr,const char *keyname)
    207207{
    208208 if(keyname==NULL || fitsptr==NULL) return 0;
     
    219219  \return value into long long
    220220*/
    221 LONGLONG FitsOpenFile::ReadKeyLL(fitsfile *fitsptr,char *keyname)
     221LONGLONG FitsOpenFile::ReadKeyLL(fitsfile *fitsptr,const char *keyname)
    222222{
    223223 if(keyname==NULL || fitsptr==NULL) return 0;
     
    234234  \return value into string
    235235*/
    236 string FitsOpenFile::ReadKeyS(fitsfile *fitsptr,char *keyname)
     236string FitsOpenFile::ReadKeyS(fitsfile *fitsptr,const char *keyname)
    237237{
    238238 if(keyname==NULL || fitsptr==NULL) return (string)"";
     
    529529  \return value into double
    530530*/
    531 double FitsABTColRd::ReadKey(char *keyname)
     531double FitsABTColRd::ReadKey(const char *keyname)
    532532{
    533533 return FitsOpenFile::ReadKey(GetFitsPtr(),keyname);
     
    539539  \return value into long
    540540*/
    541 long FitsABTColRd::ReadKeyL(char *keyname)
     541long FitsABTColRd::ReadKeyL(const char *keyname)
    542542{
    543543 return FitsOpenFile::ReadKeyL(GetFitsPtr(),keyname);
     
    549549  \return value into long long
    550550*/
    551 LONGLONG FitsABTColRd::ReadKeyLL(char *keyname)
     551LONGLONG FitsABTColRd::ReadKeyLL(const char *keyname)
    552552{
    553553 return FitsOpenFile::ReadKeyLL(GetFitsPtr(),keyname);
     
    559559  \return value into string
    560560*/
    561 string FitsABTColRd::ReadKeyS(char *keyname)
     561string FitsABTColRd::ReadKeyS(const char *keyname)
    562562{
    563563 return FitsOpenFile::ReadKeyS(GetFitsPtr(),keyname);
     
    10801080  \return value into double
    10811081*/
    1082 double FitsImg2DRd::ReadKey(char *keyname)
     1082double FitsImg2DRd::ReadKey(const char *keyname)
    10831083{
    10841084 return FitsOpenFile::ReadKey(GetFitsPtr(),keyname);
     
    10901090  \return value into long
    10911091*/
    1092 long FitsImg2DRd::ReadKeyL(char *keyname)
     1092long FitsImg2DRd::ReadKeyL(const char *keyname)
    10931093{
    10941094 return FitsOpenFile::ReadKeyL(GetFitsPtr(),keyname);
     
    11001100  \return value into long long
    11011101*/
    1102 LONGLONG FitsImg2DRd::ReadKeyLL(char *keyname)
     1102LONGLONG FitsImg2DRd::ReadKeyLL(const char *keyname)
    11031103{
    11041104 return FitsOpenFile::ReadKeyLL(GetFitsPtr(),keyname);
     
    11101110  \return value into string
    11111111*/
    1112 string FitsImg2DRd::ReadKeyS(char *keyname)
     1112string FitsImg2DRd::ReadKeyS(const char *keyname)
    11131113{
    11141114 return FitsOpenFile::ReadKeyS(GetFitsPtr(),keyname);
     
    14281428  \return value into double
    14291429*/
    1430 double FitsImg3DRd::ReadKey(char *keyname)
     1430double FitsImg3DRd::ReadKey(const char *keyname)
    14311431{
    14321432 return FitsOpenFile::ReadKey(GetFitsPtr(),keyname);
     
    14381438  \return value into long
    14391439*/
    1440 long FitsImg3DRd::ReadKeyL(char *keyname)
     1440long FitsImg3DRd::ReadKeyL(const char *keyname)
    14411441{
    14421442 return FitsOpenFile::ReadKeyL(GetFitsPtr(),keyname);
     
    14481448  \return value into long long
    14491449*/
    1450 LONGLONG FitsImg3DRd::ReadKeyLL(char *keyname)
     1450LONGLONG FitsImg3DRd::ReadKeyLL(const char *keyname)
    14511451{
    14521452 return FitsOpenFile::ReadKeyLL(GetFitsPtr(),keyname);
     
    14581458  \return value into string
    14591459*/
    1460 string FitsImg3DRd::ReadKeyS(char *keyname)
     1460string FitsImg3DRd::ReadKeyS(const char *keyname)
    14611461{
    14621462 return FitsOpenFile::ReadKeyS(GetFitsPtr(),keyname);
  • trunk/SophyaExt/FitsIOServer/fabtcolread.h

    r3493 r3572  
    4848  void Print(void);
    4949
    50   static double   ReadKey(fitsfile *fitsptr,char *keyname);
    51   static long     ReadKeyL(fitsfile *fitsptr,char *keyname);
    52   static LONGLONG ReadKeyLL(fitsfile *fitsptr,char *keyname);
    53   static string   ReadKeyS(fitsfile *fitsptr,char *keyname);
     50  static double   ReadKey(fitsfile *fitsptr,const char *keyname);
     51  static long     ReadKeyL(fitsfile *fitsptr,const char *keyname);
     52  static LONGLONG ReadKeyLL(fitsfile *fitsptr,const char *keyname);
     53  static string   ReadKeyS(fitsfile *fitsptr,const char *keyname);
    5454  static void   printerror(int sta);
    5555
     
    7878  void ChangeBuffer(long blen=100,long bsens=1);
    7979
    80   double    ReadKey(char *keyname);
    81   long      ReadKeyL(char *keyname);
    82   LONGLONG  ReadKeyLL(char *keyname);
    83   string    ReadKeyS(char *keyname);
     80  double    ReadKey(const char *keyname);
     81  long      ReadKeyL(const char *keyname);
     82  LONGLONG  ReadKeyLL(const char *keyname);
     83  string    ReadKeyS(const char *keyname);
    8484
    8585  double Read(LONGLONG n,bool usebuffer=true);
     
    195195  virtual ~FitsImg2DRd();
    196196
    197   double   ReadKey(char *keyname);
    198   long     ReadKeyL(char *keyname);
    199   LONGLONG ReadKeyLL(char *keyname);
    200   string   ReadKeyS(char *keyname);
     197  double   ReadKey(const char *keyname);
     198  long     ReadKeyL(const char *keyname);
     199  LONGLONG ReadKeyLL(const char *keyname);
     200  string   ReadKeyS(const char *keyname);
    201201
    202202  LONGLONG Read(TMatrix<uint_2>& data);
     
    260260  virtual ~FitsImg3DRd();
    261261
    262   double   ReadKey(char *keyname);
    263   long     ReadKeyL(char *keyname);
    264   LONGLONG ReadKeyLL(char *keyname);
    265   string   ReadKeyS(char *keyname);
     262  double   ReadKey(const char *keyname);
     263  long     ReadKeyL(const char *keyname);
     264  LONGLONG ReadKeyLL(const char *keyname);
     265  string   ReadKeyS(const char *keyname);
    266266
    267267  LONGLONG Read(TArray<uint_2>& data);
  • trunk/SophyaExt/FitsIOServer/fabtwriter.cc

    r3128 r3572  
    105105
    106106/*! Write a double value into Fits Header */
    107 void FitsWriter::WriteKey(const char *keyname,double val,char* comment)
     107void FitsWriter::WriteKey(const char *keyname,double val,const char* comment)
    108108{
    109109 if(keyname==NULL || strlen(keyname)<=0) return;
     
    116116
    117117/*! Write a long value into Fits Header */
    118 void FitsWriter::WriteKey(const char *keyname,long val,char* comment)
     118void FitsWriter::WriteKey(const char *keyname,long val,const char* comment)
    119119{
    120120 if(keyname==NULL || strlen(keyname)<=0) return;
     
    127127
    128128/*! Write a long long value into Fits Header */
    129 void FitsWriter::WriteKey(const char *keyname,LONGLONG val,char* comment)
     129void FitsWriter::WriteKey(const char *keyname,LONGLONG val,const char* comment)
    130130{
    131131 if(keyname==NULL || strlen(keyname)<=0) return;
     
    138138
    139139/*! Write a string value into Fits Header */
    140 void FitsWriter::WriteKey(const char *keyname,string val,char* comment)
     140void FitsWriter::WriteKey(const char *keyname,string val,const char* comment)
    141141{
    142142 if(keyname==NULL || strlen(keyname)<=0) return;
  • trunk/SophyaExt/FitsIOServer/fabtwriter.h

    r3493 r3572  
    3636
    3737  //! Write a double value in Fits header.
    38   void WriteKey(const char *keyname,double val,char* comment=NULL);
     38  void WriteKey(const char *keyname,double val,const char* comment=NULL);
    3939  //! Write a long value in Fits header.
    40   void WriteKey(const char *keyname,long val,char* comment=NULL);
     40  void WriteKey(const char *keyname,long val,const char* comment=NULL);
    4141  //! Write a long long value in Fits header.
    42   void WriteKey(const char *keyname,LONGLONG val,char* comment=NULL);
     42  void WriteKey(const char *keyname,LONGLONG val,const char* comment=NULL);
    4343  //! Write a string value in Fits header.
    44   void WriteKey(const char *keyname,string val,char* comment=NULL);
     44  void WriteKey(const char *keyname,string val,const char* comment=NULL);
    4545  //! Write a character string value in Fits header.
    46   inline void WriteKey(const char *keyname,char* val,char* comment=NULL)
     46  inline void WriteKey(const char *keyname,const char* val,const char* comment=NULL)
    4747                      {string dum=val; WriteKey(keyname,dum,comment);}
    4848  //! Set debug level
     
    9393  inline void SetExtName(string extname=string("")) {ExtName = extname;}
    9494  //! Set the FITS table extension name
    95   inline void SetExtName(char* extname="") {ExtName = extname;}
     95  inline void SetExtName(const char* extname="") {ExtName = extname;}
    9696
    9797  //! Add a new column to the FITS table and return its number (see addcol).
  • trunk/SophyaExt/FitsIOServer/fitsblkrw.h

    r3493 r3572  
    159159      string msg = "FitsBlockRW<std::string>::WriteColumnData() Error: " ;
    160160      msg += buff;
    161       sprintf(buff," kk=%ld",kk);  msg += buff;
     161      sprintf(buff," kk=%ld",(long)kk);  msg += buff;
    162162      throw FitsIOException(msg);
    163163    }
     
    187187      string msg = "FitsBlockRW<std::string>::ReadColumnData() Error: " ;
    188188      msg += buff;
    189       sprintf(buff," kk=%ld",kk);  msg += buff;
     189      sprintf(buff," kk=%ld",(long)kk);  msg += buff;
    190190      throw FitsIOException(msg);
    191191    }
  • trunk/SophyaExt/FitsIOServer/fitsbntbllineRW.cc

    r2615 r3572  
    6464      else if (ss == FitsFile::FitsDataType_char) SfitsCol.push_back(k);
    6565      else {
    66         cout << " FITS_XNTuple: colonne fits " << k << " type= " << (int) ss << endl;
     66        cout << "FITS_BntblLineReader: colonne fits " << k << " type= " << (int) ss << endl;
    6767        throw  IOExc("type de champ inconnu");
    6868      }
     
    113113
    114114
    115 FITS_BntblLineWriter::FITS_BntblLineWriter(char inputfile[],int dc, int fc,int ic, int lc, int bc, int cc,  vector<string> names,DVList* ptr_dvl,  FitsFile::WriteMode wrm)
     115FITS_BntblLineWriter::FITS_BntblLineWriter(const char inputfile[],int dc, int fc,int ic, int lc, int bc, int cc,  vector<string> names,DVList* ptr_dvl,  FitsFile::WriteMode wrm)
    116116{
    117117  int k;
    118118  int nbcols = dc+fc+ic+cc+lc+bc;
    119   if (nbcols !=  names.size())
     119  if (nbcols !=  (int)names.size())
    120120    {
    121121      cout << " WARNING: BnTblLineWriter:: length of vector of column names not equal to total number of columns" << endl;
  • trunk/SophyaExt/FitsIOServer/fitsbntbllineRW.h

    r2201 r3572  
    66#include "dvlist.h"
    77#include "fitsfile.h"
    8 //#include "xntuple.h"
    98
    109namespace SOPHYA {
     
    6665
    6766public:
    68  FITS_BntblLineWriter(char inputfile[],int dc, int fc, int ic, int lc, int bc,int cc, vector<string> names, DVList* dvl=NULL, FitsFile::WriteMode wrm = FitsFile::clear);
     67 FITS_BntblLineWriter(const char inputfile[],int dc, int fc, int ic, int lc, int bc,int cc, vector<string> names, DVList* dvl=NULL, FitsFile::WriteMode wrm = FitsFile::clear);
    6968~FITS_BntblLineWriter();
    7069 void WriteNextLine( BnTblLine& WorkLine);
  • trunk/SophyaExt/FitsIOServer/fitsfile.cc

    r2907 r3572  
    228228*/
    229229
    230 /*! \fn void  SOPHYA::FitsIOHandler::Read(char flnm[],int hdunum)
     230/*! \fn void  SOPHYA::FitsIOHandler::Read(const char flnm[],int hdunum)
    231231
    232232this method is called from inherited objects :
     
    238238calls the method 'ReadFromFits' from the inherited  object
    239239*/
    240 void   FitsIOHandler::Read(char flnm[],int hdunum)
     240void   FitsIOHandler::Read(const char flnm[],int hdunum)
    241241{
    242242  FitsInFile ifts(flnm);
     
    274274
    275275*/
    276 void FitsIOHandler::Write(char flnm[])
     276void FitsIOHandler::Write(const char flnm[])
    277277
    278278{
     
    327327}
    328328
    329 void FitsFile::printerror(int& status, char* texte)
     329void FitsFile::printerror(int& status, const char* texte)
    330330  //*****************************************************/
    331331  //* Print out cfitsio error messages and exit program */
     
    338338  throw IOExc("FitsFile:: error FITSIO status");
    339339}
    340 void FitsFile::printerrorAndContinue(int& status, char* texte)
     340void FitsFile::printerrorAndContinue(int& status, const char* texte)
    341341  //*****************************************************/
    342342  //* Print out cfitsio error messages and exit program */
     
    15341534  char dtype;
    15351535  char card[FLEN_CARD]; 
    1536   char *comkey = "COMMENT";
     1536  const char *comkey = "COMMENT";
    15371537  char comment[FLEN_COMMENT];
    15381538
     
    21982198      char comment[FLEN_COMMENT];
    21992199      char strval[FLEN_VALUE]= "";
    2200       char *comkey = "COMMENT";
     2200      const char *comkey = "COMMENT";
    22012201      //      fits_read_keyword(fptr_, keyname, strval, NULL, &status);
    22022202      //  if (status != 0 || strncmp(keyname,comkey,LEN_KEYWORD-1) == 0 )
     
    25272527      default :
    25282528        {
    2529           char *comkey = "COMMENT";
     2529          const char *comkey = "COMMENT";
    25302530          if(strncmp(keyname,comkey,LEN_KEYWORD-1) == 0)
    25312531            {
  • trunk/SophyaExt/FitsIOServer/fitsfile.h

    r3493 r3572  
    6464
    6565   virtual ~FitsIOHandler() {}
    66    void   Read(char flnm[],int hdunum= 0);
    67    void   Write(char flnm[]) ;
     66   void   Read(const char flnm[],int hdunum= 0);
     67   void   Write(const char flnm[]) ;
    6868
    6969   //Implementation par defaut de l'interface FitsHandlerInterface
     
    181181void         ResetStatus(int& status) ;
    182182static  void printerror(int&) ;
    183 static  void printerror(int&,char* texte) ;
    184 static  void printerrorAndContinue(int& status, char* texte);
     183static  void printerror(int&,const char* texte) ;
     184static  void printerrorAndContinue(int& status,const char* texte);
    185185inline void  InitNull()
    186186  {
  • trunk/SophyaExt/FitsIOServer/fitsinoutfile.cc

    r3452 r3572  
    157157}
    158158/* -- Fonction utilitaire pour verifier le code d'erreur fitsio -- */
    159 static inline bool FitsCheckStatus(int st, char * emsg = NULL) {
     159static inline bool FitsCheckStatus(int st, const char * emsg = NULL) {
    160160  if (st) {
    161161    fits_report_error(stderr, st);
     
    272272int FitsInOutFile::CurrentHDU()  const
    273273{
    274   int status = 0;
     274  //unused: int status = 0;
    275275  int curhdu = 0;
    276276  fits_get_hdu_num(FitsPtr() , &curhdu);
     
    496496  int colnum, typecode;
    497497  LONGLONG repeat, colw;   // $CHECK$ LONGLONG ???
    498   int ncols = 0;
     498  //unused: int ncols = 0;
    499499  char colname[128];  // longueur max d'un nom de colonne
    500500
    501501  while (status != COL_NOT_FOUND) {
    502     fits_get_colname(FitsPtr(), CASEINSEN, "*", colname, &colnum, &status);
     502    char dum[2]  = {'*','\0'};
     503    fits_get_colname(FitsPtr(), CASEINSEN, dum, colname, &colnum, &status);
    503504    if (status == COL_NOT_FOUND)  break;
    504505    if ( (status != COL_NOT_UNIQUE) && (status != 0) ) {
     
    665666
    666667  CheckFitsPtr(FitsPtr());
    667   int status = 0;
     668  //unused: int status = 0;
    668669  DVList::ValList::const_iterator it;
    669670  for(it = dvl.Begin(); it != dvl.End(); it++) 
  • trunk/SophyaExt/FitsIOServer/fitsioserver.h

    r3493 r3572  
    1919#include "fitsspherehealpix.h"
    2020#include "fitsntuple.h"
    21 // #include "fitsxntuple.h"
    2221#include "fitslocalmap.h"
    2322
  • trunk/SophyaExt/FitsIOServer/fitsmanager.cc

    r3167 r3572  
    8080  int hfg = 0;
    8181  int bhfg = 0;
    82   int clev = 0;
     82  //unused: int clev = 0;
    8383  int blev = 0;
    8484  for(it = hlistp->begin(); it != hlistp->end(); it++) {
     
    196196      LONGLONG naxes[5] = {0,0,0,0,0};
    197197      int naxis=5;
    198       int imgtyp = is.GetImageHDUInfo(naxis, naxes);
     198      //unused: int imgtyp = is.GetImageHDUInfo(naxis, naxes);
    199199      os << ">> IMAGE_HDU:  naxis= " << naxis << " : ";
    200200      for(int i=0; i<naxis; i++) {
     
    212212      else os << ">> ASCII_TBL :  NRows= " << is.GetNbRows();
    213213      os << " x NCols= " << ncols << endl;
    214       for(int kk=0; kk<colnames.size(); kk++) {
     214      for(size_t kk=0; kk<colnames.size(); kk++) {
    215215        os << "Col[" << kk+1 << "]  Name= " << colnames[kk]
    216216             << " Type= " << FitsTypes::DataTypeToTypeString(coltypes[kk])
  • trunk/SophyaExt/FitsIOServer/fitsntuple.h

    r3493 r3572  
    5353
    5454/*!
    55 fill the XNTuple only with lines from firstLine-th to (firstLine+numberOfLines-1)-th of the FITS-file inputfile.
     55fill the NTuple only with lines from firstLine-th to (firstLine+numberOfLines-1)-th of the FITS-file inputfile.
    5656\param <firstLine>  first line  to be read (the first line of the file is numbered 0)
    5757\param <numberOfLines>  number of lines to be read
  • trunk/SophyaExt/FitsIOServer/fitsspherehealpix.cc

    r3167 r3572  
    2727 
    2828template <class T>
    29 FITS_SphereHEALPix<T>::FITS_SphereHEALPix(char inputfile[],int hdunum)
     29FITS_SphereHEALPix<T>::FITS_SphereHEALPix(const char inputfile[],int hdunum)
    3030{
    3131    dobj_= new SphereHEALPix<T>;
     
    266266
    267267template <class T>
    268 void FITS_SphereHEALPix<T>::Mollweide_picture_projection(char filename[])
     268void FITS_SphereHEALPix<T>::Mollweide_picture_projection(const char filename[])
    269269{
    270270  int ni = 300;
     
    297297}
    298298template <class T>
    299 void FITS_SphereHEALPix<T>::sinus_picture_projection(char filename[])
     299void FITS_SphereHEALPix<T>::sinus_picture_projection(const char filename[])
    300300{
    301301  int ni = 300;
  • trunk/SophyaExt/FitsIOServer/fitsspherehealpix.h

    r3493 r3572  
    2424
    2525FITS_SphereHEALPix();
    26 FITS_SphereHEALPix(char inputfile[],int hdunum=0);
     26FITS_SphereHEALPix(const char inputfile[],int hdunum=0);
    2727FITS_SphereHEALPix(const SphereHEALPix<T>& obj);
    2828FITS_SphereHEALPix(SphereHEALPix<T>* obj);
     
    3535virtual FitsHandlerInterface* Clone();
    3636
    37 void Mollweide_picture_projection(char flnm[]);
    38 void sinus_picture_projection(char flnm[]);
     37void Mollweide_picture_projection(const char flnm[]);
     38void sinus_picture_projection(const char flnm[]);
    3939//void ReWriteFromFitsToFits(FitsInFile& headerin, FitsOutFile& os);
    4040
  • trunk/SophyaExt/FitsIOServer/fitsspherethetaphi.cc

    r3167 r3572  
    2626
    2727template <class T>
    28 FITS_SphereThetaPhi<T>::FITS_SphereThetaPhi(char inputfile[],int hdunum)
     28FITS_SphereThetaPhi<T>::FITS_SphereThetaPhi(const char inputfile[],int hdunum)
    2929{
    3030    dobj_= new SphereThetaPhi<T>;
     
    255255
    256256template <class T>
    257 void FITS_SphereThetaPhi<T>::Mollweide_picture_projection(char filename[])
     257void FITS_SphereThetaPhi<T>::Mollweide_picture_projection(const char filename[])
    258258{
    259259  int ni = 300;
     
    286286}
    287287template <class T>
    288 void FITS_SphereThetaPhi<T>::sinus_picture_projection(char filename[])
     288void FITS_SphereThetaPhi<T>::sinus_picture_projection(const char filename[])
    289289{
    290290  int ni = 300;
  • trunk/SophyaExt/FitsIOServer/fitsspherethetaphi.h

    r3493 r3572  
    2222
    2323FITS_SphereThetaPhi();
    24 FITS_SphereThetaPhi(char inputfile[],int hdunum=0);
     24FITS_SphereThetaPhi(const char inputfile[],int hdunum=0);
    2525FITS_SphereThetaPhi(const SphereThetaPhi<T>& obj);
    2626FITS_SphereThetaPhi(SphereThetaPhi<T>* obj);
     
    3333virtual FitsHandlerInterface* Clone();
    3434
    35 void Mollweide_picture_projection(char flnm[]);
    36 void sinus_picture_projection(char flnm[]);
     35void Mollweide_picture_projection(const char flnm[]);
     36void sinus_picture_projection(const char flnm[]);
    3737
    3838
  • trunk/SophyaExt/FitsIOServer/fitstarray.cc

    r2874 r3572  
    2424
    2525template <class T>
    26 FITS_TArray<T>::FITS_TArray(char inputfile[],int hdunum)
     26FITS_TArray<T>::FITS_TArray(const char inputfile[],int hdunum)
    2727{
    2828  dobj_=NULL;
  • trunk/SophyaExt/FitsIOServer/fitstarray.h

    r1231 r3572  
    2525
    2626FITS_TArray();
    27 FITS_TArray(char inputfile[],int hdunum=0);
     27FITS_TArray(const char inputfile[],int hdunum=0);
    2828FITS_TArray(const TArray<T> & obj);
    2929FITS_TArray(TArray<T> *obj);
  • trunk/SophyaExt/FitsIOServer/objlist.list

    r3123 r3572  
    55fbtntintf.o
    66fiosinit.o
    7 fitsautoreader.o
    87fitsbntbllineRW.o
    98fitsfile.o
     
    1918fitsspherethetaphi.o
    2019fitstarray.o
    21 fitsxntuple.o
    2220swfitsdtable.o
  • trunk/SophyaExt/FitsIOServer/smakefile

    r3407 r3572  
    44 
    55clean:
    6          rm -f $(SOPHYAOBJP)datacirclefits.o $(SOPHYAOBJP)fabtcolread.o $(SOPHYAOBJP)fabtwriter.o $(SOPHYAOBJP)fboloread.o $(SOPHYAOBJP)fbtntintf.o $(SOPHYAOBJP)fiosinit.o $(SOPHYAOBJP)fitsautoreader.o $(SOPHYAOBJP)fitsbntbllineRW.o $(SOPHYAOBJP)fitsfile.o $(SOPHYAOBJP)fitsgenedata.o $(SOPHYAOBJP)fitshdtable.o $(SOPHYAOBJP)fitshisterr.o $(SOPHYAOBJP)fitshistos.o $(SOPHYAOBJP)fitsinoutfile.o $(SOPHYAOBJP)fitslocalmap.o $(SOPHYAOBJP)fitsmanager.o $(SOPHYAOBJP)fitsntuple.o $(SOPHYAOBJP)fitsspherehealpix.o $(SOPHYAOBJP)fitsspherethetaphi.o $(SOPHYAOBJP)fitstarray.o $(SOPHYAOBJP)fitsxntuple.o $(SOPHYAOBJP)swfitsdtable.o
     6         rm -f $(SOPHYAOBJP)datacirclefits.o $(SOPHYAOBJP)fabtcolread.o $(SOPHYAOBJP)fabtwriter.o $(SOPHYAOBJP)fboloread.o $(SOPHYAOBJP)fbtntintf.o $(SOPHYAOBJP)fiosinit.o $(SOPHYAOBJP)fitsbntbllineRW.o $(SOPHYAOBJP)fitsfile.o $(SOPHYAOBJP)fitsgenedata.o $(SOPHYAOBJP)fitshdtable.o $(SOPHYAOBJP)fitshisterr.o $(SOPHYAOBJP)fitshistos.o $(SOPHYAOBJP)fitsinoutfile.o $(SOPHYAOBJP)fitslocalmap.o $(SOPHYAOBJP)fitsmanager.o $(SOPHYAOBJP)fitsntuple.o $(SOPHYAOBJP)fitsspherehealpix.o $(SOPHYAOBJP)fitsspherethetaphi.o $(SOPHYAOBJP)fitstarray.o $(SOPHYAOBJP)swfitsdtable.o
    77        rm -f $(SOPHYALIBP)libFitsIOServer.a
    88 
    9 $(SOPHYALIBP)libFitsIOServer.a : $(SOPHYAOBJP)datacirclefits.o $(SOPHYAOBJP)fabtcolread.o $(SOPHYAOBJP)fabtwriter.o $(SOPHYAOBJP)fboloread.o $(SOPHYAOBJP)fbtntintf.o $(SOPHYAOBJP)fiosinit.o $(SOPHYAOBJP)fitsautoreader.o $(SOPHYAOBJP)fitsbntbllineRW.o $(SOPHYAOBJP)fitsfile.o $(SOPHYAOBJP)fitsgenedata.o $(SOPHYAOBJP)fitshdtable.o $(SOPHYAOBJP)fitshisterr.o $(SOPHYAOBJP)fitshistos.o $(SOPHYAOBJP)fitsinoutfile.o $(SOPHYAOBJP)fitslocalmap.o $(SOPHYAOBJP)fitsmanager.o $(SOPHYAOBJP)fitsntuple.o $(SOPHYAOBJP)fitsspherehealpix.o $(SOPHYAOBJP)fitsspherethetaphi.o $(SOPHYAOBJP)fitstarray.o $(SOPHYAOBJP)fitsxntuple.o $(SOPHYAOBJP)swfitsdtable.o
     9$(SOPHYALIBP)libFitsIOServer.a : $(SOPHYAOBJP)datacirclefits.o $(SOPHYAOBJP)fabtcolread.o $(SOPHYAOBJP)fabtwriter.o $(SOPHYAOBJP)fboloread.o $(SOPHYAOBJP)fbtntintf.o $(SOPHYAOBJP)fiosinit.o $(SOPHYAOBJP)fitsbntbllineRW.o $(SOPHYAOBJP)fitsfile.o $(SOPHYAOBJP)fitsgenedata.o $(SOPHYAOBJP)fitshdtable.o $(SOPHYAOBJP)fitshisterr.o $(SOPHYAOBJP)fitshistos.o $(SOPHYAOBJP)fitsinoutfile.o $(SOPHYAOBJP)fitslocalmap.o $(SOPHYAOBJP)fitsmanager.o $(SOPHYAOBJP)fitsntuple.o $(SOPHYAOBJP)fitsspherehealpix.o $(SOPHYAOBJP)fitsspherethetaphi.o $(SOPHYAOBJP)fitstarray.o $(SOPHYAOBJP)swfitsdtable.o
    1010        $(AR) $(ARFLAGS) $@ $?
    1111        touch $(SOPHYAINCP)/SophyaConfInfo/libextsophya.objlist
     
    184184        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  fiosinit.cc
    185185 
    186 $(SOPHYAOBJP)fitsautoreader.o: fitsautoreader.cc \
    187   $(SOPHYAINCP)sopnamsp.h \
    188   $(SOPHYAINCP)pexceptions.h \
    189   $(SOPHYAINCP)machdefs.h fitsautoreader.h \
    190   $(SOPHYAINCP)machdefs.h \
    191   $(SOPHYAINCP)anydataobj.h fitsfile.h \
    192   $(SOPHYAINCP)ndatablock.h \
    193   $(SOPHYAINCP)anydataobj.h \
    194   $(SOPHYAINCP)dvlist.h \
    195   $(SOPHYAINCP)objfio.h \
    196   $(SOPHYAINCP)ppersist.h \
    197   $(SOPHYAINCP)pexceptions.h \
    198   $(SOPHYAINCP)gnumd5.h \
    199   $(SOPHYAINCP)ppfbinstream.h \
    200   $(SOPHYAINCP)rawstream.h \
    201   $(SOPHYAINCP)ppfnametag.h \
    202   $(SOPHYAINCP)mutyv.h \
    203   $(SOPHYAINCP)timestamp.h fitsinoutfile.h \
    204   $(SOPHYAINCP)FitsIO/fitsio.h \
    205   $(SOPHYAINCP)FitsIO/longnam.h fitshandler.h \
    206   fitstarray.h $(SOPHYAINCP)tarray.h \
    207   $(SOPHYAINCP)basarr.h \
    208   $(SOPHYAINCP)dvlist.h \
    209   $(SOPHYAINCP)ndatablock.h \
    210   $(SOPHYAINCP)utilarr.h fitsspherehealpix.h \
    211   $(SOPHYAINCP)spherehealpix.h \
    212   $(SOPHYAINCP)sphericalmap.h \
    213   $(SOPHYAINCP)smathconst.h \
    214   $(SOPHYAINCP)pixelmap.h \
    215   $(SOPHYAINCP)spherepos.h \
    216   $(SOPHYAINCP)unitvector.h \
    217   $(SOPHYAINCP)vector3d.h \
    218   $(SOPHYAINCP)longlat.h \
    219   $(SOPHYAINCP)utilgeom.h \
    220   $(SOPHYAINCP)datatype.h \
    221   $(SOPHYAINCP)tvector.h \
    222   $(SOPHYAINCP)tmatrix.h \
    223   $(SOPHYAINCP)tarray.h \
    224   $(SOPHYAINCP)tmatrix_tsnl.h \
    225   $(SOPHYAINCP)tvector_tsnl.h \
    226   $(SOPHYAINCP)HEALPixUtils.h fitsntuple.h \
    227   $(SOPHYAINCP)ntuple.h \
    228   $(SOPHYAINCP)ntupintf.h \
    229   $(SOPHYAINCP)ppersist.h fitsxntuple.h \
    230   $(SOPHYAINCP)xntuple.h fitslocalmap.h \
    231   $(SOPHYAINCP)localmap.h fbtntintf.h \
    232   $(SOPHYAINCP)ntupintf.h
    233         $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  fitsautoreader.cc
    234  
    235186$(SOPHYAOBJP)fitsbntbllineRW.o: fitsbntbllineRW.cc \
    236187  $(SOPHYAINCP)sopnamsp.h \
     
    633584        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  fitstarray.cc
    634585 
    635 $(SOPHYAOBJP)fitsxntuple.o: fitsxntuple.cc \
    636   $(SOPHYAINCP)sopnamsp.h \
    637   $(SOPHYAINCP)pexceptions.h \
    638   $(SOPHYAINCP)machdefs.h fitsxntuple.h \
    639   $(SOPHYAINCP)machdefs.h \
    640   $(SOPHYAINCP)xntuple.h \
    641   $(SOPHYAINCP)ntupintf.h \
    642   $(SOPHYAINCP)ppersist.h \
    643   $(SOPHYAINCP)pexceptions.h \
    644   $(SOPHYAINCP)gnumd5.h \
    645   $(SOPHYAINCP)ppfbinstream.h \
    646   $(SOPHYAINCP)rawstream.h \
    647   $(SOPHYAINCP)ppfnametag.h \
    648   $(SOPHYAINCP)dvlist.h \
    649   $(SOPHYAINCP)objfio.h \
    650   $(SOPHYAINCP)anydataobj.h \
    651   $(SOPHYAINCP)mutyv.h \
    652   $(SOPHYAINCP)timestamp.h \
    653   $(SOPHYAINCP)anydataobj.h \
    654   $(SOPHYAINCP)ppersist.h fitsfile.h \
    655   $(SOPHYAINCP)ndatablock.h \
    656   $(SOPHYAINCP)dvlist.h fitsinoutfile.h \
    657   $(SOPHYAINCP)FitsIO/fitsio.h \
    658   $(SOPHYAINCP)FitsIO/longnam.h fitshandler.h
    659         $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  fitsxntuple.cc
    660  
    661586$(SOPHYAOBJP)swfitsdtable.o: swfitsdtable.cc swfitsdtable.h \
    662587  $(SOPHYAINCP)basedtable.h \
  • trunk/SophyaExt/IFFTW/fftw3server.cc

    r3412 r3572  
    209209  sa_size_t n = in.NElts();
    210210  sa_size_t ncs = n/2+1;
    211   sa_size_t nc = (n%2 != 0) ? n/2+1 : n/2;
     211  //unused: sa_size_t nc = (n%2 != 0) ? n/2+1 : n/2;
    212212  if (out.NElts() != ncs)
    213213    throw SzMismatchError("FFTWServer::ReShapetoCompl() - Wrong output array size !");
     
    398398  sa_size_t n = in.NElts();
    399399  sa_size_t ncs = n/2+1;
    400   sa_size_t nc = (n%2 != 0) ? n/2+1 : n/2;
     400  //unused: sa_size_t nc = (n%2 != 0) ? n/2+1 : n/2;
    401401  if (out.NElts() != ncs)
    402402    throw SzMismatchError("FFTWServer::ReShapetoCompl() - Wrong output array size !");
  • trunk/SophyaExt/LinAlg/intflapack.cc

    r3534 r3572  
    178178extern "C" {
    179179// Le calculateur de workingspace
    180   int_4 ilaenv(int_4 *ispec,char *name,char *opts,int_4 *n1,int_4 *n2,int_4 *n3,int_4 *n4,
     180  int_4 ilaenv(int_4 *ispec,const char *name,const char *opts,int_4 *n1,int_4 *n2,int_4 *n3,int_4 *n4,
    181181                int_4 nc1,int_4 nc2);
    182182
     
    300300////////////////////////////////////////////////////////////////////////////////////
    301301template <class T>
    302 int_4 LapackServer<T>::ilaenv_en_C(int_4 ispec,char *name,char *opts,int_4 n1,int_4 n2,int_4 n3,int_4 n4)
     302int_4 LapackServer<T>::ilaenv_en_C(int_4 ispec,const char *name,const char *opts,int_4 n1,int_4 n2,int_4 n3,int_4 n4)
    303303{
    304304 int_4 nc1 = strlen(name), nc2 = strlen(opts), rc=0;
     
    519519  int_4 info;
    520520
    521   int_4 minmn = (m < n) ? m : n;
     521  //unused: int_4 minmn = (m < n) ? m : n;
    522522  int_4 maxmn = (m > n) ? m : n;
    523523  int_4 maxmnrhs = (nrhs > maxmn) ? nrhs : maxmn;
     
    788788  int_4 m = a.Size(rowa);
    789789  int_4 n = a.Size(cola);
    790   int_4 maxmn = (m > n) ? m : n;
     790  //unused: int_4 maxmn = (m > n) ? m : n;
    791791  int_4 minmn = (m < n) ? m : n;
    792792
  • trunk/SophyaExt/LinAlg/intflapack.h

    r2906 r3572  
    4040  int SVDDriver(TArray<T>& a, TArray<T> & s,
    4141                TArray<T>* up=NULL, TArray<T> * vtp=NULL);
    42   int_4 ilaenv_en_C(int_4 ispec,char *name,char *opts,int_4 n1,int_4 n2,int_4 n3,int_4 n4);
     42  int_4 ilaenv_en_C(int_4 ispec,const char *name,const char *opts,int_4 n1,int_4 n2,int_4 n3,int_4 n4);
    4343  int_4 type2i4(void *val,int nbytes);
    4444
  • trunk/SophyaExt/XAstroPack/mollweide.cc

    r2730 r3572  
    4848 \endverbatim
    4949*/
    50 double MollWeide_XY(double longitude,double latitude,double* xmoll,double*ymoll)
     50double MollWeide_XY(double longitude,double latitude,double& xmoll,double& ymoll)
    5151{
    5252 int i,niter=2;
     
    9090
    9191 t0 *= asgn;
    92  *xmoll = 2.*M_SQRT2*(longitude-M_PI)/M_PI*cos(t0);
    93  *ymoll = M_SQRT2*sin(t0);
     92 xmoll = 2.*M_SQRT2*(longitude-M_PI)/M_PI*cos(t0);
     93 ymoll = M_SQRT2*sin(t0);
    9494
    9595 return t0;
     
    118118 \endverbatim
    119119*/
    120 double MollWeide_LL(double xmoll,double ymoll,double* longitude,double* latitude)
     120double MollWeide_LL(double xmoll,double ymoll,double& longitude,double& latitude)
    121121{
    122122 double t,a,eps=1.e-20;
    123123
    124  *longitude = *latitude = -999.;
     124 longitude = latitude = -999.;
    125125 if(xmoll<-2*M_SQRT2 || xmoll>2*M_SQRT2) return(-901.);
    126126 if(ymoll<-M_SQRT2 || ymoll>M_SQRT2) return(-902.);
     
    130130
    131131 a = (2.*t+sin(2.*t))/M_PI; if(a<-1.) a=-1.; else if(a>1.) a=1.;
    132  *latitude = asin(a);
     132 latitude = asin(a);
    133133
    134134 a= cos(t);
    135135 if(fabs(a)<eps) return(-903.);
    136  *longitude = M_PI*(xmoll/(2.*M_SQRT2*a)+1.);
     136 longitude = M_PI*(xmoll/(2.*M_SQRT2*a)+1.);
    137137
    138138 return(t);
  • trunk/SophyaExt/XAstroPack/mollweide.h

    r1811 r3572  
    11#ifndef MOLLWEIDE_H_SEEN
    22#define MOLLWEIDE_H_SEEN
    3 double MollWeide_XY(double longitude,double latitude,double* xmoll,double* ymoll);
    4 double MollWeide_LL(double xmoll,double ymoll,double* longitude,double* latitude);
     3double MollWeide_XY(double longitude,double latitude,double& xmoll,double& ymoll);
     4double MollWeide_LL(double xmoll,double ymoll,double& longitude,double& latitude);
    55#endif
  • trunk/SophyaExt/XAstroPack/tstmollweide.cc

    r2743 r3572  
    2020   a = 2.*tvrai+sin(2.*tvrai);
    2121   lat = asin(a/M_PI);
    22    tcalc = MollWeide_XY(0.,lat,&x,&y);
     22   tcalc = MollWeide_XY(0.,lat,x,y);
    2323   if(fabs(tcalc-tvrai)>tll) {tll = fabs(tcalc-tvrai); txy=tvrai;}
    2424   if(file) fprintf(file,"%e %e %e %e\n",tvrai,tcalc,a,tcalc-tvrai);
     
    2828
    2929 for(lon=0.;lon<360.;lon+=2.5) for(lat=-90.;lat<=90.1;lat+=2.5) {
    30    txy = MollWeide_XY(lon*M_PI/180.,lat*M_PI/180.,&x,&y);
    31    tll = MollWeide_LL(x,y,&longitude,&latitude);
     30   txy = MollWeide_XY(lon*M_PI/180.,lat*M_PI/180.,x,y);
     31   tll = MollWeide_LL(x,y,longitude,latitude);
    3232   longitude *= 180./M_PI;
    3333   latitude  *= 180./M_PI;
  • trunk/SophyaLib/BaseTools/dvlist.cc

    r3233 r3572  
    115115/* --Methode-- */
    116116/*! Copy constructor - Object initialized using the PPF file \b flnm */
    117 DVList::DVList(char *flnm)
     117DVList::DVList(const char *flnm)
    118118{
    119119PInPersist s(flnm);
     
    192192// int_8   GetI(string const& key, int_8  def=-1)
    193193// r_8     GetD(string const& key, r_8 def=-9.e19)
    194 // string  GetS(string const& key, char* def="")
     194// string  GetS(string const& key, const char* def="")
    195195//      Retourne la valeur de la variable de nom "key" et de type entier, réél,
    196196//      chaine de caracteres.
     
    245245/*! Returns the value corresponding to name \b key, converted to string
    246246    Default value \b def is returned if name \b key not found */
    247 string      DVList::GetS(string const& key, char* def) const
     247string      DVList::GetS(string const& key, const char* def) const
    248248{
    249249ValList::const_iterator it = mvlist.find(key);
     
    265265// void  SetD(string const& key, r_8 val)
    266266// void  SetZ(string const& key, complex<r_8> val)
    267 // void  SetS(string const& key, char*  val)
     267// void  SetS(string const& key, const char*  val)
    268268// void  SetS(string const& key, string val)
    269269//      Crée la variable de nom "key", de type entier, double, complexe, string et
     
    322322/* --Methode-- */
    323323/*! Appends or sets the string value \b val in the list with name \b key */
    324 void        DVList::SetS(string const& key, char const* val)
     324void        DVList::SetS(string const& key, const char * val)
    325325{
    326326MuTyV div(val);
  • trunk/SophyaLib/BaseTools/dvlist.h

    r2826 r3572  
    2525                    DVList();
    2626                    DVList(const DVList&);
    27                     DVList(char *flnm);
     27                    DVList(const char *flnm);
    2828
    2929  virtual           ~DVList();
     
    3535
    3636  //! Returns the number of elements (variables) in DVList object
    37   inline int        Size() { return(mvlist.size()); }
     37  inline size_t     Size() const { return(mvlist.size()); }
    3838  //! Returns the number of elements (variables) in DVList object
    39   inline int        NVar() { return(mvlist.size()); }
     39  inline size_t     NVar() const { return(mvlist.size()); }
    4040
    4141  int_8             GetI(string const& key, int_8 def=-1) const;
    4242  r_8               GetD(string const& key, r_8 def=-9.e19) const;
    4343  complex<r_8>      GetZ(string const& key, complex<r_8> def=-9.e19) const;
    44   string            GetS(string const& key, char* def="") const;
     44  string            GetS(string const& key, const char* def="") const;
    4545  string            GetComment(string const& key) const;
    4646
     
    5151  void              SetD(string const& key, r_8 val);
    5252  void              SetZ(string const& key, complex<r_8> val);
    53   void              SetS(string const& key, char const*  val);
     53  void              SetS(string const& key, const char *  val);
    5454  void              SetS(string const& key, string const& val);
    5555  void              SetT(string const& key, TimeStamp const& val);
  • trunk/SophyaLib/BaseTools/ppfbinstream.cc

    r3525 r3572  
    511511        GetI8(i8);  // nb objets toplevel
    512512        GetU8(ui8); // nb de nametag
    513         for(int kt=0; kt<ui8; kt++) {
     513        for(uint_8 kt=0; kt<ui8; kt++) {
    514514          GetRawI4(i4);
    515515          s->seekg(i4,ios::cur);
     
    994994  int_4 tsz;
    995995  GetRawI4(tsz);
    996   if (tsz != sz)
     996  if (tsz != (int_4)sz)
    997997    throw FileFormatExc("PPFBinaryInputStream::GetPosTagTable Size mismatch ");
    998998  for(int kk=0; kk<tsz; kk++)
     
    10361036  // Pour indenter lors de l'impression
    10371037  #define _MXINDENT_ 10
    1038   char * indents[_MXINDENT_+1] = {"","  ", "    ", "      ", "        ", "          ",
     1038  const char * indents[_MXINDENT_+1] = {"","  ", "    ", "      ", "        ", "          ",
    10391039                                    "            ", "              ", "                ",
    10401040                                    "                  ", "                    "};
     
    11501150          GetI8s(stats,8);
    11511151          GetRawU8(ui8); // nb de nametag
    1152           for(int kt=0; kt<ui8; kt++) {
     1152          for(uint_8 kt=0; kt<ui8; kt++) {
    11531153            string tname;
    11541154            GetRawI8(i8);
  • trunk/SophyaLib/BaseTools/sophyainit.cc

    r3532 r3572  
    193193double SophyaInitiator::GetVersion(string& svers)
    194194{
    195   char* compiler = 0;
     195  const char* compiler = 0;
    196196  #ifdef __GNUG__
    197197  compiler = "gcc " __VERSION__;
  • trunk/SophyaLib/BaseTools/sversion.h

    r3532 r3572  
    33
    44#define SOPHYA_VERSION   2.1
    5 #define SOPHYA_REVISION  25
    6 #define SOPHYA_TAG       "V_Sep2008"
     5#define SOPHYA_REVISION  30
     6#define SOPHYA_TAG       "V_Fev2009"
    77
    88#endif
  • trunk/SophyaLib/HiStats/Makefile

    r3407 r3572  
    44 
    55clean:
    6          rm -f $(SOPHYAOBJP)basedtable.o $(SOPHYAOBJP)datatable.o $(SOPHYAOBJP)fio_dtable.o $(SOPHYAOBJP)hisprof.o $(SOPHYAOBJP)hist2err.o $(SOPHYAOBJP)histerr.o $(SOPHYAOBJP)histinit.o $(SOPHYAOBJP)histos.o $(SOPHYAOBJP)histos2.o $(SOPHYAOBJP)ntupintf.o $(SOPHYAOBJP)ntuple.o $(SOPHYAOBJP)proxtuple.o $(SOPHYAOBJP)swppfdtable.o $(SOPHYAOBJP)xntuple.o
     6         rm -f $(SOPHYAOBJP)basedtable.o $(SOPHYAOBJP)datatable.o $(SOPHYAOBJP)fio_dtable.o $(SOPHYAOBJP)hisprof.o $(SOPHYAOBJP)hist2err.o $(SOPHYAOBJP)histerr.o $(SOPHYAOBJP)histinit.o $(SOPHYAOBJP)histos.o $(SOPHYAOBJP)histos2.o $(SOPHYAOBJP)ntupintf.o $(SOPHYAOBJP)ntuple.o $(SOPHYAOBJP)proxtuple.o $(SOPHYAOBJP)swppfdtable.o
    77        rm -f $(SOPHYALIBP)libHiStats.a
    88 
    9 $(SOPHYALIBP)libHiStats.a : $(SOPHYAOBJP)basedtable.o $(SOPHYAOBJP)datatable.o $(SOPHYAOBJP)fio_dtable.o $(SOPHYAOBJP)hisprof.o $(SOPHYAOBJP)hist2err.o $(SOPHYAOBJP)histerr.o $(SOPHYAOBJP)histinit.o $(SOPHYAOBJP)histos2.o $(SOPHYAOBJP)histos.o $(SOPHYAOBJP)ntupintf.o $(SOPHYAOBJP)ntuple.o $(SOPHYAOBJP)proxtuple.o $(SOPHYAOBJP)swppfdtable.o $(SOPHYAOBJP)xntuple.o
     9$(SOPHYALIBP)libHiStats.a : $(SOPHYAOBJP)basedtable.o $(SOPHYAOBJP)datatable.o $(SOPHYAOBJP)fio_dtable.o $(SOPHYAOBJP)hisprof.o $(SOPHYAOBJP)hist2err.o $(SOPHYAOBJP)histerr.o $(SOPHYAOBJP)histinit.o $(SOPHYAOBJP)histos2.o $(SOPHYAOBJP)histos.o $(SOPHYAOBJP)ntupintf.o $(SOPHYAOBJP)ntuple.o $(SOPHYAOBJP)proxtuple.o $(SOPHYAOBJP)swppfdtable.o
    1010        $(AR) $(ARFLAGS) $@ $?
    1111        touch $(SOPHYAINCP)/SophyaConfInfo/libsophya.objlist
     
    228228  $(SOPHYAINCP)utils.h hisprof.h histerr.h \
    229229  hist2err.h $(SOPHYAINCP)tmatrix.h ntuple.h \
    230   ntupintf.h $(SOPHYAINCP)dvlist.h xntuple.h \
    231   datatable.h basedtable.h \
    232   $(SOPHYAINCP)segdatablock.h \
     230  ntupintf.h $(SOPHYAINCP)dvlist.h datatable.h \
     231  basedtable.h $(SOPHYAINCP)segdatablock.h \
    233232  $(SOPHYAINCP)thsafeop.h swppfdtable.h \
    234233  $(SOPHYAINCP)swsegdb.h \
     
    384383        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  swppfdtable.cc
    385384 
    386 $(SOPHYAOBJP)xntuple.o: xntuple.cc $(SOPHYAINCP)ppersist.h \
    387   $(SOPHYAINCP)machdefs.h \
    388   $(SOPHYAINCP)pexceptions.h \
    389   $(SOPHYAINCP)gnumd5.h \
    390   $(SOPHYAINCP)ppfbinstream.h \
    391   $(SOPHYAINCP)rawstream.h \
    392   $(SOPHYAINCP)ppfnametag.h \
    393   $(SOPHYAINCP)ppersist.h \
    394   $(SOPHYAINCP)perrors.h xntuple.h \
    395   $(SOPHYAINCP)machdefs.h ntupintf.h \
    396   $(SOPHYAINCP)dvlist.h \
    397   $(SOPHYAINCP)objfio.h \
    398   $(SOPHYAINCP)anydataobj.h \
    399   $(SOPHYAINCP)mutyv.h \
    400   $(SOPHYAINCP)timestamp.h \
    401   $(SOPHYAINCP)objfio.h
    402         $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  xntuple.cc
    403  
  • trunk/SophyaLib/HiStats/histats.h

    r3140 r3572  
    99#include "hist2err.h"
    1010#include "ntuple.h"
    11 #include "xntuple.h"
    1211#include "datatable.h"
    1312#include "swppfdtable.h"
  • trunk/SophyaLib/HiStats/histinit.cc

    r3169 r3572  
    1212#include "hist2err.h"
    1313#include "ntuple.h"
    14 #include "xntuple.h"
    1514#include "datatable.h"
    1615#include "swppfdtable.h"
     
    3938  - Histo2DErr
    4039  - NTuple
    41   - XNTuple
    4240  - DataTable
    4341  - SwPPFDataTable
     
    7068  PPRegister(ObjFileIO<NTuple>);
    7169  DObjRegister(ObjFileIO<NTuple>, NTuple);
    72   PPRegister(ObjFileIO<XNTuple>);
    73   DObjRegister(ObjFileIO<XNTuple>, XNTuple);
    7470
    7571  PPRegister(ObjFileIO<BaseDataTable>);
  • trunk/SophyaLib/HiStats/histos.cc

    r3236 r3572  
    15501550
    15511551// Ecriture entete pour identifier facilement
    1552 sprintf(strg,"V_2 mBins=%6d  NEnt=%15d  errok=%1d",dobj->mBins,dobj->nEntries,errok);
     1552sprintf(strg,"V_2 mBins=%6d  NEnt=%15llu  errok=%1d",dobj->mBins,dobj->nEntries,errok);
    15531553os.PutLine(strg);
    15541554sprintf(strg,"binw=%g  mMin=%g mMax=%g",dobj->binWidth,dobj->mMin,dobj->mMax);
  • trunk/SophyaLib/HiStats/ntuple.cc

    r3392 r3572  
    2626   #include "ntuple.h"
    2727   // ...
    28    char * names[3] = {"XPos", "YPos", "Val"};
     28   const char * names[3] = {"XPos", "YPos", "Val"};
    2929   // NTuple (Table) creation with 3 columns (double precision)
    3030   NTuple  nt(3, names);
     
    7373
    7474
    75 //! Constructor with specification of number of columns and column name
     75//! Constructor with specification of number of columns and column names
    7676/*!
    7777  \param nvar : Number of columns in the table
    78   \param noms : Array of column names (length(name) < 8 characters)
     78  \param noms : Array of column names
    7979  \param blk : Optional argument specifying number of table lines
    8080  in a given data block
     
    9090//--
    9191{
    92 mNVar = mNEnt = mBlk = mNBlk = 0;
    93 mVar = NULL;
    94 mVarD = NULL;
    95 mInfo = NULL;
    96 mThS = NULL;
    97 if (nvar <= 0)  throw ParmError("NTuple::NTuple(nvar<=0) ");
    98 mNVar = nvar;
    99 mVar = new r_4[nvar];
    100 mVarD = new r_8[nvar];
    101 if (blk < 10) blk = 10;
    102 mBlk = blk;
    103 
    104 if (fgdouble) {
    105   r_8* pt = new r_8[nvar*blk];
    106   mNBlk = 1;
    107   mPtrD.push_back(pt);
    108   mFgDouble = true;
    109 }
    110 else {
    111   r_4* pt = new r_4[nvar*blk];
    112   mNBlk = 1;
    113   mPtr.push_back(pt);
    114   mFgDouble = false;
    115 }
     92if (nvar <= 0)  throw ParmError("NTuple::NTuple(nvar<=0) with char** noms");
     93Initialize(nvar,blk,fgdouble);
    11694for(int i=0; i<nvar; i++) mNames.push_back(noms[i]);
    11795return;
    11896}
    11997
    120 //! Constructor with specification of number of columns and column name
     98
     99//! Constructor with specification of number of columns and column names
     100/*!
     101  \param nvar : Number of columns in the table
     102  \param noms : Array of column names
     103  \param blk : Optional argument specifying number of table lines
     104  in a given data block
     105  \param fgdouble : if \b true: internal data kept as double precision values (r_8),
     106  simple precision (r_4) otherwise
     107 */
     108//++
     109NTuple::NTuple(int nvar, const char** noms, int blk, bool fgdouble)
     110//
     111//      Createur d'un ntuple de `nvar' variables dont les
     112//      noms sont dans le tableau de chaines de caracteres `noms'
     113//      avec `blk' d'evenements par blocks.
     114//--
     115{
     116if (nvar <= 0)  throw ParmError("NTuple::NTuple(nvar<=0) with const char** noms");
     117Initialize(nvar,blk,fgdouble);
     118for(int i=0; i<nvar; i++) mNames.push_back(noms[i]);
     119return;
     120}
     121
     122//! Constructor with specification of number of columns and column names as a string vector
    121123/*!
    122124  \param noms : Array of column names (length(name) < 8 characters)
     
    128130NTuple::NTuple(vector<string>& noms, int blk, bool fgdouble)
    129131{
     132int nvar = noms.size();
     133if (nvar <= 0)  throw ParmError("NTuple::NTuple(nvar<=0) with vector<string>& noms");
     134Initialize(nvar,blk,fgdouble);
     135for(int i=0; i<nvar; i++) mNames.push_back(noms[i]);
     136return;
     137}
     138
     139
     140/* --Methode-- */
     141/* Initialisation pour Createurs (fonction privee) */
     142void NTuple::Initialize(int nvar, int blk, bool fgdouble)
     143{
    130144mNVar = mNEnt = mBlk = mNBlk = 0;
    131145mVar = NULL;
     
    133147mInfo = NULL;
    134148mThS = NULL;
    135 int nvar = noms.size();
    136 if (nvar <= 0)  throw ParmError("NTuple::NTuple(nvar<=0) ");
    137149mNVar = nvar;
    138150mVar = new r_4[nvar];
     
    153165  mFgDouble = false;
    154166}
    155 for(int i=0; i<nvar; i++) mNames.push_back(noms[i]);
     167
    156168return;
    157169}
     
    206218Clean();
    207219}
     220
    208221/* --Methode-- */
    209222/*!
     
    494507//--
    495508{
    496 char * tt = "float";
     509const char * tt = "float";
    497510if (mFgDouble) tt = "double";
    498511os << "NTuple T=" << tt << " : NVar= " << mNVar << " NEnt=" << mNEnt 
  • trunk/SophyaLib/HiStats/ntuple.h

    r3392 r3572  
    3030  NTuple();
    3131  NTuple(int nvar, char** noms, int blk=512, bool fgdouble=true);
     32  NTuple(int nvar, const char** noms, int blk=512, bool fgdouble=true);
    3233  NTuple(vector<string>& noms, int blk=512, bool fgdouble=true);
    3334  NTuple(const NTuple& NT);
     
    9697
    9798private:
     99  void Initialize(int nvar, int blk, bool fgdouble);
    98100  void  Clean();
    99101
  • trunk/SophyaLib/HiStats/objlist.list

    r3121 r3572  
    1212proxtuple.o
    1313swppfdtable.o
    14 xntuple.o
  • trunk/SophyaLib/HiStats/proxtuple.cc

    r2615 r3572  
    4141  if (_tuple==0) {
    4242    char** names=new char* [N];
    43     for (int i=0;i<N;i++) names[i]=const_cast<char*>(_name[i].c_str());
     43    for (int i=0;i<N;i++) names[i]=const_cast<char *>(_name[i].c_str());
    4444    _tuple=new NTuple(N,names);
    4545    delete[] names;
     
    5252  _val.clear();
    5353
    54 
    5554}
  • trunk/SophyaLib/HiStats/smakefile

    r3407 r3572  
    44 
    55clean:
    6          rm -f $(SOPHYAOBJP)basedtable.o $(SOPHYAOBJP)datatable.o $(SOPHYAOBJP)fio_dtable.o $(SOPHYAOBJP)hisprof.o $(SOPHYAOBJP)hist2err.o $(SOPHYAOBJP)histerr.o $(SOPHYAOBJP)histinit.o $(SOPHYAOBJP)histos.o $(SOPHYAOBJP)histos2.o $(SOPHYAOBJP)ntupintf.o $(SOPHYAOBJP)ntuple.o $(SOPHYAOBJP)proxtuple.o $(SOPHYAOBJP)swppfdtable.o $(SOPHYAOBJP)xntuple.o
     6         rm -f $(SOPHYAOBJP)basedtable.o $(SOPHYAOBJP)datatable.o $(SOPHYAOBJP)fio_dtable.o $(SOPHYAOBJP)hisprof.o $(SOPHYAOBJP)hist2err.o $(SOPHYAOBJP)histerr.o $(SOPHYAOBJP)histinit.o $(SOPHYAOBJP)histos.o $(SOPHYAOBJP)histos2.o $(SOPHYAOBJP)ntupintf.o $(SOPHYAOBJP)ntuple.o $(SOPHYAOBJP)proxtuple.o $(SOPHYAOBJP)swppfdtable.o
    77        rm -f $(SOPHYALIBP)libHiStats.a
    88 
    9 $(SOPHYALIBP)libHiStats.a : $(SOPHYAOBJP)basedtable.o $(SOPHYAOBJP)datatable.o $(SOPHYAOBJP)fio_dtable.o $(SOPHYAOBJP)hisprof.o $(SOPHYAOBJP)hist2err.o $(SOPHYAOBJP)histerr.o $(SOPHYAOBJP)histinit.o $(SOPHYAOBJP)histos2.o $(SOPHYAOBJP)histos.o $(SOPHYAOBJP)ntupintf.o $(SOPHYAOBJP)ntuple.o $(SOPHYAOBJP)proxtuple.o $(SOPHYAOBJP)swppfdtable.o $(SOPHYAOBJP)xntuple.o
     9$(SOPHYALIBP)libHiStats.a : $(SOPHYAOBJP)basedtable.o $(SOPHYAOBJP)datatable.o $(SOPHYAOBJP)fio_dtable.o $(SOPHYAOBJP)hisprof.o $(SOPHYAOBJP)hist2err.o $(SOPHYAOBJP)histerr.o $(SOPHYAOBJP)histinit.o $(SOPHYAOBJP)histos2.o $(SOPHYAOBJP)histos.o $(SOPHYAOBJP)ntupintf.o $(SOPHYAOBJP)ntuple.o $(SOPHYAOBJP)proxtuple.o $(SOPHYAOBJP)swppfdtable.o
    1010        $(AR) $(ARFLAGS) $@ $?
    1111        touch $(SOPHYAINCP)/SophyaConfInfo/libsophya.objlist
     
    228228  $(SOPHYAINCP)utils.h hisprof.h histerr.h \
    229229  hist2err.h $(SOPHYAINCP)tmatrix.h ntuple.h \
    230   ntupintf.h $(SOPHYAINCP)dvlist.h xntuple.h \
    231   datatable.h basedtable.h \
    232   $(SOPHYAINCP)segdatablock.h \
     230  ntupintf.h $(SOPHYAINCP)dvlist.h datatable.h \
     231  basedtable.h $(SOPHYAINCP)segdatablock.h \
    233232  $(SOPHYAINCP)thsafeop.h swppfdtable.h \
    234233  $(SOPHYAINCP)swsegdb.h \
     
    384383        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  swppfdtable.cc
    385384 
    386 $(SOPHYAOBJP)xntuple.o: xntuple.cc $(SOPHYAINCP)ppersist.h \
    387   $(SOPHYAINCP)machdefs.h \
    388   $(SOPHYAINCP)pexceptions.h \
    389   $(SOPHYAINCP)gnumd5.h \
    390   $(SOPHYAINCP)ppfbinstream.h \
    391   $(SOPHYAINCP)rawstream.h \
    392   $(SOPHYAINCP)ppfnametag.h \
    393   $(SOPHYAINCP)ppersist.h \
    394   $(SOPHYAINCP)perrors.h xntuple.h \
    395   $(SOPHYAINCP)machdefs.h ntupintf.h \
    396   $(SOPHYAINCP)dvlist.h \
    397   $(SOPHYAINCP)objfio.h \
    398   $(SOPHYAINCP)anydataobj.h \
    399   $(SOPHYAINCP)mutyv.h \
    400   $(SOPHYAINCP)timestamp.h \
    401   $(SOPHYAINCP)objfio.h
    402         $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  xntuple.cc
    403  
  • trunk/SophyaLib/NTools/Makefile

    r3406 r3572  
    44 
    55clean:
    6          rm -f $(SOPHYAOBJP)FSAppIrrSmpl.o $(SOPHYAOBJP)cimage.o $(SOPHYAOBJP)cspline.o $(SOPHYAOBJP)datatypes.o $(SOPHYAOBJP)dates.o $(SOPHYAOBJP)difeq.o $(SOPHYAOBJP)dynccd.o $(SOPHYAOBJP)fct1dfit.o $(SOPHYAOBJP)fct2dfit.o $(SOPHYAOBJP)fftmserver.o $(SOPHYAOBJP)fftpserver.o $(SOPHYAOBJP)fftservintf.o $(SOPHYAOBJP)functab.o $(SOPHYAOBJP)generaldata.o $(SOPHYAOBJP)generalfit.o $(SOPHYAOBJP)generalfunc.o $(SOPHYAOBJP)imageop.o $(SOPHYAOBJP)integ.o $(SOPHYAOBJP)median.o $(SOPHYAOBJP)ntoolsinit.o $(SOPHYAOBJP)objfitter.o $(SOPHYAOBJP)perandom.o $(SOPHYAOBJP)poly.o $(SOPHYAOBJP)rk4cdifeq.o $(SOPHYAOBJP)simplesort.o $(SOPHYAOBJP)simplex.o $(SOPHYAOBJP)tabmath.o $(SOPHYAOBJP)toeplitzMatrix.o $(SOPHYAOBJP)datime.o $(SOPHYAOBJP)fftmayer_r4.o $(SOPHYAOBJP)fftmayer_r8.o $(SOPHYAOBJP)fftpackc.o $(SOPHYAOBJP)matxop.o $(SOPHYAOBJP)nbmath.o $(SOPHYAOBJP)nbtri.o
     6         rm -f $(SOPHYAOBJP)FSAppIrrSmpl.o $(SOPHYAOBJP)cimage.o $(SOPHYAOBJP)cspline.o $(SOPHYAOBJP)datatypes.o $(SOPHYAOBJP)dates.o $(SOPHYAOBJP)difeq.o $(SOPHYAOBJP)dynccd.o $(SOPHYAOBJP)fct1dfit.o $(SOPHYAOBJP)fct2dfit.o $(SOPHYAOBJP)fftmserver.o $(SOPHYAOBJP)fftpserver.o $(SOPHYAOBJP)fftservintf.o $(SOPHYAOBJP)functab.o $(SOPHYAOBJP)generaldata.o $(SOPHYAOBJP)generalfit.o $(SOPHYAOBJP)generalfunc.o $(SOPHYAOBJP)imageop.o $(SOPHYAOBJP)integ.o $(SOPHYAOBJP)median.o $(SOPHYAOBJP)ntoolsinit.o $(SOPHYAOBJP)objfitter.o $(SOPHYAOBJP)perandom.o $(SOPHYAOBJP)poly.o $(SOPHYAOBJP)rk4cdifeq.o $(SOPHYAOBJP)simplesort.o $(SOPHYAOBJP)simplex.o $(SOPHYAOBJP)slinparbuff.o $(SOPHYAOBJP)tabmath.o $(SOPHYAOBJP)toeplitzMatrix.o $(SOPHYAOBJP)datime.o $(SOPHYAOBJP)fftmayer_r4.o $(SOPHYAOBJP)fftmayer_r8.o $(SOPHYAOBJP)fftpackc.o $(SOPHYAOBJP)matxop.o $(SOPHYAOBJP)nbmath.o $(SOPHYAOBJP)nbtri.o
    77        rm -f $(SOPHYALIBP)libNTools.a
    88 
    9 $(SOPHYALIBP)libNTools.a : $(SOPHYAOBJP)cimage.o $(SOPHYAOBJP)cspline.o $(SOPHYAOBJP)datatypes.o $(SOPHYAOBJP)dates.o $(SOPHYAOBJP)datime.o $(SOPHYAOBJP)difeq.o $(SOPHYAOBJP)dynccd.o $(SOPHYAOBJP)fct1dfit.o $(SOPHYAOBJP)fct2dfit.o $(SOPHYAOBJP)fftmayer_r4.o $(SOPHYAOBJP)fftmayer_r8.o $(SOPHYAOBJP)fftmserver.o $(SOPHYAOBJP)fftpackc.o $(SOPHYAOBJP)fftpserver.o $(SOPHYAOBJP)fftservintf.o $(SOPHYAOBJP)FSAppIrrSmpl.o $(SOPHYAOBJP)functab.o $(SOPHYAOBJP)generaldata.o $(SOPHYAOBJP)generalfit.o $(SOPHYAOBJP)generalfunc.o $(SOPHYAOBJP)integ.o $(SOPHYAOBJP)matxop.o $(SOPHYAOBJP)median.o $(SOPHYAOBJP)nbmath.o $(SOPHYAOBJP)nbtri.o $(SOPHYAOBJP)ntoolsinit.o $(SOPHYAOBJP)objfitter.o $(SOPHYAOBJP)perandom.o $(SOPHYAOBJP)poly.o $(SOPHYAOBJP)rk4cdifeq.o $(SOPHYAOBJP)simplesort.o $(SOPHYAOBJP)simplex.o $(SOPHYAOBJP)tabmath.o $(SOPHYAOBJP)toeplitzMatrix.o
     9$(SOPHYALIBP)libNTools.a : $(SOPHYAOBJP)cimage.o $(SOPHYAOBJP)cspline.o $(SOPHYAOBJP)datatypes.o $(SOPHYAOBJP)dates.o $(SOPHYAOBJP)datime.o $(SOPHYAOBJP)difeq.o $(SOPHYAOBJP)dynccd.o $(SOPHYAOBJP)fct1dfit.o $(SOPHYAOBJP)fct2dfit.o $(SOPHYAOBJP)fftmayer_r4.o $(SOPHYAOBJP)fftmayer_r8.o $(SOPHYAOBJP)fftmserver.o $(SOPHYAOBJP)fftpackc.o $(SOPHYAOBJP)fftpserver.o $(SOPHYAOBJP)fftservintf.o $(SOPHYAOBJP)FSAppIrrSmpl.o $(SOPHYAOBJP)functab.o $(SOPHYAOBJP)generaldata.o $(SOPHYAOBJP)generalfit.o $(SOPHYAOBJP)generalfunc.o $(SOPHYAOBJP)integ.o $(SOPHYAOBJP)matxop.o $(SOPHYAOBJP)median.o $(SOPHYAOBJP)nbmath.o $(SOPHYAOBJP)nbtri.o $(SOPHYAOBJP)ntoolsinit.o $(SOPHYAOBJP)objfitter.o $(SOPHYAOBJP)perandom.o $(SOPHYAOBJP)poly.o $(SOPHYAOBJP)rk4cdifeq.o $(SOPHYAOBJP)simplesort.o $(SOPHYAOBJP)simplex.o $(SOPHYAOBJP)slinparbuff.o $(SOPHYAOBJP)tabmath.o $(SOPHYAOBJP)toeplitzMatrix.o
    1010        $(AR) $(ARFLAGS) $@ $?
    1111        touch $(SOPHYAINCP)/SophyaConfInfo/libsophya.objlist
     
    3939  $(SOPHYAINCP)matharr.h \
    4040  $(SOPHYAINCP)fioarr.h \
    41   $(SOPHYAINCP)sopemtx.h fftservintf.h \
     41  $(SOPHYAINCP)sopemtx.h \
     42  $(SOPHYAINCP)arrctcast.h fftservintf.h \
    4243  $(SOPHYAINCP)pexceptions.h \
    4344  $(SOPHYAINCP)tmatrix.h \
     
    640641        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  simplex.cc
    641642 
     643$(SOPHYAOBJP)slinparbuff.o: slinparbuff.cc \
     644  $(SOPHYAINCP)machdefs.h \
     645  $(SOPHYAINCP)pexceptions.h \
     646  $(SOPHYAINCP)machdefs.h slinparbuff.h
     647        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  slinparbuff.cc
     648 
    642649$(SOPHYAOBJP)tabmath.o: tabmath.cc $(SOPHYAINCP)sopnamsp.h \
    643650  $(SOPHYAINCP)machdefs.h tabmath.h peida.h \
     
    677684  $(SOPHYAINCP)matharr.h \
    678685  $(SOPHYAINCP)fioarr.h \
    679   $(SOPHYAINCP)sopemtx.h fftservintf.h \
     686  $(SOPHYAINCP)sopemtx.h \
     687  $(SOPHYAINCP)arrctcast.h fftservintf.h \
    680688  $(SOPHYAINCP)pexceptions.h \
    681689  $(SOPHYAINCP)tmatrix.h \
  • trunk/SophyaLib/NTools/datatypes.cc

    r2615 r3572  
    99
    1010/* Nouvelle-Fonction */
    11 char * DataName(PBaseDataTypes typ)
     11const char * DataName(PBaseDataTypes typ)
    1212{
    1313switch (typ)
     
    3333
    3434/* Nouvelle-Fonction */
    35 char * DataLongName(PBaseDataTypes typ)
     35const char * DataLongName(PBaseDataTypes typ)
    3636{
    3737switch (typ)
  • trunk/SophyaLib/NTools/datatypes.h

    r244 r3572  
    2323inline PBaseDataTypes DataType(r_8)    {return kr_8;}
    2424
    25 char * DataName(PBaseDataTypes);
    26 char * DataLongName(PBaseDataTypes);
     25const char * DataName(PBaseDataTypes);
     26const char * DataLongName(PBaseDataTypes);
    2727int    DataSize(PBaseDataTypes);
    2828
  • trunk/SophyaLib/NTools/dates.cc

    r2808 r3572  
    3939TimeZone::TimeZone()
    4040{
    41   char* p = getenv("ACQ_TZ");
     41  const char* p = getenv("ACQ_TZ");
    4242#if defined(__DECCXX) || defined(__KCC__) || defined(__aCC__)
    4343  if (!p) p = const_cast<char *>("France");
  • trunk/SophyaLib/NTools/functab.cc

    r2618 r3572  
    5353  Dx = (r_8)(XMax-XMin)/(r_8)(NTab-1);
    5454  Tabul = new r_8[NTab+2];
    55   for(int_4 i=0;i<NTab+2;i++) Tabul[i] = 0.;
     55  for(uint_4 i=0;i<NTab+2;i++) Tabul[i] = 0.;
    5656  PInterpL = PInterpP[0] = PInterpP[1] = NULL;
    5757  if(!Tabul) return;
    58   for(int_4 i=0;i<NTab;i++) Tabul[i+1] = func(XMin + i*Dx);
     58  for(uint_4 i=0;i<NTab;i++) Tabul[i+1] = func(XMin + i*Dx);
    5959  Tabul[0] = Tabul[1];
    6060  Tabul[NTab+1] = Tabul[NTab];
     
    106106    if(PInterpL) delete [] PInterpL;
    107107    PInterpL = new r_8[NTab+2];
    108     for(int_4 i=0;i<NTab+1;i++)
     108    for(uint_4 i=0;i<NTab+1;i++)
    109109      PInterpL[i] = (Tabul[i+1]-Tabul[i])/Dx;
    110110    PInterpL[NTab+1] = 0.;
     
    116116    PInterpP[0] = new r_8[NTab+2];
    117117    PInterpP[1] = new r_8[NTab+2];
    118     for(int_4 i=1;i<=NTab;i++) {
     118    for(uint_4 i=1;i<=NTab;i++) {
    119119      PInterpP[0][i] = (Tabul[i+1]+Tabul[i-1]-2.*Tabul[i])/(2.*Dx*Dx);
    120120      PInterpP[1][i] = (Tabul[i+1]-Tabul[i-1])/(2.*Dx);
  • trunk/SophyaLib/NTools/generalfit.cc

    r3205 r3572  
    279279  Pour ecrire les iterations dans le fichier filename
    280280*/
    281 void GeneralFit::WriteStep(char *filename)
     281void GeneralFit::WriteStep(const char *filename)
    282282{
    283283
  • trunk/SophyaLib/NTools/generalfit.h

    r3083 r3572  
    5353  ~GeneralFit();
    5454
    55   void            WriteStep(char *filename = NULL);
     55  void            WriteStep(const char *filename = NULL);
    5656  void            SetDebug(int level = 0);
    5757  void            SetMaxStep(int n = 100);
  • trunk/SophyaLib/NTools/ntools.h

    r1316 r3572  
    1515#include "poly.h"
    1616#include "datatypes.h"
     17#include "slinparbuff.h"
    1718
    1819#include "cimage.h"
  • trunk/SophyaLib/NTools/objlist.list

    r3083 r3572  
    3131simplesort.o
    3232simplex.o
     33slinparbuff.o
    3334tabmath.o
    3435toeplitzMatrix.o
  • trunk/SophyaLib/NTools/pclassids.h

    r2602 r3572  
    3030   ClassId_HistoErr = 0x0204,
    3131   ClassId_NTuple   = 0x0210,
    32    ClassId_XNTuple  = 0x0211,
    3332
    3433   ClassId_GeneralFitData  = 0x0290,
  • trunk/SophyaLib/NTools/poly.cc

    r3235 r3572  
    710710Poly2& Poly2::operator *= (double a)
    711711{
    712   for (uint_4 i=0; i<NElts(); i++) Element(i) *= a;
     712  for (int_4 i=0; i<NElts(); i++) Element(i) *= a;
    713713  return *this;
    714714}
  • trunk/SophyaLib/NTools/simplex.cc

    r2808 r3572  
    366366  int ilo, ihi, inhi;
    367367  int move = 0;
    368   char* smov[6] = { "None", "Reflection", "ReflecExpand", "ContractHigh", "ContractLow", "ExpandHigh" };
     368  const char* smov[6] = { "None", "Reflection", "ReflecExpand", "ContractHigh", "ContractLow", "ExpandHigh" };
    369369  int movcnt[6] = {0,0,0,0,0,0};
    370370
     
    511511int MinZSimplex::StopReason(string& s)
    512512{
    513   char* sr[5] = { "NoConverg, MaxIterReached", "OK, fm<Tol0", "OK, Df/f<Tol1",
     513  const char* sr[5] = { "NoConverg, MaxIterReached", "OK, fm<Tol0", "OK, Df/f<Tol1",
    514514                  "OK, [Df/f max]Iter<Tol2" "Error - Wrong StopReason" };
    515515  int stop = mStop;
  • trunk/SophyaLib/NTools/slinparbuff.h

    r2322 r3572  
    1 #include "machdefs.h"
    2 #include <iostream>
    3 #include <stdlib.h>
    4 #include <stdio.h>
    5 #include <math.h>
    6 #include <algorithm>
    71#include "pexceptions.h"
    82
     
    1711  friend class SLinParBuffMerger;
    1812
    19   //*****************************************************************
    20   SLinParBuff(uint_4 lenbuf,uint_4 nresynch=0
    21              ,r_8 x0=0.,r_8 y0=0.,bool autoxy0=false)
    22   // ---- Createur
    23   {
    24     if(lenbuf==0) throw RangeCheckError("SLinParBuff: lenbuf==0 !");
    25     mLenBuf = lenbuf;
    26     mNResynch = nresynch;
    27     mX = new r_8[mLenBuf]; mY = new r_8[mLenBuf];
    28     mX0 = x0; mY0 = y0; mAutoXY0 = autoxy0;
    29     Reset();
    30   }
     13  SLinParBuff(uint_4 lenbuf,uint_4 nresynch=0,r_8 x0=0.,r_8 y0=0.,bool autoxy0=false);
     14  SLinParBuff(SLinParBuff& slp);
     15  SLinParBuff(void);
     16  virtual ~SLinParBuff();
    3117
    32   SLinParBuff(SLinParBuff& slp)
    33   // ---- Createur par copie
    34   {
    35     mLenBuf = slp.mLenBuf;
    36     mNResynch = slp.mNResynch;
     18  void GetX0Y0(r_8& x0,r_8& y0);
     19  bool GetAutoX0Y0();
     20  void SetX0Y0(r_8 x0=0.,r_8 y0=0.);
     21  void SetAutoX0Y0(bool autoxy0=false);
    3722
    38     mX = mY = NULL;
    39     if(mLenBuf) {
    40       mX = new r_8[mLenBuf]; mY = new r_8[mLenBuf];
    41       for(uint_4 i=0;i<mLenBuf;i++) {mX[i]=slp.mX[i]; mY[i]=slp.mY[i];}
    42     }
    43 
    44     mX0 = slp.mX0; mY0 = slp.mY0; mAutoXY0 = slp.mAutoXY0;
    45     mNCur = slp.mNCur; mIDeb = slp.mIDeb; mIResynch = slp.mIResynch;
    46     mNResynchEff = slp.mNResynchEff; mNPush = slp.mNPush; mNPop = slp.mNPop;
    47 
    48     mSx = slp.mSx; mSy = slp.mSy;
    49     mSx2 = slp.mSx2; mSy2 = slp.mSy2; mSxy = slp.mSxy;
    50     mSx3 = slp.mSx3; mSx2y = slp.mSx2y;
    51     mSx4 = slp.mSx4;
    52   }
    53 
    54   SLinParBuff(void)
    55   // ---- Createur par defaut
    56   {
    57     mLenBuf = 0; mNResynch = 0;
    58     mX = mY = NULL;
    59     mX0 = mY0 = 0.; mAutoXY0 = false;
    60     Reset();
    61   }
    62 
    63   virtual ~SLinParBuff()
    64   // ---- Destructeur
    65   {
    66     if(mX) delete [] mX; if(mY) delete [] mY;
    67   }
    68 
    69   //*****************************************************************
    70   inline void GetX0Y0(r_8& x0,r_8& y0) {x0 = mX0; y0 = mY0;}
    71   inline bool GetAutoX0Y0() {return mAutoXY0;}
    72 
    73   inline void SetX0Y0(r_8 x0=0.,r_8 y0=0.)
    74   // ---- Stabilite numerique, centrage des x,y en mX0,mY0
    75   {
    76     mX0 = x0; mY0 = y0; mAutoXY0 = false;
    77     ReComputeSum();
    78   }
    79 
    80   inline void SetAutoX0Y0(bool autoxy0=false)
    81   // ---- Stabilite numerique, centrage automatique a <x> et <y>
    82   //      a chaque ReComputeSum
    83   {
    84     mAutoXY0 = autoxy0;
    85     ReComputeSum();
    86   }
    87 
    88   inline void Reset(void)
    89   // ---- Reset des sommes et des compteurs
    90   {
    91     mSx=mSy=mSx2=mSy2=mSxy=mSx3=mSx2y=mSx4=0.;
    92     mNCur = mIDeb = mIResynch = mNResynchEff = mNPush = mNPop = 0;
    93     //if(mX) for(uint_4 i=0;i<mLenBuf;i++) mX[i] = 0.;
    94     //if(mY) for(uint_4 i=0;i<mLenBuf;i++) mY[i] = 0.;
    95   }
    96 
    97   //*****************************************************************
    98   inline uint_4 Pop(void)
    99   // ---- Pour enlever la donnee la plus ancienne
    100   {
    101     if(mNCur==0) return mNCur;
    102     r_8 x=mX[mIDeb]-mX0, y=mY[mIDeb]-mY0; r_8 x2 = x*x;
    103     mSx  -= x;     mSy   -= y;
    104     mSx2 -= x2;    mSy2  -= y*y;   mSxy -= x*y;
    105     mSx3 -= x2*x;  mSx2y -= x2*y;
    106     mSx4 -= x2*x2;
    107     mNCur--; mNPop++;
    108     if(mNCur==0) {Reset(); return mNCur;}
    109     mIDeb++; if(mIDeb==mLenBuf) mIDeb=0;
    110     return mNCur;
    111   }
    112 
    113   inline uint_4 Push(r_8 x,r_8 y)
    114   // ---- Pour ajouter une donnee, la donnee la plus ancienne
    115   //      est enlevee si le buffer est deja plein.
    116   {
    117     uint_4 ifill;
    118     if(mNCur==mLenBuf) {
    119       r_8 X=mX[mIDeb]-mX0, Y=mY[mIDeb]-mY0; r_8 X2 = X*X;
    120       mSx  -= X;     mSy   -=Y;
    121       mSx2 -= X2;    mSy2  -=Y*Y;   mSxy -= X*Y;
    122       mSx3 -= X2*X;  mSx2y -=X*X*Y;
    123       mSx4 -= X2*X2;
    124       ifill = mIDeb;
    125       mIDeb++; if(mIDeb==mLenBuf) mIDeb=0;
    126     } else {
    127       ifill = (mIDeb+mNCur)%mLenBuf;
    128       mNCur++;
    129     }
    130     mX[ifill] = x; mY[ifill] = y;
    131     x -= mX0; y -= mY0; r_8 x2 = x*x;
    132     mSx += x; mSy += y;
    133     mSx2 += x2; mSy2 += y*y; mSxy += x*y;
    134     mSx3 += x2*x; mSx2y += x2*y;
    135     mSx4 += x2*x2;
    136     mNPush++;
    137     // Il faut re-synchroniser pour eviter les derives numeriques
    138     mIResynch++; if(mIResynch == mNResynch) ReComputeSum();
    139     return mNCur;
    140   }
    141 
    142   //*****************************************************************
    143   inline uint_4 ReComputeSum(void)
    144   // ---- Pour re-synchroniser (eviter les derives numeriques).
    145   {
    146     if(mNCur==0) return 0;
    147     // Re-centrage automatique a la moyenne demande:
    148     // Attention, mSx = sum(x-mX0) ==> nouvel mX0 = mSx/N + mX0(ancien)
    149     if(mAutoXY0) {mX0 = mSx/(r_8)mNCur + mX0; mY0 = mSy/(r_8)mNCur + mY0;}
    150     mSx=mSy=mSx2=mSy2=mSxy=mSx3=mSx2y=mSx4=0.;
    151     for(uint_4 i=mIDeb;i<mIDeb+mNCur;i++) {
    152       uint_4 ii = i%mLenBuf;
    153       r_8 x=mX[ii]-mX0, y=mY[ii]-mY0; r_8 x2 = x*x;
    154       mSx  += x;     mSy   += y;
    155       mSx2 += x2;    mSy2  += y*y;   mSxy += x*y;
    156       mSx3 += x2*x;  mSx2y += x2*y;
    157       mSx4 += x2*x2;
    158     }
    159     mIResynch=0;
    160     mNResynchEff++;
    161     return mNCur;
    162   }
    163 
    164   //*****************************************************************
    165   // ---- Retourne le nombre de points
     23  void Reset(void);
     24  uint_4 Pop(void);
     25  uint_4 Push(r_8 x,r_8 y);
    16626  inline uint_4 NPoints(void) {return mNCur;}
    16727
    168   inline r_8 Compute(r_8& mean,bool recomputeXi2=false)
    169   // ---- Calcul <y>, Var(y)
    170   //   recomputeXi2=true : recalcule le xi2 (sigma) avec la courbe et les points
    171   {
    172     mean=0.;
    173     if(mNCur==0) return -1.;
    174     // Moyenne
    175     mean  = mSy/(r_8) mNCur;
    176     // Sigma
    177     r_8 sigma;
    178     if(recomputeXi2) {
    179       sigma=0.;
    180       for(uint_4 i=mIDeb;i<mIDeb+mNCur;i++) {
    181         uint_4 ii = i%mLenBuf;
    182         r_8 s = mean - (mY[ii]-mY0);
    183         sigma += s*s;
    184       }
    185       sigma /= (r_8) mNCur;
    186     } else {
    187       sigma = mSy2/(r_8) mNCur - mean*mean;
    188     }
    189     // gestion du decalage
    190     mean += mY0;
     28  r_8 SumX(void) {return mSx+mNCur*mX0;}
     29  r_8 SumY(void) {return mSy+mNCur*mY0;}
    19130
    192     if(sigma>0.) return sqrt(sigma);
    193     if(sigma<0.) return -sqrt(-sigma);
    194     return sigma;
    195   }
     31  uint_4 ReComputeSum(void);
     32  r_8 Compute(r_8& mean,bool recomputeXi2=false);
     33  r_8 Compute(r_8& a0,r_8 &a1,bool recomputeXi2=false);
     34  r_8 Compute(r_8& a0,r_8 &a1,r_8 &a2,bool recomputeXi2=false);
    19635
    197   inline r_8 Compute(r_8& a0,r_8 &a1,bool recomputeXi2=false)
    198   // ---- Calcul y=a0+a1*x et slin=Var(y-(a0+a1*x))=sqrt(<dy^2>)
    199   //   recomputeXi2=true : recalcule le xi2 avec la courbe et les points
    200   {
    201     a0=a1=0.;
    202     if(mNCur==0) return -1.;
    203     // Fit lineaire
    204     r_8 w = mNCur*mSx2 - mSx*mSx;
    205     if(w==0. || mNCur==1) return -2.;
    206     a0 = (mSx2*mSy - mSx*mSxy)/w;
    207     a1 = (mNCur*mSxy - mSx*mSy )/w;
    208     // Sigma par rapport Fit lineaire
    209     // (On a XI2=mNCur*slin**2 dans notre cas ou les erreurs=1)
    210     r_8 slin;
    211     if(recomputeXi2) {
    212       slin=0.;
    213       for(uint_4 i=mIDeb;i<mIDeb+mNCur;i++) {
    214         uint_4 ii = i%mLenBuf;
    215         r_8 s = a0+a1*(mX[ii]-mX0) - (mY[ii]-mY0);
    216         slin += s*s;
    217       }
    218       slin /= (r_8) mNCur;
    219     } else {
    220       slin = (mSy2 +a0*a0*mNCur +a1*a1*mSx2 -2.*a0*mSy -2.*a1*mSxy +2.*a0*a1*mSx)
    221              / (r_8)mNCur;
    222     }
    223     // gestion du decalage y-y0 = a0 + a1*(x-x0)
    224     a0 = mY0 + a0 - a1*mX0;
    225 
    226     if(slin>0.) return sqrt(slin);
    227     if(slin<0.) return -sqrt(-slin);
    228     return slin;
    229   }
    230 
    231   inline r_8 Compute(r_8& a0,r_8 &a1,r_8 &a2,bool recomputeXi2=false)
    232   // ---- Calcul y=a0+a1*x+a2*x^2 et spar=Var(y-(a0+a1*x+a2*x^2))=sqrt(<dy^2>)
    233   //   recomputeXi2=true : recalcule le xi2 avec la courbe et les points
    234   {
    235     a0=a1=a2=0.;
    236     if(mNCur==0) return -1.;
    237     // Fit parabolique
    238     r_8 w = mSx2*(mSx2*mSx2-mSx3*mSx) -mSx*(mSx3*mSx2-mSx4*mSx) +mNCur*(mSx3*mSx3-mSx4*mSx2);
    239     if(w==0. || mNCur<=2) return -2.;
    240     a2 =  (mSy*(mSx2*mSx2-mSx3*mSx)  - mSxy*(mSx*mSx2-mSx3*mNCur)  + mSx2y*(mSx*mSx-mSx2*mNCur) )/w;
    241     a1 = -(mSy*(mSx3*mSx2-mSx4*mSx)  - mSxy*(mSx2*mSx2-mSx4*mNCur) + mSx2y*(mSx2*mSx-mSx3*mNCur))/w;
    242     a0 =  (mSy*(mSx3*mSx3-mSx4*mSx2) - mSxy*(mSx2*mSx3-mSx4*mSx)   + mSx2y*(mSx2*mSx2-mSx3*mSx) )/w;
    243     // Sigma par rapport Fit parabolique
    244     // (On a XI2=mNCur*spar**2 dans notre cas ou les erreurs=1)
    245     // Le calcul direct du Xi2 n'est pas precis
    246     r_8 spar;
    247     if(recomputeXi2) {
    248       spar=0.;
    249       for(uint_4 i=mIDeb;i<mIDeb+mNCur;i++) {
    250         uint_4 ii = i%mLenBuf;
    251         r_8 s = a0+(a1+a2*(mX[ii]-mX0))*(mX[ii]-mX0) - (mY[ii]-mY0);
    252         spar += s*s;
    253       }
    254       spar /= (r_8) mNCur;
    255     } else {
    256       spar = (mSy2 +a0*a0*mNCur +a1*a1*mSx2 +a2*a2*mSx4 -2.*mSy*a0 -2.*a1*mSxy
    257               -2.*a2*mSx2y +2.*a0*a1*mSx +2.*a0*a2*mSx2 +2.*a1*a2*mSx3)
    258              / (r_8) mNCur;
    259     }
    260     // gestion du decalage y-y0 = a0 + a1*(x-x0) + a2*(x-x0)^2
    261     a0 = mY0 + a0 - a1*mX0 + a2*mX0*mX0;
    262     a1 = a1 - 2.*a2*mX0;
    263 
    264     if(spar>0.) return sqrt(spar);
    265     if(spar<0.) return -sqrt(-spar);
    266     return spar;
    267   }
    268 
    269   //*****************************************************************
    270   void Print(int lp=0)
    271   // ---- Print de l'etat de la classe
    272   //      lp = 0 : parametres
    273   //           1 :            + sommes
    274   //           2 :                     + tableaux
    275   {
    276     cout<<"SLinParBuff(LenBuf="<<mLenBuf<<",NResynch="<<mNResynch
    277         <<",auto_xy0="<<mAutoXY0
    278         <<"): mX0="<<mX0<<" mY0="<<mY0<<" mNCur="<<mNCur<<endl
    279         <<"           NPush="<<mNPush<<" NPop="<<mNPop
    280         <<" NSynchro="<<mNResynchEff<<endl;
    281     if(mNCur==0) return;
    282     if(lp>=2) {
    283       cout<<"X:";
    284       if(mX) for(uint_4 i=0;i<mNCur;i++) {
    285         uint_4 ii = (mIDeb+i)%mLenBuf;
    286         cout<<" "<<mX[ii]; if(i%10==9 || i==mNCur-1) cout<<endl;
    287       }
    288       if(mY) cout<<"Y:";
    289       for(uint_4 i=0;i<mNCur;i++) {
    290         uint_4 ii = (mIDeb+i)%mLenBuf;
    291         cout<<" "<<mY[ii]; if(i%10==9 || i==mNCur-1) cout<<endl;
    292       }
    293     }
    294     if(lp>=1) {
    295       cout<<"...IDeb="<<mIDeb<<" IResynch="<<mIResynch<<endl;
    296       cout<<"   Sx="<<mSx<<" Sx2="<<mSx2<<" Sx3="<<mSx3<<" Sx4="<<mSx4<<endl
    297           <<"   Sy="<<mSy<<" Sy2="<<mSy2<<" Sxy="<<mSxy<<" Sx2y="<<mSx2y<<endl;
    298     }
    299   }
    300 
    301   void PrintCompute(int lp=0)
    302   // ---- Print des valeurs numeriques calculees
    303   //      lp = 0 : valeurs calculees
    304   //           1 :             + sommes
    305   {
    306     bool recompute = (mX==NULL || mY==NULL) ? false: true;
    307     r_8 mean;
    308     r_8 sigma = Compute(mean,recompute), sigmar = Compute(mean,false);
    309     cout<<"SLinParBuff: n="<<NPoints()<<" mean="<<mean
    310         <<" sigma="<<sigma<<" (raw="<<sigmar<<")"<<endl;
    311     r_8 a0,a1,a2;
    312     r_8 slin  = Compute(a0,a1,recompute), slinr  = Compute(a0,a1,false);
    313     cout<<"             a0="<<a0<<" a1="<<a1
    314         <<" slin="<<slin<<" (raw="<<slinr<<")"<<endl;
    315     r_8 spar = Compute(a0,a1,a2,recompute), sparr = Compute(a0,a1,a2,false);
    316     cout<<"             a0="<<a0<<" a1="<<a1<<" a2="<<a2
    317         <<" spar="<<spar<<" (raw="<<sparr<<")"<<endl;
    318     if(lp<1) return;
    319     cout<<"...Sx="<<mSx<<" Sx2="<<mSx2<<" Sx3="<<mSx3<<" Sx4="<<mSx4<<endl
    320         <<"   Sy="<<mSy<<" Sy2="<<mSy2<<" Sxy="<<mSxy<<" Sx2y="<<mSx2y<<endl;
    321   }
     36  void Print(int lp=0);
     37  void PrintCompute(int lp=0);
    32238
    32339protected:
     
    32945  uint_4 mNResynchEff, mNPush, mNPop;
    33046};
     47
    33148
    33249///////////////////////////////////////////////////////////////////
     
    34360class SLinParBuffMerger {
    34461public:
    345   SLinParBuffMerger(void) {mFirst=true; mSlp.Reset();}
    346   SLinParBuffMerger(SLinParBuff& s,bool recompute=false)
    347                    {mFirst=true; mSlp.Reset(); Add(s,recompute);}
    348   virtual ~SLinParBuffMerger(void) {}
    349   inline uint_4  NPoints(void) {return mSlp.NPoints();}
     62  SLinParBuffMerger(void);
     63  SLinParBuffMerger(SLinParBuff& s,bool recompute=false);
     64  virtual ~SLinParBuffMerger(void);
     65
     66  inline uint_4 NPoints(void) {return mSlp.NPoints();}
    35067  inline void Reset(void) {mSlp.Reset(); mFirst=true;}
    351   inline void Add(SLinParBuff& s,bool recompute=false)
    352   {
    353     bool changex0y0=false, AutoXY0_Save; r_8 X0_Save,Y0_Save;
    354     if(mFirst) {
    355       // Cas ou c'est le premier SLinParBuff additionne.
    356       mSlp.mX0=s.mX0; mSlp.mY0=s.mY0; mFirst=false;
    357     } else if(mSlp.mX0!=s.mX0 || mSlp.mY0!=s.mY0) {
    358       // Attention: pour merger il faut avoir les memes mX0,mY0
    359       changex0y0=true;
    360       X0_Save=s.mX0; Y0_Save=s.mY0; AutoXY0_Save=s.mAutoXY0;
    361       s.mX0=mSlp.mX0; s.mY0=mSlp.mY0; s.mAutoXY0=false;
    362       recompute=true;
    363     }
    364     if(recompute) s.ReComputeSum();
    365     mSlp.mNCur += s.mNCur;
    366     mSlp.mSx   += s.mSx;
    367     mSlp.mSy   += s.mSy;
    368     mSlp.mSx2  += s.mSx2;
    369     mSlp.mSy2  += s.mSy2;
    370     mSlp.mSxy  += s.mSxy;
    371     mSlp.mSx3  += s.mSx3;
    372     mSlp.mSx2y += s.mSx2y;
    373     mSlp.mSx4  += s.mSx4;
    374     // Dans le cas ou on a change les X0,Y0, on remet en etat
    375     if(changex0y0) {
    376       s.mX0=X0_Save; s.mY0=Y0_Save;
    377       s.ReComputeSum();
    378       s.mAutoXY0=AutoXY0_Save;
    379     }
    380   }
    381   inline r_8 Compute(r_8& mean)
    382               {return mSlp.Compute(mean);}
    383   inline r_8 Compute(r_8& a0,r_8 &a1)
    384               {return mSlp.Compute(a0,a1);}
    385   inline r_8 Compute(r_8& a0,r_8 &a1,r_8 &a2)
    386               {return mSlp.Compute(a0,a1,a2);}
     68  void Add(SLinParBuff& s,bool recompute=false);
     69  inline r_8 Compute(r_8& mean) {return mSlp.Compute(mean);}
     70  inline r_8 Compute(r_8& a0,r_8 &a1) {return mSlp.Compute(a0,a1);}
     71  inline r_8 Compute(r_8& a0,r_8 &a1,r_8 &a2) {return mSlp.Compute(a0,a1,a2);}
    38772  inline void Print(int lp=0) {mSlp.Print(lp);}
    38873  inline void PrintCompute(int lp=0) {mSlp.PrintCompute(lp);}
  • trunk/SophyaLib/NTools/smakefile

    r3503 r3572  
    44 
    55clean:
    6          rm -f $(SOPHYAOBJP)FSAppIrrSmpl.o $(SOPHYAOBJP)cimage.o $(SOPHYAOBJP)cspline.o $(SOPHYAOBJP)datatypes.o $(SOPHYAOBJP)dates.o $(SOPHYAOBJP)difeq.o $(SOPHYAOBJP)dynccd.o $(SOPHYAOBJP)fct1dfit.o $(SOPHYAOBJP)fct2dfit.o $(SOPHYAOBJP)fftmserver.o $(SOPHYAOBJP)fftpserver.o $(SOPHYAOBJP)fftservintf.o $(SOPHYAOBJP)functab.o $(SOPHYAOBJP)generaldata.o $(SOPHYAOBJP)generalfit.o $(SOPHYAOBJP)generalfunc.o $(SOPHYAOBJP)imageop.o $(SOPHYAOBJP)integ.o $(SOPHYAOBJP)median.o $(SOPHYAOBJP)ntoolsinit.o $(SOPHYAOBJP)objfitter.o $(SOPHYAOBJP)perandom.o $(SOPHYAOBJP)poly.o $(SOPHYAOBJP)rk4cdifeq.o $(SOPHYAOBJP)simplesort.o $(SOPHYAOBJP)simplex.o $(SOPHYAOBJP)tabmath.o $(SOPHYAOBJP)toeplitzMatrix.o $(SOPHYAOBJP)datime.o $(SOPHYAOBJP)fftmayer_r4.o $(SOPHYAOBJP)fftmayer_r8.o $(SOPHYAOBJP)fftpackc.o $(SOPHYAOBJP)matxop.o $(SOPHYAOBJP)nbmath.o $(SOPHYAOBJP)nbtri.o
     6         rm -f $(SOPHYAOBJP)FSAppIrrSmpl.o $(SOPHYAOBJP)cimage.o $(SOPHYAOBJP)cspline.o $(SOPHYAOBJP)datatypes.o $(SOPHYAOBJP)dates.o $(SOPHYAOBJP)difeq.o $(SOPHYAOBJP)dynccd.o $(SOPHYAOBJP)fct1dfit.o $(SOPHYAOBJP)fct2dfit.o $(SOPHYAOBJP)fftmserver.o $(SOPHYAOBJP)fftpserver.o $(SOPHYAOBJP)fftservintf.o $(SOPHYAOBJP)functab.o $(SOPHYAOBJP)generaldata.o $(SOPHYAOBJP)generalfit.o $(SOPHYAOBJP)generalfunc.o $(SOPHYAOBJP)imageop.o $(SOPHYAOBJP)integ.o $(SOPHYAOBJP)median.o $(SOPHYAOBJP)ntoolsinit.o $(SOPHYAOBJP)objfitter.o $(SOPHYAOBJP)perandom.o $(SOPHYAOBJP)poly.o $(SOPHYAOBJP)rk4cdifeq.o $(SOPHYAOBJP)simplesort.o $(SOPHYAOBJP)simplex.o $(SOPHYAOBJP)slinparbuff.o $(SOPHYAOBJP)tabmath.o $(SOPHYAOBJP)toeplitzMatrix.o $(SOPHYAOBJP)datime.o $(SOPHYAOBJP)fftmayer_r4.o $(SOPHYAOBJP)fftmayer_r8.o $(SOPHYAOBJP)fftpackc.o $(SOPHYAOBJP)matxop.o $(SOPHYAOBJP)nbmath.o $(SOPHYAOBJP)nbtri.o
    77        rm -f $(SOPHYALIBP)libNTools.a
    88 
    9 $(SOPHYALIBP)libNTools.a : $(SOPHYAOBJP)cimage.o $(SOPHYAOBJP)cspline.o $(SOPHYAOBJP)datatypes.o $(SOPHYAOBJP)dates.o $(SOPHYAOBJP)datime.o $(SOPHYAOBJP)difeq.o $(SOPHYAOBJP)dynccd.o $(SOPHYAOBJP)fct1dfit.o $(SOPHYAOBJP)fct2dfit.o $(SOPHYAOBJP)fftmayer_r4.o $(SOPHYAOBJP)fftmayer_r8.o $(SOPHYAOBJP)fftmserver.o $(SOPHYAOBJP)fftpackc.o $(SOPHYAOBJP)fftpserver.o $(SOPHYAOBJP)fftservintf.o $(SOPHYAOBJP)FSAppIrrSmpl.o $(SOPHYAOBJP)functab.o $(SOPHYAOBJP)generaldata.o $(SOPHYAOBJP)generalfit.o $(SOPHYAOBJP)generalfunc.o $(SOPHYAOBJP)integ.o $(SOPHYAOBJP)matxop.o $(SOPHYAOBJP)median.o $(SOPHYAOBJP)nbmath.o $(SOPHYAOBJP)nbtri.o $(SOPHYAOBJP)ntoolsinit.o $(SOPHYAOBJP)objfitter.o $(SOPHYAOBJP)perandom.o $(SOPHYAOBJP)poly.o $(SOPHYAOBJP)rk4cdifeq.o $(SOPHYAOBJP)simplesort.o $(SOPHYAOBJP)simplex.o $(SOPHYAOBJP)tabmath.o $(SOPHYAOBJP)toeplitzMatrix.o
     9$(SOPHYALIBP)libNTools.a : $(SOPHYAOBJP)cimage.o $(SOPHYAOBJP)cspline.o $(SOPHYAOBJP)datatypes.o $(SOPHYAOBJP)dates.o $(SOPHYAOBJP)datime.o $(SOPHYAOBJP)difeq.o $(SOPHYAOBJP)dynccd.o $(SOPHYAOBJP)fct1dfit.o $(SOPHYAOBJP)fct2dfit.o $(SOPHYAOBJP)fftmayer_r4.o $(SOPHYAOBJP)fftmayer_r8.o $(SOPHYAOBJP)fftmserver.o $(SOPHYAOBJP)fftpackc.o $(SOPHYAOBJP)fftpserver.o $(SOPHYAOBJP)fftservintf.o $(SOPHYAOBJP)FSAppIrrSmpl.o $(SOPHYAOBJP)functab.o $(SOPHYAOBJP)generaldata.o $(SOPHYAOBJP)generalfit.o $(SOPHYAOBJP)generalfunc.o $(SOPHYAOBJP)integ.o $(SOPHYAOBJP)matxop.o $(SOPHYAOBJP)median.o $(SOPHYAOBJP)nbmath.o $(SOPHYAOBJP)nbtri.o $(SOPHYAOBJP)ntoolsinit.o $(SOPHYAOBJP)objfitter.o $(SOPHYAOBJP)perandom.o $(SOPHYAOBJP)poly.o $(SOPHYAOBJP)rk4cdifeq.o $(SOPHYAOBJP)simplesort.o $(SOPHYAOBJP)simplex.o $(SOPHYAOBJP)slinparbuff.o $(SOPHYAOBJP)tabmath.o $(SOPHYAOBJP)toeplitzMatrix.o
    1010        $(AR) $(ARFLAGS) $@ $?
    1111        touch $(SOPHYAINCP)/SophyaConfInfo/libsophya.objlist
     
    641641        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  simplex.cc
    642642 
     643$(SOPHYAOBJP)slinparbuff.o: slinparbuff.cc \
     644  $(SOPHYAINCP)machdefs.h \
     645  $(SOPHYAINCP)pexceptions.h \
     646  $(SOPHYAINCP)machdefs.h slinparbuff.h
     647        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  slinparbuff.cc
     648 
    643649$(SOPHYAOBJP)tabmath.o: tabmath.cc $(SOPHYAINCP)sopnamsp.h \
    644650  $(SOPHYAINCP)machdefs.h tabmath.h peida.h \
  • trunk/SophyaLib/SUtils/datacards.cc

    r2615 r3572  
    11//
    2 // $Id: datacards.cc,v 1.10 2004-09-10 09:54:48 cmv Exp $
     2// $Id: datacards.cc,v 1.11 2009-02-07 21:49:59 cmv Exp $
    33//
    44//
     
    217217DataCards::GetKey(int num) const
    218218{
    219   if ((num < 0) || (num >= cards.size()) )  return("");
     219  if ((num < 0) || (num >= (int)cards.size()) )  return("");
    220220  int k = 0;
    221221  CardList::const_iterator i;
     
    234234  DataCards::CardList::const_iterator it = FindKeyC(key);
    235235  if (it == cards.end()) return(rs);
    236   for (int k=0; k<(*it).tokens.size(); k++) {
     236  for (size_t k=0; k<(*it).tokens.size(); k++) {
    237237    rs += ' ';  rs += (*it).tokens[k];
    238238  }
     
    246246  DataCards::CardList::const_iterator it = FindKeyC(key);
    247247  if (it == cards.end()) return(def);
    248   if ( (numero < 0) || (numero >= (*it).tokens.size()) )  return def;
     248  if ( (numero < 0) || (numero >= (int)((*it).tokens.size())) )  return def;
    249249  return (*it).tokens[numero];
    250250}
     
    308308DataCards::ApplyPF(CrdPF & cpf, string const& key, string const& toks)
    309309{
    310 int l,lk;
     310size_t l,lk;
    311311int rc = 0;
    312312// On verifie si le "pattern" correspond
  • trunk/SophyaLib/SUtils/strutilxx.cc

    r2706 r3572  
    1313// considering char "sep" as a separator.
    1414// Vector is filled from its end (no reset done).
    15 // Tp write a "sep" char, use \'sep'
     15// To write a "sep" char, use \'sep'
    1616// Warning: separator "sep" could not be set to '\'
    1717// Ex: sep=' ': s="aaa   bbb cc d " -> vs=(aaa,bbb,cc,d)
     
    5555// - Fill "vs" at the end: NO RESET IS DONE
    5656// - If ',' is the separator, ",,," is c
    57 // That routine is much more rapid than FillVStringFrString altouch less general
     57// That routine is much more rapid than FillVStringFrString although less general
    5858//           (ex no '\' gestion is done)
    5959{
    6060 uint_4 ls = s.size();
    6161 if(ls<=0) return;
    62  bool sep_non_blanc = (separator==' ')? false: true;
     62 //bool sep_non_blanc = (separator==' ')? false: true;
    6363 char *str = new char[ls+2];
    6464
  • trunk/SophyaLib/SUtils/utils.cc

    r2615 r3572  
    11// This may look like C code, but it is really -*- C++ -*-
    22//
    3 // $Id: utils.cc,v 1.2 2004-09-10 09:54:49 cmv Exp $
     3// $Id: utils.cc,v 1.3 2009-02-07 21:49:59 cmv Exp $
    44//
    55
     
    1515  int i;   // THINK C ne veut pas du int i dans chaque for...
    1616  if (dest < source)
    17     for (i=0; i<n; i++)
     17    for (i=0; i<(int)n; i++)
    1818      ((char*)dest)[i] = ((char*)source)[i];
    1919  else
  • trunk/SophyaLib/Samba/Makefile

    r3405 r3572  
    1212 
    1313$(SOPHYAOBJP)alm.o: alm.cc $(SOPHYAINCP)sopnamsp.h alm.h \
    14   $(SOPHYAINCP)srandgen.h \
    15   $(SOPHYAINCP)machdefs.h \
     14  $(SOPHYAINCP)stsrand.h \
     15  $(SOPHYAINCP)machdefs.h \
     16  $(SOPHYAINCP)objfio.h \
     17  $(SOPHYAINCP)anydataobj.h \
     18  $(SOPHYAINCP)ppersist.h \
     19  $(SOPHYAINCP)pexceptions.h \
     20  $(SOPHYAINCP)gnumd5.h \
     21  $(SOPHYAINCP)ppfbinstream.h \
     22  $(SOPHYAINCP)rawstream.h \
     23  $(SOPHYAINCP)ppfnametag.h \
     24  $(SOPHYAINCP)ndatablock.h \
    1625  $(SOPHYAINCP)nbmath.h \
    1726  $(SOPHYAINCP)smathconst.h \
    1827  $(SOPHYAINCP)triangmtx.h \
    19   $(SOPHYAINCP)ndatablock.h \
    20   $(SOPHYAINCP)anydataobj.h \
    21   $(SOPHYAINCP)pexceptions.h \
    22   $(SOPHYAINCP)tvector.h \
    23   $(SOPHYAINCP)tmatrix.h \
    24   $(SOPHYAINCP)tarray.h \
    25   $(SOPHYAINCP)basarr.h \
    26   $(SOPHYAINCP)mutyv.h \
    27   $(SOPHYAINCP)timestamp.h \
    28   $(SOPHYAINCP)objfio.h \
    29   $(SOPHYAINCP)ppersist.h \
    30   $(SOPHYAINCP)gnumd5.h \
    31   $(SOPHYAINCP)ppfbinstream.h \
    32   $(SOPHYAINCP)rawstream.h \
    33   $(SOPHYAINCP)ppfnametag.h \
     28  $(SOPHYAINCP)tvector.h \
     29  $(SOPHYAINCP)tmatrix.h \
     30  $(SOPHYAINCP)tarray.h \
     31  $(SOPHYAINCP)basarr.h \
     32  $(SOPHYAINCP)mutyv.h \
     33  $(SOPHYAINCP)timestamp.h \
    3434  $(SOPHYAINCP)dvlist.h \
    3535  $(SOPHYAINCP)utilarr.h \
     
    9393  $(SOPHYAINCP)tmatrix_tsnl.h \
    9494  $(SOPHYAINCP)tvector_tsnl.h alm.h \
    95   $(SOPHYAINCP)srandgen.h \
     95  $(SOPHYAINCP)stsrand.h \
    9696  $(SOPHYAINCP)nbmath.h \
    9797  $(SOPHYAINCP)smathconst.h \
    9898  $(SOPHYAINCP)triangmtx.h \
     99  $(SOPHYAINCP)pexceptions.h \
    99100  $(SOPHYAINCP)nbconst.h
    100101        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  lambdaBuilder.cc
     
    198199  $(SOPHYAINCP)fftservintf.h \
    199200  $(SOPHYAINCP)fftpserver.h \
    200   $(SOPHYAINCP)fftservintf.h alm.h \
    201   $(SOPHYAINCP)srandgen.h \
     201  $(SOPHYAINCP)fftservintf.h \
     202  $(SOPHYAINCP)stsrand.h alm.h \
    202203  $(SOPHYAINCP)nbmath.h \
    203204  $(SOPHYAINCP)triangmtx.h \
    204205  $(SOPHYAINCP)tvector.h lambdaBuilder.h \
    205206  $(SOPHYAINCP)ndatablock.h \
     207  $(SOPHYAINCP)pexceptions.h \
    206208  $(SOPHYAINCP)timing.h
    207209        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  sphericaltransformserver.cc
  • trunk/SophyaLib/Samba/bruit.cc

    r3533 r3572  
    220220//--
    221221{
    222 int i,j;
    223222printf("OOFNoise::Print()  MemL=%d  Tau= %g \n", mMemL, mTau);
    224223printf("OOFNoise::Print() Vecteur de Dynamique / Etat : \n");
    225 for(i=0; i<mMemL-1; i+=2)
     224for(int i=0; i<mMemL-1; i+=2)
    226225  printf("%d:   D=%g  S=%g   | %d:  D=%g  S=%g \n", i,
    227226         mDyn[i], mState[i], i+1, mDyn[i], mState[i]);   
     
    311310//--
    312311{
    313 int i,j;
    314 printf("EXPNoise::Print()  MemL=%d  Tau= %g \n", mMemL, mTau);
     312printf("EXPNoise::Print()  MemL=%ld  Tau= %g \n", mMemL, mTau);
    315313printf("EXPNoise::Print() Vecteur de Dynamique / Etat : \n");
    316 for(i=0; i<mMemL-1; i+=2)
    317   printf("%d:   D=%g  S=%g   | %d:  D=%g  S=%g \n", i,
     314for(long int i=0; i<mMemL-1; i+=2)
     315  printf("%ld:   D=%g  S=%g   | %ld:  D=%g  S=%g \n", i,
    318316         mDyn[i], mState[i], i+1, mDyn[i], mState[i]);   
    319317
     
    608606//--
    609607{
    610 int i,j,rc=0;
     608int rc=0;
    611609printf("MemNoise::Print()  MemL=%d  Tau= %g \n", mMemL, mTau);
    612610printf("mNtirage= %d , mMemPos= %d , mMemNeg= %d \n",mNtirage,mMemPos,mMemNeg);
    613611// printf("MemNoise::Print() Vecteur de Dynamique / Etat : \n");
    614 /* for(i=0; i<mMemL-1; i+=2)
     612/* for(int i=0; i<mMemL-1; i+=2)
    615613  printf("%d:   D=%g  S=%g   | %d:  D=%g  S=%g \n", i,
    616614         mDyn[i], mState[i], i+1, mDyn[i], mState[i]);   
  • trunk/SophyaLib/Samba/lambdaBuilder.cc

    r3533 r3572  
    137137  register r_8 lam_0, lam_1, lam_2;
    138138
    139   int_4 l, m, k;
     139  int_4 m, k;
    140140
    141141  for (m=0; m<=mmax;m++)   {
     
    194194  register r_8 lam_0, lam_1, lam_2;
    195195 
    196   int_4 l, m, k;
     196  int_4 m, k;
    197197
    198198  for (m=0; m<=mmax;m++)  {
     
    235235  register r_8 lam_0, lam_1, lam_2;
    236236 
    237   int_4 l, m, k;
     237  int_4 m, k;
    238238
    239239  for (m=0; m<=mmax;m++)  {
  • trunk/SophyaLib/Samba/smakefile

    r3405 r3572  
    1212 
    1313$(SOPHYAOBJP)alm.o: alm.cc $(SOPHYAINCP)sopnamsp.h alm.h \
    14   $(SOPHYAINCP)srandgen.h \
    15   $(SOPHYAINCP)machdefs.h \
     14  $(SOPHYAINCP)stsrand.h \
     15  $(SOPHYAINCP)machdefs.h \
     16  $(SOPHYAINCP)objfio.h \
     17  $(SOPHYAINCP)anydataobj.h \
     18  $(SOPHYAINCP)ppersist.h \
     19  $(SOPHYAINCP)pexceptions.h \
     20  $(SOPHYAINCP)gnumd5.h \
     21  $(SOPHYAINCP)ppfbinstream.h \
     22  $(SOPHYAINCP)rawstream.h \
     23  $(SOPHYAINCP)ppfnametag.h \
     24  $(SOPHYAINCP)ndatablock.h \
    1625  $(SOPHYAINCP)nbmath.h \
    1726  $(SOPHYAINCP)smathconst.h \
    1827  $(SOPHYAINCP)triangmtx.h \
    19   $(SOPHYAINCP)ndatablock.h \
    20   $(SOPHYAINCP)anydataobj.h \
    21   $(SOPHYAINCP)pexceptions.h \
    22   $(SOPHYAINCP)tvector.h \
    23   $(SOPHYAINCP)tmatrix.h \
    24   $(SOPHYAINCP)tarray.h \
    25   $(SOPHYAINCP)basarr.h \
    26   $(SOPHYAINCP)mutyv.h \
    27   $(SOPHYAINCP)timestamp.h \
    28   $(SOPHYAINCP)objfio.h \
    29   $(SOPHYAINCP)ppersist.h \
    30   $(SOPHYAINCP)gnumd5.h \
    31   $(SOPHYAINCP)ppfbinstream.h \
    32   $(SOPHYAINCP)rawstream.h \
    33   $(SOPHYAINCP)ppfnametag.h \
     28  $(SOPHYAINCP)tvector.h \
     29  $(SOPHYAINCP)tmatrix.h \
     30  $(SOPHYAINCP)tarray.h \
     31  $(SOPHYAINCP)basarr.h \
     32  $(SOPHYAINCP)mutyv.h \
     33  $(SOPHYAINCP)timestamp.h \
    3434  $(SOPHYAINCP)dvlist.h \
    3535  $(SOPHYAINCP)utilarr.h \
     
    9393  $(SOPHYAINCP)tmatrix_tsnl.h \
    9494  $(SOPHYAINCP)tvector_tsnl.h alm.h \
    95   $(SOPHYAINCP)srandgen.h \
     95  $(SOPHYAINCP)stsrand.h \
    9696  $(SOPHYAINCP)nbmath.h \
    9797  $(SOPHYAINCP)smathconst.h \
    9898  $(SOPHYAINCP)triangmtx.h \
     99  $(SOPHYAINCP)pexceptions.h \
    99100  $(SOPHYAINCP)nbconst.h
    100101        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  lambdaBuilder.cc
     
    198199  $(SOPHYAINCP)fftservintf.h \
    199200  $(SOPHYAINCP)fftpserver.h \
    200   $(SOPHYAINCP)fftservintf.h alm.h \
    201   $(SOPHYAINCP)srandgen.h \
     201  $(SOPHYAINCP)fftservintf.h \
     202  $(SOPHYAINCP)stsrand.h alm.h \
    202203  $(SOPHYAINCP)nbmath.h \
    203204  $(SOPHYAINCP)triangmtx.h \
    204205  $(SOPHYAINCP)tvector.h lambdaBuilder.h \
    205206  $(SOPHYAINCP)ndatablock.h \
     207  $(SOPHYAINCP)pexceptions.h \
    206208  $(SOPHYAINCP)timing.h
    207209        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  sphericaltransformserver.cc
  • trunk/SophyaLib/Samba/sphericaltransformserver.cc

    r3510 r3572  
    211211  int_4 nlmax=alm.Lmax();
    212212  int_4 nmmax=nlmax;
    213   int_4 nsmax=0;
    214213  // le Resize est suppose mettre a zero
    215214  map.Resize(pixelSizeIndex);
     
    521520 
    522521  alm.ReSizeToLmax(nlmax);
    523   for (int_4 ith = 0; ith < map.NbThetaSlices(); ith++)
     522  for (uint_4 ith = 0; ith < map.NbThetaSlices(); ith++)
    524523    {
    525524      r_8 phi0;
     
    917916      throw SzMismatchError("SphericalTransformServer::DecomposeToAlm: map Q and map U have not same size ");
    918917    }
    919   for (int_4 ith = 0; ith < mapq.NbThetaSlices(); ith++)
     918  for (uint_4 ith = 0; ith < mapq.NbThetaSlices(); ith++)
    920919    {
    921920      r_8 phi0;
     
    11191118  Bm<complex<T> > b_m_theta_u(nmmax);
    11201119
    1121   for (int_4 ith = 0; ith < mapq.NbThetaSlices();ith++)
     1120  for (uint_4 ith = 0; ith < mapq.NbThetaSlices();ith++)
    11221121    {
    11231122      int_4 nph;
     
    12281227  Bm<complex<T> > b_m_theta_p(nmmax);
    12291228  Bm<complex<T> > b_m_theta_m(nmmax);
    1230   for (int_4 ith = 0; ith < mapq.NbThetaSlices();ith++)
     1229  for (uint_4 ith = 0; ith < mapq.NbThetaSlices();ith++)
    12311230    {
    12321231      int_4 nph;
  • trunk/SophyaLib/SkyMap/fiolocalmap.cc

    r2869 r3572  
    167167  int_4 nSzX= dobj->Size_x();
    168168  int_4 nSzY= dobj->Size_y();
    169   int_4 nPix= dobj->NbPixels();
    170169 
    171170  if(dobj->ptrInfo())
     
    183182  os.PutI4(nSzX);
    184183  os.PutI4(nSzY);
    185   //  os.PutI4(nPix);
    186184
    187185  if(dobj->LocalMap_isDone())
  • trunk/SophyaLib/SkyMap/localmap.cc

    r3300 r3572  
    256256    throw(SzMismatchError("LocalMap<T>::CopyElt(const LocalMap<T>&) SizeMismatch")) ;
    257257      recopierVariablesSimples(a);     
    258   int k;
    259258  pixels_ = a.pixels_;
    260259  return(*this);
     
    349348  double csTheta = cos(theta);
    350349  double snTheta = sin(theta);
    351   double csPhi   = cos(phi);
    352   double snPhi   = sin(phi);
    353350  double csPhiMPhiC = cos (phi - phiC_);
    354351  double snPhiMPhiC = sin (phi - phiC_);
     
    585582  double sin_phi_axeZ;
    586583
    587   double cth,sth, cdeltaPhi, phi, cphi, sphi;
     584  double cth,sth, cdeltaPhi, phi;
    588585
    589586  if ( snthC_ <= 0.) // carte centree au pole
  • trunk/SophyaLib/SkyMap/spherehealpix.cc

    r2990 r3572  
    177177  nPix_ = a.nPix_;
    178178  omeg_ = a.omeg_;
    179   int k;
    180179  if (fgring_ == a.fgring_)
    181     for (k=0; k< nPix_; k++) pixels_(k) = a.pixels_(k);
     180    for (int_4 k=0; k< nPix_; k++) pixels_(k) = a.pixels_(k);
    182181  else {
    183     if (fgring_)  for (k=0; k< nPix_; k++)
     182    if (fgring_)  for (int_4 k=0; k< nPix_; k++)
    184183      pixels_(k) = a.pixels_(ring2nest(nSide_, k));
    185     else  for (k=0; k< nPix_; k++)
     184    else  for (int_4 k=0; k< nPix_; k++)
    186185      pixels_(k) = a.pixels_(nest2ring(nSide_, k));                         
    187186  }
    188   for (k=0; k< a.sliceBeginIndex_.Size(); k++) sliceBeginIndex_(k) = a.sliceBeginIndex_(k);
    189   for (k=0; k< a.sliceLenght_.Size(); k++) sliceLenght_(k) = a.sliceLenght_(k);
     187  for (size_t k=0; k< a.sliceBeginIndex_.Size(); k++) sliceBeginIndex_(k) = a.sliceBeginIndex_(k);
     188  for (size_t k=0; k< a.sliceLenght_.Size(); k++) sliceLenght_(k) = a.sliceLenght_(k);
    190189  return(*this);
    191190}
     
    305304{
    306305  uint_4 nbslices = uint_4(4*nSide_-1);
    307   if (index<0 || index >= nbslices)
     306  if (index<0 || index >= (int_4)nbslices)
    308307    throw RangeCheckError(" SphereHEALPix::ThetaOfSlice()  index out of range");
    309308  r_8 theta, phi0;
     
    322321int_4 SphereHEALPix<T>::GetSymThetaSliceIndex(int_4 idx) const
    323322{
    324   if(idx < 0 || idx >= NbThetaSlices())
     323  if(idx < 0 || idx >= (int_4)NbThetaSlices())
    325324    throw RangeCheckError("SphereHEALPix::GetSymThetaSliceIndex index out of range");
    326325  return (NbThetaSlices()-1-idx);
     
    340339void SphereHEALPix<T>::GetThetaSlice(int_4 index,r_8& theta,TVector<r_8>& phi,TVector<T>& value) const
    341340{
    342   if (index<0 || index >= NbThetaSlices())
     341  if (index<0 || index >= (int_4)NbThetaSlices())
    343342    throw RangeCheckError(" SphereHEALPix::GetThetaSlice()  index out of range");
    344343
     
    391390{
    392391
    393   if (sliceIndex<0 || sliceIndex >= NbThetaSlices())
     392  if (sliceIndex<0 || sliceIndex >= (int_4)NbThetaSlices())
    394393    throw RangeCheckError(" SphereHEALPix::GetThetaSlice() index out of range");
    395394  int_4 iring= sliceBeginIndex_(sliceIndex);
     
    420419
    421420{
    422   if (sliceIndex<0 || sliceIndex >= NbThetaSlices())
     421  if (sliceIndex<0 || sliceIndex >= (int_4)NbThetaSlices())
    423422    throw RangeCheckError(" SphereHEALPix::GetThetaSliceDataPtr(): index out of range");
    424423  if (fgring_)
  • trunk/SophyaLib/SkyMap/spherepos.cc

    r2973 r3572  
    1111#include <typeinfo>
    1212
    13 static char *head_spherepos_cc_ = "$Header: /Users/garnier/temp/CVSSophya/SophyaLib/SkyMap/spherepos.cc,v 1.4 2006-06-20 16:01:48 ansari Exp $";
    1413
    1514
  • trunk/SophyaLib/SkyMap/spherepos.h

    r2973 r3572  
    99#include "anydataobj.h"
    1010
    11 static char *head_spherepos_h_ = "$Header: /Users/garnier/temp/CVSSophya/SophyaLib/SkyMap/spherepos.h,v 1.2 2006-06-20 16:01:48 ansari Exp $";
    1211
    1312namespace SOPHYA {
  • trunk/SophyaLib/SkyMap/spherethetaphi.cc

    r2990 r3572  
    192192  NPix_  = a.NPix_;
    193193  Omega_ = a.Omega_;
    194   int_4 k;
    195   for (k=0; k< NPix_; k++) pixels_(k) = a.pixels_(k);
    196   for (k=0; k< a.NPhi_.Size(); k++) NPhi_(k) = a.NPhi_(k);
    197   for (k=0; k< a.TNphi_.Size(); k++) TNphi_(k) = a.TNphi_(k);
    198   for (k=0; k< a.Theta_.Size(); k++) Theta_(k) = a.Theta_(k);
     194  for (int_4 k=0; k< NPix_; k++) pixels_(k) = a.pixels_(k);
     195  for (size_t k=0; k< a.NPhi_.Size(); k++) NPhi_(k) = a.NPhi_(k);
     196  for (size_t k=0; k< a.TNphi_.Size(); k++) TNphi_(k) = a.TNphi_(k);
     197  for (size_t k=0; k< a.Theta_.Size(); k++) Theta_(k) = a.Theta_(k);
    199198  return(*this);
    200199
     
    613612int_4 SphereThetaPhi<T>::GetSymThetaSliceIndex(int_4 idx) const
    614613{
    615   if(idx < 0 || idx >= NbThetaSlices())
     614  if(idx < 0 || idx >= (int_4)NbThetaSlices())
    616615    throw RangeCheckError("SphereThetaPhi::GetSymThetaSliceIndex index out of range");
    617616  return (NbThetaSlices()-1-idx);
     
    630629{
    631630
    632   if(index < 0 || index >= NbThetaSlices())
     631  if(index < 0 || index >= (int_4)NbThetaSlices())
    633632    throw RangeCheckError("SphereThetaPhi::GetThetaSlice(idx...) index out of range");
    634633   
     
    665664{
    666665
    667   if(index < 0 || index >= NbThetaSlices())
     666  if(index < 0 || index >= (int_4)NbThetaSlices())
    668667    throw RangeCheckError("SphereThetaPhi::GetThetaSlice(idx...)  idx out of range");
    669668
     
    673672  pixelIndices.ReSize(lring);
    674673  value.ReSize(lring);
    675   double Te= 0.;
    676   double Fi= 0.;
    677674  for(int_4 kk = 0; kk < lring; kk++)  {
    678675    pixelIndices(kk)=kk+iring ;
     
    686683T* SphereThetaPhi<T>::GetThetaSliceDataPtr(int_4 index)
    687684{
    688   if(index < 0 || index >= NbThetaSlices())
     685  if(index < 0 || index >= (int_4)NbThetaSlices())
    689686    throw RangeCheckError("SphereThetaPhi::GetThetaSliceDataPtr(idx)  idx out of range");
    690687  return pixels_.Begin()+Index(index,0);
  • trunk/SophyaLib/SysTools/commander.h

    r2955 r3572  
    7979                                        string& grp);
    8080  inline  void          RegisterCommand(string& keyw, string& usage, CmdExecutor * ce,
    81                                         char* grp)
     81                                        const char* grp)
    8282                        { string sgrp = grp; RegisterCommand(keyw, usage, ce, sgrp); }
    8383
  • trunk/SophyaLib/SysTools/cxxcmplnk.cc

    r3211 r3572  
    3737*/
    3838
    39 static char * gcxx_opt =
    40 "-O -fdollars-in-identifiers";
    41 static char * KCC_opt =
    42 "-O --exceptions --rtti  --auto_instantiation --one_instantiation_per_object -D__KCC__";
    43 static char * icc_opt =
    44 "-O -fpic -frtti";
    45 static char * cxx_opt =
    46 "-O -no_implicit_include -pthread";
    47 static char * SGICC_opt =  "-O -prelink -D__SGICC__ -LANG:std";
    48 static char * xlC_opt =
    49 "-O -qrtti=all -qeh=v6";
     39static const char * gcxx_opt = "-O -fdollars-in-identifiers";
     40static const char * KCC_opt =
     41  "-O --exceptions --rtti  --auto_instantiation --one_instantiation_per_object -D__KCC__";
     42static const char * icc_opt = "-O -fpic -frtti";
     43static const char * cxx_opt =
     44  "-O -no_implicit_include -pthread";
     45static const char * SGICC_opt =  "-O -prelink -D__SGICC__ -LANG:std";
     46static const char * xlC_opt = "-O -qrtti=all -qeh=v6";
    5047
    5148/* --Methode-- */
     
    251248int CxxCompilerLinker::BuildSO(string const & oname, string & soname)
    252249{
    253   // char * soext = ".dylib"; if defined(Darwin) - pas necessaire Reza 02/2002
    254   char * soext = ".so";
     250  // const char * soext = ".dylib"; if defined(Darwin) - pas necessaire Reza 02/2002
     251  const char * soext = ".so";
    255252
    256253  if (soname.length() < 1) {
  • trunk/SophyaLib/SysTools/timing.c

    r2648 r3572  
    115115          Comm, tcalt, tcal);
    116116
    117 printf("ElapsedTime(hh:mm:ss): Total= %02d:%02d:%02d ",
     117printf("ElapsedTime(hh:mm:ss): Total= %02ld:%02ld:%02ld ",
    118118       etmt/3600, (etmt%3600)/60, etmt%60);
    119 printf(" (Partial= %02d:%02d:%02d)\n",
     119printf(" (Partial= %02ld:%02ld:%02ld)\n",
    120120       etm/3600, (etm%3600)/60, etm%60);
    121121
  • trunk/SophyaLib/TArray/basarr.cc

    r3446 r3572  
    2222
    2323// Variables statiques globales
    24 char * BaseArray::ck_op_msg_[6] =
     24const char * BaseArray::ck_op_msg_[6] =
    2525     {"???", "Size(int )", "IsPacked(int )"
    2626     ,"Stride(int )", "ElemCheckBound()", "operator()" };
  • trunk/SophyaLib/TArray/basarr.h

    r3173 r3572  
    200200  DVList* mInfo;    //!< Infos (variables) attached to the array
    201201
    202   static char * ck_op_msg_[6]; //!< Operation messages for CheckDI() CheckBound()
     202  static const char * ck_op_msg_[6]; //!< Operation messages for CheckDI() CheckBound()
    203203  static sa_size_t max_nprt_; //!< maximum number of printed elements
    204204  static int_4 prt_lev_;  //!< Print level
  • trunk/SophyaLib/TArray/triangmtx.h

    r2957 r3572  
    3232
    3333//! Default constructor
    34 TriangularMatrix()   {;};
     34TriangularMatrix()
     35  : long_diag_(0)
     36{
     37}
     38
    3539//! instanciate a triangular matrix from the number of rows
    36 TriangularMatrix(sa_size_t rowSize)  : long_diag_(rowSize)
    37   {
    38     elem_.ReSize((rowSize*(rowSize+1)/2) );
    39   }
     40TriangularMatrix(sa_size_t rowSize)
     41  : long_diag_(rowSize)
     42{
     43  elem_.ReSize((rowSize*(rowSize+1)/2) );
     44}
     45
    4046//! Copy constructor (possibility of sharing datas)
    41   TriangularMatrix(const TriangularMatrix<T>& a,  bool share=false)  : elem_(a.elem_, share),  long_diag_(a.long_diag_) {;}
     47TriangularMatrix(const TriangularMatrix<T>& a,  bool share=false) 
     48  : long_diag_(a.long_diag_) , elem_(a.elem_, share) 
     49{
     50}
    4251
    4352//! resize the matrix with a new number of rows
    4453inline void ReSizeRow(sa_size_t rowSize)
    45   {
    46     long_diag_=(uint_4)rowSize;
    47     elem_.ReSize(long_diag_*(long_diag_+1)/2);
    48   }
     54{
     55  long_diag_=(uint_4)rowSize;
     56  elem_.ReSize(long_diag_*(long_diag_+1)/2);
     57}
    4958
    5059TriangularMatrix<T>& SetT(T a)
  • trunk/SophyaLib/TArray/utilarr.cc

    r3394 r3572  
    142142MuTyV & EnumeratedSequence::Value (sa_size_t k) const
    143143{
    144   if (k >= vecv_.size())  retv_ = 0;
     144  if (k >= (sa_size_t)vecv_.size())  retv_ = 0;
    145145  else retv_ = vecv_[k];
    146146  return(retv_);
     
    175175{
    176176  os << " EnumeratedSequence::Print() - Size()= " << Size() << endl;
    177   for(int k=0; k<vecv_.size(); k++) {
     177  for(size_t k=0; k<vecv_.size(); k++) {
    178178    os << vecv_[k];
    179179    if ((k > 0) && (k%10 == 0))  os << endl;
     
    190190sa_size_t EnumeratedSequence::Append(EnumeratedSequence const & seq)
    191191{
    192   for(int k=0; k<seq.vecv_.size(); k++)
     192  for(size_t k=0; k<seq.vecv_.size(); k++)
    193193    vecv_.push_back(seq.vecv_[k]);
    194194  return(seq.vecv_.size());
     
    278278  nc = 0;
    279279  sa_size_t n = 0;
    280   char buff[256];
     280  //char buff[256];
    281281  string line;
    282282  int nbad, nbadtot, nel;
  • trunk/SophyaPI/PI/Makefile

    r3523 r3572  
    44 
    55clean:
    6          rm -f $(SOPHYAOBJP)lut.o $(SOPHYAOBJP)parradapter.o $(SOPHYAOBJP)pi3ddrw.o $(SOPHYAOBJP)pi3dwdg.o $(SOPHYAOBJP)piapplgen.o $(SOPHYAOBJP)piapplx.o $(SOPHYAOBJP)piaxes.o $(SOPHYAOBJP)piaxestools.o $(SOPHYAOBJP)pibargraph.o $(SOPHYAOBJP)pibwdggen.o $(SOPHYAOBJP)pibwdgx.o $(SOPHYAOBJP)picmap.o $(SOPHYAOBJP)picmapgen.o $(SOPHYAOBJP)picmapview.o $(SOPHYAOBJP)picmapx.o $(SOPHYAOBJP)picons.o $(SOPHYAOBJP)picontainergen.o $(SOPHYAOBJP)picontainerx.o $(SOPHYAOBJP)pidrawer.o $(SOPHYAOBJP)pidrawwin.o $(SOPHYAOBJP)pidrwtools.o $(SOPHYAOBJP)pieldrw.o $(SOPHYAOBJP)pierrdisp.o $(SOPHYAOBJP)pievthandler.o $(SOPHYAOBJP)pifilechogen.o $(SOPHYAOBJP)pifilechox.o $(SOPHYAOBJP)pifontgen.o $(SOPHYAOBJP)pifontx.o $(SOPHYAOBJP)pigraph3d.o $(SOPHYAOBJP)pigraphgen.o $(SOPHYAOBJP)pigraphps.o $(SOPHYAOBJP)pigraphuc.o $(SOPHYAOBJP)pigraphx.o $(SOPHYAOBJP)pigratt.o $(SOPHYAOBJP)pigrcoord.o $(SOPHYAOBJP)piimage.o $(SOPHYAOBJP)piimgtools.o $(SOPHYAOBJP)pilineatt.o $(SOPHYAOBJP)pilistgen.o $(SOPHYAOBJP)pilistx.o $(SOPHYAOBJP)pimenubargen.o $(SOPHYAOBJP)pimenubarx.o $(SOPHYAOBJP)pimenugen.o $(SOPHYAOBJP)pimenux.o $(SOPHYAOBJP)pimsghandler.o $(SOPHYAOBJP)pioptmenugen.o $(SOPHYAOBJP)pioptmenux.o $(SOPHYAOBJP)piperiodx.o $(SOPHYAOBJP)pipixmapgen.o $(SOPHYAOBJP)pipixmapx.o $(SOPHYAOBJP)pipixutils.o $(SOPHYAOBJP)pipplist.o $(SOPHYAOBJP)pippmenubar.o $(SOPHYAOBJP)pippoptmenu.o $(SOPHYAOBJP)pippviewadapter.o $(SOPHYAOBJP)piscdrawwdg.o $(SOPHYAOBJP)pistdwdggen.o $(SOPHYAOBJP)pistdwdgx.o $(SOPHYAOBJP)pistzwin.o $(SOPHYAOBJP)pisurfdr.o $(SOPHYAOBJP)pitherm.o $(SOPHYAOBJP)pitxtdrw.o $(SOPHYAOBJP)piup.o $(SOPHYAOBJP)piupdattachment.o $(SOPHYAOBJP)piup_def.o $(SOPHYAOBJP)piwdggen.o $(SOPHYAOBJP)piwdgx.o $(SOPHYAOBJP)piwindowgen.o $(SOPHYAOBJP)piwindowx.o $(SOPHYAOBJP)pixtbase.o $(SOPHYAOBJP)piyfxdrw.o $(SOPHYAOBJP)psfile.o $(SOPHYAOBJP)xdispim.o
     6         rm -f $(SOPHYAOBJP)lut.o $(SOPHYAOBJP)parradapter.o $(SOPHYAOBJP)pi3ddrw.o $(SOPHYAOBJP)pi3dwdg.o $(SOPHYAOBJP)piapplgen.o $(SOPHYAOBJP)piapplx.o $(SOPHYAOBJP)piaxes.o $(SOPHYAOBJP)piaxestools.o $(SOPHYAOBJP)pibargraph.o $(SOPHYAOBJP)pibwdggen.o $(SOPHYAOBJP)pibwdgx.o $(SOPHYAOBJP)picmap.o $(SOPHYAOBJP)picmapgen.o $(SOPHYAOBJP)picmapview.o $(SOPHYAOBJP)picmapx.o $(SOPHYAOBJP)picons.o $(SOPHYAOBJP)picontainergen.o $(SOPHYAOBJP)picontainerx.o $(SOPHYAOBJP)pidrawer.o $(SOPHYAOBJP)pidrawwin.o $(SOPHYAOBJP)pidrwtools.o $(SOPHYAOBJP)pieldrw.o $(SOPHYAOBJP)pierrdisp.o $(SOPHYAOBJP)pievthandler.o $(SOPHYAOBJP)pifilechogen.o $(SOPHYAOBJP)pifilechox.o $(SOPHYAOBJP)pifontgen.o $(SOPHYAOBJP)pifontx.o $(SOPHYAOBJP)pigraph3d.o $(SOPHYAOBJP)pigraphgen.o $(SOPHYAOBJP)pigraphps.o $(SOPHYAOBJP)pigraphuc.o $(SOPHYAOBJP)pigraphx.o $(SOPHYAOBJP)pigratt.o $(SOPHYAOBJP)pigrcoord.o $(SOPHYAOBJP)piimage.o $(SOPHYAOBJP)piimgtools.o $(SOPHYAOBJP)pilineatt.o $(SOPHYAOBJP)pilistgen.o $(SOPHYAOBJP)pilistx.o $(SOPHYAOBJP)pimenubargen.o $(SOPHYAOBJP)pimenubarx.o $(SOPHYAOBJP)pimenugen.o $(SOPHYAOBJP)pimenux.o $(SOPHYAOBJP)pimsghandler.o $(SOPHYAOBJP)pioptmenugen.o $(SOPHYAOBJP)pioptmenux.o $(SOPHYAOBJP)piperiodx.o $(SOPHYAOBJP)pipixmapgen.o $(SOPHYAOBJP)pipixmapx.o $(SOPHYAOBJP)pipixutils.o $(SOPHYAOBJP)pipplist.o $(SOPHYAOBJP)pippmenubar.o $(SOPHYAOBJP)pippoptmenu.o $(SOPHYAOBJP)pippviewadapter.o $(SOPHYAOBJP)piscdrawwdg.o $(SOPHYAOBJP)pistdwdggen.o $(SOPHYAOBJP)pistdwdgx.o $(SOPHYAOBJP)pistzwin.o $(SOPHYAOBJP)pisurfdr.o $(SOPHYAOBJP)pitherm.o $(SOPHYAOBJP)pitxtdrw.o $(SOPHYAOBJP)piup.o $(SOPHYAOBJP)piup_def.o $(SOPHYAOBJP)piupdattachment.o $(SOPHYAOBJP)piwdggen.o $(SOPHYAOBJP)piwdgx.o $(SOPHYAOBJP)piwindowgen.o $(SOPHYAOBJP)piwindowx.o $(SOPHYAOBJP)pixtbase.o $(SOPHYAOBJP)piyfxdrw.o $(SOPHYAOBJP)psfile.o $(SOPHYAOBJP)xdispim.o
    77        rm -f $(SOPHYALIBP)libPI.a
    88 
     
    2323 
    2424$(SOPHYAOBJP)pi3ddrw.o: pi3ddrw.cc $(SOPHYAINCP)sopnamsp.h \
    25   pi3ddrw.h pisysdep.h \
    26   $(SOPHYAINCP)machdefs.h pidrawer.h \
    27   pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h picmap.h \
    28   picmapx.h picmapgen.h pigraphx.h pigraphgen.h pifontx.h pifontgen.h \
    29   pigrcoord.h pilineatt.h pipixutils.h pigraphuc.h pievthandler.h \
    30   psfile.h pigratt.h piaxes.h pieldrw.h pigraph3d.h
     25  pi3ddrw.h pisysdep.h $(SOPHYAINCP)machdefs.h \
     26  pidrawer.h pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \
     27  pipixutils.h picmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h \
     28  pifontx.h pifontgen.h pigrcoord.h pilineatt.h pigraphuc.h \
     29  pievthandler.h psfile.h pigratt.h piaxes.h pieldrw.h pigraph3d.h
    3130        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pi3ddrw.cc
    3231 
    3332$(SOPHYAOBJP)pi3dwdg.o: pi3dwdg.cc $(SOPHYAINCP)sopnamsp.h \
    34   pi3dwdg.h pisysdep.h \
    35   $(SOPHYAINCP)machdefs.h pi3ddrw.h \
    36   pidrawer.h pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \
    37   picmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h pifontx.h \
    38   pifontgen.h pigrcoord.h pilineatt.h pipixutils.h pigraphuc.h \
     33  pi3dwdg.h pisysdep.h $(SOPHYAINCP)machdefs.h \
     34  pi3ddrw.h pidrawer.h pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h \
     35  picolist.h pipixutils.h picmap.h picmapx.h picmapgen.h pigraphx.h \
     36  pigraphgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h pigraphuc.h \
    3937  pievthandler.h psfile.h pigratt.h piaxes.h pieldrw.h pigraph3d.h \
    4038  pibwdgx.h pigraphps.h pidrwtools.h pistdwdgx.h pistdwdggen.h pimenux.h \
     
    4442        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pi3dwdg.cc
    4543 
    46 $(SOPHYAOBJP)piapplgen.o: piapplgen.cc \
    47   $(SOPHYAINCP)sopnamsp.h piapplgen.h \
    48   pimsghandler.h $(SOPHYAINCP)machdefs.h \
    49   pisysdep.h picontainerx.h picontainergen.h piwdgx.h piwdggen.h \
    50   picolist.h pimenubarx.h pimenubargen.h pimenux.h pimenugen.h \
    51   piconsenum.h
     44$(SOPHYAOBJP)piapplgen.o: piapplgen.cc $(SOPHYAINCP)sopnamsp.h \
     45  piapplgen.h pimsghandler.h \
     46  $(SOPHYAINCP)machdefs.h pisysdep.h \
     47  picontainerx.h picontainergen.h piwdgx.h piwdggen.h picolist.h \
     48  pipixutils.h pimenubarx.h pimenubargen.h pimenux.h pimenugen.h \
     49  piconsenum.h pidrawer.h pibwdggen.h picmap.h picmapx.h picmapgen.h \
     50  pigraphx.h pigraphgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h \
     51  pigraphuc.h pievthandler.h psfile.h pigratt.h piaxes.h
    5252        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  piapplgen.cc
    5353 
     
    5656  $(SOPHYAINCP)machdefs.h pisysdep.h \
    5757  picontainerx.h picontainergen.h piwdgx.h piwdggen.h picolist.h \
    58   pimenubarx.h pimenubargen.h pimenux.h pimenugen.h piconsenum.h picons.h \
    59   pistdwdgx.h pistdwdggen.h pibwdgx.h pibwdggen.h picmap.h picmapx.h \
    60   picmapgen.h pigraphx.h pigraphgen.h pifontx.h pifontgen.h pigrcoord.h \
    61   pilineatt.h pipixutils.h pigraphuc.h pievthandler.h psfile.h \
     58  pipixutils.h pimenubarx.h pimenubargen.h pimenux.h pimenugen.h \
     59  piconsenum.h picons.h pistdwdgx.h pistdwdggen.h pibwdgx.h pibwdggen.h \
     60  picmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h pifontx.h \
     61  pifontgen.h pigrcoord.h pilineatt.h pigraphuc.h pievthandler.h psfile.h \
    6262  pigraphps.h
    6363        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  piapplx.cc
    6464 
    6565$(SOPHYAOBJP)piaxes.o: piaxes.cc $(SOPHYAINCP)sopnamsp.h \
    66   $(SOPHYAINCP)machdefs.h piaxes.h \
    67   pigraphuc.h pisysdep.h pigraphgen.h piwdgx.h piwdggen.h pimsghandler.h \
    68   picolist.h picmap.h picmapx.h picmapgen.h pifontx.h pifontgen.h \
    69   pigrcoord.h pilineatt.h pipixutils.h pigratt.h
     66  $(SOPHYAINCP)machdefs.h piaxes.h pigraphuc.h \
     67  pisysdep.h pigraphgen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \
     68  pipixutils.h picmap.h picmapx.h picmapgen.h pifontx.h pifontgen.h \
     69  pigrcoord.h pilineatt.h pigratt.h pidrawer.h pibwdggen.h pigraphx.h \
     70  pievthandler.h psfile.h
    7071        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  piaxes.cc
    7172 
    7273$(SOPHYAOBJP)piaxestools.o: piaxestools.cc \
    73   $(SOPHYAINCP)sopnamsp.h piaxes.h \
    74   pigraphuc.h pisysdep.h \
    75   $(SOPHYAINCP)machdefs.h pigraphgen.h \
    76   piwdgx.h piwdggen.h pimsghandler.h picolist.h picmap.h picmapx.h \
    77   picmapgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h pipixutils.h \
     74  $(SOPHYAINCP)sopnamsp.h piaxes.h pigraphuc.h \
     75  pisysdep.h $(SOPHYAINCP)machdefs.h pigraphgen.h \
     76  piwdgx.h piwdggen.h pimsghandler.h picolist.h pipixutils.h picmap.h \
     77  picmapx.h picmapgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h \
    7878  pigratt.h piaxestools.h pistdwdgx.h pistdwdggen.h pioptmenux.h \
    7979  pioptmenugen.h pimenux.h pimenugen.h piwindowx.h piwindowgen.h \
     
    8585$(SOPHYAOBJP)pibargraph.o: pibargraph.cc \
    8686  $(SOPHYAINCP)sopnamsp.h \
    87   $(SOPHYAINCP)machdefs.h pibargraph.h \
    88   pisysdep.h pidrawer.h pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h \
    89   picolist.h picmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h \
    90   pifontx.h pifontgen.h pigrcoord.h pilineatt.h pipixutils.h pigraphuc.h \
     87  $(SOPHYAINCP)machdefs.h pibargraph.h pisysdep.h \
     88  pidrawer.h pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \
     89  pipixutils.h picmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h \
     90  pifontx.h pifontgen.h pigrcoord.h pilineatt.h pigraphuc.h \
    9191  pievthandler.h psfile.h pigratt.h piaxes.h
    9292        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pibargraph.cc
    9393 
    94 $(SOPHYAOBJP)pibwdggen.o: pibwdggen.cc \
    95   $(SOPHYAINCP)sopnamsp.h pibwdggen.h \
    96   pisysdep.h $(SOPHYAINCP)machdefs.h piwdgx.h \
    97   piwdggen.h pimsghandler.h picolist.h picmap.h picmapx.h picmapgen.h \
    98   pigraphx.h pigraphgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h \
    99   pipixutils.h pigraphuc.h pievthandler.h psfile.h pidrawer.h pigratt.h \
    100   piaxes.h pigraphps.h pidrwtools.h pistdwdgx.h pistdwdggen.h pimenux.h \
    101   pimenugen.h pioptmenux.h pioptmenugen.h piwindowx.h piwindowgen.h \
    102   picontainerx.h picontainergen.h piapplx.h piapplgen.h pimenubarx.h \
    103   pimenubargen.h piconsenum.h
     94$(SOPHYAOBJP)pibwdggen.o: pibwdggen.cc $(SOPHYAINCP)sopnamsp.h \
     95  pibwdggen.h pisysdep.h $(SOPHYAINCP)machdefs.h \
     96  piwdgx.h piwdggen.h pimsghandler.h picolist.h pipixutils.h picmap.h \
     97  picmapx.h picmapgen.h pigraphx.h pigraphgen.h pifontx.h pifontgen.h \
     98  pigrcoord.h pilineatt.h pigraphuc.h pievthandler.h psfile.h pidrawer.h \
     99  pigratt.h piaxes.h pigraphps.h pidrwtools.h pistdwdgx.h pistdwdggen.h \
     100  pimenux.h pimenugen.h pioptmenux.h pioptmenugen.h piwindowx.h \
     101  piwindowgen.h picontainerx.h picontainergen.h piapplx.h piapplgen.h \
     102  pimenubarx.h pimenubargen.h piconsenum.h
    104103        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pibwdggen.cc
    105104 
    106105$(SOPHYAOBJP)pibwdgx.o: pibwdgx.cc $(SOPHYAINCP)sopnamsp.h \
    107106  pixtbaseP.h pibwdgx.h pisysdep.h \
    108   $(SOPHYAINCP)machdefs.h pibwdggen.h \
    109   piwdgx.h piwdggen.h pimsghandler.h picolist.h picmap.h picmapx.h \
     107  $(SOPHYAINCP)machdefs.h pibwdggen.h piwdgx.h \
     108  piwdggen.h pimsghandler.h picolist.h pipixutils.h picmap.h picmapx.h \
    110109  picmapgen.h pigraphx.h pigraphgen.h pifontx.h pifontgen.h pigrcoord.h \
    111   pilineatt.h pipixutils.h pigraphuc.h pievthandler.h psfile.h \
    112   pigraphps.h pixtbase.h
     110  pilineatt.h pigraphuc.h pievthandler.h psfile.h pigraphps.h pixtbase.h
    113111        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pibwdgx.cc
    114112 
     
    118116        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  picmap.cc
    119117 
    120 $(SOPHYAOBJP)picmapgen.o: picmapgen.cc \
    121   $(SOPHYAINCP)sopnamsp.h picmapgen.h \
    122   pisysdep.h $(SOPHYAINCP)machdefs.h \
     118$(SOPHYAOBJP)picmapgen.o: picmapgen.cc $(SOPHYAINCP)sopnamsp.h \
     119  picmapgen.h pisysdep.h $(SOPHYAINCP)machdefs.h \
    123120  picmapx.h picmap.h
    124121        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  picmapgen.cc
    125122 
    126123$(SOPHYAOBJP)picmapview.o: picmapview.cc \
    127   $(SOPHYAINCP)sopnamsp.h picmapview.h \
    128   pisysdep.h $(SOPHYAINCP)machdefs.h \
    129   pibwdgx.h pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \
    130   picmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h pifontx.h \
    131   pifontgen.h pigrcoord.h pilineatt.h pipixutils.h pigraphuc.h \
    132   pievthandler.h psfile.h pigraphps.h
     124  $(SOPHYAINCP)sopnamsp.h picmapview.h pisysdep.h \
     125  $(SOPHYAINCP)machdefs.h pibwdgx.h pibwdggen.h \
     126  piwdgx.h piwdggen.h pimsghandler.h picolist.h pipixutils.h picmap.h \
     127  picmapx.h picmapgen.h pigraphx.h pigraphgen.h pifontx.h pifontgen.h \
     128  pigrcoord.h pilineatt.h pigraphuc.h pievthandler.h psfile.h pigraphps.h
    133129        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  picmapview.cc
    134130 
    135131$(SOPHYAOBJP)picmapx.o: picmapx.cc $(SOPHYAINCP)sopnamsp.h \
    136132  piwdgx.h piwdggen.h $(SOPHYAINCP)machdefs.h \
    137   pimsghandler.h picolist.h picmapx.h picmapgen.h pisysdep.h
     133  pimsghandler.h picolist.h pipixutils.h picmapx.h picmapgen.h pisysdep.h
    138134        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  picmapx.cc
    139135 
    140136$(SOPHYAOBJP)picons.o: picons.cc $(SOPHYAINCP)sopnamsp.h \
    141   pisysdep.h $(SOPHYAINCP)machdefs.h \
    142   pimenux.h pimenugen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \
     137  pisysdep.h $(SOPHYAINCP)machdefs.h pimenux.h \
     138  pimenugen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h pipixutils.h \
    143139  picons.h pistdwdgx.h pistdwdggen.h picontainerx.h picontainergen.h \
    144140  pibwdgx.h pibwdggen.h picmap.h picmapx.h picmapgen.h pigraphx.h \
    145   pigraphgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h pipixutils.h \
    146   pigraphuc.h pievthandler.h psfile.h pigraphps.h piconsenum.h
     141  pigraphgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h pigraphuc.h \
     142  pievthandler.h psfile.h pigraphps.h piconsenum.h
    147143        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  picons.cc
    148144 
     
    150146  $(SOPHYAINCP)sopnamsp.h picontainergen.h \
    151147  pisysdep.h $(SOPHYAINCP)machdefs.h piwdgx.h \
    152   piwdggen.h pimsghandler.h picolist.h
     148  piwdggen.h pimsghandler.h picolist.h pipixutils.h
    153149        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  picontainergen.cc
    154150 
     
    156152  $(SOPHYAINCP)sopnamsp.h picontainerx.h \
    157153  pisysdep.h $(SOPHYAINCP)machdefs.h \
    158   picontainergen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h
     154  picontainergen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \
     155  pipixutils.h
    159156        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  picontainerx.cc
    160157 
    161 $(SOPHYAOBJP)pidrawer.o: pidrawer.cc \
    162   $(SOPHYAINCP)sopnamsp.h \
    163   $(SOPHYAINCP)machdefs.h pidrawer.h \
    164   pibwdggen.h pisysdep.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \
     158$(SOPHYAOBJP)pidrawer.o: pidrawer.cc $(SOPHYAINCP)sopnamsp.h \
     159  $(SOPHYAINCP)machdefs.h pidrawer.h pibwdggen.h \
     160  pisysdep.h piwdgx.h piwdggen.h pimsghandler.h picolist.h pipixutils.h \
    165161  picmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h pifontx.h \
    166   pifontgen.h pigrcoord.h pilineatt.h pipixutils.h pigraphuc.h \
    167   pievthandler.h psfile.h pigratt.h piaxes.h pidrwtools.h pistdwdgx.h \
    168   pistdwdggen.h pimenux.h pimenugen.h pioptmenux.h pioptmenugen.h \
    169   piwindowx.h piwindowgen.h picontainerx.h picontainergen.h piapplx.h \
    170   piapplgen.h pimenubarx.h pimenubargen.h piconsenum.h ucckprot.h
     162  pifontgen.h pigrcoord.h pilineatt.h pigraphuc.h pievthandler.h psfile.h \
     163  pigratt.h piaxes.h pidrwtools.h pistdwdgx.h pistdwdggen.h pimenux.h \
     164  pimenugen.h pioptmenux.h pioptmenugen.h piwindowx.h piwindowgen.h \
     165  picontainerx.h picontainergen.h piapplx.h piapplgen.h pimenubarx.h \
     166  pimenubargen.h piconsenum.h ucckprot.h
    171167        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pidrawer.cc
    172168 
    173 $(SOPHYAOBJP)pidrawwin.o: pidrawwin.cc \
    174   $(SOPHYAINCP)sopnamsp.h pidrawwin.h \
    175   pisysdep.h $(SOPHYAINCP)machdefs.h \
     169$(SOPHYAOBJP)pidrawwin.o: pidrawwin.cc $(SOPHYAINCP)sopnamsp.h \
     170  pidrawwin.h pisysdep.h $(SOPHYAINCP)machdefs.h \
    176171  piwindowx.h piwindowgen.h picontainerx.h picontainergen.h piwdgx.h \
    177   piwdggen.h pimsghandler.h picolist.h piscdrawwdg.h pibwdgx.h \
    178   pibwdggen.h picmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h \
    179   pifontx.h pifontgen.h pigrcoord.h pilineatt.h pipixutils.h pigraphuc.h \
     172  piwdggen.h pimsghandler.h picolist.h pipixutils.h piscdrawwdg.h \
     173  pibwdgx.h pibwdggen.h picmap.h picmapx.h picmapgen.h pigraphx.h \
     174  pigraphgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h pigraphuc.h \
    180175  pievthandler.h psfile.h pigraphps.h pistdwdgx.h pistdwdggen.h \
    181176  pidrawer.h pigratt.h piaxes.h pieldrw.h
     
    183178 
    184179$(SOPHYAOBJP)pidrwtools.o: pidrwtools.cc \
    185   $(SOPHYAINCP)sopnamsp.h pidrwtools.h \
    186   pisysdep.h $(SOPHYAINCP)machdefs.h \
    187   pistdwdgx.h pistdwdggen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \
    188   pimenux.h pimenugen.h pioptmenux.h pioptmenugen.h piwindowx.h \
    189   piwindowgen.h picontainerx.h picontainergen.h piapplx.h piapplgen.h \
    190   pimenubarx.h pimenubargen.h piconsenum.h pibwdggen.h picmap.h picmapx.h \
    191   picmapgen.h pigraphx.h pigraphgen.h pifontx.h pifontgen.h pigrcoord.h \
    192   pilineatt.h pipixutils.h pigraphuc.h pievthandler.h psfile.h \
     180  $(SOPHYAINCP)sopnamsp.h pidrwtools.h pisysdep.h \
     181  $(SOPHYAINCP)machdefs.h pistdwdgx.h \
     182  pistdwdggen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \
     183  pipixutils.h pimenux.h pimenugen.h pioptmenux.h pioptmenugen.h \
     184  piwindowx.h piwindowgen.h picontainerx.h picontainergen.h piapplx.h \
     185  piapplgen.h pimenubarx.h pimenubargen.h piconsenum.h pibwdggen.h \
     186  picmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h pifontx.h \
     187  pifontgen.h pigrcoord.h pilineatt.h pigraphuc.h pievthandler.h psfile.h \
    193188  piscdrawwdg.h pibwdgx.h pigraphps.h pidrawer.h pigratt.h piaxes.h \
    194189  pieldrw.h pi3dwdg.h pi3ddrw.h pigraph3d.h
     
    196191 
    197192$(SOPHYAOBJP)pieldrw.o: pieldrw.cc $(SOPHYAINCP)sopnamsp.h \
    198   $(SOPHYAINCP)machdefs.h pieldrw.h \
    199   pidrawer.h pibwdggen.h pisysdep.h piwdgx.h piwdggen.h pimsghandler.h \
    200   picolist.h picmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h \
    201   pifontx.h pifontgen.h pigrcoord.h pilineatt.h pipixutils.h pigraphuc.h \
     193  $(SOPHYAINCP)machdefs.h pieldrw.h pidrawer.h \
     194  pibwdggen.h pisysdep.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \
     195  pipixutils.h picmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h \
     196  pifontx.h pifontgen.h pigrcoord.h pilineatt.h pigraphuc.h \
    202197  pievthandler.h psfile.h pigratt.h piaxes.h
    203198        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pieldrw.cc
     
    206201  $(SOPHYAINCP)sopnamsp.h pievthandler.h \
    207202  pisysdep.h $(SOPHYAINCP)machdefs.h \
    208   pimsghandler.h piwdgx.h piwdggen.h picolist.h pigraphx.h pigraphgen.h \
    209   picmap.h picmapx.h picmapgen.h pifontx.h pifontgen.h pigrcoord.h \
    210   pilineatt.h pipixutils.h
     203  pimsghandler.h piwdgx.h piwdggen.h picolist.h pipixutils.h pigraphx.h \
     204  pigraphgen.h picmap.h picmapx.h picmapgen.h pifontx.h pifontgen.h \
     205  pigrcoord.h pilineatt.h
    211206        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pievthandler.cc
    212207 
     
    214209  $(SOPHYAINCP)sopnamsp.h pifilechogen.h \
    215210  pisysdep.h $(SOPHYAINCP)machdefs.h piwdgx.h \
    216   piwdggen.h pimsghandler.h picolist.h
     211  piwdggen.h pimsghandler.h picolist.h pipixutils.h
    217212        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pifilechogen.cc
    218213 
    219214$(SOPHYAOBJP)pifilechox.o: pifilechox.cc \
    220215  $(SOPHYAINCP)sopnamsp.h pisysdep.h \
    221   $(SOPHYAINCP)machdefs.h piapplx.h \
    222   piapplgen.h pimsghandler.h picontainerx.h picontainergen.h piwdgx.h \
    223   piwdggen.h picolist.h pimenubarx.h pimenubargen.h pimenux.h pimenugen.h \
    224   piconsenum.h pifilechox.h pifilechogen.h piwindowx.h piwindowgen.h
     216  $(SOPHYAINCP)machdefs.h piapplx.h piapplgen.h \
     217  pimsghandler.h picontainerx.h picontainergen.h piwdgx.h piwdggen.h \
     218  picolist.h pipixutils.h pimenubarx.h pimenubargen.h pimenux.h \
     219  pimenugen.h piconsenum.h pifilechox.h pifilechogen.h piwindowx.h \
     220  piwindowgen.h
    225221        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pifilechox.cc
    226222 
    227 $(SOPHYAOBJP)pifontgen.o: pifontgen.cc \
    228   $(SOPHYAINCP)sopnamsp.h pigraphgen.h \
    229   pisysdep.h $(SOPHYAINCP)machdefs.h piwdgx.h \
    230   piwdggen.h pimsghandler.h picolist.h picmap.h picmapx.h picmapgen.h \
    231   pifontx.h pifontgen.h pigrcoord.h pilineatt.h pipixutils.h
     223$(SOPHYAOBJP)pifontgen.o: pifontgen.cc $(SOPHYAINCP)sopnamsp.h \
     224  pigraphgen.h pisysdep.h $(SOPHYAINCP)machdefs.h \
     225  piwdgx.h piwdggen.h pimsghandler.h picolist.h pipixutils.h picmap.h \
     226  picmapx.h picmapgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h
    232227        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pifontgen.cc
    233228 
    234229$(SOPHYAOBJP)pifontx.o: pifontx.cc $(SOPHYAINCP)sopnamsp.h \
    235   pisysdep.h $(SOPHYAINCP)machdefs.h \
    236   pifontx.h pifontgen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h
     230  pisysdep.h $(SOPHYAINCP)machdefs.h pifontx.h \
     231  pifontgen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h pipixutils.h
    237232        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pifontx.cc
    238233 
    239 $(SOPHYAOBJP)pigraph3d.o: pigraph3d.cc \
    240   $(SOPHYAINCP)sopnamsp.h pigraph3d.h \
    241   pisysdep.h $(SOPHYAINCP)machdefs.h \
     234$(SOPHYAOBJP)pigraph3d.o: pigraph3d.cc $(SOPHYAINCP)sopnamsp.h \
     235  pigraph3d.h pisysdep.h $(SOPHYAINCP)machdefs.h \
    242236  pigraphuc.h pigraphgen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \
     237  pipixutils.h picmap.h picmapx.h picmapgen.h pifontx.h pifontgen.h \
     238  pigrcoord.h pilineatt.h
     239        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pigraph3d.cc
     240 
     241$(SOPHYAOBJP)pigraphgen.o: pigraphgen.cc \
     242  $(SOPHYAINCP)sopnamsp.h pigraphgen.h pisysdep.h \
     243  $(SOPHYAINCP)machdefs.h piwdgx.h piwdggen.h \
     244  pimsghandler.h picolist.h pipixutils.h picmap.h picmapx.h picmapgen.h \
     245  pifontx.h pifontgen.h pigrcoord.h pilineatt.h ucckprot.h
     246        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pigraphgen.cc
     247 
     248$(SOPHYAOBJP)pigraphps.o: pigraphps.cc $(SOPHYAINCP)sopnamsp.h \
     249  pigraphps.h pisysdep.h $(SOPHYAINCP)machdefs.h \
     250  pigraphgen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h pipixutils.h \
    243251  picmap.h picmapx.h picmapgen.h pifontx.h pifontgen.h pigrcoord.h \
    244   pilineatt.h pipixutils.h
    245         $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pigraph3d.cc
    246  
    247 $(SOPHYAOBJP)pigraphgen.o: pigraphgen.cc \
    248   $(SOPHYAINCP)sopnamsp.h pigraphgen.h \
    249   pisysdep.h $(SOPHYAINCP)machdefs.h piwdgx.h \
    250   piwdggen.h pimsghandler.h picolist.h picmap.h picmapx.h picmapgen.h \
    251   pifontx.h pifontgen.h pigrcoord.h pilineatt.h pipixutils.h ucckprot.h
    252         $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pigraphgen.cc
    253  
    254 $(SOPHYAOBJP)pigraphps.o: pigraphps.cc \
    255   $(SOPHYAINCP)sopnamsp.h pigraphps.h \
    256   pisysdep.h $(SOPHYAINCP)machdefs.h \
    257   pigraphgen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h picmap.h \
    258   picmapx.h picmapgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h \
    259   pipixutils.h psfile.h
     252  pilineatt.h psfile.h
    260253        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pigraphps.cc
    261254 
    262 $(SOPHYAOBJP)pigraphuc.o: pigraphuc.cc \
    263   $(SOPHYAINCP)sopnamsp.h \
    264   $(SOPHYAINCP)machdefs.h pigraphuc.h \
    265   pisysdep.h pigraphgen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \
     255$(SOPHYAOBJP)pigraphuc.o: pigraphuc.cc $(SOPHYAINCP)sopnamsp.h \
     256  $(SOPHYAINCP)machdefs.h pigraphuc.h pisysdep.h \
     257  pigraphgen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h pipixutils.h \
    266258  picmap.h picmapx.h picmapgen.h pifontx.h pifontgen.h pigrcoord.h \
    267   pilineatt.h pipixutils.h ucckprot.h
     259  pilineatt.h ucckprot.h
    268260        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pigraphuc.cc
    269261 
    270 $(SOPHYAOBJP)pigraphx.o: pigraphx.cc \
    271   $(SOPHYAINCP)sopnamsp.h pigraphx.h \
    272   pisysdep.h $(SOPHYAINCP)machdefs.h \
    273   pigraphgen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h picmap.h \
    274   picmapx.h picmapgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h \
    275   pipixutils.h
     262$(SOPHYAOBJP)pigraphx.o: pigraphx.cc $(SOPHYAINCP)sopnamsp.h \
     263  pigraphx.h pisysdep.h $(SOPHYAINCP)machdefs.h \
     264  pigraphgen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h pipixutils.h \
     265  picmap.h picmapx.h picmapgen.h pifontx.h pifontgen.h pigrcoord.h \
     266  pilineatt.h
    276267        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pigraphx.cc
    277268 
    278269$(SOPHYAOBJP)pigratt.o: pigratt.cc $(SOPHYAINCP)sopnamsp.h \
    279   pigratt.h pisysdep.h \
    280   $(SOPHYAINCP)machdefs.h pigraphgen.h \
    281   piwdgx.h piwdggen.h pimsghandler.h picolist.h picmap.h picmapx.h \
    282   picmapgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h pipixutils.h \
    283   $(SOPHYAINCP)strutilxx.h \
     270  pigratt.h pisysdep.h $(SOPHYAINCP)machdefs.h \
     271  pigraphgen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h pipixutils.h \
     272  picmap.h picmapx.h picmapgen.h pifontx.h pifontgen.h pigrcoord.h \
     273  pilineatt.h $(SOPHYAINCP)strutilxx.h \
    284274  $(SOPHYAINCP)machdefs.h
    285275        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pigratt.cc
    286276 
    287 $(SOPHYAOBJP)pigrcoord.o: pigrcoord.cc \
    288   $(SOPHYAINCP)sopnamsp.h pigrcoord.h \
    289   pisysdep.h $(SOPHYAINCP)machdefs.h
     277$(SOPHYAOBJP)pigrcoord.o: pigrcoord.cc $(SOPHYAINCP)sopnamsp.h \
     278  pigrcoord.h pisysdep.h $(SOPHYAINCP)machdefs.h
    290279        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pigrcoord.cc
    291280 
    292281$(SOPHYAOBJP)piimage.o: piimage.cc $(SOPHYAINCP)sopnamsp.h \
    293   pisysdep.h $(SOPHYAINCP)machdefs.h \
    294   piimage.h parradapter.h lut.h pipixutils.h pieldrw.h pidrawer.h \
    295   pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h picmap.h \
    296   picmapx.h picmapgen.h pigraphx.h pigraphgen.h pifontx.h pifontgen.h \
    297   pigrcoord.h pilineatt.h pigraphuc.h pievthandler.h psfile.h pigratt.h \
    298   piaxes.h pipixmapx.h pipixmapgen.h pibwdgx.h pigraphps.h pistdwdgx.h \
     282  pisysdep.h $(SOPHYAINCP)machdefs.h piimage.h \
     283  parradapter.h lut.h pipixutils.h pieldrw.h pidrawer.h pibwdggen.h \
     284  piwdgx.h piwdggen.h pimsghandler.h picolist.h picmap.h picmapx.h \
     285  picmapgen.h pigraphx.h pigraphgen.h pifontx.h pifontgen.h pigrcoord.h \
     286  pilineatt.h pigraphuc.h pievthandler.h psfile.h pigratt.h piaxes.h \
     287  pipixmapx.h pipixmapgen.h pibwdgx.h pigraphps.h pistdwdgx.h \
    299288  pistdwdggen.h piwindowx.h piwindowgen.h picontainerx.h picontainergen.h \
    300289  picmapview.h piimgtools.h pioptmenux.h pioptmenugen.h pimenux.h \
     
    304293 
    305294$(SOPHYAOBJP)piimgtools.o: piimgtools.cc \
    306   $(SOPHYAINCP)sopnamsp.h piimgtools.h \
    307   pisysdep.h $(SOPHYAINCP)machdefs.h \
    308   pistdwdgx.h pistdwdggen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \
    309   pioptmenux.h pioptmenugen.h pimenux.h pimenugen.h piwindowx.h \
    310   piwindowgen.h picontainerx.h picontainergen.h piapplx.h piapplgen.h \
    311   pimenubarx.h pimenubargen.h piconsenum.h piimage.h parradapter.h lut.h \
    312   pipixutils.h pieldrw.h pidrawer.h pibwdggen.h picmap.h picmapx.h \
     295  $(SOPHYAINCP)sopnamsp.h piimgtools.h pisysdep.h \
     296  $(SOPHYAINCP)machdefs.h pistdwdgx.h \
     297  pistdwdggen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \
     298  pipixutils.h pioptmenux.h pioptmenugen.h pimenux.h pimenugen.h \
     299  piwindowx.h piwindowgen.h picontainerx.h picontainergen.h piapplx.h \
     300  piapplgen.h pimenubarx.h pimenubargen.h piconsenum.h piimage.h \
     301  parradapter.h lut.h pieldrw.h pidrawer.h pibwdggen.h picmap.h picmapx.h \
    313302  picmapgen.h pigraphx.h pigraphgen.h pifontx.h pifontgen.h pigrcoord.h \
    314303  pilineatt.h pigraphuc.h pievthandler.h psfile.h pigratt.h piaxes.h \
     
    316305        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  piimgtools.cc
    317306 
    318 $(SOPHYAOBJP)pilineatt.o: pilineatt.cc \
    319   $(SOPHYAINCP)sopnamsp.h pilineatt.h \
    320   pisysdep.h $(SOPHYAINCP)machdefs.h
     307$(SOPHYAOBJP)pilineatt.o: pilineatt.cc $(SOPHYAINCP)sopnamsp.h \
     308  pilineatt.h pisysdep.h $(SOPHYAINCP)machdefs.h
    321309        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pilineatt.cc
    322310 
    323 $(SOPHYAOBJP)pilistgen.o: pilistgen.cc \
    324   $(SOPHYAINCP)sopnamsp.h pilistgen.h \
    325   pisysdep.h $(SOPHYAINCP)machdefs.h piwdgx.h \
    326   piwdggen.h pimsghandler.h picolist.h
     311$(SOPHYAOBJP)pilistgen.o: pilistgen.cc $(SOPHYAINCP)sopnamsp.h \
     312  pilistgen.h pisysdep.h $(SOPHYAINCP)machdefs.h \
     313  piwdgx.h piwdggen.h pimsghandler.h picolist.h pipixutils.h
    327314        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pilistgen.cc
    328315 
     
    330317  pilistx.h pilistgen.h pisysdep.h \
    331318  $(SOPHYAINCP)machdefs.h piwdgx.h piwdggen.h \
    332   pimsghandler.h picolist.h picontainerx.h picontainergen.h
     319  pimsghandler.h picolist.h pipixutils.h picontainerx.h picontainergen.h
    333320        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pilistx.cc
    334321 
    335322$(SOPHYAOBJP)pimenubargen.o: pimenubargen.cc \
    336323  $(SOPHYAINCP)sopnamsp.h pimenubargen.h \
    337   pisysdep.h $(SOPHYAINCP)machdefs.h \
    338   pimenux.h pimenugen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \
     324  pisysdep.h $(SOPHYAINCP)machdefs.h pimenux.h \
     325  pimenugen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h pipixutils.h \
    339326  piapplx.h piapplgen.h picontainerx.h picontainergen.h pimenubarx.h \
    340327  piconsenum.h
     
    344331  $(SOPHYAINCP)sopnamsp.h pimenubarx.h \
    345332  pimenubargen.h pisysdep.h \
    346   $(SOPHYAINCP)machdefs.h pimenux.h \
    347   pimenugen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h piapplx.h \
     333  $(SOPHYAINCP)machdefs.h pimenux.h pimenugen.h \
     334  piwdgx.h piwdggen.h pimsghandler.h picolist.h pipixutils.h piapplx.h \
    348335  piapplgen.h picontainerx.h picontainergen.h piconsenum.h
    349336        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pimenubarx.cc
    350337 
    351 $(SOPHYAOBJP)pimenugen.o: pimenugen.cc \
    352   $(SOPHYAINCP)sopnamsp.h pimenugen.h \
    353   pisysdep.h $(SOPHYAINCP)machdefs.h piwdgx.h \
    354   piwdggen.h pimsghandler.h picolist.h
     338$(SOPHYAOBJP)pimenugen.o: pimenugen.cc $(SOPHYAINCP)sopnamsp.h \
     339  pimenugen.h pisysdep.h $(SOPHYAINCP)machdefs.h \
     340  piwdgx.h piwdggen.h pimsghandler.h picolist.h pipixutils.h
    355341        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pimenugen.cc
    356342 
    357343$(SOPHYAOBJP)pimenux.o: pimenux.cc $(SOPHYAINCP)sopnamsp.h \
    358   pisysdep.h $(SOPHYAINCP)machdefs.h \
    359   pimenubarx.h pimenubargen.h pimenux.h pimenugen.h piwdgx.h piwdggen.h \
    360   pimsghandler.h picolist.h
     344  pisysdep.h $(SOPHYAINCP)machdefs.h pimenubarx.h \
     345  pimenubargen.h pimenux.h pimenugen.h piwdgx.h piwdggen.h pimsghandler.h \
     346  picolist.h pipixutils.h
    361347        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pimenux.cc
    362348 
     
    368354$(SOPHYAOBJP)pioptmenugen.o: pioptmenugen.cc \
    369355  $(SOPHYAINCP)sopnamsp.h pioptmenugen.h \
    370   pisysdep.h $(SOPHYAINCP)machdefs.h \
    371   pimenux.h pimenugen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h
     356  pisysdep.h $(SOPHYAINCP)machdefs.h pimenux.h \
     357  pimenugen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h pipixutils.h
    372358        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pioptmenugen.cc
    373359 
     
    376362  $(SOPHYAINCP)machdefs.h pioptmenux.h \
    377363  pioptmenugen.h pimenux.h pimenugen.h piwdgx.h piwdggen.h pimsghandler.h \
    378   picolist.h pistdwdgx.h pistdwdggen.h piapplx.h piapplgen.h \
     364  picolist.h pipixutils.h pistdwdgx.h pistdwdggen.h piapplx.h piapplgen.h \
    379365  picontainerx.h picontainergen.h pimenubarx.h pimenubargen.h \
    380366  piconsenum.h
    381367        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pioptmenux.cc
    382368 
    383 $(SOPHYAOBJP)piperiodx.o: piperiodx.cc \
    384   $(SOPHYAINCP)sopnamsp.h piwdgx.h piwdggen.h \
    385   $(SOPHYAINCP)machdefs.h pimsghandler.h \
    386   picolist.h piperiodx.h \
     369$(SOPHYAOBJP)piperiodx.o: piperiodx.cc $(SOPHYAINCP)sopnamsp.h \
     370  piwdgx.h piwdggen.h $(SOPHYAINCP)machdefs.h \
     371  pimsghandler.h picolist.h pipixutils.h piperiodx.h \
    387372  $(SOPHYAINCP)periodic.h \
    388373  $(SOPHYAINCP)machdefs.h
     
    391376$(SOPHYAOBJP)pipixmapgen.o: pipixmapgen.cc \
    392377  $(SOPHYAINCP)sopnamsp.h pipixmapgen.h \
    393   pisysdep.h $(SOPHYAINCP)machdefs.h \
    394   pibwdgx.h pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \
     378  pisysdep.h $(SOPHYAINCP)machdefs.h pibwdgx.h \
     379  pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h pipixutils.h \
    395380  picmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h pifontx.h \
    396   pifontgen.h pigrcoord.h pilineatt.h pipixutils.h pigraphuc.h \
    397   pievthandler.h psfile.h pigraphps.h
     381  pifontgen.h pigrcoord.h pilineatt.h pigraphuc.h pievthandler.h psfile.h \
     382  pigraphps.h
    398383        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pipixmapgen.cc
    399384 
    400 $(SOPHYAOBJP)pipixmapx.o: pipixmapx.cc \
    401   $(SOPHYAINCP)sopnamsp.h pipixmapx.h \
    402   pipixmapgen.h pisysdep.h \
    403   $(SOPHYAINCP)machdefs.h pibwdgx.h \
    404   pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h picmap.h \
     385$(SOPHYAOBJP)pipixmapx.o: pipixmapx.cc $(SOPHYAINCP)sopnamsp.h \
     386  pipixmapx.h pipixmapgen.h pisysdep.h \
     387  $(SOPHYAINCP)machdefs.h pibwdgx.h pibwdggen.h \
     388  piwdgx.h piwdggen.h pimsghandler.h picolist.h pipixutils.h picmap.h \
    405389  picmapx.h picmapgen.h pigraphx.h pigraphgen.h pifontx.h pifontgen.h \
    406   pigrcoord.h pilineatt.h pipixutils.h pigraphuc.h pievthandler.h \
    407   psfile.h pigraphps.h
     390  pigrcoord.h pilineatt.h pigraphuc.h pievthandler.h psfile.h pigraphps.h
    408391        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pipixmapx.cc
    409392 
     
    415398  $(SOPHYAINCP)machdefs.h piscdrawwdg.h \
    416399  pisysdep.h pibwdgx.h pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h \
    417   picolist.h picmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h \
    418   pifontx.h pifontgen.h pigrcoord.h pilineatt.h pipixutils.h pigraphuc.h \
     400  picolist.h pipixutils.h picmap.h picmapx.h picmapgen.h pigraphx.h \
     401  pigraphgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h pigraphuc.h \
    419402  pievthandler.h psfile.h pigraphps.h pistdwdgx.h pistdwdggen.h \
    420403  piwindowx.h piwindowgen.h picontainerx.h picontainergen.h pidrawer.h \
     
    427410  $(SOPHYAINCP)sopnamsp.h pistdwdggen.h \
    428411  pisysdep.h $(SOPHYAINCP)machdefs.h piwdgx.h \
    429   piwdggen.h pimsghandler.h picolist.h
     412  piwdggen.h pimsghandler.h picolist.h pipixutils.h
    430413        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pistdwdggen.cc
    431414 
    432 $(SOPHYAOBJP)pistdwdgx.o: pistdwdgx.cc \
    433   $(SOPHYAINCP)sopnamsp.h pisysdep.h \
    434   $(SOPHYAINCP)machdefs.h pistdwdgx.h \
     415$(SOPHYAOBJP)pistdwdgx.o: pistdwdgx.cc $(SOPHYAINCP)sopnamsp.h \
     416  pisysdep.h $(SOPHYAINCP)machdefs.h pistdwdgx.h \
    435417  pistdwdggen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \
    436   picontainerx.h picontainergen.h
     418  pipixutils.h picontainerx.h picontainergen.h
    437419        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pistdwdgx.cc
    438420 
    439 $(SOPHYAOBJP)pistzwin.o: pistzwin.cc \
    440   $(SOPHYAINCP)sopnamsp.h pistzwin.h \
    441   pisysdep.h $(SOPHYAINCP)machdefs.h \
     421$(SOPHYAOBJP)pistzwin.o: pistzwin.cc $(SOPHYAINCP)sopnamsp.h \
     422  pistzwin.h pisysdep.h $(SOPHYAINCP)machdefs.h \
    442423  piwindowx.h piwindowgen.h picontainerx.h picontainergen.h piwdgx.h \
    443   piwdggen.h pimsghandler.h picolist.h piperiodx.h \
     424  piwdggen.h pimsghandler.h picolist.h pipixutils.h piperiodx.h \
    444425  $(SOPHYAINCP)periodic.h \
    445   $(SOPHYAINCP)machdefs.h psfile.h \
    446   pifontgen.h pigraphgen.h picmap.h picmapx.h picmapgen.h pifontx.h \
    447   pigrcoord.h pilineatt.h pipixutils.h
     426  $(SOPHYAINCP)machdefs.h psfile.h pifontgen.h \
     427  pigraphgen.h picmap.h picmapx.h picmapgen.h pifontx.h pigrcoord.h \
     428  pilineatt.h
    448429        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pistzwin.cc
    449430 
    450 $(SOPHYAOBJP)pisurfdr.o: pisurfdr.cc \
    451   $(SOPHYAINCP)sopnamsp.h pisurfdr.h \
    452   parradapter.h $(SOPHYAINCP)machdefs.h lut.h \
    453   pipixutils.h pi3ddrw.h pisysdep.h pidrawer.h pibwdggen.h piwdgx.h \
    454   piwdggen.h pimsghandler.h picolist.h picmap.h picmapx.h picmapgen.h \
    455   pigraphx.h pigraphgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h \
    456   pigraphuc.h pievthandler.h psfile.h pigratt.h piaxes.h pieldrw.h \
    457   pigraph3d.h
     431$(SOPHYAOBJP)pisurfdr.o: pisurfdr.cc $(SOPHYAINCP)sopnamsp.h \
     432  pisurfdr.h parradapter.h \
     433  $(SOPHYAINCP)machdefs.h lut.h pipixutils.h \
     434  pi3ddrw.h pisysdep.h pidrawer.h pibwdggen.h piwdgx.h piwdggen.h \
     435  pimsghandler.h picolist.h picmap.h picmapx.h picmapgen.h pigraphx.h \
     436  pigraphgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h pigraphuc.h \
     437  pievthandler.h psfile.h pigratt.h piaxes.h pieldrw.h pigraph3d.h
    458438        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pisurfdr.cc
    459439 
    460440$(SOPHYAOBJP)pitherm.o: pitherm.cc $(SOPHYAINCP)sopnamsp.h \
    461   pitherm.h pisysdep.h \
    462   $(SOPHYAINCP)machdefs.h pibwdgx.h \
    463   pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h picmap.h \
    464   picmapx.h picmapgen.h pigraphx.h pigraphgen.h pifontx.h pifontgen.h \
    465   pigrcoord.h pilineatt.h pipixutils.h pigraphuc.h pievthandler.h \
    466   psfile.h pigraphps.h
     441  pitherm.h pisysdep.h $(SOPHYAINCP)machdefs.h \
     442  pibwdgx.h pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \
     443  pipixutils.h picmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h \
     444  pifontx.h pifontgen.h pigrcoord.h pilineatt.h pigraphuc.h \
     445  pievthandler.h psfile.h pigraphps.h
    467446        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pitherm.cc
    468447 
    469 $(SOPHYAOBJP)pitxtdrw.o: pitxtdrw.cc \
    470   $(SOPHYAINCP)sopnamsp.h \
    471   $(SOPHYAINCP)machdefs.h pitxtdrw.h \
    472   pisysdep.h pidrawer.h pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h \
    473   picolist.h picmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h \
    474   pifontx.h pifontgen.h pigrcoord.h pilineatt.h pipixutils.h pigraphuc.h \
     448$(SOPHYAOBJP)pitxtdrw.o: pitxtdrw.cc $(SOPHYAINCP)sopnamsp.h \
     449  $(SOPHYAINCP)machdefs.h pitxtdrw.h pisysdep.h \
     450  pidrawer.h pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \
     451  pipixutils.h picmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h \
     452  pifontx.h pifontgen.h pigrcoord.h pilineatt.h pigraphuc.h \
    475453  pievthandler.h psfile.h pigratt.h piaxes.h
    476454        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pitxtdrw.cc
    477455 
    478 $(SOPHYAOBJP)piwdggen.o: piwdggen.cc \
    479   $(SOPHYAINCP)sopnamsp.h piwdggen.h \
    480   $(SOPHYAINCP)machdefs.h pimsghandler.h \
    481   picolist.h picontainergen.h pisysdep.h piwdgx.h pievthandler.h \
    482   pigraphx.h pigraphgen.h picmap.h picmapx.h picmapgen.h pifontx.h \
    483   pifontgen.h pigrcoord.h pilineatt.h pipixutils.h psfile.h
     456$(SOPHYAOBJP)piwdggen.o: piwdggen.cc $(SOPHYAINCP)sopnamsp.h \
     457  piwdggen.h $(SOPHYAINCP)machdefs.h \
     458  pimsghandler.h picolist.h pipixutils.h picontainergen.h pisysdep.h \
     459  piwdgx.h pievthandler.h pigraphx.h pigraphgen.h picmap.h picmapx.h \
     460  picmapgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h psfile.h
    484461        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  piwdggen.cc
    485462 
    486463$(SOPHYAOBJP)piwdgx.o: piwdgx.cc $(SOPHYAINCP)sopnamsp.h \
    487464  piwdgx.h piwdggen.h $(SOPHYAINCP)machdefs.h \
    488   pimsghandler.h picolist.h picontainerx.h pisysdep.h picontainergen.h \
    489   pievthandler.h pigraphx.h pigraphgen.h picmap.h picmapx.h picmapgen.h \
    490   pifontx.h pifontgen.h pigrcoord.h pilineatt.h pipixutils.h \
     465  pimsghandler.h picolist.h pipixutils.h picontainerx.h pisysdep.h \
     466  picontainergen.h pievthandler.h pigraphx.h pigraphgen.h picmap.h \
     467  picmapx.h picmapgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h \
    491468  $(SOPHYAINCP)pexceptions.h \
    492469  $(SOPHYAINCP)machdefs.h
     
    497474  pisysdep.h $(SOPHYAINCP)machdefs.h \
    498475  picontainerx.h picontainergen.h piwdgx.h piwdggen.h pimsghandler.h \
    499   picolist.h psfile.h pifontgen.h pigraphgen.h picmap.h picmapx.h \
    500   picmapgen.h pifontx.h pigrcoord.h pilineatt.h pipixutils.h
     476  picolist.h pipixutils.h psfile.h pifontgen.h pigraphgen.h picmap.h \
     477  picmapx.h picmapgen.h pifontx.h pigrcoord.h pilineatt.h
    501478        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  piwindowgen.cc
    502479 
    503 $(SOPHYAOBJP)piwindowx.o: piwindowx.cc \
    504   $(SOPHYAINCP)sopnamsp.h piwindowx.h \
    505   piwindowgen.h pisysdep.h \
     480$(SOPHYAOBJP)piwindowx.o: piwindowx.cc $(SOPHYAINCP)sopnamsp.h \
     481  piwindowx.h piwindowgen.h pisysdep.h \
    506482  $(SOPHYAINCP)machdefs.h picontainerx.h \
    507   picontainergen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h
     483  picontainergen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \
     484  pipixutils.h
    508485        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  piwindowx.cc
    509486 
    510 $(SOPHYAOBJP)pixtbase.o: pixtbase.cc \
    511   $(SOPHYAINCP)sopnamsp.h \
    512   $(SOPHYAINCP)machdefs.h pixtbaseP.h \
    513   pibwdgx.h pisysdep.h pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h \
    514   picolist.h picmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h \
    515   pifontx.h pifontgen.h pigrcoord.h pilineatt.h pipixutils.h pigraphuc.h \
     487$(SOPHYAOBJP)pixtbase.o: pixtbase.cc $(SOPHYAINCP)sopnamsp.h \
     488  $(SOPHYAINCP)machdefs.h pixtbaseP.h pibwdgx.h \
     489  pisysdep.h pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \
     490  pipixutils.h picmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h \
     491  pifontx.h pifontgen.h pigrcoord.h pilineatt.h pigraphuc.h \
    516492  pievthandler.h psfile.h pigraphps.h pixtbase.h
    517493        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pixtbase.cc
    518494 
    519 $(SOPHYAOBJP)piyfxdrw.o: piyfxdrw.cc \
    520   $(SOPHYAINCP)sopnamsp.h \
    521   $(SOPHYAINCP)machdefs.h piyfxdrw.h \
    522   pisysdep.h parradapter.h lut.h pipixutils.h pidrawer.h pibwdggen.h \
    523   piwdgx.h piwdggen.h pimsghandler.h picolist.h picmap.h picmapx.h \
    524   picmapgen.h pigraphx.h pigraphgen.h pifontx.h pifontgen.h pigrcoord.h \
    525   pilineatt.h pigraphuc.h pievthandler.h psfile.h pigratt.h piaxes.h
     495$(SOPHYAOBJP)piyfxdrw.o: piyfxdrw.cc $(SOPHYAINCP)sopnamsp.h \
     496  $(SOPHYAINCP)machdefs.h piyfxdrw.h pisysdep.h \
     497  parradapter.h lut.h pipixutils.h pidrawer.h pibwdggen.h piwdgx.h \
     498  piwdggen.h pimsghandler.h picolist.h picmap.h picmapx.h picmapgen.h \
     499  pigraphx.h pigraphgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h \
     500  pigraphuc.h pievthandler.h psfile.h pigratt.h piaxes.h
    526501        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  piyfxdrw.cc
    527502 
     
    529504  psfile.h $(SOPHYAINCP)machdefs.h pisysdep.h \
    530505  pifontgen.h pigraphgen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \
    531   picmap.h picmapx.h picmapgen.h pifontx.h pigrcoord.h pilineatt.h \
    532   pipixutils.h
     506  pipixutils.h picmap.h picmapx.h picmapgen.h pifontx.h pigrcoord.h \
     507  pilineatt.h
    533508        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  psfile.cc
    534509 
  • trunk/SophyaPI/PI/parradapter.cc

    r3527 r3572  
    202202  double x,y;
    203203  this->Coord(ix, iy, x, y);
    204   char * isr = "";
     204  const char * isr = "";
    205205  if (ISFunc != NULL)  isr = ISFunc(this, ix, iy);
    206206  sprintf(ibuff,"X= %g Y= %g  Pix= %g %s   ",
  • trunk/SophyaPI/PI/piapplx.cc

    r3475 r3572  
    4040class PITopContAppX : public PIContainer {
    4141public :
    42                 PITopContAppX(PIContainer *par, char *nom, PIWdg* topw,
     42                PITopContAppX(PIContainer *par, const char *nom, PIWdg* topw,
    4343                          int sx=10, int sy=10, int px=0, int py=0);
    4444   virtual      ~PITopContAppX();
     
    5252
    5353/* --Methode-- */
    54 PITopContAppX::PITopContAppX(PIContainer *par, char *nom, PIWdg* topw, int sx, int sy, int px, int py)
     54PITopContAppX::PITopContAppX(PIContainer *par, const char *nom, PIWdg* topw, int sx, int sy, int px, int py)
    5555        : PIContainer(par, nom, (sx>10)?sx:10, (sy>10)?sy:10, px, py)
    5656{
     
    141141if (sx < sxt)  sx = sxt;
    142142if (sy < 10) sy = 10;
    143 topcont = new PITopContAppX(MBCont(), "TopLevelCont", topwdg,
    144                             sx, sy, 0, msy);
     143topcont = new PITopContAppX(MBCont(), "TopLevelCont", topwdg, sx, sy, 0, msy);
    145144MBCont()->Show();
    146145//DBG printf("PIApplicationX-DBG2:: MBContSize=%d %d \n", MBCont()->XSize(), MBCont()->YSize());
  • trunk/SophyaPI/PI/pibwdgx.cc

    r2776 r3572  
    3939CreateXtWdg(nom, piXtBaseWidgetClass, NULL, sx, sy, px, py);
    4040
    41 XtSetArg(wargs[0],PIXNobject,this);
     41XtSetArg(wargs[0],const_cast<char*>(PIXNobject),this);
    4242XtSetArg(wargs[1],XtNbackground, colpixwhite); 
    4343XtSetArg(wargs[2],XtNborderWidth, (Dimension)0); 
     
    7272#endif
    7373Arg  wargs[2];
    74 XtSetArg(wargs[0],PIXNobject,NULL);
     74 XtSetArg(wargs[0],const_cast<char*>(PIXNobject),NULL);
    7575XtSetValues(XtWdg(), wargs, 1);
    7676}
  • trunk/SophyaPI/PI/pifilechox.cc

    r2615 r3572  
    120120{
    121121XmString xmstr;
    122 xmstr = XmStringLtoRCreate((char *)path.c_str(), XmSTRING_DEFAULT_CHARSET);
     122xmstr = XmStringLtoRCreate(const_cast<char*>(path.c_str()), const_cast<char*>(XmSTRING_DEFAULT_CHARSET));
    123123Arg warg[2];
    124124XtSetArg(warg[0], XmNdirectory, xmstr);
     
    132132{
    133133XmString xmstr;
    134 xmstr = XmStringLtoRCreate((char *)fname.c_str(), XmSTRING_DEFAULT_CHARSET);
     134xmstr = XmStringLtoRCreate(const_cast<char*>(fname.c_str()),  const_cast<char*>(XmSTRING_DEFAULT_CHARSET));
    135135Arg warg[2];
    136136XtSetArg(warg[0], XmNtextString, xmstr);
  • trunk/SophyaPI/PI/pifontx.cc

    r3499 r3572  
    263263
    264264static XtResource resources[] = {
    265   { "fontFamilyName", "FontFamilyName", XtRString, sizeof(String),
     265  { const_cast<char *>("fontFamilyName"), const_cast<char *>("FontFamilyName"),
     266    XtRString, sizeof(String),
    266267    /*XtOffset(apd, fntFam[0])*/ 0, XtRString, const_cast<char *>("*-courier") } ,
    267   { "courierfontFamilyName", "CourierfontFamilyName", XtRString, sizeof(String),
     268  { const_cast<char *>("courierfontFamilyName"), const_cast<char *>("CourierfontFamilyName"),
     269    XtRString, sizeof(String),
    268270    sizeof(String) , XtRString, const_cast<char *>("*-courier") } ,
    269   { "helveticafontFamilyName", "HelveticafontFamilyName", XtRString, sizeof(String),
     271  { const_cast<char *>("helveticafontFamilyName"), const_cast<char *>("HelveticafontFamilyName"),
     272    XtRString, sizeof(String),
    270273    2*sizeof(String) , XtRString, const_cast<char *>("*-helvetica") } ,
    271   { "timesfontFamilyName", "TimesfontFamilyName", XtRString, sizeof(String),
     274  { const_cast<char *>("timesfontFamilyName"), const_cast<char *>("TimesfontFamilyName"),
     275    XtRString, sizeof(String),
    272276    3*sizeof(String) , XtRString, const_cast<char *>("*-times") } ,
    273   { "symbolfontFamilyName", "SymbolfontFamilyName", XtRString, sizeof(String),
     277  { const_cast<char *>("symbolfontFamilyName"), const_cast<char *>("SymbolfontFamilyName"),
     278    XtRString, sizeof(String),
    274279    4*sizeof(String) , XtRString, const_cast<char *>("*-symbol") }
    275280};
    276281 
    277 static char * fnbi_b[4] = { "medium-r-normal", "bold-r-normal",
     282static const char * fnbi_b[4] = { "medium-r-normal", "bold-r-normal",
    278283                          "medium-o-normal", "bold-o-normal" };
    279 static char * fnbo_b[4] = { NULL, NULL,
     284static const char * fnbo_b[4] = { NULL, NULL,
    280285                          "medium-i-normal", "bold-i-normal" };
    281286
     
    355360  printf("PIFontX::Init %d fonts found for %s , switching to courier\n",
    356361         count, apd.fntFam[0]);
    357   apd.fntFam[0] = "*-courier";
     362  apd.fntFam[0] = const_cast<char *>("*-courier");
    358363  if (list) XFreeFontNames(list);
    359364  }
  • trunk/SophyaPI/PI/pilistx.cc

    r2615 r3572  
    116116mNItem++;
    117117
    118 #if defined(__DECCXX) || defined(__KCC__) || defined(__aCC__)
    119 XmString xms = XmStringCreate(const_cast<char *>(item), XmSTRING_DEFAULT_CHARSET);
    120 #else
    121 XmString xms = XmStringCreate((char *)(item), XmSTRING_DEFAULT_CHARSET);
    122 #endif
     118XmString xms = XmStringCreate(const_cast<char*>(item), const_cast<char*>(XmSTRING_DEFAULT_CHARSET));
    123119XmListAddItem(mlist, xms, 0);
    124120XmStringFree(xms);
  • trunk/SophyaPI/PI/pimenux.cc

    r2615 r3572  
    386386  n=0;
    387387  sprintf(acc,"Ctrl/%c", sc[0]);
    388   xmstr = XmStringLtoRCreate(acc, XmSTRING_DEFAULT_CHARSET);
     388  xmstr = XmStringLtoRCreate(acc, const_cast<char*>(XmSTRING_DEFAULT_CHARSET));
    389389  XtSetArg(warg[n], XmNacceleratorText, xmstr); n++;
    390390  sprintf(acc,"Ctrl<Key>%c", sc[0]);
  • trunk/SophyaPI/PI/pioptmenux.cc

    r2776 r3572  
    160160{
    161161XmString xmstr;
    162 xmstr = XmStringLtoRCreate((char *)lab.c_str(), XmSTRING_DEFAULT_CHARSET);
     162xmstr = XmStringLtoRCreate(const_cast<char*>(lab.c_str()), const_cast<char*>(XmSTRING_DEFAULT_CHARSET));
    163163int n=0;
    164164Arg warg[2];
  • trunk/SophyaPI/PI/pistdwdgx.cc

    r2615 r3572  
    5151{
    5252XmString xmstr;
    53 xmstr = XmStringLtoRCreate((char *)lab.c_str(), XmSTRING_DEFAULT_CHARSET);
     53xmstr = XmStringLtoRCreate(const_cast<char*>(lab.c_str()), const_cast<char*>(XmSTRING_DEFAULT_CHARSET));
    5454int n=0;
    5555Arg warg[2];
     
    149149{
    150150XmString xmstr;
    151 xmstr = XmStringLtoRCreate((char *)lab.c_str(), XmSTRING_DEFAULT_CHARSET);
     151xmstr = XmStringLtoRCreate(const_cast<char*>(lab.c_str()), const_cast<char*>(XmSTRING_DEFAULT_CHARSET));
    152152int n=0;
    153153Arg warg[2];
  • trunk/SophyaPI/PI/pitherm.cc

    r3549 r3572  
    2424//--
    2525//++
    26 //  PIThermometer(PIContainerGen *par, char *nom, int sx=256, int sy=10, int px=0, int py=0)
     26//  PIThermometer(PIContainerGen *par, const char *nom, int sx=256, int sy=10, int px=0, int py=0)
    2727//      Constructeur - Le choix d'affichage (vertical ou horizontal) dépend
    2828//      du rapport des tailles "sx", "sy"
     
    3131
    3232/* --Methode-- */
    33 PIThermometer::PIThermometer(PIContainerGen *par, char *nom,
     33PIThermometer::PIThermometer(PIContainerGen *par, const char *nom,
    3434                       int sx, int sy, int px, int py)
    3535: PIBaseWdg(par, nom, sx, sy, px, py)
  • trunk/SophyaPI/PI/pitherm.h

    r2652 r3572  
    1616  enum {ClassId = 5220};
    1717
    18                   PIThermometer(PIContainerGen *par, char *nom,
     18                  PIThermometer(PIContainerGen *par, const char *nom,
    1919                                int sx=256, int sy=10, int px=0, int py=0);
    2020  virtual         ~PIThermometer();
  • trunk/SophyaPI/PI/piwdgx.cc

    r3549 r3572  
    2020#include "pigraphx.h"
    2121
    22 #ifdef SANS_EVOLPLANCK
    23 #include "perrors.h"
    24 #else
    2522#include "pexceptions.h"
    26 #endif
    2723
    2824
     
    627623// Ressources X si non definis
    628624static const String fallback_res[26] = {
    629 "PeidaInt*default*background:                 LightGrey" ,
    630 "PeidaInt*background:                         LightGrey" ,
    631 "PeidaInt*Foreground:                         Black",
    632 "PeidaInt*default*Foreground:                 Black",
    633 "PeidaInt*default*bottomShadowColor:          Black",
    634 "PeidaInt*bottomShadowColor:                  Black",
    635 "PeidaInt*default*topShadowColor:             White",
    636 "PeidaInt*topShadowColor:                     White",
    637 "PeidaInt*borderColor:                        Black",
    638 "PeidaInt*XmLabel.borderWidth:                0",
    639 "PeidaInt*XmDrawingArea*background:           Black",
    640 "PeidaInt*XmPushButton*borderWidth:           0",
    641 "PeidaInt*XmText*shadowThickness:             2",
    642 "PeidaInt*XmText*highlightThickness:          0",
    643 "PeidaInt*XmText*marginHeigt:                 0",
    644 "PeidaInt*XmText*marginWidth:                 2",
    645 // "PeidaInt*DefMenubar*XtNwidth:                250",
    646 // "PeidaInt*DefMenubar*XtNheight:               30",
    647 "PeidaInt*fontList:           -*-courier-bold-r-normal-*-12-*-*-*-*-*-ISO8859-1",
    648 "PeidaInt*default*fontList:   -*-courier-bold-r-normal-*-12-*-*-*-*-*-ISO8859-1",
    649 "PeidaInt*fontFamilyName:                     *-courier",    // Pas de blanc apres le nom de font
    650 "PeidaInt*courierfontFamilyName:              *-courier",    //           "        "
    651 "PeidaInt*helveticafontFamilyName:            *-helvetica",  //           "        "
    652 "PeidaInt*timesfontFamilyName:                *-times",      //           "        "
    653 "PeidaInt*symbolfontFamilyName:               *-symbol",     //           "        "
    654 "PeidaInt*XmToggleButton*selectColor:         Red",
     625const_cast<char*>("PeidaInt*default*background:                 LightGrey") ,
     626const_cast<char*>("PeidaInt*background:                         LightGrey") ,
     627const_cast<char*>("PeidaInt*Foreground:                         Black"),
     628const_cast<char*>("PeidaInt*default*Foreground:                 Black"),
     629const_cast<char*>("PeidaInt*default*bottomShadowColor:          Black"),
     630const_cast<char*>("PeidaInt*bottomShadowColor:                  Black"),
     631const_cast<char*>("PeidaInt*default*topShadowColor:             White"),
     632const_cast<char*>("PeidaInt*topShadowColor:                     White"),
     633const_cast<char*>("PeidaInt*borderColor:                        Black"),
     634const_cast<char*>("PeidaInt*XmLabel.borderWidth:                0"),
     635const_cast<char*>("PeidaInt*XmDrawingArea*background:           Black"),
     636const_cast<char*>("PeidaInt*XmPushButton*borderWidth:           0"),
     637const_cast<char*>("PeidaInt*XmText*shadowThickness:             2"),
     638const_cast<char*>("PeidaInt*XmText*highlightThickness:          0"),
     639const_cast<char*>("PeidaInt*XmText*marginHeigt:                 0"),
     640const_cast<char*>("PeidaInt*XmText*marginWidth:                 2"),
     641// const_cast<char*>("PeidaInt*DefMenubar*XtNwidth:                250"),
     642// const_cast<char*>("PeidaInt*DefMenubar*XtNheight:               30"),
     643const_cast<char*>("PeidaInt*fontList:           -*-courier-bold-r-normal-*-12-*-*-*-*-*-ISO8859-1"),
     644const_cast<char*>("PeidaInt*default*fontList:   -*-courier-bold-r-normal-*-12-*-*-*-*-*-ISO8859-1"),
     645const_cast<char*>("PeidaInt*fontFamilyName:                     *-courier"),    // Pas de blanc apres le nom de font
     646const_cast<char*>("PeidaInt*courierfontFamilyName:              *-courier"),    //           "        "
     647const_cast<char*>("PeidaInt*helveticafontFamilyName:            *-helvetica"),  //           "        "
     648const_cast<char*>("PeidaInt*timesfontFamilyName:                *-times"),      //           "        "
     649const_cast<char*>("PeidaInt*symbolfontFamilyName:               *-symbol"),     //           "        "
     650const_cast<char*>("PeidaInt*XmToggleButton*selectColor:         Red"),
    655651NULL
    656652};
     
    681677if (top == NULL) {
    682678  fprintf(stderr, "PIWdgX::InitXt()/ Error XtVaAppInitialize()\n");
    683 #ifdef SANS_EVOLPLANCK
    684   throw notFoundErr;
    685 #else
    686   throw NotFoundExc("PIWdgX::InitXt()/ Error XtVaAppInitialize()");
    687 #endif
     679  throw PError("PIWdgX::InitXt()/ Error XtVaAppInitialize()");
    688680  }
    689681dpy = XtDisplay(top);
    690682if (dpy == NULL)  {
    691683  fprintf(stderr, "PIWdgX::InitXt()/ Error XtVaAppInitialize()/DisplayConnection\n");
    692 #ifdef SANS_EVOLPLANCK
    693   throw notFoundErr;
    694 #else
    695   throw NotFoundExc("PIWdgX::InitXt()/ Error XtVaAppInitialize()/DisplayConnection");
    696 #endif
     684  throw PError("PIWdgX::InitXt()/ Error XtVaAppInitialize()/DisplayConnection");
    697685  }
    698686
     
    734722  }
    735723stdfnt = XLoadQueryFont(dpy, buff);
    736 char * myfntname = "???";
     724const char * myfntname = "???";
    737725// Recherche du champ taille en pixel de la fonte : apres le 7eme tiret
    738726int mySzFont = 12;
  • trunk/SophyaPI/PI/pixtbase.cc

    r3404 r3572  
    4646
    4747static XtResource resources[] ={
    48   {PIXNobject ,(char *)"Object", XtRPointer, sizeof(XtRPointer),
     48  {const_cast<char*>(PIXNobject) ,const_cast<char*>("Object"), XtRPointer, sizeof(XtRPointer),
    4949   XtOffset(PIXtBaseWidget,  pixtbase.objet), XtRImmediate, (XtPointer)0},
    5050};
  • trunk/SophyaPI/PI/smakefile

    r3523 r3572  
    44 
    55clean:
    6          rm -f $(SOPHYAOBJP)lut.o $(SOPHYAOBJP)parradapter.o $(SOPHYAOBJP)pi3ddrw.o $(SOPHYAOBJP)pi3dwdg.o $(SOPHYAOBJP)piapplgen.o $(SOPHYAOBJP)piapplx.o $(SOPHYAOBJP)piaxes.o $(SOPHYAOBJP)piaxestools.o $(SOPHYAOBJP)pibargraph.o $(SOPHYAOBJP)pibwdggen.o $(SOPHYAOBJP)pibwdgx.o $(SOPHYAOBJP)picmap.o $(SOPHYAOBJP)picmapgen.o $(SOPHYAOBJP)picmapview.o $(SOPHYAOBJP)picmapx.o $(SOPHYAOBJP)picons.o $(SOPHYAOBJP)picontainergen.o $(SOPHYAOBJP)picontainerx.o $(SOPHYAOBJP)pidrawer.o $(SOPHYAOBJP)pidrawwin.o $(SOPHYAOBJP)pidrwtools.o $(SOPHYAOBJP)pieldrw.o $(SOPHYAOBJP)pierrdisp.o $(SOPHYAOBJP)pievthandler.o $(SOPHYAOBJP)pifilechogen.o $(SOPHYAOBJP)pifilechox.o $(SOPHYAOBJP)pifontgen.o $(SOPHYAOBJP)pifontx.o $(SOPHYAOBJP)pigraph3d.o $(SOPHYAOBJP)pigraphgen.o $(SOPHYAOBJP)pigraphps.o $(SOPHYAOBJP)pigraphuc.o $(SOPHYAOBJP)pigraphx.o $(SOPHYAOBJP)pigratt.o $(SOPHYAOBJP)pigrcoord.o $(SOPHYAOBJP)piimage.o $(SOPHYAOBJP)piimgtools.o $(SOPHYAOBJP)pilineatt.o $(SOPHYAOBJP)pilistgen.o $(SOPHYAOBJP)pilistx.o $(SOPHYAOBJP)pimenubargen.o $(SOPHYAOBJP)pimenubarx.o $(SOPHYAOBJP)pimenugen.o $(SOPHYAOBJP)pimenux.o $(SOPHYAOBJP)pimsghandler.o $(SOPHYAOBJP)pioptmenugen.o $(SOPHYAOBJP)pioptmenux.o $(SOPHYAOBJP)piperiodx.o $(SOPHYAOBJP)pipixmapgen.o $(SOPHYAOBJP)pipixmapx.o $(SOPHYAOBJP)pipixutils.o $(SOPHYAOBJP)pipplist.o $(SOPHYAOBJP)pippmenubar.o $(SOPHYAOBJP)pippoptmenu.o $(SOPHYAOBJP)pippviewadapter.o $(SOPHYAOBJP)piscdrawwdg.o $(SOPHYAOBJP)pistdwdggen.o $(SOPHYAOBJP)pistdwdgx.o $(SOPHYAOBJP)pistzwin.o $(SOPHYAOBJP)pisurfdr.o $(SOPHYAOBJP)pitherm.o $(SOPHYAOBJP)pitxtdrw.o $(SOPHYAOBJP)piup.o $(SOPHYAOBJP)piupdattachment.o $(SOPHYAOBJP)piup_def.o $(SOPHYAOBJP)piwdggen.o $(SOPHYAOBJP)piwdgx.o $(SOPHYAOBJP)piwindowgen.o $(SOPHYAOBJP)piwindowx.o $(SOPHYAOBJP)pixtbase.o $(SOPHYAOBJP)piyfxdrw.o $(SOPHYAOBJP)psfile.o $(SOPHYAOBJP)xdispim.o
     6         rm -f $(SOPHYAOBJP)lut.o $(SOPHYAOBJP)parradapter.o $(SOPHYAOBJP)pi3ddrw.o $(SOPHYAOBJP)pi3dwdg.o $(SOPHYAOBJP)piapplgen.o $(SOPHYAOBJP)piapplx.o $(SOPHYAOBJP)piaxes.o $(SOPHYAOBJP)piaxestools.o $(SOPHYAOBJP)pibargraph.o $(SOPHYAOBJP)pibwdggen.o $(SOPHYAOBJP)pibwdgx.o $(SOPHYAOBJP)picmap.o $(SOPHYAOBJP)picmapgen.o $(SOPHYAOBJP)picmapview.o $(SOPHYAOBJP)picmapx.o $(SOPHYAOBJP)picons.o $(SOPHYAOBJP)picontainergen.o $(SOPHYAOBJP)picontainerx.o $(SOPHYAOBJP)pidrawer.o $(SOPHYAOBJP)pidrawwin.o $(SOPHYAOBJP)pidrwtools.o $(SOPHYAOBJP)pieldrw.o $(SOPHYAOBJP)pierrdisp.o $(SOPHYAOBJP)pievthandler.o $(SOPHYAOBJP)pifilechogen.o $(SOPHYAOBJP)pifilechox.o $(SOPHYAOBJP)pifontgen.o $(SOPHYAOBJP)pifontx.o $(SOPHYAOBJP)pigraph3d.o $(SOPHYAOBJP)pigraphgen.o $(SOPHYAOBJP)pigraphps.o $(SOPHYAOBJP)pigraphuc.o $(SOPHYAOBJP)pigraphx.o $(SOPHYAOBJP)pigratt.o $(SOPHYAOBJP)pigrcoord.o $(SOPHYAOBJP)piimage.o $(SOPHYAOBJP)piimgtools.o $(SOPHYAOBJP)pilineatt.o $(SOPHYAOBJP)pilistgen.o $(SOPHYAOBJP)pilistx.o $(SOPHYAOBJP)pimenubargen.o $(SOPHYAOBJP)pimenubarx.o $(SOPHYAOBJP)pimenugen.o $(SOPHYAOBJP)pimenux.o $(SOPHYAOBJP)pimsghandler.o $(SOPHYAOBJP)pioptmenugen.o $(SOPHYAOBJP)pioptmenux.o $(SOPHYAOBJP)piperiodx.o $(SOPHYAOBJP)pipixmapgen.o $(SOPHYAOBJP)pipixmapx.o $(SOPHYAOBJP)pipixutils.o $(SOPHYAOBJP)pipplist.o $(SOPHYAOBJP)pippmenubar.o $(SOPHYAOBJP)pippoptmenu.o $(SOPHYAOBJP)pippviewadapter.o $(SOPHYAOBJP)piscdrawwdg.o $(SOPHYAOBJP)pistdwdggen.o $(SOPHYAOBJP)pistdwdgx.o $(SOPHYAOBJP)pistzwin.o $(SOPHYAOBJP)pisurfdr.o $(SOPHYAOBJP)pitherm.o $(SOPHYAOBJP)pitxtdrw.o $(SOPHYAOBJP)piup.o $(SOPHYAOBJP)piup_def.o $(SOPHYAOBJP)piupdattachment.o $(SOPHYAOBJP)piwdggen.o $(SOPHYAOBJP)piwdgx.o $(SOPHYAOBJP)piwindowgen.o $(SOPHYAOBJP)piwindowx.o $(SOPHYAOBJP)pixtbase.o $(SOPHYAOBJP)piyfxdrw.o $(SOPHYAOBJP)psfile.o $(SOPHYAOBJP)xdispim.o
    77        rm -f $(SOPHYALIBP)libPI.a
    88 
     
    2323 
    2424$(SOPHYAOBJP)pi3ddrw.o: pi3ddrw.cc $(SOPHYAINCP)sopnamsp.h \
    25   pi3ddrw.h pisysdep.h \
    26   $(SOPHYAINCP)machdefs.h pidrawer.h \
    27   pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h picmap.h \
    28   picmapx.h picmapgen.h pigraphx.h pigraphgen.h pifontx.h pifontgen.h \
    29   pigrcoord.h pilineatt.h pipixutils.h pigraphuc.h pievthandler.h \
    30   psfile.h pigratt.h piaxes.h pieldrw.h pigraph3d.h
     25  pi3ddrw.h pisysdep.h $(SOPHYAINCP)machdefs.h \
     26  pidrawer.h pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \
     27  pipixutils.h picmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h \
     28  pifontx.h pifontgen.h pigrcoord.h pilineatt.h pigraphuc.h \
     29  pievthandler.h psfile.h pigratt.h piaxes.h pieldrw.h pigraph3d.h
    3130        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pi3ddrw.cc
    3231 
    3332$(SOPHYAOBJP)pi3dwdg.o: pi3dwdg.cc $(SOPHYAINCP)sopnamsp.h \
    34   pi3dwdg.h pisysdep.h \
    35   $(SOPHYAINCP)machdefs.h pi3ddrw.h \
    36   pidrawer.h pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \
    37   picmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h pifontx.h \
    38   pifontgen.h pigrcoord.h pilineatt.h pipixutils.h pigraphuc.h \
     33  pi3dwdg.h pisysdep.h $(SOPHYAINCP)machdefs.h \
     34  pi3ddrw.h pidrawer.h pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h \
     35  picolist.h pipixutils.h picmap.h picmapx.h picmapgen.h pigraphx.h \
     36  pigraphgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h pigraphuc.h \
    3937  pievthandler.h psfile.h pigratt.h piaxes.h pieldrw.h pigraph3d.h \
    4038  pibwdgx.h pigraphps.h pidrwtools.h pistdwdgx.h pistdwdggen.h pimenux.h \
     
    4442        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pi3dwdg.cc
    4543 
    46 $(SOPHYAOBJP)piapplgen.o: piapplgen.cc \
    47   $(SOPHYAINCP)sopnamsp.h piapplgen.h \
    48   pimsghandler.h $(SOPHYAINCP)machdefs.h \
    49   pisysdep.h picontainerx.h picontainergen.h piwdgx.h piwdggen.h \
    50   picolist.h pimenubarx.h pimenubargen.h pimenux.h pimenugen.h \
    51   piconsenum.h
     44$(SOPHYAOBJP)piapplgen.o: piapplgen.cc $(SOPHYAINCP)sopnamsp.h \
     45  piapplgen.h pimsghandler.h \
     46  $(SOPHYAINCP)machdefs.h pisysdep.h \
     47  picontainerx.h picontainergen.h piwdgx.h piwdggen.h picolist.h \
     48  pipixutils.h pimenubarx.h pimenubargen.h pimenux.h pimenugen.h \
     49  piconsenum.h pidrawer.h pibwdggen.h picmap.h picmapx.h picmapgen.h \
     50  pigraphx.h pigraphgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h \
     51  pigraphuc.h pievthandler.h psfile.h pigratt.h piaxes.h
    5252        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  piapplgen.cc
    5353 
     
    5656  $(SOPHYAINCP)machdefs.h pisysdep.h \
    5757  picontainerx.h picontainergen.h piwdgx.h piwdggen.h picolist.h \
    58   pimenubarx.h pimenubargen.h pimenux.h pimenugen.h piconsenum.h picons.h \
    59   pistdwdgx.h pistdwdggen.h pibwdgx.h pibwdggen.h picmap.h picmapx.h \
    60   picmapgen.h pigraphx.h pigraphgen.h pifontx.h pifontgen.h pigrcoord.h \
    61   pilineatt.h pipixutils.h pigraphuc.h pievthandler.h psfile.h \
     58  pipixutils.h pimenubarx.h pimenubargen.h pimenux.h pimenugen.h \
     59  piconsenum.h picons.h pistdwdgx.h pistdwdggen.h pibwdgx.h pibwdggen.h \
     60  picmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h pifontx.h \
     61  pifontgen.h pigrcoord.h pilineatt.h pigraphuc.h pievthandler.h psfile.h \
    6262  pigraphps.h
    6363        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  piapplx.cc
    6464 
    6565$(SOPHYAOBJP)piaxes.o: piaxes.cc $(SOPHYAINCP)sopnamsp.h \
    66   $(SOPHYAINCP)machdefs.h piaxes.h \
    67   pigraphuc.h pisysdep.h pigraphgen.h piwdgx.h piwdggen.h pimsghandler.h \
    68   picolist.h picmap.h picmapx.h picmapgen.h pifontx.h pifontgen.h \
    69   pigrcoord.h pilineatt.h pipixutils.h pigratt.h
     66  $(SOPHYAINCP)machdefs.h piaxes.h pigraphuc.h \
     67  pisysdep.h pigraphgen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \
     68  pipixutils.h picmap.h picmapx.h picmapgen.h pifontx.h pifontgen.h \
     69  pigrcoord.h pilineatt.h pigratt.h pidrawer.h pibwdggen.h pigraphx.h \
     70  pievthandler.h psfile.h
    7071        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  piaxes.cc
    7172 
    7273$(SOPHYAOBJP)piaxestools.o: piaxestools.cc \
    73   $(SOPHYAINCP)sopnamsp.h piaxes.h \
    74   pigraphuc.h pisysdep.h \
    75   $(SOPHYAINCP)machdefs.h pigraphgen.h \
    76   piwdgx.h piwdggen.h pimsghandler.h picolist.h picmap.h picmapx.h \
    77   picmapgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h pipixutils.h \
     74  $(SOPHYAINCP)sopnamsp.h piaxes.h pigraphuc.h \
     75  pisysdep.h $(SOPHYAINCP)machdefs.h pigraphgen.h \
     76  piwdgx.h piwdggen.h pimsghandler.h picolist.h pipixutils.h picmap.h \
     77  picmapx.h picmapgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h \
    7878  pigratt.h piaxestools.h pistdwdgx.h pistdwdggen.h pioptmenux.h \
    7979  pioptmenugen.h pimenux.h pimenugen.h piwindowx.h piwindowgen.h \
     
    8585$(SOPHYAOBJP)pibargraph.o: pibargraph.cc \
    8686  $(SOPHYAINCP)sopnamsp.h \
    87   $(SOPHYAINCP)machdefs.h pibargraph.h \
    88   pisysdep.h pidrawer.h pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h \
    89   picolist.h picmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h \
    90   pifontx.h pifontgen.h pigrcoord.h pilineatt.h pipixutils.h pigraphuc.h \
     87  $(SOPHYAINCP)machdefs.h pibargraph.h pisysdep.h \
     88  pidrawer.h pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \
     89  pipixutils.h picmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h \
     90  pifontx.h pifontgen.h pigrcoord.h pilineatt.h pigraphuc.h \
    9191  pievthandler.h psfile.h pigratt.h piaxes.h
    9292        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pibargraph.cc
    9393 
    94 $(SOPHYAOBJP)pibwdggen.o: pibwdggen.cc \
    95   $(SOPHYAINCP)sopnamsp.h pibwdggen.h \
    96   pisysdep.h $(SOPHYAINCP)machdefs.h piwdgx.h \
    97   piwdggen.h pimsghandler.h picolist.h picmap.h picmapx.h picmapgen.h \
    98   pigraphx.h pigraphgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h \
    99   pipixutils.h pigraphuc.h pievthandler.h psfile.h pidrawer.h pigratt.h \
    100   piaxes.h pigraphps.h pidrwtools.h pistdwdgx.h pistdwdggen.h pimenux.h \
    101   pimenugen.h pioptmenux.h pioptmenugen.h piwindowx.h piwindowgen.h \
    102   picontainerx.h picontainergen.h piapplx.h piapplgen.h pimenubarx.h \
    103   pimenubargen.h piconsenum.h
     94$(SOPHYAOBJP)pibwdggen.o: pibwdggen.cc $(SOPHYAINCP)sopnamsp.h \
     95  pibwdggen.h pisysdep.h $(SOPHYAINCP)machdefs.h \
     96  piwdgx.h piwdggen.h pimsghandler.h picolist.h pipixutils.h picmap.h \
     97  picmapx.h picmapgen.h pigraphx.h pigraphgen.h pifontx.h pifontgen.h \
     98  pigrcoord.h pilineatt.h pigraphuc.h pievthandler.h psfile.h pidrawer.h \
     99  pigratt.h piaxes.h pigraphps.h pidrwtools.h pistdwdgx.h pistdwdggen.h \
     100  pimenux.h pimenugen.h pioptmenux.h pioptmenugen.h piwindowx.h \
     101  piwindowgen.h picontainerx.h picontainergen.h piapplx.h piapplgen.h \
     102  pimenubarx.h pimenubargen.h piconsenum.h
    104103        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pibwdggen.cc
    105104 
    106105$(SOPHYAOBJP)pibwdgx.o: pibwdgx.cc $(SOPHYAINCP)sopnamsp.h \
    107106  pixtbaseP.h pibwdgx.h pisysdep.h \
    108   $(SOPHYAINCP)machdefs.h pibwdggen.h \
    109   piwdgx.h piwdggen.h pimsghandler.h picolist.h picmap.h picmapx.h \
     107  $(SOPHYAINCP)machdefs.h pibwdggen.h piwdgx.h \
     108  piwdggen.h pimsghandler.h picolist.h pipixutils.h picmap.h picmapx.h \
    110109  picmapgen.h pigraphx.h pigraphgen.h pifontx.h pifontgen.h pigrcoord.h \
    111   pilineatt.h pipixutils.h pigraphuc.h pievthandler.h psfile.h \
    112   pigraphps.h pixtbase.h
     110  pilineatt.h pigraphuc.h pievthandler.h psfile.h pigraphps.h pixtbase.h
    113111        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pibwdgx.cc
    114112 
     
    118116        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  picmap.cc
    119117 
    120 $(SOPHYAOBJP)picmapgen.o: picmapgen.cc \
    121   $(SOPHYAINCP)sopnamsp.h picmapgen.h \
    122   pisysdep.h $(SOPHYAINCP)machdefs.h \
     118$(SOPHYAOBJP)picmapgen.o: picmapgen.cc $(SOPHYAINCP)sopnamsp.h \
     119  picmapgen.h pisysdep.h $(SOPHYAINCP)machdefs.h \
    123120  picmapx.h picmap.h
    124121        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  picmapgen.cc
    125122 
    126123$(SOPHYAOBJP)picmapview.o: picmapview.cc \
    127   $(SOPHYAINCP)sopnamsp.h picmapview.h \
    128   pisysdep.h $(SOPHYAINCP)machdefs.h \
    129   pibwdgx.h pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \
    130   picmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h pifontx.h \
    131   pifontgen.h pigrcoord.h pilineatt.h pipixutils.h pigraphuc.h \
    132   pievthandler.h psfile.h pigraphps.h
     124  $(SOPHYAINCP)sopnamsp.h picmapview.h pisysdep.h \
     125  $(SOPHYAINCP)machdefs.h pibwdgx.h pibwdggen.h \
     126  piwdgx.h piwdggen.h pimsghandler.h picolist.h pipixutils.h picmap.h \
     127  picmapx.h picmapgen.h pigraphx.h pigraphgen.h pifontx.h pifontgen.h \
     128  pigrcoord.h pilineatt.h pigraphuc.h pievthandler.h psfile.h pigraphps.h
    133129        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  picmapview.cc
    134130 
    135131$(SOPHYAOBJP)picmapx.o: picmapx.cc $(SOPHYAINCP)sopnamsp.h \
    136132  piwdgx.h piwdggen.h $(SOPHYAINCP)machdefs.h \
    137   pimsghandler.h picolist.h picmapx.h picmapgen.h pisysdep.h
     133  pimsghandler.h picolist.h pipixutils.h picmapx.h picmapgen.h pisysdep.h
    138134        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  picmapx.cc
    139135 
    140136$(SOPHYAOBJP)picons.o: picons.cc $(SOPHYAINCP)sopnamsp.h \
    141   pisysdep.h $(SOPHYAINCP)machdefs.h \
    142   pimenux.h pimenugen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \
     137  pisysdep.h $(SOPHYAINCP)machdefs.h pimenux.h \
     138  pimenugen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h pipixutils.h \
    143139  picons.h pistdwdgx.h pistdwdggen.h picontainerx.h picontainergen.h \
    144140  pibwdgx.h pibwdggen.h picmap.h picmapx.h picmapgen.h pigraphx.h \
    145   pigraphgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h pipixutils.h \
    146   pigraphuc.h pievthandler.h psfile.h pigraphps.h piconsenum.h
     141  pigraphgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h pigraphuc.h \
     142  pievthandler.h psfile.h pigraphps.h piconsenum.h
    147143        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  picons.cc
    148144 
     
    150146  $(SOPHYAINCP)sopnamsp.h picontainergen.h \
    151147  pisysdep.h $(SOPHYAINCP)machdefs.h piwdgx.h \
    152   piwdggen.h pimsghandler.h picolist.h
     148  piwdggen.h pimsghandler.h picolist.h pipixutils.h
    153149        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  picontainergen.cc
    154150 
     
    156152  $(SOPHYAINCP)sopnamsp.h picontainerx.h \
    157153  pisysdep.h $(SOPHYAINCP)machdefs.h \
    158   picontainergen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h
     154  picontainergen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \
     155  pipixutils.h
    159156        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  picontainerx.cc
    160157 
    161 $(SOPHYAOBJP)pidrawer.o: pidrawer.cc \
    162   $(SOPHYAINCP)sopnamsp.h \
    163   $(SOPHYAINCP)machdefs.h pidrawer.h \
    164   pibwdggen.h pisysdep.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \
     158$(SOPHYAOBJP)pidrawer.o: pidrawer.cc $(SOPHYAINCP)sopnamsp.h \
     159  $(SOPHYAINCP)machdefs.h pidrawer.h pibwdggen.h \
     160  pisysdep.h piwdgx.h piwdggen.h pimsghandler.h picolist.h pipixutils.h \
    165161  picmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h pifontx.h \
    166   pifontgen.h pigrcoord.h pilineatt.h pipixutils.h pigraphuc.h \
    167   pievthandler.h psfile.h pigratt.h piaxes.h pidrwtools.h pistdwdgx.h \
    168   pistdwdggen.h pimenux.h pimenugen.h pioptmenux.h pioptmenugen.h \
    169   piwindowx.h piwindowgen.h picontainerx.h picontainergen.h piapplx.h \
    170   piapplgen.h pimenubarx.h pimenubargen.h piconsenum.h ucckprot.h
     162  pifontgen.h pigrcoord.h pilineatt.h pigraphuc.h pievthandler.h psfile.h \
     163  pigratt.h piaxes.h pidrwtools.h pistdwdgx.h pistdwdggen.h pimenux.h \
     164  pimenugen.h pioptmenux.h pioptmenugen.h piwindowx.h piwindowgen.h \
     165  picontainerx.h picontainergen.h piapplx.h piapplgen.h pimenubarx.h \
     166  pimenubargen.h piconsenum.h ucckprot.h
    171167        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pidrawer.cc
    172168 
    173 $(SOPHYAOBJP)pidrawwin.o: pidrawwin.cc \
    174   $(SOPHYAINCP)sopnamsp.h pidrawwin.h \
    175   pisysdep.h $(SOPHYAINCP)machdefs.h \
     169$(SOPHYAOBJP)pidrawwin.o: pidrawwin.cc $(SOPHYAINCP)sopnamsp.h \
     170  pidrawwin.h pisysdep.h $(SOPHYAINCP)machdefs.h \
    176171  piwindowx.h piwindowgen.h picontainerx.h picontainergen.h piwdgx.h \
    177   piwdggen.h pimsghandler.h picolist.h piscdrawwdg.h pibwdgx.h \
    178   pibwdggen.h picmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h \
    179   pifontx.h pifontgen.h pigrcoord.h pilineatt.h pipixutils.h pigraphuc.h \
     172  piwdggen.h pimsghandler.h picolist.h pipixutils.h piscdrawwdg.h \
     173  pibwdgx.h pibwdggen.h picmap.h picmapx.h picmapgen.h pigraphx.h \
     174  pigraphgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h pigraphuc.h \
    180175  pievthandler.h psfile.h pigraphps.h pistdwdgx.h pistdwdggen.h \
    181176  pidrawer.h pigratt.h piaxes.h pieldrw.h
     
    183178 
    184179$(SOPHYAOBJP)pidrwtools.o: pidrwtools.cc \
    185   $(SOPHYAINCP)sopnamsp.h pidrwtools.h \
    186   pisysdep.h $(SOPHYAINCP)machdefs.h \
    187   pistdwdgx.h pistdwdggen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \
    188   pimenux.h pimenugen.h pioptmenux.h pioptmenugen.h piwindowx.h \
    189   piwindowgen.h picontainerx.h picontainergen.h piapplx.h piapplgen.h \
    190   pimenubarx.h pimenubargen.h piconsenum.h pibwdggen.h picmap.h picmapx.h \
    191   picmapgen.h pigraphx.h pigraphgen.h pifontx.h pifontgen.h pigrcoord.h \
    192   pilineatt.h pipixutils.h pigraphuc.h pievthandler.h psfile.h \
     180  $(SOPHYAINCP)sopnamsp.h pidrwtools.h pisysdep.h \
     181  $(SOPHYAINCP)machdefs.h pistdwdgx.h \
     182  pistdwdggen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \
     183  pipixutils.h pimenux.h pimenugen.h pioptmenux.h pioptmenugen.h \
     184  piwindowx.h piwindowgen.h picontainerx.h picontainergen.h piapplx.h \
     185  piapplgen.h pimenubarx.h pimenubargen.h piconsenum.h pibwdggen.h \
     186  picmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h pifontx.h \
     187  pifontgen.h pigrcoord.h pilineatt.h pigraphuc.h pievthandler.h psfile.h \
    193188  piscdrawwdg.h pibwdgx.h pigraphps.h pidrawer.h pigratt.h piaxes.h \
    194189  pieldrw.h pi3dwdg.h pi3ddrw.h pigraph3d.h
     
    196191 
    197192$(SOPHYAOBJP)pieldrw.o: pieldrw.cc $(SOPHYAINCP)sopnamsp.h \
    198   $(SOPHYAINCP)machdefs.h pieldrw.h \
    199   pidrawer.h pibwdggen.h pisysdep.h piwdgx.h piwdggen.h pimsghandler.h \
    200   picolist.h picmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h \
    201   pifontx.h pifontgen.h pigrcoord.h pilineatt.h pipixutils.h pigraphuc.h \
     193  $(SOPHYAINCP)machdefs.h pieldrw.h pidrawer.h \
     194  pibwdggen.h pisysdep.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \
     195  pipixutils.h picmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h \
     196  pifontx.h pifontgen.h pigrcoord.h pilineatt.h pigraphuc.h \
    202197  pievthandler.h psfile.h pigratt.h piaxes.h
    203198        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pieldrw.cc
     
    206201  $(SOPHYAINCP)sopnamsp.h pievthandler.h \
    207202  pisysdep.h $(SOPHYAINCP)machdefs.h \
    208   pimsghandler.h piwdgx.h piwdggen.h picolist.h pigraphx.h pigraphgen.h \
    209   picmap.h picmapx.h picmapgen.h pifontx.h pifontgen.h pigrcoord.h \
    210   pilineatt.h pipixutils.h
     203  pimsghandler.h piwdgx.h piwdggen.h picolist.h pipixutils.h pigraphx.h \
     204  pigraphgen.h picmap.h picmapx.h picmapgen.h pifontx.h pifontgen.h \
     205  pigrcoord.h pilineatt.h
    211206        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pievthandler.cc
    212207 
     
    214209  $(SOPHYAINCP)sopnamsp.h pifilechogen.h \
    215210  pisysdep.h $(SOPHYAINCP)machdefs.h piwdgx.h \
    216   piwdggen.h pimsghandler.h picolist.h
     211  piwdggen.h pimsghandler.h picolist.h pipixutils.h
    217212        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pifilechogen.cc
    218213 
    219214$(SOPHYAOBJP)pifilechox.o: pifilechox.cc \
    220215  $(SOPHYAINCP)sopnamsp.h pisysdep.h \
    221   $(SOPHYAINCP)machdefs.h piapplx.h \
    222   piapplgen.h pimsghandler.h picontainerx.h picontainergen.h piwdgx.h \
    223   piwdggen.h picolist.h pimenubarx.h pimenubargen.h pimenux.h pimenugen.h \
    224   piconsenum.h pifilechox.h pifilechogen.h piwindowx.h piwindowgen.h
     216  $(SOPHYAINCP)machdefs.h piapplx.h piapplgen.h \
     217  pimsghandler.h picontainerx.h picontainergen.h piwdgx.h piwdggen.h \
     218  picolist.h pipixutils.h pimenubarx.h pimenubargen.h pimenux.h \
     219  pimenugen.h piconsenum.h pifilechox.h pifilechogen.h piwindowx.h \
     220  piwindowgen.h
    225221        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pifilechox.cc
    226222 
    227 $(SOPHYAOBJP)pifontgen.o: pifontgen.cc \
    228   $(SOPHYAINCP)sopnamsp.h pigraphgen.h \
    229   pisysdep.h $(SOPHYAINCP)machdefs.h piwdgx.h \
    230   piwdggen.h pimsghandler.h picolist.h picmap.h picmapx.h picmapgen.h \
    231   pifontx.h pifontgen.h pigrcoord.h pilineatt.h pipixutils.h
     223$(SOPHYAOBJP)pifontgen.o: pifontgen.cc $(SOPHYAINCP)sopnamsp.h \
     224  pigraphgen.h pisysdep.h $(SOPHYAINCP)machdefs.h \
     225  piwdgx.h piwdggen.h pimsghandler.h picolist.h pipixutils.h picmap.h \
     226  picmapx.h picmapgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h
    232227        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pifontgen.cc
    233228 
    234229$(SOPHYAOBJP)pifontx.o: pifontx.cc $(SOPHYAINCP)sopnamsp.h \
    235   pisysdep.h $(SOPHYAINCP)machdefs.h \
    236   pifontx.h pifontgen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h
     230  pisysdep.h $(SOPHYAINCP)machdefs.h pifontx.h \
     231  pifontgen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h pipixutils.h
    237232        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pifontx.cc
    238233 
    239 $(SOPHYAOBJP)pigraph3d.o: pigraph3d.cc \
    240   $(SOPHYAINCP)sopnamsp.h pigraph3d.h \
    241   pisysdep.h $(SOPHYAINCP)machdefs.h \
     234$(SOPHYAOBJP)pigraph3d.o: pigraph3d.cc $(SOPHYAINCP)sopnamsp.h \
     235  pigraph3d.h pisysdep.h $(SOPHYAINCP)machdefs.h \
    242236  pigraphuc.h pigraphgen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \
     237  pipixutils.h picmap.h picmapx.h picmapgen.h pifontx.h pifontgen.h \
     238  pigrcoord.h pilineatt.h
     239        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pigraph3d.cc
     240 
     241$(SOPHYAOBJP)pigraphgen.o: pigraphgen.cc \
     242  $(SOPHYAINCP)sopnamsp.h pigraphgen.h pisysdep.h \
     243  $(SOPHYAINCP)machdefs.h piwdgx.h piwdggen.h \
     244  pimsghandler.h picolist.h pipixutils.h picmap.h picmapx.h picmapgen.h \
     245  pifontx.h pifontgen.h pigrcoord.h pilineatt.h ucckprot.h
     246        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pigraphgen.cc
     247 
     248$(SOPHYAOBJP)pigraphps.o: pigraphps.cc $(SOPHYAINCP)sopnamsp.h \
     249  pigraphps.h pisysdep.h $(SOPHYAINCP)machdefs.h \
     250  pigraphgen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h pipixutils.h \
    243251  picmap.h picmapx.h picmapgen.h pifontx.h pifontgen.h pigrcoord.h \
    244   pilineatt.h pipixutils.h
    245         $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pigraph3d.cc
    246  
    247 $(SOPHYAOBJP)pigraphgen.o: pigraphgen.cc \
    248   $(SOPHYAINCP)sopnamsp.h pigraphgen.h \
    249   pisysdep.h $(SOPHYAINCP)machdefs.h piwdgx.h \
    250   piwdggen.h pimsghandler.h picolist.h picmap.h picmapx.h picmapgen.h \
    251   pifontx.h pifontgen.h pigrcoord.h pilineatt.h pipixutils.h ucckprot.h
    252         $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pigraphgen.cc
    253  
    254 $(SOPHYAOBJP)pigraphps.o: pigraphps.cc \
    255   $(SOPHYAINCP)sopnamsp.h pigraphps.h \
    256   pisysdep.h $(SOPHYAINCP)machdefs.h \
    257   pigraphgen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h picmap.h \
    258   picmapx.h picmapgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h \
    259   pipixutils.h psfile.h
     252  pilineatt.h psfile.h
    260253        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pigraphps.cc
    261254 
    262 $(SOPHYAOBJP)pigraphuc.o: pigraphuc.cc \
    263   $(SOPHYAINCP)sopnamsp.h \
    264   $(SOPHYAINCP)machdefs.h pigraphuc.h \
    265   pisysdep.h pigraphgen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \
     255$(SOPHYAOBJP)pigraphuc.o: pigraphuc.cc $(SOPHYAINCP)sopnamsp.h \
     256  $(SOPHYAINCP)machdefs.h pigraphuc.h pisysdep.h \
     257  pigraphgen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h pipixutils.h \
    266258  picmap.h picmapx.h picmapgen.h pifontx.h pifontgen.h pigrcoord.h \
    267   pilineatt.h pipixutils.h ucckprot.h
     259  pilineatt.h ucckprot.h
    268260        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pigraphuc.cc
    269261 
    270 $(SOPHYAOBJP)pigraphx.o: pigraphx.cc \
    271   $(SOPHYAINCP)sopnamsp.h pigraphx.h \
    272   pisysdep.h $(SOPHYAINCP)machdefs.h \
    273   pigraphgen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h picmap.h \
    274   picmapx.h picmapgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h \
    275   pipixutils.h
     262$(SOPHYAOBJP)pigraphx.o: pigraphx.cc $(SOPHYAINCP)sopnamsp.h \
     263  pigraphx.h pisysdep.h $(SOPHYAINCP)machdefs.h \
     264  pigraphgen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h pipixutils.h \
     265  picmap.h picmapx.h picmapgen.h pifontx.h pifontgen.h pigrcoord.h \
     266  pilineatt.h
    276267        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pigraphx.cc
    277268 
    278269$(SOPHYAOBJP)pigratt.o: pigratt.cc $(SOPHYAINCP)sopnamsp.h \
    279   pigratt.h pisysdep.h \
    280   $(SOPHYAINCP)machdefs.h pigraphgen.h \
    281   piwdgx.h piwdggen.h pimsghandler.h picolist.h picmap.h picmapx.h \
    282   picmapgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h pipixutils.h \
    283   $(SOPHYAINCP)strutilxx.h \
     270  pigratt.h pisysdep.h $(SOPHYAINCP)machdefs.h \
     271  pigraphgen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h pipixutils.h \
     272  picmap.h picmapx.h picmapgen.h pifontx.h pifontgen.h pigrcoord.h \
     273  pilineatt.h $(SOPHYAINCP)strutilxx.h \
    284274  $(SOPHYAINCP)machdefs.h
    285275        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pigratt.cc
    286276 
    287 $(SOPHYAOBJP)pigrcoord.o: pigrcoord.cc \
    288   $(SOPHYAINCP)sopnamsp.h pigrcoord.h \
    289   pisysdep.h $(SOPHYAINCP)machdefs.h
     277$(SOPHYAOBJP)pigrcoord.o: pigrcoord.cc $(SOPHYAINCP)sopnamsp.h \
     278  pigrcoord.h pisysdep.h $(SOPHYAINCP)machdefs.h
    290279        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pigrcoord.cc
    291280 
    292281$(SOPHYAOBJP)piimage.o: piimage.cc $(SOPHYAINCP)sopnamsp.h \
    293   pisysdep.h $(SOPHYAINCP)machdefs.h \
    294   piimage.h parradapter.h lut.h pipixutils.h pieldrw.h pidrawer.h \
    295   pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h picmap.h \
    296   picmapx.h picmapgen.h pigraphx.h pigraphgen.h pifontx.h pifontgen.h \
    297   pigrcoord.h pilineatt.h pigraphuc.h pievthandler.h psfile.h pigratt.h \
    298   piaxes.h pipixmapx.h pipixmapgen.h pibwdgx.h pigraphps.h pistdwdgx.h \
     282  pisysdep.h $(SOPHYAINCP)machdefs.h piimage.h \
     283  parradapter.h lut.h pipixutils.h pieldrw.h pidrawer.h pibwdggen.h \
     284  piwdgx.h piwdggen.h pimsghandler.h picolist.h picmap.h picmapx.h \
     285  picmapgen.h pigraphx.h pigraphgen.h pifontx.h pifontgen.h pigrcoord.h \
     286  pilineatt.h pigraphuc.h pievthandler.h psfile.h pigratt.h piaxes.h \
     287  pipixmapx.h pipixmapgen.h pibwdgx.h pigraphps.h pistdwdgx.h \
    299288  pistdwdggen.h piwindowx.h piwindowgen.h picontainerx.h picontainergen.h \
    300289  picmapview.h piimgtools.h pioptmenux.h pioptmenugen.h pimenux.h \
     
    304293 
    305294$(SOPHYAOBJP)piimgtools.o: piimgtools.cc \
    306   $(SOPHYAINCP)sopnamsp.h piimgtools.h \
    307   pisysdep.h $(SOPHYAINCP)machdefs.h \
    308   pistdwdgx.h pistdwdggen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \
    309   pioptmenux.h pioptmenugen.h pimenux.h pimenugen.h piwindowx.h \
    310   piwindowgen.h picontainerx.h picontainergen.h piapplx.h piapplgen.h \
    311   pimenubarx.h pimenubargen.h piconsenum.h piimage.h parradapter.h lut.h \
    312   pipixutils.h pieldrw.h pidrawer.h pibwdggen.h picmap.h picmapx.h \
     295  $(SOPHYAINCP)sopnamsp.h piimgtools.h pisysdep.h \
     296  $(SOPHYAINCP)machdefs.h pistdwdgx.h \
     297  pistdwdggen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \
     298  pipixutils.h pioptmenux.h pioptmenugen.h pimenux.h pimenugen.h \
     299  piwindowx.h piwindowgen.h picontainerx.h picontainergen.h piapplx.h \
     300  piapplgen.h pimenubarx.h pimenubargen.h piconsenum.h piimage.h \
     301  parradapter.h lut.h pieldrw.h pidrawer.h pibwdggen.h picmap.h picmapx.h \
    313302  picmapgen.h pigraphx.h pigraphgen.h pifontx.h pifontgen.h pigrcoord.h \
    314303  pilineatt.h pigraphuc.h pievthandler.h psfile.h pigratt.h piaxes.h \
     
    316305        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  piimgtools.cc
    317306 
    318 $(SOPHYAOBJP)pilineatt.o: pilineatt.cc \
    319   $(SOPHYAINCP)sopnamsp.h pilineatt.h \
    320   pisysdep.h $(SOPHYAINCP)machdefs.h
     307$(SOPHYAOBJP)pilineatt.o: pilineatt.cc $(SOPHYAINCP)sopnamsp.h \
     308  pilineatt.h pisysdep.h $(SOPHYAINCP)machdefs.h
    321309        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pilineatt.cc
    322310 
    323 $(SOPHYAOBJP)pilistgen.o: pilistgen.cc \
    324   $(SOPHYAINCP)sopnamsp.h pilistgen.h \
    325   pisysdep.h $(SOPHYAINCP)machdefs.h piwdgx.h \
    326   piwdggen.h pimsghandler.h picolist.h
     311$(SOPHYAOBJP)pilistgen.o: pilistgen.cc $(SOPHYAINCP)sopnamsp.h \
     312  pilistgen.h pisysdep.h $(SOPHYAINCP)machdefs.h \
     313  piwdgx.h piwdggen.h pimsghandler.h picolist.h pipixutils.h
    327314        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pilistgen.cc
    328315 
     
    330317  pilistx.h pilistgen.h pisysdep.h \
    331318  $(SOPHYAINCP)machdefs.h piwdgx.h piwdggen.h \
    332   pimsghandler.h picolist.h picontainerx.h picontainergen.h
     319  pimsghandler.h picolist.h pipixutils.h picontainerx.h picontainergen.h
    333320        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pilistx.cc
    334321 
    335322$(SOPHYAOBJP)pimenubargen.o: pimenubargen.cc \
    336323  $(SOPHYAINCP)sopnamsp.h pimenubargen.h \
    337   pisysdep.h $(SOPHYAINCP)machdefs.h \
    338   pimenux.h pimenugen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \
     324  pisysdep.h $(SOPHYAINCP)machdefs.h pimenux.h \
     325  pimenugen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h pipixutils.h \
    339326  piapplx.h piapplgen.h picontainerx.h picontainergen.h pimenubarx.h \
    340327  piconsenum.h
     
    344331  $(SOPHYAINCP)sopnamsp.h pimenubarx.h \
    345332  pimenubargen.h pisysdep.h \
    346   $(SOPHYAINCP)machdefs.h pimenux.h \
    347   pimenugen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h piapplx.h \
     333  $(SOPHYAINCP)machdefs.h pimenux.h pimenugen.h \
     334  piwdgx.h piwdggen.h pimsghandler.h picolist.h pipixutils.h piapplx.h \
    348335  piapplgen.h picontainerx.h picontainergen.h piconsenum.h
    349336        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pimenubarx.cc
    350337 
    351 $(SOPHYAOBJP)pimenugen.o: pimenugen.cc \
    352   $(SOPHYAINCP)sopnamsp.h pimenugen.h \
    353   pisysdep.h $(SOPHYAINCP)machdefs.h piwdgx.h \
    354   piwdggen.h pimsghandler.h picolist.h
     338$(SOPHYAOBJP)pimenugen.o: pimenugen.cc $(SOPHYAINCP)sopnamsp.h \
     339  pimenugen.h pisysdep.h $(SOPHYAINCP)machdefs.h \
     340  piwdgx.h piwdggen.h pimsghandler.h picolist.h pipixutils.h
    355341        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pimenugen.cc
    356342 
    357343$(SOPHYAOBJP)pimenux.o: pimenux.cc $(SOPHYAINCP)sopnamsp.h \
    358   pisysdep.h $(SOPHYAINCP)machdefs.h \
    359   pimenubarx.h pimenubargen.h pimenux.h pimenugen.h piwdgx.h piwdggen.h \
    360   pimsghandler.h picolist.h
     344  pisysdep.h $(SOPHYAINCP)machdefs.h pimenubarx.h \
     345  pimenubargen.h pimenux.h pimenugen.h piwdgx.h piwdggen.h pimsghandler.h \
     346  picolist.h pipixutils.h
    361347        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pimenux.cc
    362348 
     
    368354$(SOPHYAOBJP)pioptmenugen.o: pioptmenugen.cc \
    369355  $(SOPHYAINCP)sopnamsp.h pioptmenugen.h \
    370   pisysdep.h $(SOPHYAINCP)machdefs.h \
    371   pimenux.h pimenugen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h
     356  pisysdep.h $(SOPHYAINCP)machdefs.h pimenux.h \
     357  pimenugen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h pipixutils.h
    372358        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pioptmenugen.cc
    373359 
     
    376362  $(SOPHYAINCP)machdefs.h pioptmenux.h \
    377363  pioptmenugen.h pimenux.h pimenugen.h piwdgx.h piwdggen.h pimsghandler.h \
    378   picolist.h pistdwdgx.h pistdwdggen.h piapplx.h piapplgen.h \
     364  picolist.h pipixutils.h pistdwdgx.h pistdwdggen.h piapplx.h piapplgen.h \
    379365  picontainerx.h picontainergen.h pimenubarx.h pimenubargen.h \
    380366  piconsenum.h
    381367        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pioptmenux.cc
    382368 
    383 $(SOPHYAOBJP)piperiodx.o: piperiodx.cc \
    384   $(SOPHYAINCP)sopnamsp.h piwdgx.h piwdggen.h \
    385   $(SOPHYAINCP)machdefs.h pimsghandler.h \
    386   picolist.h piperiodx.h \
     369$(SOPHYAOBJP)piperiodx.o: piperiodx.cc $(SOPHYAINCP)sopnamsp.h \
     370  piwdgx.h piwdggen.h $(SOPHYAINCP)machdefs.h \
     371  pimsghandler.h picolist.h pipixutils.h piperiodx.h \
    387372  $(SOPHYAINCP)periodic.h \
    388373  $(SOPHYAINCP)machdefs.h
     
    391376$(SOPHYAOBJP)pipixmapgen.o: pipixmapgen.cc \
    392377  $(SOPHYAINCP)sopnamsp.h pipixmapgen.h \
    393   pisysdep.h $(SOPHYAINCP)machdefs.h \
    394   pibwdgx.h pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \
     378  pisysdep.h $(SOPHYAINCP)machdefs.h pibwdgx.h \
     379  pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h pipixutils.h \
    395380  picmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h pifontx.h \
    396   pifontgen.h pigrcoord.h pilineatt.h pipixutils.h pigraphuc.h \
    397   pievthandler.h psfile.h pigraphps.h
     381  pifontgen.h pigrcoord.h pilineatt.h pigraphuc.h pievthandler.h psfile.h \
     382  pigraphps.h
    398383        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pipixmapgen.cc
    399384 
    400 $(SOPHYAOBJP)pipixmapx.o: pipixmapx.cc \
    401   $(SOPHYAINCP)sopnamsp.h pipixmapx.h \
    402   pipixmapgen.h pisysdep.h \
    403   $(SOPHYAINCP)machdefs.h pibwdgx.h \
    404   pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h picmap.h \
     385$(SOPHYAOBJP)pipixmapx.o: pipixmapx.cc $(SOPHYAINCP)sopnamsp.h \
     386  pipixmapx.h pipixmapgen.h pisysdep.h \
     387  $(SOPHYAINCP)machdefs.h pibwdgx.h pibwdggen.h \
     388  piwdgx.h piwdggen.h pimsghandler.h picolist.h pipixutils.h picmap.h \
    405389  picmapx.h picmapgen.h pigraphx.h pigraphgen.h pifontx.h pifontgen.h \
    406   pigrcoord.h pilineatt.h pipixutils.h pigraphuc.h pievthandler.h \
    407   psfile.h pigraphps.h
     390  pigrcoord.h pilineatt.h pigraphuc.h pievthandler.h psfile.h pigraphps.h
    408391        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pipixmapx.cc
    409392 
     
    415398  $(SOPHYAINCP)machdefs.h piscdrawwdg.h \
    416399  pisysdep.h pibwdgx.h pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h \
    417   picolist.h picmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h \
    418   pifontx.h pifontgen.h pigrcoord.h pilineatt.h pipixutils.h pigraphuc.h \
     400  picolist.h pipixutils.h picmap.h picmapx.h picmapgen.h pigraphx.h \
     401  pigraphgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h pigraphuc.h \
    419402  pievthandler.h psfile.h pigraphps.h pistdwdgx.h pistdwdggen.h \
    420403  piwindowx.h piwindowgen.h picontainerx.h picontainergen.h pidrawer.h \
     
    427410  $(SOPHYAINCP)sopnamsp.h pistdwdggen.h \
    428411  pisysdep.h $(SOPHYAINCP)machdefs.h piwdgx.h \
    429   piwdggen.h pimsghandler.h picolist.h
     412  piwdggen.h pimsghandler.h picolist.h pipixutils.h
    430413        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pistdwdggen.cc
    431414 
    432 $(SOPHYAOBJP)pistdwdgx.o: pistdwdgx.cc \
    433   $(SOPHYAINCP)sopnamsp.h pisysdep.h \
    434   $(SOPHYAINCP)machdefs.h pistdwdgx.h \
     415$(SOPHYAOBJP)pistdwdgx.o: pistdwdgx.cc $(SOPHYAINCP)sopnamsp.h \
     416  pisysdep.h $(SOPHYAINCP)machdefs.h pistdwdgx.h \
    435417  pistdwdggen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \
    436   picontainerx.h picontainergen.h
     418  pipixutils.h picontainerx.h picontainergen.h
    437419        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pistdwdgx.cc
    438420 
    439 $(SOPHYAOBJP)pistzwin.o: pistzwin.cc \
    440   $(SOPHYAINCP)sopnamsp.h pistzwin.h \
    441   pisysdep.h $(SOPHYAINCP)machdefs.h \
     421$(SOPHYAOBJP)pistzwin.o: pistzwin.cc $(SOPHYAINCP)sopnamsp.h \
     422  pistzwin.h pisysdep.h $(SOPHYAINCP)machdefs.h \
    442423  piwindowx.h piwindowgen.h picontainerx.h picontainergen.h piwdgx.h \
    443   piwdggen.h pimsghandler.h picolist.h piperiodx.h \
     424  piwdggen.h pimsghandler.h picolist.h pipixutils.h piperiodx.h \
    444425  $(SOPHYAINCP)periodic.h \
    445   $(SOPHYAINCP)machdefs.h psfile.h \
    446   pifontgen.h pigraphgen.h picmap.h picmapx.h picmapgen.h pifontx.h \
    447   pigrcoord.h pilineatt.h pipixutils.h
     426  $(SOPHYAINCP)machdefs.h psfile.h pifontgen.h \
     427  pigraphgen.h picmap.h picmapx.h picmapgen.h pifontx.h pigrcoord.h \
     428  pilineatt.h
    448429        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pistzwin.cc
    449430 
    450 $(SOPHYAOBJP)pisurfdr.o: pisurfdr.cc \
    451   $(SOPHYAINCP)sopnamsp.h pisurfdr.h \
    452   parradapter.h $(SOPHYAINCP)machdefs.h lut.h \
    453   pipixutils.h pi3ddrw.h pisysdep.h pidrawer.h pibwdggen.h piwdgx.h \
    454   piwdggen.h pimsghandler.h picolist.h picmap.h picmapx.h picmapgen.h \
    455   pigraphx.h pigraphgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h \
    456   pigraphuc.h pievthandler.h psfile.h pigratt.h piaxes.h pieldrw.h \
    457   pigraph3d.h
     431$(SOPHYAOBJP)pisurfdr.o: pisurfdr.cc $(SOPHYAINCP)sopnamsp.h \
     432  pisurfdr.h parradapter.h \
     433  $(SOPHYAINCP)machdefs.h lut.h pipixutils.h \
     434  pi3ddrw.h pisysdep.h pidrawer.h pibwdggen.h piwdgx.h piwdggen.h \
     435  pimsghandler.h picolist.h picmap.h picmapx.h picmapgen.h pigraphx.h \
     436  pigraphgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h pigraphuc.h \
     437  pievthandler.h psfile.h pigratt.h piaxes.h pieldrw.h pigraph3d.h
    458438        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pisurfdr.cc
    459439 
    460440$(SOPHYAOBJP)pitherm.o: pitherm.cc $(SOPHYAINCP)sopnamsp.h \
    461   pitherm.h pisysdep.h \
    462   $(SOPHYAINCP)machdefs.h pibwdgx.h \
    463   pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h picmap.h \
    464   picmapx.h picmapgen.h pigraphx.h pigraphgen.h pifontx.h pifontgen.h \
    465   pigrcoord.h pilineatt.h pipixutils.h pigraphuc.h pievthandler.h \
    466   psfile.h pigraphps.h
     441  pitherm.h pisysdep.h $(SOPHYAINCP)machdefs.h \
     442  pibwdgx.h pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \
     443  pipixutils.h picmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h \
     444  pifontx.h pifontgen.h pigrcoord.h pilineatt.h pigraphuc.h \
     445  pievthandler.h psfile.h pigraphps.h
    467446        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pitherm.cc
    468447 
    469 $(SOPHYAOBJP)pitxtdrw.o: pitxtdrw.cc \
    470   $(SOPHYAINCP)sopnamsp.h \
    471   $(SOPHYAINCP)machdefs.h pitxtdrw.h \
    472   pisysdep.h pidrawer.h pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h \
    473   picolist.h picmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h \
    474   pifontx.h pifontgen.h pigrcoord.h pilineatt.h pipixutils.h pigraphuc.h \
     448$(SOPHYAOBJP)pitxtdrw.o: pitxtdrw.cc $(SOPHYAINCP)sopnamsp.h \
     449  $(SOPHYAINCP)machdefs.h pitxtdrw.h pisysdep.h \
     450  pidrawer.h pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \
     451  pipixutils.h picmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h \
     452  pifontx.h pifontgen.h pigrcoord.h pilineatt.h pigraphuc.h \
    475453  pievthandler.h psfile.h pigratt.h piaxes.h
    476454        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pitxtdrw.cc
    477455 
    478 $(SOPHYAOBJP)piwdggen.o: piwdggen.cc \
    479   $(SOPHYAINCP)sopnamsp.h piwdggen.h \
    480   $(SOPHYAINCP)machdefs.h pimsghandler.h \
    481   picolist.h picontainergen.h pisysdep.h piwdgx.h pievthandler.h \
    482   pigraphx.h pigraphgen.h picmap.h picmapx.h picmapgen.h pifontx.h \
    483   pifontgen.h pigrcoord.h pilineatt.h pipixutils.h psfile.h
     456$(SOPHYAOBJP)piwdggen.o: piwdggen.cc $(SOPHYAINCP)sopnamsp.h \
     457  piwdggen.h $(SOPHYAINCP)machdefs.h \
     458  pimsghandler.h picolist.h pipixutils.h picontainergen.h pisysdep.h \
     459  piwdgx.h pievthandler.h pigraphx.h pigraphgen.h picmap.h picmapx.h \
     460  picmapgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h psfile.h
    484461        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  piwdggen.cc
    485462 
    486463$(SOPHYAOBJP)piwdgx.o: piwdgx.cc $(SOPHYAINCP)sopnamsp.h \
    487464  piwdgx.h piwdggen.h $(SOPHYAINCP)machdefs.h \
    488   pimsghandler.h picolist.h picontainerx.h pisysdep.h picontainergen.h \
    489   pievthandler.h pigraphx.h pigraphgen.h picmap.h picmapx.h picmapgen.h \
    490   pifontx.h pifontgen.h pigrcoord.h pilineatt.h pipixutils.h \
     465  pimsghandler.h picolist.h pipixutils.h picontainerx.h pisysdep.h \
     466  picontainergen.h pievthandler.h pigraphx.h pigraphgen.h picmap.h \
     467  picmapx.h picmapgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h \
    491468  $(SOPHYAINCP)pexceptions.h \
    492469  $(SOPHYAINCP)machdefs.h
     
    497474  pisysdep.h $(SOPHYAINCP)machdefs.h \
    498475  picontainerx.h picontainergen.h piwdgx.h piwdggen.h pimsghandler.h \
    499   picolist.h psfile.h pifontgen.h pigraphgen.h picmap.h picmapx.h \
    500   picmapgen.h pifontx.h pigrcoord.h pilineatt.h pipixutils.h
     476  picolist.h pipixutils.h psfile.h pifontgen.h pigraphgen.h picmap.h \
     477  picmapx.h picmapgen.h pifontx.h pigrcoord.h pilineatt.h
    501478        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  piwindowgen.cc
    502479 
    503 $(SOPHYAOBJP)piwindowx.o: piwindowx.cc \
    504   $(SOPHYAINCP)sopnamsp.h piwindowx.h \
    505   piwindowgen.h pisysdep.h \
     480$(SOPHYAOBJP)piwindowx.o: piwindowx.cc $(SOPHYAINCP)sopnamsp.h \
     481  piwindowx.h piwindowgen.h pisysdep.h \
    506482  $(SOPHYAINCP)machdefs.h picontainerx.h \
    507   picontainergen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h
     483  picontainergen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \
     484  pipixutils.h
    508485        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  piwindowx.cc
    509486 
    510 $(SOPHYAOBJP)pixtbase.o: pixtbase.cc \
    511   $(SOPHYAINCP)sopnamsp.h \
    512   $(SOPHYAINCP)machdefs.h pixtbaseP.h \
    513   pibwdgx.h pisysdep.h pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h \
    514   picolist.h picmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h \
    515   pifontx.h pifontgen.h pigrcoord.h pilineatt.h pipixutils.h pigraphuc.h \
     487$(SOPHYAOBJP)pixtbase.o: pixtbase.cc $(SOPHYAINCP)sopnamsp.h \
     488  $(SOPHYAINCP)machdefs.h pixtbaseP.h pibwdgx.h \
     489  pisysdep.h pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \
     490  pipixutils.h picmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h \
     491  pifontx.h pifontgen.h pigrcoord.h pilineatt.h pigraphuc.h \
    516492  pievthandler.h psfile.h pigraphps.h pixtbase.h
    517493        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pixtbase.cc
    518494 
    519 $(SOPHYAOBJP)piyfxdrw.o: piyfxdrw.cc \
    520   $(SOPHYAINCP)sopnamsp.h \
    521   $(SOPHYAINCP)machdefs.h piyfxdrw.h \
    522   pisysdep.h parradapter.h lut.h pipixutils.h pidrawer.h pibwdggen.h \
    523   piwdgx.h piwdggen.h pimsghandler.h picolist.h picmap.h picmapx.h \
    524   picmapgen.h pigraphx.h pigraphgen.h pifontx.h pifontgen.h pigrcoord.h \
    525   pilineatt.h pigraphuc.h pievthandler.h psfile.h pigratt.h piaxes.h
     495$(SOPHYAOBJP)piyfxdrw.o: piyfxdrw.cc $(SOPHYAINCP)sopnamsp.h \
     496  $(SOPHYAINCP)machdefs.h piyfxdrw.h pisysdep.h \
     497  parradapter.h lut.h pipixutils.h pidrawer.h pibwdggen.h piwdgx.h \
     498  piwdggen.h pimsghandler.h picolist.h picmap.h picmapx.h picmapgen.h \
     499  pigraphx.h pigraphgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h \
     500  pigraphuc.h pievthandler.h psfile.h pigratt.h piaxes.h
    526501        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  piyfxdrw.cc
    527502 
     
    529504  psfile.h $(SOPHYAINCP)machdefs.h pisysdep.h \
    530505  pifontgen.h pigraphgen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \
    531   picmap.h picmapx.h picmapgen.h pifontx.h pigrcoord.h pilineatt.h \
    532   pipixutils.h
     506  pipixutils.h picmap.h picmapx.h picmapgen.h pifontx.h pigrcoord.h \
     507  pilineatt.h
    533508        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  psfile.cc
    534509 
  • trunk/SophyaPI/PIGcont/Makefile

    r3407 r3572  
    2222  $(SOPHYAINCP)pimsghandler.h \
    2323  $(SOPHYAINCP)picolist.h \
     24  $(SOPHYAINCP)pipixutils.h \
    2425  $(SOPHYAINCP)pioptmenux.h \
    2526  $(SOPHYAINCP)pioptmenugen.h \
     
    3536  $(SOPHYAINCP)pimenubarx.h \
    3637  $(SOPHYAINCP)pimenubargen.h \
    37   $(SOPHYAINCP)picons.h \
     38  $(SOPHYAINCP)piconsenum.h \
     39  $(SOPHYAINCP)picmapview.h \
    3840  $(SOPHYAINCP)pibwdgx.h \
    3941  $(SOPHYAINCP)pibwdggen.h \
     
    5052  $(SOPHYAINCP)pievthandler.h \
    5153  $(SOPHYAINCP)psfile.h \
    52   $(SOPHYAINCP)pigraphps.h \
    53   $(SOPHYAINCP)picmapview.h pigncont.h \
     54  $(SOPHYAINCP)pigraphps.h pigncont.h \
    5455  $(SOPHYAINCP)pistdimgapp.h \
    5556  $(SOPHYAINCP)piapplx.h \
     
    6061  $(SOPHYAINCP)piperiodx.h \
    6162  $(SOPHYAINCP)periodic.h \
     63  $(SOPHYAINCP)picons.h \
    6264  $(SOPHYAINCP)piimage.h \
    6365  $(SOPHYAINCP)parradapter.h \
     
    141143  $(SOPHYAINCP)pimsghandler.h \
    142144  $(SOPHYAINCP)picolist.h \
     145  $(SOPHYAINCP)pipixutils.h \
    143146  $(SOPHYAINCP)pioptmenux.h \
    144147  $(SOPHYAINCP)pioptmenugen.h \
     
    154157  $(SOPHYAINCP)pimenubarx.h \
    155158  $(SOPHYAINCP)pimenubargen.h \
    156   $(SOPHYAINCP)picons.h \
     159  $(SOPHYAINCP)piconsenum.h \
     160  $(SOPHYAINCP)picmapview.h \
    157161  $(SOPHYAINCP)pibwdgx.h \
    158162  $(SOPHYAINCP)pibwdggen.h \
     
    169173  $(SOPHYAINCP)pievthandler.h \
    170174  $(SOPHYAINCP)psfile.h \
    171   $(SOPHYAINCP)pigraphps.h \
    172   $(SOPHYAINCP)picmapview.h pigncont.h \
     175  $(SOPHYAINCP)pigraphps.h pigncont.h \
    173176  $(SOPHYAINCP)pistdimgapp.h \
    174177  $(SOPHYAINCP)piapplx.h \
     
    179182  $(SOPHYAINCP)piperiodx.h \
    180183  $(SOPHYAINCP)periodic.h \
     184  $(SOPHYAINCP)picons.h \
    181185  $(SOPHYAINCP)piimage.h \
    182186  $(SOPHYAINCP)parradapter.h \
  • trunk/SophyaPI/PIGcont/pigncont.cc

    r3342 r3572  
    132132  _zmin = 1.e37;
    133133  _zmax = -1.e37;
    134   char *nom[4]={"x","y","z","niso"};
     134  const char *nom[4]={"x","y","z","niso"};
    135135  _myiso = new NTuple(4,nom); 
    136136  //_myiso->Show();
     
    343343   _ny = arr->YSize()  ;
    344344   //cout << " size x,y "<<_nx<<" , "<<_ny <<endl;
    345    char *nom[4]={"x","y","z","niso"};
     345   const char *nom[4]={"x","y","z","niso"};
    346346   
    347347   _myiso = new NTuple(4,nom); 
  • trunk/SophyaPI/PIGcont/smakefile

    r3504 r3572  
    2222  $(SOPHYAINCP)pimsghandler.h \
    2323  $(SOPHYAINCP)picolist.h \
     24  $(SOPHYAINCP)pipixutils.h \
    2425  $(SOPHYAINCP)pioptmenux.h \
    2526  $(SOPHYAINCP)pioptmenugen.h \
     
    142143  $(SOPHYAINCP)pimsghandler.h \
    143144  $(SOPHYAINCP)picolist.h \
     145  $(SOPHYAINCP)pipixutils.h \
    144146  $(SOPHYAINCP)pioptmenux.h \
    145147  $(SOPHYAINCP)pioptmenugen.h \
  • trunk/SophyaPI/PIext/Makefile

    r3405 r3572  
    4242  $(SOPHYAINCP)piwdggen.h \
    4343  $(SOPHYAINCP)picolist.h \
     44  $(SOPHYAINCP)pipixutils.h \
    4445  $(SOPHYAINCP)pimenubarx.h \
    4546  $(SOPHYAINCP)pimenubargen.h \
    4647  $(SOPHYAINCP)pimenux.h \
    4748  $(SOPHYAINCP)pimenugen.h \
    48   $(SOPHYAINCP)picons.h \
    49   $(SOPHYAINCP)pistdwdgx.h \
    50   $(SOPHYAINCP)pistdwdggen.h \
    51   $(SOPHYAINCP)pibwdgx.h \
    52   $(SOPHYAINCP)pibwdggen.h \
    53   $(SOPHYAINCP)picmap.h \
    54   $(SOPHYAINCP)picmapx.h \
    55   $(SOPHYAINCP)picmapgen.h \
    56   $(SOPHYAINCP)pigraphx.h \
    57   $(SOPHYAINCP)pigraphgen.h \
    58   $(SOPHYAINCP)pifontx.h \
    59   $(SOPHYAINCP)pifontgen.h \
    60   $(SOPHYAINCP)pigrcoord.h \
    61   $(SOPHYAINCP)pilineatt.h \
    62   $(SOPHYAINCP)pigraphuc.h \
    63   $(SOPHYAINCP)pievthandler.h \
    64   $(SOPHYAINCP)psfile.h \
    65   $(SOPHYAINCP)pigraphps.h \
     49  $(SOPHYAINCP)piconsenum.h \
    6650  $(SOPHYAINCP)piwindowx.h \
    6751  $(SOPHYAINCP)piwindowgen.h \
     
    6953  $(SOPHYAINCP)pioptmenux.h \
    7054  $(SOPHYAINCP)pioptmenugen.h \
     55  $(SOPHYAINCP)pistdwdgx.h \
     56  $(SOPHYAINCP)pistdwdggen.h \
    7157  $(SOPHYAINCP)pistdwdgx.h \
    7258  $(SOPHYAINCP)pifilechox.h \
     
    7662  $(SOPHYAINCP)periodic.h \
    7763  $(SOPHYAINCP)picons.h \
     64  $(SOPHYAINCP)pibwdgx.h \
     65  $(SOPHYAINCP)pibwdggen.h \
     66  $(SOPHYAINCP)picmap.h \
     67  $(SOPHYAINCP)picmapx.h \
     68  $(SOPHYAINCP)picmapgen.h \
     69  $(SOPHYAINCP)pigraphx.h \
     70  $(SOPHYAINCP)pigraphgen.h \
     71  $(SOPHYAINCP)pifontx.h \
     72  $(SOPHYAINCP)pifontgen.h \
     73  $(SOPHYAINCP)pigrcoord.h \
     74  $(SOPHYAINCP)pilineatt.h \
     75  $(SOPHYAINCP)pigraphuc.h \
     76  $(SOPHYAINCP)pievthandler.h \
     77  $(SOPHYAINCP)psfile.h \
     78  $(SOPHYAINCP)pigraphps.h \
    7879  $(SOPHYAINCP)piimage.h \
    7980  $(SOPHYAINCP)parradapter.h \
     
    163164  $(SOPHYAINCP)piwdggen.h \
    164165  $(SOPHYAINCP)picolist.h \
     166  $(SOPHYAINCP)pipixutils.h \
    165167  $(SOPHYAINCP)pimenubarx.h \
    166168  $(SOPHYAINCP)pimenubargen.h \
    167169  $(SOPHYAINCP)pimenux.h \
    168170  $(SOPHYAINCP)pimenugen.h \
    169   $(SOPHYAINCP)picons.h \
    170   $(SOPHYAINCP)pistdwdgx.h \
    171   $(SOPHYAINCP)pistdwdggen.h \
    172   $(SOPHYAINCP)pibwdgx.h \
    173   $(SOPHYAINCP)pibwdggen.h \
    174   $(SOPHYAINCP)picmap.h \
    175   $(SOPHYAINCP)picmapx.h \
    176   $(SOPHYAINCP)picmapgen.h \
    177   $(SOPHYAINCP)pigraphx.h \
    178   $(SOPHYAINCP)pigraphgen.h \
    179   $(SOPHYAINCP)pifontx.h \
    180   $(SOPHYAINCP)pifontgen.h \
    181   $(SOPHYAINCP)pigrcoord.h \
    182   $(SOPHYAINCP)pilineatt.h \
    183   $(SOPHYAINCP)pigraphuc.h \
    184   $(SOPHYAINCP)pievthandler.h \
    185   $(SOPHYAINCP)psfile.h \
    186   $(SOPHYAINCP)pigraphps.h \
     171  $(SOPHYAINCP)piconsenum.h \
    187172  $(SOPHYAINCP)piwindowx.h \
    188173  $(SOPHYAINCP)piwindowgen.h \
    189174  $(SOPHYAINCP)pioptmenux.h \
    190175  $(SOPHYAINCP)pioptmenugen.h \
     176  $(SOPHYAINCP)pistdwdgx.h \
     177  $(SOPHYAINCP)pistdwdggen.h \
    191178  $(SOPHYAINCP)pifilechox.h \
    192179  $(SOPHYAINCP)pifilechogen.h \
    193180  $(SOPHYAINCP)piperiodx.h \
    194181  $(SOPHYAINCP)periodic.h \
     182  $(SOPHYAINCP)picons.h \
     183  $(SOPHYAINCP)pibwdgx.h \
     184  $(SOPHYAINCP)pibwdggen.h \
     185  $(SOPHYAINCP)picmap.h \
     186  $(SOPHYAINCP)picmapx.h \
     187  $(SOPHYAINCP)picmapgen.h \
     188  $(SOPHYAINCP)pigraphx.h \
     189  $(SOPHYAINCP)pigraphgen.h \
     190  $(SOPHYAINCP)pifontx.h \
     191  $(SOPHYAINCP)pifontgen.h \
     192  $(SOPHYAINCP)pigrcoord.h \
     193  $(SOPHYAINCP)pilineatt.h \
     194  $(SOPHYAINCP)pigraphuc.h \
     195  $(SOPHYAINCP)pievthandler.h \
     196  $(SOPHYAINCP)psfile.h \
     197  $(SOPHYAINCP)pigraphps.h \
    195198  $(SOPHYAINCP)piimage.h \
    196199  $(SOPHYAINCP)parradapter.h \
     
    277280  $(SOPHYAINCP)pimsghandler.h \
    278281  $(SOPHYAINCP)picolist.h \
     282  $(SOPHYAINCP)pipixutils.h \
    279283  $(SOPHYAINCP)picmap.h \
    280284  $(SOPHYAINCP)picmapx.h \
     
    320324  $(SOPHYAINCP)pimenux.h \
    321325  $(SOPHYAINCP)pimenugen.h \
    322   $(SOPHYAINCP)picons.h \
    323   $(SOPHYAINCP)pistdwdgx.h \
    324   $(SOPHYAINCP)pistdwdggen.h \
    325   $(SOPHYAINCP)pibwdgx.h \
    326   $(SOPHYAINCP)pigraphps.h \
     326  $(SOPHYAINCP)piconsenum.h \
    327327  $(SOPHYAINCP)piwindowx.h \
    328328  $(SOPHYAINCP)piwindowgen.h \
     
    330330  $(SOPHYAINCP)pioptmenux.h \
    331331  $(SOPHYAINCP)pioptmenugen.h \
     332  $(SOPHYAINCP)pistdwdgx.h \
     333  $(SOPHYAINCP)pistdwdggen.h \
    332334  $(SOPHYAINCP)pistdwdgx.h \
    333335  $(SOPHYAINCP)pifilechox.h \
     
    337339  $(SOPHYAINCP)periodic.h \
    338340  $(SOPHYAINCP)picons.h \
     341  $(SOPHYAINCP)pibwdgx.h \
     342  $(SOPHYAINCP)pigraphps.h \
    339343  $(SOPHYAINCP)piimage.h \
    340344  $(SOPHYAINCP)parradapter.h \
     
    387391  $(SOPHYAINCP)piwdggen.h \
    388392  $(SOPHYAINCP)picolist.h \
     393  $(SOPHYAINCP)pipixutils.h \
    389394  $(SOPHYAINCP)pimenubarx.h \
    390395  $(SOPHYAINCP)pimenubargen.h \
    391396  $(SOPHYAINCP)pimenux.h \
    392397  $(SOPHYAINCP)pimenugen.h \
    393   $(SOPHYAINCP)picons.h \
    394   $(SOPHYAINCP)pistdwdgx.h \
    395   $(SOPHYAINCP)pistdwdggen.h \
    396   $(SOPHYAINCP)pibwdgx.h \
    397   $(SOPHYAINCP)pibwdggen.h \
    398   $(SOPHYAINCP)picmap.h \
    399   $(SOPHYAINCP)picmapx.h \
    400   $(SOPHYAINCP)picmapgen.h \
    401   $(SOPHYAINCP)pigraphx.h \
    402   $(SOPHYAINCP)pigraphgen.h \
    403   $(SOPHYAINCP)pifontx.h \
    404   $(SOPHYAINCP)pifontgen.h \
    405   $(SOPHYAINCP)pigrcoord.h \
    406   $(SOPHYAINCP)pilineatt.h \
    407   $(SOPHYAINCP)pigraphuc.h \
    408   $(SOPHYAINCP)pievthandler.h \
    409   $(SOPHYAINCP)psfile.h \
    410   $(SOPHYAINCP)pigraphps.h \
     398  $(SOPHYAINCP)piconsenum.h \
    411399  $(SOPHYAINCP)piwindowx.h \
    412400  $(SOPHYAINCP)piwindowgen.h \
     
    414402  $(SOPHYAINCP)pioptmenux.h \
    415403  $(SOPHYAINCP)pioptmenugen.h \
     404  $(SOPHYAINCP)pistdwdgx.h \
     405  $(SOPHYAINCP)pistdwdggen.h \
    416406  $(SOPHYAINCP)pistdwdgx.h \
    417407  $(SOPHYAINCP)pifilechox.h \
     
    421411  $(SOPHYAINCP)periodic.h \
    422412  $(SOPHYAINCP)picons.h \
     413  $(SOPHYAINCP)pibwdgx.h \
     414  $(SOPHYAINCP)pibwdggen.h \
     415  $(SOPHYAINCP)picmap.h \
     416  $(SOPHYAINCP)picmapx.h \
     417  $(SOPHYAINCP)picmapgen.h \
     418  $(SOPHYAINCP)pigraphx.h \
     419  $(SOPHYAINCP)pigraphgen.h \
     420  $(SOPHYAINCP)pifontx.h \
     421  $(SOPHYAINCP)pifontgen.h \
     422  $(SOPHYAINCP)pigrcoord.h \
     423  $(SOPHYAINCP)pilineatt.h \
     424  $(SOPHYAINCP)pigraphuc.h \
     425  $(SOPHYAINCP)pievthandler.h \
     426  $(SOPHYAINCP)psfile.h \
     427  $(SOPHYAINCP)pigraphps.h \
    423428  $(SOPHYAINCP)piimage.h \
    424429  $(SOPHYAINCP)parradapter.h \
     
    473478  $(SOPHYAINCP)piwdggen.h \
    474479  $(SOPHYAINCP)picolist.h \
     480  $(SOPHYAINCP)pipixutils.h \
    475481  $(SOPHYAINCP)pimenubarx.h \
    476482  $(SOPHYAINCP)pimenubargen.h \
    477483  $(SOPHYAINCP)pimenux.h \
    478484  $(SOPHYAINCP)pimenugen.h \
    479   $(SOPHYAINCP)picons.h \
    480   $(SOPHYAINCP)pistdwdgx.h \
    481   $(SOPHYAINCP)pistdwdggen.h \
    482   $(SOPHYAINCP)pibwdgx.h \
    483   $(SOPHYAINCP)pibwdggen.h \
    484   $(SOPHYAINCP)picmap.h \
    485   $(SOPHYAINCP)picmapx.h \
    486   $(SOPHYAINCP)picmapgen.h \
    487   $(SOPHYAINCP)pigraphx.h \
    488   $(SOPHYAINCP)pigraphgen.h \
    489   $(SOPHYAINCP)pifontx.h \
    490   $(SOPHYAINCP)pifontgen.h \
    491   $(SOPHYAINCP)pigrcoord.h \
    492   $(SOPHYAINCP)pilineatt.h \
    493   $(SOPHYAINCP)pigraphuc.h \
    494   $(SOPHYAINCP)pievthandler.h \
    495   $(SOPHYAINCP)psfile.h \
    496   $(SOPHYAINCP)pigraphps.h \
     485  $(SOPHYAINCP)piconsenum.h \
    497486  $(SOPHYAINCP)piwindowx.h \
    498487  $(SOPHYAINCP)piwindowgen.h \
     
    500489  $(SOPHYAINCP)pioptmenux.h \
    501490  $(SOPHYAINCP)pioptmenugen.h \
     491  $(SOPHYAINCP)pistdwdgx.h \
     492  $(SOPHYAINCP)pistdwdggen.h \
    502493  $(SOPHYAINCP)pistdwdgx.h \
    503494  $(SOPHYAINCP)pifilechox.h \
     
    507498  $(SOPHYAINCP)periodic.h \
    508499  $(SOPHYAINCP)picons.h \
     500  $(SOPHYAINCP)pibwdgx.h \
     501  $(SOPHYAINCP)pibwdggen.h \
     502  $(SOPHYAINCP)picmap.h \
     503  $(SOPHYAINCP)picmapx.h \
     504  $(SOPHYAINCP)picmapgen.h \
     505  $(SOPHYAINCP)pigraphx.h \
     506  $(SOPHYAINCP)pigraphgen.h \
     507  $(SOPHYAINCP)pifontx.h \
     508  $(SOPHYAINCP)pifontgen.h \
     509  $(SOPHYAINCP)pigrcoord.h \
     510  $(SOPHYAINCP)pilineatt.h \
     511  $(SOPHYAINCP)pigraphuc.h \
     512  $(SOPHYAINCP)pievthandler.h \
     513  $(SOPHYAINCP)psfile.h \
     514  $(SOPHYAINCP)pigraphps.h \
    509515  $(SOPHYAINCP)piimage.h \
    510516  $(SOPHYAINCP)parradapter.h \
     
    581587  $(SOPHYAINCP)piwdggen.h \
    582588  $(SOPHYAINCP)picolist.h \
     589  $(SOPHYAINCP)pipixutils.h \
    583590  $(SOPHYAINCP)pimenubarx.h \
    584591  $(SOPHYAINCP)pimenubargen.h \
    585592  $(SOPHYAINCP)pimenux.h \
    586593  $(SOPHYAINCP)pimenugen.h \
    587   $(SOPHYAINCP)picons.h \
    588   $(SOPHYAINCP)pistdwdgx.h \
    589   $(SOPHYAINCP)pistdwdggen.h \
    590   $(SOPHYAINCP)pibwdgx.h \
    591   $(SOPHYAINCP)pibwdggen.h \
    592   $(SOPHYAINCP)picmap.h \
    593   $(SOPHYAINCP)picmapx.h \
    594   $(SOPHYAINCP)picmapgen.h \
    595   $(SOPHYAINCP)pigraphx.h \
    596   $(SOPHYAINCP)pigraphgen.h \
    597   $(SOPHYAINCP)pifontx.h \
    598   $(SOPHYAINCP)pifontgen.h \
    599   $(SOPHYAINCP)pigrcoord.h \
    600   $(SOPHYAINCP)pilineatt.h \
    601   $(SOPHYAINCP)pigraphuc.h \
    602   $(SOPHYAINCP)pievthandler.h \
    603   $(SOPHYAINCP)psfile.h \
    604   $(SOPHYAINCP)pigraphps.h \
     594  $(SOPHYAINCP)piconsenum.h \
    605595  $(SOPHYAINCP)piwindowx.h \
    606596  $(SOPHYAINCP)piwindowgen.h \
     
    608598  $(SOPHYAINCP)pioptmenux.h \
    609599  $(SOPHYAINCP)pioptmenugen.h \
     600  $(SOPHYAINCP)pistdwdgx.h \
     601  $(SOPHYAINCP)pistdwdggen.h \
    610602  $(SOPHYAINCP)pistdwdgx.h \
    611603  $(SOPHYAINCP)pifilechox.h \
     
    615607  $(SOPHYAINCP)periodic.h \
    616608  $(SOPHYAINCP)picons.h \
     609  $(SOPHYAINCP)pibwdgx.h \
     610  $(SOPHYAINCP)pibwdggen.h \
     611  $(SOPHYAINCP)picmap.h \
     612  $(SOPHYAINCP)picmapx.h \
     613  $(SOPHYAINCP)picmapgen.h \
     614  $(SOPHYAINCP)pigraphx.h \
     615  $(SOPHYAINCP)pigraphgen.h \
     616  $(SOPHYAINCP)pifontx.h \
     617  $(SOPHYAINCP)pifontgen.h \
     618  $(SOPHYAINCP)pigrcoord.h \
     619  $(SOPHYAINCP)pilineatt.h \
     620  $(SOPHYAINCP)pigraphuc.h \
     621  $(SOPHYAINCP)pievthandler.h \
     622  $(SOPHYAINCP)psfile.h \
     623  $(SOPHYAINCP)pigraphps.h \
    617624  $(SOPHYAINCP)piimage.h \
    618625  $(SOPHYAINCP)parradapter.h \
     
    689696  $(SOPHYAINCP)pimsghandler.h \
    690697  $(SOPHYAINCP)picolist.h \
     698  $(SOPHYAINCP)pipixutils.h \
    691699  $(SOPHYAINCP)picmap.h \
    692700  $(SOPHYAINCP)picmapx.h \
     
    733741  $(SOPHYAINCP)pimenux.h \
    734742  $(SOPHYAINCP)pimenugen.h \
    735   $(SOPHYAINCP)picons.h \
    736   $(SOPHYAINCP)pistdwdgx.h \
    737   $(SOPHYAINCP)pistdwdggen.h \
    738   $(SOPHYAINCP)pibwdgx.h \
    739   $(SOPHYAINCP)pigraphps.h \
     743  $(SOPHYAINCP)piconsenum.h \
    740744  $(SOPHYAINCP)piwindowx.h \
    741745  $(SOPHYAINCP)piwindowgen.h \
     
    743747  $(SOPHYAINCP)pioptmenux.h \
    744748  $(SOPHYAINCP)pioptmenugen.h \
     749  $(SOPHYAINCP)pistdwdgx.h \
     750  $(SOPHYAINCP)pistdwdggen.h \
    745751  $(SOPHYAINCP)pistdwdgx.h \
    746752  $(SOPHYAINCP)pifilechox.h \
     
    750756  $(SOPHYAINCP)periodic.h \
    751757  $(SOPHYAINCP)picons.h \
     758  $(SOPHYAINCP)pibwdgx.h \
     759  $(SOPHYAINCP)pigraphps.h \
    752760  $(SOPHYAINCP)piimage.h \
    753761  $(SOPHYAINCP)parradapter.h \
     
    799807  $(SOPHYAINCP)pimsghandler.h \
    800808  $(SOPHYAINCP)picolist.h \
     809  $(SOPHYAINCP)pipixutils.h \
    801810  $(SOPHYAINCP)picmap.h \
    802811  $(SOPHYAINCP)picmapx.h \
     
    860869  $(SOPHYAINCP)pimsghandler.h \
    861870  $(SOPHYAINCP)picolist.h \
     871  $(SOPHYAINCP)pipixutils.h \
    862872  $(SOPHYAINCP)picmap.h \
    863873  $(SOPHYAINCP)picmapx.h \
     
    920930  $(SOPHYAINCP)pimsghandler.h \
    921931  $(SOPHYAINCP)picolist.h \
     932  $(SOPHYAINCP)pipixutils.h \
    922933  $(SOPHYAINCP)picmap.h \
    923934  $(SOPHYAINCP)picmapx.h \
     
    9891000  $(SOPHYAINCP)pimsghandler.h \
    9901001  $(SOPHYAINCP)picolist.h \
     1002  $(SOPHYAINCP)pipixutils.h \
    9911003  $(SOPHYAINCP)picmap.h \
    9921004  $(SOPHYAINCP)picmapx.h \
     
    10861098  $(SOPHYAINCP)pimsghandler.h \
    10871099  $(SOPHYAINCP)picolist.h \
     1100  $(SOPHYAINCP)pipixutils.h \
    10881101  $(SOPHYAINCP)picmap.h \
    10891102  $(SOPHYAINCP)picmapx.h \
     
    11301143  $(SOPHYAINCP)hisprof.h \
    11311144  $(SOPHYAINCP)ntuple.h \
    1132   $(SOPHYAINCP)xntuple.h \
    11331145  $(SOPHYAINCP)basedtable.h \
    11341146  $(SOPHYAINCP)segdatablock.h \
     
    11951207  $(SOPHYAINCP)pimsghandler.h \
    11961208  $(SOPHYAINCP)picolist.h \
     1209  $(SOPHYAINCP)pipixutils.h \
    11971210  $(SOPHYAINCP)picmap.h \
    11981211  $(SOPHYAINCP)picmapx.h \
     
    12641277  $(SOPHYAINCP)pimsghandler.h \
    12651278  $(SOPHYAINCP)picolist.h \
     1279  $(SOPHYAINCP)pipixutils.h \
    12661280  $(SOPHYAINCP)picmap.h \
    12671281  $(SOPHYAINCP)picmapx.h \
     
    13471361  $(SOPHYAINCP)pimsghandler.h \
    13481362  $(SOPHYAINCP)picolist.h \
     1363  $(SOPHYAINCP)pipixutils.h \
    13491364  $(SOPHYAINCP)picmap.h \
    13501365  $(SOPHYAINCP)picmapx.h \
     
    14121427  $(SOPHYAINCP)pimsghandler.h \
    14131428  $(SOPHYAINCP)picolist.h \
     1429  $(SOPHYAINCP)pipixutils.h \
    14141430  $(SOPHYAINCP)picmap.h \
    14151431  $(SOPHYAINCP)picmapx.h \
     
    15101526  $(SOPHYAINCP)pimsghandler.h \
    15111527  $(SOPHYAINCP)picolist.h \
     1528  $(SOPHYAINCP)pipixutils.h \
    15121529  $(SOPHYAINCP)picmap.h \
    15131530  $(SOPHYAINCP)picmapx.h \
     
    15931610  $(SOPHYAINCP)pimsghandler.h \
    15941611  $(SOPHYAINCP)picolist.h \
     1612  $(SOPHYAINCP)pipixutils.h \
    15951613  $(SOPHYAINCP)picmap.h \
    15961614  $(SOPHYAINCP)picmapx.h \
     
    16231641  $(SOPHYAINCP)pimenux.h \
    16241642  $(SOPHYAINCP)pimenugen.h \
    1625   $(SOPHYAINCP)picons.h \
    1626   $(SOPHYAINCP)pistdwdgx.h \
    1627   $(SOPHYAINCP)pistdwdggen.h \
    1628   $(SOPHYAINCP)pibwdgx.h \
    1629   $(SOPHYAINCP)pigraphps.h \
     1643  $(SOPHYAINCP)piconsenum.h \
    16301644  $(SOPHYAINCP)piwindowx.h \
    16311645  $(SOPHYAINCP)piwindowgen.h \
     
    16331647  $(SOPHYAINCP)pioptmenux.h \
    16341648  $(SOPHYAINCP)pioptmenugen.h \
     1649  $(SOPHYAINCP)pistdwdgx.h \
     1650  $(SOPHYAINCP)pistdwdggen.h \
    16351651  $(SOPHYAINCP)pistdwdgx.h \
    16361652  $(SOPHYAINCP)pifilechox.h \
     
    16401656  $(SOPHYAINCP)periodic.h \
    16411657  $(SOPHYAINCP)picons.h \
     1658  $(SOPHYAINCP)pibwdgx.h \
     1659  $(SOPHYAINCP)pigraphps.h \
    16421660  $(SOPHYAINCP)piimage.h \
    16431661  $(SOPHYAINCP)parradapter.h \
     
    17001718  $(SOPHYAINCP)piwdggen.h \
    17011719  $(SOPHYAINCP)picolist.h \
     1720  $(SOPHYAINCP)pipixutils.h \
    17021721  $(SOPHYAINCP)pimenubarx.h \
    17031722  $(SOPHYAINCP)pimenubargen.h \
    17041723  $(SOPHYAINCP)pimenux.h \
    17051724  $(SOPHYAINCP)pimenugen.h \
    1706   $(SOPHYAINCP)picons.h \
    1707   $(SOPHYAINCP)pistdwdgx.h \
    1708   $(SOPHYAINCP)pistdwdggen.h \
    1709   $(SOPHYAINCP)pibwdgx.h \
    1710   $(SOPHYAINCP)pibwdggen.h \
    1711   $(SOPHYAINCP)picmap.h \
    1712   $(SOPHYAINCP)picmapx.h \
    1713   $(SOPHYAINCP)picmapgen.h \
    1714   $(SOPHYAINCP)pigraphx.h \
    1715   $(SOPHYAINCP)pigraphgen.h \
    1716   $(SOPHYAINCP)pifontx.h \
    1717   $(SOPHYAINCP)pifontgen.h \
    1718   $(SOPHYAINCP)pigrcoord.h \
    1719   $(SOPHYAINCP)pilineatt.h \
    1720   $(SOPHYAINCP)pigraphuc.h \
    1721   $(SOPHYAINCP)pievthandler.h \
    1722   $(SOPHYAINCP)psfile.h \
    1723   $(SOPHYAINCP)pigraphps.h \
     1725  $(SOPHYAINCP)piconsenum.h \
    17241726  $(SOPHYAINCP)piwindowx.h \
    17251727  $(SOPHYAINCP)piwindowgen.h \
     
    17271729  $(SOPHYAINCP)pioptmenux.h \
    17281730  $(SOPHYAINCP)pioptmenugen.h \
     1731  $(SOPHYAINCP)pistdwdgx.h \
     1732  $(SOPHYAINCP)pistdwdggen.h \
    17291733  $(SOPHYAINCP)pistdwdgx.h \
    17301734  $(SOPHYAINCP)pifilechox.h \
     
    17341738  $(SOPHYAINCP)periodic.h \
    17351739  $(SOPHYAINCP)picons.h \
     1740  $(SOPHYAINCP)pibwdgx.h \
     1741  $(SOPHYAINCP)pibwdggen.h \
     1742  $(SOPHYAINCP)picmap.h \
     1743  $(SOPHYAINCP)picmapx.h \
     1744  $(SOPHYAINCP)picmapgen.h \
     1745  $(SOPHYAINCP)pigraphx.h \
     1746  $(SOPHYAINCP)pigraphgen.h \
     1747  $(SOPHYAINCP)pifontx.h \
     1748  $(SOPHYAINCP)pifontgen.h \
     1749  $(SOPHYAINCP)pigrcoord.h \
     1750  $(SOPHYAINCP)pilineatt.h \
     1751  $(SOPHYAINCP)pigraphuc.h \
     1752  $(SOPHYAINCP)pievthandler.h \
     1753  $(SOPHYAINCP)psfile.h \
     1754  $(SOPHYAINCP)pigraphps.h \
    17361755  $(SOPHYAINCP)piimage.h \
    17371756  $(SOPHYAINCP)parradapter.h \
     
    17971816  $(SOPHYAINCP)piwdggen.h \
    17981817  $(SOPHYAINCP)picolist.h \
     1818  $(SOPHYAINCP)pipixutils.h \
    17991819  $(SOPHYAINCP)pimenubarx.h \
    18001820  $(SOPHYAINCP)pimenubargen.h \
    18011821  $(SOPHYAINCP)pimenux.h \
    18021822  $(SOPHYAINCP)pimenugen.h \
    1803   $(SOPHYAINCP)picons.h \
    1804   $(SOPHYAINCP)pistdwdgx.h \
    1805   $(SOPHYAINCP)pistdwdggen.h \
    1806   $(SOPHYAINCP)pibwdgx.h \
    1807   $(SOPHYAINCP)pibwdggen.h \
    1808   $(SOPHYAINCP)picmap.h \
    1809   $(SOPHYAINCP)picmapx.h \
    1810   $(SOPHYAINCP)picmapgen.h \
    1811   $(SOPHYAINCP)pigraphx.h \
    1812   $(SOPHYAINCP)pigraphgen.h \
    1813   $(SOPHYAINCP)pifontx.h \
    1814   $(SOPHYAINCP)pifontgen.h \
    1815   $(SOPHYAINCP)pigrcoord.h \
    1816   $(SOPHYAINCP)pilineatt.h \
    1817   $(SOPHYAINCP)pigraphuc.h \
    1818   $(SOPHYAINCP)pievthandler.h \
    1819   $(SOPHYAINCP)psfile.h \
    1820   $(SOPHYAINCP)pigraphps.h \
     1823  $(SOPHYAINCP)piconsenum.h \
    18211824  $(SOPHYAINCP)piwindowx.h \
    18221825  $(SOPHYAINCP)piwindowgen.h \
     
    18241827  $(SOPHYAINCP)pioptmenux.h \
    18251828  $(SOPHYAINCP)pioptmenugen.h \
     1829  $(SOPHYAINCP)pistdwdgx.h \
     1830  $(SOPHYAINCP)pistdwdggen.h \
    18261831  $(SOPHYAINCP)pistdwdgx.h \
    18271832  $(SOPHYAINCP)pifilechox.h \
     
    18311836  $(SOPHYAINCP)periodic.h \
    18321837  $(SOPHYAINCP)picons.h \
     1838  $(SOPHYAINCP)pibwdgx.h \
     1839  $(SOPHYAINCP)pibwdggen.h \
     1840  $(SOPHYAINCP)picmap.h \
     1841  $(SOPHYAINCP)picmapx.h \
     1842  $(SOPHYAINCP)picmapgen.h \
     1843  $(SOPHYAINCP)pigraphx.h \
     1844  $(SOPHYAINCP)pigraphgen.h \
     1845  $(SOPHYAINCP)pifontx.h \
     1846  $(SOPHYAINCP)pifontgen.h \
     1847  $(SOPHYAINCP)pigrcoord.h \
     1848  $(SOPHYAINCP)pilineatt.h \
     1849  $(SOPHYAINCP)pigraphuc.h \
     1850  $(SOPHYAINCP)pievthandler.h \
     1851  $(SOPHYAINCP)psfile.h \
     1852  $(SOPHYAINCP)pigraphps.h \
    18331853  $(SOPHYAINCP)piimage.h \
    18341854  $(SOPHYAINCP)parradapter.h \
     
    19371957  $(SOPHYAINCP)pimsghandler.h \
    19381958  $(SOPHYAINCP)picolist.h \
     1959  $(SOPHYAINCP)pipixutils.h \
    19391960  $(SOPHYAINCP)picmap.h \
    19401961  $(SOPHYAINCP)picmapx.h \
     
    19691990  $(SOPHYAINCP)pimenux.h \
    19701991  $(SOPHYAINCP)pimenugen.h \
    1971   $(SOPHYAINCP)picons.h \
    1972   $(SOPHYAINCP)pistdwdgx.h \
    1973   $(SOPHYAINCP)pistdwdggen.h \
    1974   $(SOPHYAINCP)pibwdgx.h \
    1975   $(SOPHYAINCP)pigraphps.h \
     1992  $(SOPHYAINCP)piconsenum.h \
    19761993  $(SOPHYAINCP)piwindowx.h \
    19771994  $(SOPHYAINCP)piwindowgen.h \
     
    19791996  $(SOPHYAINCP)pioptmenux.h \
    19801997  $(SOPHYAINCP)pioptmenugen.h \
     1998  $(SOPHYAINCP)pistdwdgx.h \
     1999  $(SOPHYAINCP)pistdwdggen.h \
    19812000  $(SOPHYAINCP)pistdwdgx.h \
    19822001  $(SOPHYAINCP)pifilechox.h \
     
    19862005  $(SOPHYAINCP)periodic.h \
    19872006  $(SOPHYAINCP)picons.h \
     2007  $(SOPHYAINCP)pibwdgx.h \
     2008  $(SOPHYAINCP)pigraphps.h \
    19882009  $(SOPHYAINCP)piimage.h \
    19892010  $(SOPHYAINCP)parradapter.h \
     
    20022023  $(SOPHYAINCP)pitherm.h \
    20032024  $(SOPHYAINCP)resusage.h nomhistadapter.h \
    2004   $(SOPHYAINCP)xntuple.h \
    20052025  $(SOPHYAINCP)basedtable.h \
    20062026  $(SOPHYAINCP)segdatablock.h \
     
    20452065  $(SOPHYAINCP)pimsghandler.h \
    20462066  $(SOPHYAINCP)picolist.h \
     2067  $(SOPHYAINCP)pipixutils.h \
    20472068  $(SOPHYAINCP)picmap.h \
    20482069  $(SOPHYAINCP)picmapx.h \
     
    20972118  $(SOPHYAINCP)pimsghandler.h \
    20982119  $(SOPHYAINCP)picolist.h \
     2120  $(SOPHYAINCP)pipixutils.h \
    20992121  $(SOPHYAINCP)picmap.h \
    21002122  $(SOPHYAINCP)picmapx.h \
     
    21242146  $(SOPHYAINCP)pimsghandler.h \
    21252147  $(SOPHYAINCP)picolist.h \
     2148  $(SOPHYAINCP)pipixutils.h \
    21262149  $(SOPHYAINCP)picmap.h \
    21272150  $(SOPHYAINCP)picmapx.h \
     
    21532176  $(SOPHYAINCP)piwdggen.h \
    21542177  $(SOPHYAINCP)picolist.h \
     2178  $(SOPHYAINCP)pipixutils.h \
    21552179  $(SOPHYAINCP)pimenubarx.h \
    21562180  $(SOPHYAINCP)pimenubargen.h \
    21572181  $(SOPHYAINCP)pimenux.h \
    21582182  $(SOPHYAINCP)pimenugen.h \
    2159   $(SOPHYAINCP)picons.h \
    2160   $(SOPHYAINCP)pistdwdgx.h \
    2161   $(SOPHYAINCP)pistdwdggen.h \
    2162   $(SOPHYAINCP)pibwdgx.h \
    2163   $(SOPHYAINCP)pibwdggen.h \
    2164   $(SOPHYAINCP)picmap.h \
    2165   $(SOPHYAINCP)picmapx.h \
    2166   $(SOPHYAINCP)picmapgen.h \
    2167   $(SOPHYAINCP)pigraphx.h \
    2168   $(SOPHYAINCP)pigraphgen.h \
    2169   $(SOPHYAINCP)pifontx.h \
    2170   $(SOPHYAINCP)pifontgen.h \
    2171   $(SOPHYAINCP)pigrcoord.h \
    2172   $(SOPHYAINCP)pilineatt.h \
    2173   $(SOPHYAINCP)pigraphuc.h \
    2174   $(SOPHYAINCP)pievthandler.h \
    2175   $(SOPHYAINCP)psfile.h \
    2176   $(SOPHYAINCP)pigraphps.h \
     2183  $(SOPHYAINCP)piconsenum.h \
    21772184  $(SOPHYAINCP)sopnamsp.h pihisto2d.h \
    21782185  $(SOPHYAINCP)pimenux.h \
     
    21802187  $(SOPHYAINCP)pioptmenux.h \
    21812188  $(SOPHYAINCP)pioptmenugen.h \
    2182   $(SOPHYAINCP)pidrawer.h \
     2189  $(SOPHYAINCP)pistdwdgx.h \
     2190  $(SOPHYAINCP)pistdwdggen.h \
     2191  $(SOPHYAINCP)pidrawer.h \
     2192  $(SOPHYAINCP)pibwdggen.h \
     2193  $(SOPHYAINCP)picmap.h \
     2194  $(SOPHYAINCP)picmapx.h \
     2195  $(SOPHYAINCP)picmapgen.h \
     2196  $(SOPHYAINCP)pigraphx.h \
     2197  $(SOPHYAINCP)pigraphgen.h \
     2198  $(SOPHYAINCP)pifontx.h \
     2199  $(SOPHYAINCP)pifontgen.h \
     2200  $(SOPHYAINCP)pigrcoord.h \
     2201  $(SOPHYAINCP)pilineatt.h \
     2202  $(SOPHYAINCP)pigraphuc.h \
     2203  $(SOPHYAINCP)pievthandler.h \
     2204  $(SOPHYAINCP)psfile.h \
    21832205  $(SOPHYAINCP)pigratt.h \
    21842206  $(SOPHYAINCP)piaxes.h \
    21852207  $(SOPHYAINCP)piscdrawwdg.h \
     2208  $(SOPHYAINCP)pibwdgx.h \
     2209  $(SOPHYAINCP)pigraphps.h \
    21862210  $(SOPHYAINCP)piwindowx.h \
    21872211  $(SOPHYAINCP)piwindowgen.h \
     
    22112235  $(SOPHYAINCP)piwdggen.h \
    22122236  $(SOPHYAINCP)picolist.h \
     2237  $(SOPHYAINCP)pipixutils.h \
    22132238  $(SOPHYAINCP)pimenubarx.h \
    22142239  $(SOPHYAINCP)pimenubargen.h \
    22152240  $(SOPHYAINCP)pimenux.h \
    22162241  $(SOPHYAINCP)pimenugen.h \
    2217   $(SOPHYAINCP)picons.h \
    2218   $(SOPHYAINCP)pistdwdgx.h \
    2219   $(SOPHYAINCP)pistdwdggen.h \
    2220   $(SOPHYAINCP)pibwdgx.h \
    2221   $(SOPHYAINCP)pibwdggen.h \
    2222   $(SOPHYAINCP)picmap.h \
    2223   $(SOPHYAINCP)picmapx.h \
    2224   $(SOPHYAINCP)picmapgen.h \
    2225   $(SOPHYAINCP)pigraphx.h \
    2226   $(SOPHYAINCP)pigraphgen.h \
    2227   $(SOPHYAINCP)pifontx.h \
    2228   $(SOPHYAINCP)pifontgen.h \
    2229   $(SOPHYAINCP)pigrcoord.h \
    2230   $(SOPHYAINCP)pilineatt.h \
    2231   $(SOPHYAINCP)pigraphuc.h \
    2232   $(SOPHYAINCP)pievthandler.h \
    2233   $(SOPHYAINCP)psfile.h \
    2234   $(SOPHYAINCP)pigraphps.h \
     2242  $(SOPHYAINCP)piconsenum.h \
    22352243  $(SOPHYAINCP)piwindowx.h \
    22362244  $(SOPHYAINCP)piwindowgen.h \
     
    22382246  $(SOPHYAINCP)pioptmenux.h \
    22392247  $(SOPHYAINCP)pioptmenugen.h \
     2248  $(SOPHYAINCP)pistdwdgx.h \
     2249  $(SOPHYAINCP)pistdwdggen.h \
    22402250  $(SOPHYAINCP)pistdwdgx.h \
    22412251  $(SOPHYAINCP)pifilechox.h \
     
    22452255  $(SOPHYAINCP)periodic.h \
    22462256  $(SOPHYAINCP)picons.h \
     2257  $(SOPHYAINCP)pibwdgx.h \
     2258  $(SOPHYAINCP)pibwdggen.h \
     2259  $(SOPHYAINCP)picmap.h \
     2260  $(SOPHYAINCP)picmapx.h \
     2261  $(SOPHYAINCP)picmapgen.h \
     2262  $(SOPHYAINCP)pigraphx.h \
     2263  $(SOPHYAINCP)pigraphgen.h \
     2264  $(SOPHYAINCP)pifontx.h \
     2265  $(SOPHYAINCP)pifontgen.h \
     2266  $(SOPHYAINCP)pigrcoord.h \
     2267  $(SOPHYAINCP)pilineatt.h \
     2268  $(SOPHYAINCP)pigraphuc.h \
     2269  $(SOPHYAINCP)pievthandler.h \
     2270  $(SOPHYAINCP)psfile.h \
     2271  $(SOPHYAINCP)pigraphps.h \
    22472272  $(SOPHYAINCP)piimage.h \
    22482273  $(SOPHYAINCP)parradapter.h \
     
    23082333  $(SOPHYAINCP)hisprof.h \
    23092334  $(SOPHYAINCP)ntuple.h \
    2310   $(SOPHYAINCP)xntuple.h \
    23112335  $(SOPHYAINCP)basedtable.h \
    23122336  $(SOPHYAINCP)segdatablock.h \
     
    23572381  $(SOPHYAINCP)pimsghandler.h \
    23582382  $(SOPHYAINCP)picolist.h \
     2383  $(SOPHYAINCP)pipixutils.h \
    23592384  $(SOPHYAINCP)picmap.h \
    23602385  $(SOPHYAINCP)picmapx.h \
     
    23852410  $(SOPHYAINCP)pimsghandler.h \
    23862411  $(SOPHYAINCP)picolist.h \
     2412  $(SOPHYAINCP)pipixutils.h \
    23872413  $(SOPHYAINCP)picmap.h \
    23882414  $(SOPHYAINCP)picmapx.h \
     
    24112437  $(SOPHYAINCP)pimsghandler.h \
    24122438  $(SOPHYAINCP)picolist.h \
     2439  $(SOPHYAINCP)pipixutils.h \
    24132440  $(SOPHYAINCP)picmap.h \
    24142441  $(SOPHYAINCP)picmapx.h \
     
    24782505  $(SOPHYAINCP)piwdggen.h \
    24792506  $(SOPHYAINCP)picolist.h \
     2507  $(SOPHYAINCP)pipixutils.h \
    24802508  $(SOPHYAINCP)pimenubarx.h \
    24812509  $(SOPHYAINCP)pimenubargen.h \
    24822510  $(SOPHYAINCP)pimenux.h \
    24832511  $(SOPHYAINCP)pimenugen.h \
    2484   $(SOPHYAINCP)picons.h \
    2485   $(SOPHYAINCP)pistdwdgx.h \
    2486   $(SOPHYAINCP)pistdwdggen.h \
    2487   $(SOPHYAINCP)pibwdgx.h \
    2488   $(SOPHYAINCP)pibwdggen.h \
    2489   $(SOPHYAINCP)picmap.h \
    2490   $(SOPHYAINCP)picmapx.h \
    2491   $(SOPHYAINCP)picmapgen.h \
    2492   $(SOPHYAINCP)pigraphx.h \
    2493   $(SOPHYAINCP)pigraphgen.h \
    2494   $(SOPHYAINCP)pifontx.h \
    2495   $(SOPHYAINCP)pifontgen.h \
    2496   $(SOPHYAINCP)pigrcoord.h \
    2497   $(SOPHYAINCP)pilineatt.h \
    2498   $(SOPHYAINCP)pigraphuc.h \
    2499   $(SOPHYAINCP)pievthandler.h \
    2500   $(SOPHYAINCP)psfile.h \
    2501   $(SOPHYAINCP)pigraphps.h \
     2512  $(SOPHYAINCP)piconsenum.h \
    25022513  $(SOPHYAINCP)piwindowx.h \
    25032514  $(SOPHYAINCP)piwindowgen.h \
     
    25052516  $(SOPHYAINCP)pioptmenux.h \
    25062517  $(SOPHYAINCP)pioptmenugen.h \
     2518  $(SOPHYAINCP)pistdwdgx.h \
     2519  $(SOPHYAINCP)pistdwdggen.h \
    25072520  $(SOPHYAINCP)pistdwdgx.h \
    25082521  $(SOPHYAINCP)pifilechox.h \
     
    25122525  $(SOPHYAINCP)periodic.h \
    25132526  $(SOPHYAINCP)picons.h \
     2527  $(SOPHYAINCP)pibwdgx.h \
     2528  $(SOPHYAINCP)pibwdggen.h \
     2529  $(SOPHYAINCP)picmap.h \
     2530  $(SOPHYAINCP)picmapx.h \
     2531  $(SOPHYAINCP)picmapgen.h \
     2532  $(SOPHYAINCP)pigraphx.h \
     2533  $(SOPHYAINCP)pigraphgen.h \
     2534  $(SOPHYAINCP)pifontx.h \
     2535  $(SOPHYAINCP)pifontgen.h \
     2536  $(SOPHYAINCP)pigrcoord.h \
     2537  $(SOPHYAINCP)pilineatt.h \
     2538  $(SOPHYAINCP)pigraphuc.h \
     2539  $(SOPHYAINCP)pievthandler.h \
     2540  $(SOPHYAINCP)psfile.h \
     2541  $(SOPHYAINCP)pigraphps.h \
    25142542  $(SOPHYAINCP)piimage.h \
    25152543  $(SOPHYAINCP)parradapter.h \
     
    25912619  $(SOPHYAINCP)piwdggen.h \
    25922620  $(SOPHYAINCP)picolist.h \
     2621  $(SOPHYAINCP)pipixutils.h \
    25932622  $(SOPHYAINCP)pimenubarx.h \
    25942623  $(SOPHYAINCP)pimenubargen.h \
    25952624  $(SOPHYAINCP)pimenux.h \
    25962625  $(SOPHYAINCP)pimenugen.h \
    2597   $(SOPHYAINCP)picons.h \
    2598   $(SOPHYAINCP)pistdwdgx.h \
    2599   $(SOPHYAINCP)pistdwdggen.h \
    2600   $(SOPHYAINCP)pibwdgx.h \
    2601   $(SOPHYAINCP)pibwdggen.h \
    2602   $(SOPHYAINCP)picmap.h \
    2603   $(SOPHYAINCP)picmapx.h \
    2604   $(SOPHYAINCP)picmapgen.h \
    2605   $(SOPHYAINCP)pigraphx.h \
    2606   $(SOPHYAINCP)pigraphgen.h \
    2607   $(SOPHYAINCP)pifontx.h \
    2608   $(SOPHYAINCP)pifontgen.h \
    2609   $(SOPHYAINCP)pigrcoord.h \
    2610   $(SOPHYAINCP)pilineatt.h \
    2611   $(SOPHYAINCP)pigraphuc.h \
    2612   $(SOPHYAINCP)pievthandler.h \
    2613   $(SOPHYAINCP)psfile.h \
    2614   $(SOPHYAINCP)pigraphps.h \
     2626  $(SOPHYAINCP)piconsenum.h \
    26152627  $(SOPHYAINCP)piwindowx.h \
    26162628  $(SOPHYAINCP)piwindowgen.h \
     
    26182630  $(SOPHYAINCP)pioptmenux.h \
    26192631  $(SOPHYAINCP)pioptmenugen.h \
     2632  $(SOPHYAINCP)pistdwdgx.h \
     2633  $(SOPHYAINCP)pistdwdggen.h \
    26202634  $(SOPHYAINCP)pistdwdgx.h \
    26212635  $(SOPHYAINCP)pifilechox.h \
     
    26252639  $(SOPHYAINCP)periodic.h \
    26262640  $(SOPHYAINCP)picons.h \
     2641  $(SOPHYAINCP)pibwdgx.h \
     2642  $(SOPHYAINCP)pibwdggen.h \
     2643  $(SOPHYAINCP)picmap.h \
     2644  $(SOPHYAINCP)picmapx.h \
     2645  $(SOPHYAINCP)picmapgen.h \
     2646  $(SOPHYAINCP)pigraphx.h \
     2647  $(SOPHYAINCP)pigraphgen.h \
     2648  $(SOPHYAINCP)pifontx.h \
     2649  $(SOPHYAINCP)pifontgen.h \
     2650  $(SOPHYAINCP)pigrcoord.h \
     2651  $(SOPHYAINCP)pilineatt.h \
     2652  $(SOPHYAINCP)pigraphuc.h \
     2653  $(SOPHYAINCP)pievthandler.h \
     2654  $(SOPHYAINCP)psfile.h \
     2655  $(SOPHYAINCP)pigraphps.h \
    26272656  $(SOPHYAINCP)piimage.h \
    26282657  $(SOPHYAINCP)parradapter.h \
     
    26722701  $(SOPHYAINCP)machdefs.h \
    26732702  $(SOPHYAINCP)lut.h \
     2703  $(SOPHYAINCP)pipixutils.h \
    26742704  $(SOPHYAINCP)tmatrix.h \
    26752705  $(SOPHYAINCP)tarray.h \
     
    27202750  $(SOPHYAINCP)pimsghandler.h \
    27212751  $(SOPHYAINCP)picolist.h \
     2752  $(SOPHYAINCP)pipixutils.h \
    27222753  $(SOPHYAINCP)picmap.h \
    27232754  $(SOPHYAINCP)picmapx.h \
     
    27642795  $(SOPHYAINCP)pimenux.h \
    27652796  $(SOPHYAINCP)pimenugen.h \
    2766   $(SOPHYAINCP)picons.h \
    2767   $(SOPHYAINCP)pistdwdgx.h \
    2768   $(SOPHYAINCP)pistdwdggen.h \
    2769   $(SOPHYAINCP)pibwdgx.h \
    2770   $(SOPHYAINCP)pigraphps.h \
     2797  $(SOPHYAINCP)piconsenum.h \
    27712798  $(SOPHYAINCP)piwindowx.h \
    27722799  $(SOPHYAINCP)piwindowgen.h \
     
    27742801  $(SOPHYAINCP)pioptmenux.h \
    27752802  $(SOPHYAINCP)pioptmenugen.h \
     2803  $(SOPHYAINCP)pistdwdgx.h \
     2804  $(SOPHYAINCP)pistdwdggen.h \
    27762805  $(SOPHYAINCP)pistdwdgx.h \
    27772806  $(SOPHYAINCP)pifilechox.h \
     
    27812810  $(SOPHYAINCP)periodic.h \
    27822811  $(SOPHYAINCP)picons.h \
     2812  $(SOPHYAINCP)pibwdgx.h \
     2813  $(SOPHYAINCP)pigraphps.h \
    27832814  $(SOPHYAINCP)piimage.h \
    27842815  $(SOPHYAINCP)parradapter.h \
  • trunk/SophyaPI/PIext/basexecut.cc

    r3551 r3572  
    2424#include "datatable.h"
    2525
    26 #ifdef SANS_EVOLPLANCK
    27 #include "cvector.h"
    28 #else
    2926#include "tvector.h"
    30 #endif
    3127
    3228
     
    9591  mImgApp->RedirectStdOutErr(false);
    9692                                    --------DEL  */
    97 #ifdef SANS_EVOLPLANCK
    98   TRY {
    99     tokens.erase(tokens.begin());
    100     fuf(tokens);
    101   }  CATCH(merr) {
    102     fflush(stdout);
    103     string es = PeidaExc(merr);
    104     cerr << "\n PIABaseExecutor: Call UserFunc  Exception :" << merr << es;
    105     cout << endl;
    106     }
    107 #else
    10893  try {
    10994    tokens.erase(tokens.begin());
     
    122107    return(-79);
    123108  }
    124 #endif
    125109/*DEL----- Plus besoin en multi-thread ? / Reza 06/01/2004
    126110  mImgApp->RedirectStdOutErr(red);
     
    732716  }
    733717
    734 #ifndef SANS_EVOLPLANCK
    735718/* Lecture matrice/vecteur depuis fichier ASCII  */
    736719else if ((kw == "mtxfrascii") || (kw == "vecfrascii") ) {
     
    788771}
    789772 
    790 #endif
    791773
    792774else if (kw == "fillnt" ) {
     
    970952usage += "\n  Related commands: ntloop fillnt ";
    971953mpiac->RegisterCommand(kw, usage, this, "FileIO");
    972 #ifndef SANS_EVOLPLANCK
    973954kw = "mtxfrascii";
    974955usage = "Reads a matrix from an ASCII file (TMatrix<r_8>)";
     
    986967usage += "\n  Related commands:  mtxfrascii vecfrascii ntfrascii ";
    987968mpiac->RegisterCommand(kw, usage, this, "FileIO");
    988 #endif
    989969
    990970kw = "print";
     
    11811161usage += "\n-         i,k,val,real,imag,mod,phas,teta,phi,_nl";
    11821162usage += "\n- FITS Binary/ASCII table: fits column names,_nl";
    1183 #ifdef SANS_EVOLPLANCK
    1184 usage += "\n  ------ Eros Variable names (double) -------- ";
    1185 usage += "\n- StarList: x,y,flux,fond,pixmax,flags,";
    1186 usage += "\n-           xref,yref,fluxref,fondref,pixmaxref,_nl";
    1187 #endif
    11881163usage += "\n  ------ Other parameters -------- ";
    11891164usage += "\nLoop parameters can be specified as I1[:I2[:DI]] for(int i=I1; i<I2; i+=DI)";
  • trunk/SophyaPI/PIext/cxxexecutor.cc

    r3551 r3572  
    394394  <<endl
    395395
    396 #ifdef SANS_EVOLPLANCK
    397   <<"//---- Peida include files"<<endl
    398   <<"#include \"toutpeida.h\""<<endl
    399 #else
    400396  // Si on enleve sopnamsp.h (using namespace SOPHYA), il faudra accoler
    401397  // SOPHYA:: à toutes les déclarations automatiques - Reza, 10/09/2004
     
    409405  <<"#include \"histats.h\""<<endl
    410406  <<endl
    411 #endif
    412407
    413408  <<"//---- Spiapp include files"<<endl
     
    497492  os<<obtype<<"* "<<stmp
    498493    <<" = dynamic_cast< "<<obtype<<" * >(omg.GetObj(___nomobj));"<<endl;
    499 #ifdef SANS_EVOLPLANCK
    500   os<<"if("<<stmp<<"==NULL) { \n"
    501     <<" long mExcErr = nullPtrErr; \n"
    502     <<" cerr << \"CxxExecutor::PutObject: Non existing object "
    503     <<" ... please update file \\n \" ;"
    504     <<" throw mExcErr ; \n } "<<endl;
    505 #else
    506494  os<<"if("<<stmp<<"==NULL) throw NullPtrError"
    507495    <<"(\"CxxExecutor::PutObject: Non existing object "<<nobj
    508496    <<"... please update file\");"<<endl;
    509 #endif
    510497  os<<obtype<<"& "<<nobj<<" = (*"<<stmp<<");"<<endl<<endl;
    511498}
     
    622609
    623610int rc;
    624 #ifdef SANS_EVOLPLANCK
    625 CxxCompilerLinker cxx;
    626 string sophlib = " -lPIE -lm ";
    627 cxx.AddLinkOptions(sophlib);
    628 #else
    629611CxxCompilerLinker cxx(true,true,true);
    630 #endif
    631612if(TmpDir().size()>0) cxx.SetTmpDir(TmpDir());
    632613if(mPrtLevel>0) cxx.SetVerbose(true);
  • trunk/SophyaPI/PIext/exclude

    r3007 r3572  
    11userfitfunex.c
    2 nommatvecadapter.cc
    3 nomstladapter.cc
    42pistlist.cc
  • trunk/SophyaPI/PIext/flowmodex.cc

    r2615 r3572  
    117117 
    118118  // Creation NTuple
    119   char* ntn[4] = {"expx","expy","expex","expey"};
     119  const char* ntn[4] = {"expx","expy","expex","expey"};
    120120  NTuple * ntint = NULL;
    121121  ntint = new NTuple(4,ntn);
  • trunk/SophyaPI/PIext/nobjmgr.cc

    r3428 r3572  
    2020#include "dvlist.h"
    2121
    22 // EVOL-PLANCK
    23 #ifdef SANS_EVOLPLANCK
    24 #include "fitsimage.h" 
    25 #else
    2622#include "tvector.h"
    2723#include "pitvmaad.h"
    2824#include "piyfxdrw.h"
    29 #endif
    3025
    3126#include "pisurfdr.h"
     
    259254  }
    260255  NObjMgrSync zs(0); zs.NOp();
    261 #ifdef SANS_EVOLPLANCK
    262   bool fg = true;
    263 #else
    264256  bool fg = myVars->HasKey(key);
    265 #endif
    266257  myVars->SetS(key, val);
    267258  //  cout << " DEBUG::SetVar " << *myVars << endl;
     
    277268  }
    278269  NObjMgrSync zs(0); zs.NOp();
    279 #ifdef SANS_EVOLPLANCK
    280   DVList::ValList::const_iterator it;
    281   for(it=myVars->Begin(); it!= myVars->End(); it++)
    282     if ((*it).first == key)  return true;
    283   return(false);
    284 #else
    285270  return(myVars->HasKey(key));
    286 #endif
    287271}
    288272
     
    295279  }
    296280  NObjMgrSync zs(0); zs.NOp();
    297 #ifdef SANS_EVOLPLANCK
    298   return(false);
    299 #else
    300281  return(myVars->DeleteKey(key));
    301 #endif
    302282}
    303283
     
    945925PPersist* ppobj=NULL;
    946926bool ok = true;
    947 #ifdef SANS_EVOLPLANCK
    948 TRY{
    949   PInPersist pis(flnm);
    950   ppobj = PPersistMgr::ReadObject(pis);
    951   if (ppobj == NULL) ok = false;
    952 }  CATCH(merr)
    953   { printf("NamedObjMgr::ReadObj()/Error Exception= %ld (%s) \n",
    954     (long)merr, PeidaExc(merr));  ok = false; } ENDTRY;
    955 #else
    956927try {
    957928  PInPersist pis(flnm);
     
    962933  ok = false;
    963934  }
    964 #endif
    965935if (!ok)  return;
    966936if (nobj.length()<1)  nobj = servnobjm->FileName2Name(flnm);
     
    1011981{
    1012982int_4 i; // $CHECK$ int -> int_4 a cause de TagKey
    1013 #ifdef SANS_EVOLPLANCK
    1014 int_4 cid, key, ln; // $CHECK$ int -> int_4 a cause de TagKey
    1015 #endif
    1016983int n0, n1;
    1017984bool ok = true;
     
    1021988int nread = 0;
    1022989int nbtags = 0;
    1023 #ifdef SANS_EVOLPLANCK
    1024 nbtags = s.NbTags();
    1025 #else
    1026990nbtags = s.NbNameTags();
    1027 #endif
    1028991if ( (nbtags < 1) || (num >= nbtags) ) {
    1029992  if (num >= 0) {
     
    1033996  }
    1034997
    1035 #ifdef SANS_EVOLPLANCK
    1036   TRY {
    1037     obj = PPersistMgr::ReadObject(s);
    1038     if (obj == NULL)  ok = false;
    1039   }  CATCH(merr) {
    1040     printf("NamedObjMgr::ReadObj()/Error Exception= %ld (%s) \n", (long)merr, PeidaExc(merr));
    1041     ok = false;
    1042   } ENDTRY;
    1043 #else
    1044998try {
    1045999  obj = s.ReadObject();
     
    10491003  ok = false;
    10501004  }
    1051 #endif
    10521005
    10531006  if (!ok)  return;
     
    10601013else { n0 = num; n1 = num+1; }
    10611014for(i=n0; i<n1; i++) {
    1062 #ifdef SANS_EVOLPLANCK
    1063   key = s.TagKey(i, cid, ln);
    1064   if (ln <= 0)  nom = "";
    1065   else nom = s.TagName(i);
    1066   s.GotoTag(i);
    1067   TRY {
    1068     obj = PPersistMgr::ReadObject(s);
    1069     if (obj == NULL)  ok = false;
    1070   }  CATCH(merr) {
    1071     printf("NamedObjMgr::ReadObj()/Error Exception= %ld (%s) \n", (long)merr, PeidaExc(merr));
    1072     ok = false;
    1073   } ENDTRY;
    1074 #else
    10751015  s.GotoNameTagNum(i);
    10761016  nom = s.GetTagName(i);
     
    10821022    ok = false;
    10831023    }
    1084 #endif
    10851024  if (ok)  { AddObj_P(obj->DataObj(), nom, true);  nread++; }
    10861025}
     
    10951034  //    sinon, tous les objets sequentiellement
    10961035{
    1097 #ifdef SANS_EVOLPLANCK
    1098 bool ok = true;
    1099 PPersist* obj=NULL;
    1100 
    1101 PInPersist* ppin=NULL;
    1102 TRY{
    1103   ppin = new PInPersist(flnm);
    1104   if (ppin->NbTags() < 1)  obj = PPersistMgr::ReadObject((*ppin));
    1105   else obj = NULL;
    1106 }  CATCH(merr)
    1107   { printf("NamedObjMgr::ReadAll()/Error Exception= %ld (%s) \n",
    1108     (long)merr, PeidaExc(merr));  ok = false; }
    1109 ENDTRY;
    1110 if (!ok)  return;
    1111 if (obj) {
    1112   string nom = servnobjm->FileName2Name(flnm);
    1113   AddObj(obj->DataObj(), nom, false);
    1114   }
    1115 else ReadObj((*ppin), -1);
    1116 delete ppin;
    1117 #else
    11181036try {
    11191037  PInPersist pis(flnm);
     
    11511069  cerr << "NamedObjMgr::ReadAll()/Error Exception - Msg= " << iox.Msg() << endl;
    11521070}
    1153 #endif
    11541071return;
    11551072}
     
    11931110bool ok = true;
    11941111POutPersist* pout=NULL;
    1195 #ifdef SANS_EVOLPLANCK
    1196 TRY{
    1197   pout = new POutPersist(flnm);
    1198 }  CATCH(merr)
    1199   { printf("NamedObjMgr::SaveObjects()/Error Exception= %ld (%s) \n",
    1200     (long)merr, PeidaExc(merr));  ok = false; } ENDTRY;
    1201 #else
    12021112try {
    12031113 pout = new POutPersist(flnm);
     
    12071117    ok = false;
    12081118}
    1209 #endif
    12101119if (!ok)  return;
    12111120NObjList::iterator it;
     
    12621171
    12631172POutPersist* pout=NULL;
    1264 #ifdef SANS_EVOLPLANCK
    1265 TRY{
    1266   pout = new POutPersist(flnm);
    1267 }  CATCH(merr)
    1268   { printf("NamedObjMgr::SaveAll()/Error Exception= %ld (%s) \n",
    1269     (long)merr, PeidaExc(merr));  ok = false; } ENDTRY;
    1270 #else
    12711173try {
    12721174 pout = new POutPersist(flnm);
     
    12761178    ok = false;
    12771179}
    1278 #endif
    12791180if (!ok)  return;
    12801181NObjList::iterator it;
     
    15831484NObjMgrSync zs(0); zs.NOp();
    15841485
    1585 #ifdef SANS_EVOLPLANCK
    1586   cerr << " NamedObjMgr::DisplayVector() Error: Not implemented with PEIDA " << endl;
    1587 #else
    1588 
    15891486if(!myImgApp) return;
    15901487
     
    16511548return;
    16521549
    1653 #endif
    16541550}
    16551551
  • trunk/SophyaPI/PIext/nomgfdadapter.cc

    r2975 r3572  
    99#include "pipodrw.h"
    1010
    11 #ifndef SANS_EVOLPLANCK
    1211#include "objfitter.h"
    13 #endif
    1412
    1513//-------------------------------------------------------------------------
     
    5351void NOMAdapter_GeneralFitData::SavePPF(POutPersist& pos, string const & nom)
    5452{
    55 #ifdef SANS_EVOLPLANCK
    56 string tag = nom;  // A cause de const
    57 mG->Write(pos,0,tag);
    58 #else
    5953ObjFileIO<GeneralFitData> fio(mG);
    6054fio.Write(pos, nom);
    61 #endif
    6255}
    6356
     
    113106{
    114107GeneralFitData* g = NULL;
    115 #ifdef SANS_EVOLPLANCK
    116 g = mG->FitResidus(mfit);
    117 #else
    118108g = new GeneralFitData(ObjectFitter::FitResidus(*mG,mfit));
    119 #endif
    120109return g;
    121110}
     
    124113{
    125114GeneralFitData* g = NULL;
    126 #ifdef SANS_EVOLPLANCK
    127 g = mG->FitFunction(mfit);
    128 #else
    129115g = new GeneralFitData(ObjectFitter::FitFunction(*mG,mfit));
    130 #endif
    131116return g;
    132117}
  • trunk/SophyaPI/PIext/nomhistadapter.cc

    r3432 r3572  
    1616#include "strutilxx.h"
    1717
    18 #ifndef SANS_EVOLPLANCK
    1918#include "objfitter.h"
    2019// Pour les DataTable ( Depuis Avril 2005 )
    2120#include "datatable.h"
    2221#include "swppfdtable.h"
    23 #endif
    2422
    2523//-----------------------------------------------------------------------------
     
    139137void NOMAdapter_Histo::SavePPF(POutPersist& pos, string const & nom)
    140138{
    141 #ifdef SANS_EVOLPLANCK
    142 // PEIDA-EROS L'histo est lui-meme PPersist
    143 string tag = nom;  // A cause de const
    144 mHis->Write(pos,0,tag);
    145 #else
    146139ObjFileIO<Histo> fio(mHis);
    147140fio.Write(pos, nom);
    148 #endif
    149141}
    150142
     
    204196{
    205197Histo* h = NULL;
    206 #ifdef SANS_EVOLPLANCK
    207 h = mHis->FitResidus(mfit);
    208 #else
    209198h = new Histo(ObjectFitter::FitResidus(*mHis,mfit));
    210 #endif
    211199return h;
    212200}
     
    215203{
    216204Histo* h = NULL;
    217 #ifdef SANS_EVOLPLANCK
    218 h = mHis->FitFunction(mfit);
    219 #else
    220205h = new Histo(ObjectFitter::FitFunction(*mHis,mfit));
    221 #endif
    222206return h;
    223207}
     
    316300void NOMAdapter_Histo2D::SavePPF(POutPersist& pos, string const & nom)
    317301{
    318 #ifdef SANS_EVOLPLANCK
    319 // PEIDA-EROS L'histo est lui-meme PPersist
    320 string tag = nom;  // A cause de const
    321 mHis->Write(pos,0,tag);
    322 #else
    323302ObjFileIO<Histo2D> fio(mHis);
    324303fio.Write(pos, nom);
    325 #endif
    326304}
    327305
     
    389367{
    390368Histo2D* h2 = NULL;
    391 #ifdef SANS_EVOLPLANCK
    392 h2 = mHis->FitFunction(mfit);
    393 #else
    394369h2 = new Histo2D(ObjectFitter::FitResidus(*mHis,mfit));
    395 #endif
    396370return h2;
    397371}
     
    400374{
    401375Histo2D* h2 = NULL;
    402 #ifdef SANS_EVOLPLANCK
    403 h2 = mHis->FitFunction(mfit);
    404 #else
    405376h2 = new Histo2D(ObjectFitter::FitFunction(*mHis,mfit));
    406 #endif
    407377return h2;
    408378}
     
    555525void NOMAdapter_NTuple::SavePPF(POutPersist& pos, string const & nom)
    556526{
    557 #ifdef SANS_EVOLPLANCK
    558 // PEIDA-EROS L'histo est lui-meme PPersist
    559 string tag = nom;  // A cause de const
    560 mNt->Write(pos,0,tag);
    561 #else
    562527ObjFileIO<NTuple> fio(mNt);
    563528fio.Write(pos, nom);
    564 #endif
    565529}
    566530
     
    571535char buff[128];
    572536if (opts[0] == "sizes") {
    573   sprintf(buff, "%ld %ld", mNt->NEntry(), mNt->NVar());
     537  sprintf(buff, "%ld %ld", (long)mNt->NEntry(), (long)mNt->NVar());
    574538  return string(buff);   
    575539}
    576540else if ((opts[0] == "nlines") || (opts[0] == "nentry") || (opts[0] == "nrows")) {
    577   sprintf(buff, "%ld", mNt->NEntry());
     541  sprintf(buff, "%ld", (long)mNt->NEntry());
    578542  return string(buff);   
    579543}
    580544else if ((opts[0] == "nvar") || (opts[0] == "ncols")) {
    581   sprintf(buff, "%ld", mNt->NVar());
     545  sprintf(buff, "%ld", (long)mNt->NVar());
    582546  return string(buff);   
    583547}
     
    610574return(mNt);
    611575// return( new NTupInt_NTuple(mNt) );
    612 }
    613 
    614 //-------------------------------------------------------------------------
    615 // Class Adaptateur d'objet (Pour NamedObjMgr) d'objet XNTuple
    616 //-------------------------------------------------------------------------
    617 
    618 /* --Methode-- */
    619 NOMAdapter_XNTuple::NOMAdapter_XNTuple(XNTuple* o)
    620   : NObjMgrAdapter(o)
    621 {
    622 mNt = o;
    623 }
    624 
    625 /* --Methode-- */
    626 NOMAdapter_XNTuple::~NOMAdapter_XNTuple()
    627 {
    628 }
    629 
    630 /* --Methode-- */
    631 NObjMgrAdapter* NOMAdapter_XNTuple::Clone(AnyDataObj* o)
    632 {
    633 XNTuple* nt = dynamic_cast<XNTuple *>(o);
    634 if (nt) return ( new NOMAdapter_XNTuple(nt) );
    635 return ( new NObjMgrAdapter(o) );
    636 }
    637 
    638 /* --Methode-- */
    639 string NOMAdapter_XNTuple::GetDataObjType()
    640 {
    641 return ("XNTuple ");
    642 }
    643 
    644 /* --Methode-- */
    645 AnyDataObj* NOMAdapter_XNTuple::CloneDataObj(bool /*share*/)
    646 {
    647 return ( new XNTuple(*mNt) );
    648 }
    649 
    650 /* --Methode-- */
    651 void NOMAdapter_XNTuple::SavePPF(POutPersist& pos, string const & nom)
    652 {
    653 #ifdef SANS_EVOLPLANCK
    654 // PEIDA-EROS L'histo est lui-meme PPersist
    655 string tag = nom;  // A cause de const
    656 mNt->Write(pos,0,tag);
    657 #else
    658 ObjFileIO<XNTuple> fio(mNt);
    659 fio.Write(pos, nom);
    660 #endif
    661 }
    662 
    663 /* --Methode-- */
    664 void NOMAdapter_XNTuple::Print(ostream& os, int lev)
    665 {
    666 // os << mNt->Info();
    667 mNt->Show(os);
    668 }
    669 
    670 
    671 /* --Methode-- */
    672 NTupleInterface* NOMAdapter_XNTuple::GetNTupleInterface(bool& adel)
    673 {
    674 adel = false;
    675 return(mNt);
    676576}
    677577
     
    751651char buff[128];
    752652if (opts[0] == "sizes") {
    753   sprintf(buff, "%ld %ld", mDT->NEntry(), mDT->NVar());
     653  sprintf(buff, "%ld %ld", (long)mDT->NEntry(), (long)mDT->NVar());
    754654  return string(buff);   
    755655}
    756656else if ((opts[0] == "nlines") || (opts[0] == "nentry") || (opts[0] == "nrows")) {
    757   sprintf(buff, "%ld", mDT->NEntry());
     657  sprintf(buff, "%ld", (long)mDT->NEntry());
    758658  return string(buff);   
    759659}
    760660else if ((opts[0] == "nvar") || (opts[0] == "ncols")) {
    761   sprintf(buff, "%ld", mDT->NVar());
     661  sprintf(buff, "%ld", (long)mDT->NVar());
    762662  return string(buff);   
    763663}
  • trunk/SophyaPI/PIext/nomhistadapter.h

    r3139 r3572  
    1212#include "hisprof.h"
    1313#include "ntuple.h"
    14 #include "xntuple.h"
    1514#include "basedtable.h"
    1615
     
    142141};
    143142
    144 //-------------------------------------------------------------------------
    145 // Class Adaptateur d'objet (Pour NamedObjMgr) d'objet XNTuple
    146 //-------------------------------------------------------------------------
    147 
    148 class NOMAdapter_XNTuple : public NObjMgrAdapter {
    149 public:
    150                                 NOMAdapter_XNTuple(XNTuple* nt = NULL);
    151   virtual                       ~NOMAdapter_XNTuple();
    152 
    153   virtual NObjMgrAdapter*       Clone(AnyDataObj* o);
    154 
    155   virtual string                GetDataObjType();
    156 
    157   virtual AnyDataObj*           CloneDataObj(bool share=false);
    158 
    159   virtual void                  SavePPF(POutPersist& s, string const & nom);
    160 
    161   virtual void                  Print(ostream& os, int lev=0);
    162   virtual NTupleInterface*      GetNTupleInterface(bool& adel);
    163 
    164 protected:
    165   XNTuple* mNt;
    166 };
    167143
    168144//-------------------------------------------------------------------------
  • trunk/SophyaPI/PIext/nomimagadapter.cc

    r3190 r3572  
    1111#include "pimgadapter.h"
    1212
    13 #ifdef SANS_EVOLPLANCK
    14 #include "fitsimage.h"
    15 #else
    1613#include "objfitter.h"
    17 #endif
    1814
    1915
     
    6258AnyDataObj* NOMAdapter_Image<T>::CloneDataObj(bool share)
    6359{
    64 #ifdef SANS_EVOLPLANCK
    65 FitsImage<T> * fima = dynamic_cast<FitsImage<T> *>(mImg);
    66 if (fima == NULL)   return( new Image<T>(*mImg ) );
    67 else return ( new FitsImage<T>(*fima) );
    68 #else
    6960return( new Image<T>(*mImg, share) );
    70 #endif
    7161}
    7262
     
    7666void NOMAdapter_Image<T>::SavePPF(POutPersist& pos, string const & nom)
    7767{
    78 #ifdef SANS_EVOLPLANCK
    79 // PEIDA-EROS L'histo est lui-meme PPersist
    80 string tag = nom;  // A cause de const
    81 mImg->Write(pos,0,tag);
    82 #else
    8368string s = typeid(*mObj).name();
    8469cout << "NOMAdapter_Image<T>::SavePPF() - Error : Not supported for " << s << endl;
    85 #endif
    8670}
    8771
     
    147131AnyDataObj* NOMAdapter_Image<T>::FitResidusObj(GeneralFit& mfit)
    148132{
    149 #ifdef SANS_EVOLPLANCK
    150 RzImage* rzim = mImg->FitResidus(mfit); 
    151 ImageR4* im   = new ImageR4(*rzim);
    152 return im;
    153 #else
    154133Image<T>* im = new Image<T>(ObjectFitter::FitResidus(*mImg,mfit));
    155134return im;
    156 #endif
    157135}
    158136
     
    160138AnyDataObj* NOMAdapter_Image<T>::FitFunctionObj(GeneralFit& mfit)
    161139{
    162 #ifdef SANS_EVOLPLANCK
    163 RzImage* rzim = mImg->FitFunction(mfit); 
    164 ImageR4* im   = new ImageR4(*rzim);
    165 return im;
    166 #else
    167140Image<T>* im = NULL;
    168141//im = new Image<T>(ObjectFitter::FitFunction(*mImg,mfit));
    169142return im;
    170 #endif
    171143}
    172144
     
    236208#pragma define_template NTupInt_Image<r_4>
    237209#pragma define_template NTupInt_Image<r_8>
    238 #ifdef SANS_EVOLPLANCK
    239 #pragma define_template NOMAdapter_Image<int_2>
    240 #pragma define_template NTupInt_Image<int_2>
    241 #endif
    242210#endif
    243211#if defined(ANSI_TEMPLATES) || defined(__ANSI_TEMPLATES__) || defined(__GNU_TEMPLATES__)
     
    250218template class NTupInt_Image<r_4>;
    251219template class NTupInt_Image<r_8>;
    252 #ifdef SANS_EVOLPLANCK
    253 template class NOMAdapter_Image<int_2>;
    254 template class NTupInt_Image<int_2>;
    255220#endif
    256 #endif
    257 
    258 
     221
     222
  • trunk/SophyaPI/PIext/nomtarradapter.cc

    r3528 r3572  
    193193    return 1;
    194194  }
     195
     196  return 0;
    195197}
    196198
  • trunk/SophyaPI/PIext/objlist.list

    r3218 r3572  
    2222pigfd1.o
    2323pigfd2.o
     24pihisto2d.o
    2425pihisto.o
    25 pihisto2d.o
    2626piinit.o
    2727pintup3d.o
  • trunk/SophyaPI/PIext/pawexecut.cc

    r3551 r3572  
    2323#include "pihisto.h"
    2424
    25 #ifdef SANS_EVOLPLANCK
    26 #include "cvector.h"
    27 #include "matrix.h"
    28 #else
    2925#include "tmatrix.h"
    3026#include "tvector.h"
    31 #endif
    3227
    3328/* Reza + cmv  13/10/99 */
     
    421416string ctyp = typeid(*mobj).name();
    422417
    423 #ifdef SANS_EVOLPLANCK
    424 if(typeid(*mobj)==typeid(Vector))       {Vector*  ob=(Vector*) mobj; ob->Zero();}
    425 else if(typeid(*mobj)==typeid(Matrix))  {Matrix*  ob=(Matrix*) mobj; ob->Zero();}
    426 #else
    427418 if(typeid(*mobj)==typeid(Vector))       {Vector*  ob=(Vector*) mobj; (*ob) = 0.; }
    428419// ob->DataBlock().Reset(0.);}
    429420 else if(typeid(*mobj)==typeid(Matrix))   {Matrix*  ob=(Matrix*) mobj; (*ob) = 0.; }
    430421//ob->DataBlock().Reset(0.);}
    431 #endif
    432422else if(typeid(*mobj)==typeid(Histo))    {Histo* ob=(Histo*)  mobj; ob->Zero();}
    433423else if(typeid(*mobj)==typeid(HProf))    {HProf* ob=(HProf*)  mobj; ob->Zero();}
     
    701691  }
    702692}   // fin du try
    703 #ifdef SANS_EVOLPLANCK
    704 CATCH(merr) {
    705   fflush(stdout); cout<<endl; cerr<<endl;
    706   string es = PeidaExc(merr);
    707   cerr<<"Services2NObjMgr::ComputeExpressions()  Exception :"<<merr<<es;
    708 } ENDTRY;
    709 #else
    710693catch ( PException exc ) {
    711694  fflush(stdout); cout<<endl; cerr<<endl;
    712695  cerr<<"Services2NObjMgr::ComputeExpressions()  Exception :"<<exc.Msg()<<endl;
    713696}
    714 #endif
    715697
    716698if(adel) delete objnt;
     
    13801362r_8 norm=-1.;
    13811363if(tokens.size()>=2) norm = atof(tokens[1].c_str());
    1382 #ifdef SANS_EVOLPLANCK
    1383 Vector* v = dynamic_cast<Vector*>(mobj);
    1384 #else
     1364
    13851365TVector<r_8>* v = dynamic_cast<TVector<r_8>*>(mobj);
    1386 #endif
    13871366
    13881367if(!v)
     
    13901369  return;}
    13911370
    1392 #ifdef SANS_EVOLPLANCK
    1393 uint_4 n = v->NElts();
    1394 #else
    13951371uint_4 n = v->Size();
    1396 #endif
    13971372
    13981373if(n==0)
     
    15071482if(tokens.size()>=2) deriv_option = atoi(tokens[1].c_str());
    15081483
    1509 #ifdef SANS_EVOLPLANCK
    1510 Vector* v = dynamic_cast<Vector*>(mobj);
    1511 #else
    15121484TVector<r_8>* v = dynamic_cast<TVector<r_8>*>(mobj);
    1513 #endif
    15141485
    15151486if(!v)
     
    15171488  return;}
    15181489
    1519 
    1520 #ifdef SANS_EVOLPLANCK
    1521 uint_4 n = v->NElts();
    1522 #else
    15231490uint_4 n = v->Size();
    1524 #endif
    15251491
    15261492if(n==0)
     
    15291495if(n<=1) return;
    15301496
    1531 #ifdef SANS_EVOLPLANCK
    1532 Vector vsave(*v);
    1533 #else
    15341497TVector<r_8> vsave(*v,false);
    1535 #endif
    15361498
    15371499if(deriv_option<0) {
     
    17421704  Vector* h3 = NULL;
    17431705  if( mobjh3 == NULL ) {  // l'objet n'existe pas, on le cree
    1744 #ifdef SANS_EVOLPLANCK
    1745     h3 = new Vector(*h1);
    1746 #else
    17471706    h3 = new Vector(*h1,false);
    1748 #endif
    17491707    *h3 = 0.; omg.AddObj(h3,h3name); mobjh3 = omg.GetObj(h3name);
    17501708  }
     
    17581716  if( oper[0]=='+')      *h3 = *h1 + *h2;
    17591717  else if( oper[0]=='-') *h3 = *h1 - *h2;
    1760 #ifdef SANS_EVOLPLANCK
    1761   else if(oper[0]=='*' || oper[0]=='/')
    1762     cout<<"PAWExecutor::h_oper Error: operation "<<oper[0]
    1763         <<" not implemented for Vector in Peida"<<endl;
    1764 #else
    17651718  else if( oper[0]=='*') {h3->Clone(*h1); h3->MulElt(*h2,*h3);}
    17661719  else if( oper[0]=='/') {h3->Clone(*h1); h3->DivElt(*h2,*h3,false,true);}
    1767 #endif
    17681720
    17691721// Operations on Matrix
     
    17811733  Matrix* h3 = NULL;
    17821734  if( mobjh3 == NULL ) {  // l'objet n'existe pas, on le cree
    1783 #ifdef SANS_EVOLPLANCK
    1784     h3 = new Matrix(*h1);
    1785 #else
    17861735    h3 = new Matrix(*h1,false);
    1787 #endif
    17881736    *h3 = 0.; omg.AddObj(h3,h3name); mobjh3 = omg.GetObj(h3name);
    17891737  }
     
    17981746  if( oper[0]=='+')      *h3 = *h1 + *h2;
    17991747  else if( oper[0]=='-') *h3 = *h1 - *h2;
    1800 #ifdef SANS_EVOLPLANCK
    1801   else if(oper[0]=='*' || oper[0]=='/')
    1802     cout<<"PAWExecutor::h_oper Error: operation "<<oper[0]
    1803         <<" not implemented for Vector in Peida"<<endl;
    1804 #else
    18051748  else if( oper[0]=='*') {h3->Clone(*h1); h3->MulElt(*h2,*h3);}
    18061749  else if( oper[0]=='/') {h3->Clone(*h1); h3->DivElt(*h2,*h3,false,true);}
    1807 #endif
    18081750
    18091751// Doesn't work for other objects
  • trunk/SophyaPI/PIext/piacmd.cc

    r3374 r3572  
    1212#include "strutilxx.h"
    1313// #include "dlftypes.h"
    14 #ifdef SANS_EVOLPLANCK
    15 #include "nbrandom.h"
    16 #else
    1714#include "srandgen.h"
    18 #endif
    1915
    2016#include "pistdimgapp.h"
  • trunk/SophyaPI/PIext/piafitting.cc

    r2815 r3572  
    2525#include "hisprof.h"
    2626
    27 #ifdef SANS_EVOLPLANCK
    28 #include "matrix.h"
    29 #include "cvector.h"
    30 #else
    3127#include "tmatrix.h"
    3228#include "tvector.h"
    3329#include "objfitter.h"
    34 #endif
    3530
    3631#include "piafitting.h"
     
    4237#include "nomgfdadapter.h"
    4338#include "nomimagadapter.h"
    44 #ifdef SANS_EVOLPLANCK
    45 #include "nommatvecadapter.h"
    46 #else
    4739#include "nomtmatvecadapter.h"
    48 #endif
    4940
    5041////////////////////////////////////////////////////////////////////
     
    854845
    855846// Fit
    856 #ifdef SANS_EVOLPLANCK
    857 mParSave = mPar; mStepSave = mStep; mFixSave = mFix;
    858 mMinSave = mMin; mMaxSave = mMax;
    859 #else
    860847mParSave.Clone(mPar); mStepSave.Clone(mStep); mFixSave.Clone(mFix);
    861848mMinSave.Clone(mMin); mMaxSave.Clone(mMax);
    862 #endif
    863849mOptSave = mOpt;
    864850double c2r = -1.;
     
    12181204, saveErrScale(1.),saveErrMin(0.), saveXC(0.), saveYC(0.)
    12191205{
    1220 #ifdef SANS_EVOLPLANCK
    1221 COMPATIBLE_ASSERT(mFitter);
    1222 #else
    12231206ASSERT(mFitter);
    1224 #endif
    12251207
    12261208int npar = mFitter->mNPar;
  • trunk/SophyaPI/PIext/piafitting.h

    r2815 r3572  
    2121class PIAFitterWind;
    2222
    23 #ifdef SANS_EVOLPLANCK
    24 #include "cvector.h"
    25 class GeneralFunction; class GeneralFunc; class GeneralFit;
    26 class GeneralFitData;
    27 #else
    2823#include "tvector.h"
    2924namespace SOPHYA {
     
    3126class GeneralFitData;
    3227}
    33 #endif
    3428
    3529class PIAFitter : public CmdExecutor {
  • trunk/SophyaPI/PIext/piinit.cc

    r3528 r3572  
    1111#include "nomimagadapter.h"
    1212
    13 #ifdef SANS_EVOLPLANCK
    14 #include "nommatvecadapter.h"
    15 #include "fitsimage.h"
    16 #include "nomstladapter.h"
    17 #else
    1813#include <complex>
    1914#include "nomtmatvecadapter.h"
     
    3530#include "piaversion.h"
    3631
    37 #endif
    3832
    3933int PIAppInitiator::FgInit = 0;
    4034
    4135PIAppInitiator::PIAppInitiator(PIStdImgApp * app)
    42 #ifdef SANS_EVOLPLANCK
    43  : PeidaStarRecoInitiator()
    44 #else
    4536 : SambaInitiator()
    46 #endif
    4737{
    4838  FgInit++;
     
    6353  serv->RegisterClass(new DataTable, new NOMAdapter_DataTable );
    6454  serv->RegisterClass(new SwPPFDataTable, new NOMAdapter_DataTable );
    65   char* varenv=NULL;
    66   if ( (varenv=getenv("PEIDA_TMP")) == NULL )   varenv=getenv("TMPDIR") ;
    67   if (varenv)  XNTuple::SetSwapPath(varenv);
    6855
    6956  serv->RegisterClass(new GeneralFitData, new NOMAdapter_GeneralFitData );
    7057
    71 #ifdef SANS_EVOLPLANCK
    72   serv->RegisterClass(new Vector, new NOMAdapter_Vector );
    73   serv->RegisterClass(new Matrix, new NOMAdapter_Matrix );
    74 #else
    7558//  Octobre 2008 : prise en charge tableaux/matrice/vecteurs en uint_4 uint_8
    7659  serv->RegisterClass(new TArray<uint_2>, new NOMAdapter_TArray<uint_2> );
     
    10588  serv->RegisterClass(new TVector<complex<r_8> >, new NOMAdapter_TMatrix<complex<r_8> > );
    10689  serv->RegisterClass(new TMatrix<complex<r_8> >, new NOMAdapter_TMatrix<complex<r_8> > );
    107 #endif
    10890
    10991  /*  Avril 2007 : Prise en charge des images par NOMAdapter_TMatrix  au lieu de
     
    120102  serv->RegisterClass(new Image<complex<r_8> >, new NOMAdapter_TMatrix<complex<r_8> > );
    121103
    122 #ifdef SANS_EVOLPLANCK
    123   serv->RegisterClass(new Image<uint_2>, new  NOMAdapter_Image<uint_2> );
    124   serv->RegisterClass(new Image<int_2>, new  NOMAdapter_Image<int_2> );
    125   serv->RegisterClass(new Image<int_4>, new  NOMAdapter_Image<int_4> );
    126   serv->RegisterClass(new Image<r_4>, new  NOMAdapter_Image<r_4> );
    127   serv->RegisterClass(new Image<r_8>, new  NOMAdapter_Image<r_8> );
    128 
    129   serv->RegisterClass(new FitsImage<uint_2>, new  NOMAdapter_Image<uint_2> );
    130   serv->RegisterClass(new FitsImage<int_2>, new  NOMAdapter_Image<int_2> );
    131   serv->RegisterClass(new FitsImage<int_4>, new  NOMAdapter_Image<int_4> );
    132   serv->RegisterClass(new FitsImage<r_4>, new  NOMAdapter_Image<r_4> );
    133 
    134   serv->RegisterClass(new StarList, new NOMAdapter_StarList );
    135 #else
    136104  serv->RegisterClass(new LocalMap<int_4>, new NOMAdapter_PixelMap<int_4> );
    137105  serv->RegisterClass(new SphereThetaPhi<int_4>, new NOMAdapter_PixelMap<int_4> );
     
    159127
    160128  SophyaInitiator::RegisterModule("PIext/piapp", PIAPP_VERSIONNUMBER);
    161 #endif 
    162129}
    163130
  • trunk/SophyaPI/PIext/piinit.h

    r779 r3572  
    1212// Classe d initialisation pour le module PIext de PEIDA
    1313
    14 #ifdef SANS_EVOLPLANCK
    15 class PIAppInitiator : public PeidaStarRecoInitiator {
    16 #else
    1714class PIAppInitiator : public SambaInitiator {
    18 #endif
    1915private:
    2016  static int FgInit;
  • trunk/SophyaPI/PIext/pimgadapter.h

    r3520 r3572  
    55#include "parradapter.h"
    66
    7 #ifdef SANS_EVOLPLANCK
    8 class RzImageAdapter : public P2DArrayAdapter {
    9 public:
    10                   RzImageAdapter(RzImage* rzi, bool ad=false) :
    11                     P2DArrayAdapter(rzi->XSize(), rzi->YSize())
    12                     { aDel = ad; mImg = rzi;
    13                     DefineXYCoordinates(rzi->XOrg(), rzi->YOrg(), 1., 1. ); }
    14 
    15   virtual         ~RzImageAdapter() { if (aDel) delete mImg; }
    16   virtual double  Value(int ix, int iy) { return mImg->FValue(ix, iy); }
    17 
    18 protected :
    19   bool aDel;
    20   RzImage* mImg;
    21 };
    22 #endif
    237
    248template <class T>
  • trunk/SophyaPI/PIext/pipodrw.cc

    r3145 r3572  
    5656
    5757
    58 #ifdef SANS_EVOLPLANCK
    5958
    60 // ----------------------------------------------------------
    61 // Adaptateur de vecteurs Peida++ a P1DArrayAdapter
    62 // ----------------------------------------------------------
    63 
    64 /* --Methode-- */
    65 POVectorAdapter::POVectorAdapter(Vector* v, bool ad)
    66         : P1DArrayAdapter(v->NElts())
    67 {
    68 aDel = ad; mVec = v;
    69 }
    70 
    71 /* --Methode-- */
    72 POVectorAdapter::~POVectorAdapter()
    73 {
    74 if (aDel) delete mVec;
    75 }
    76 
    77 /* --Methode-- */
    78 double POVectorAdapter::Value(int i)
    79 {
    80 return((*mVec)(i));
    81 }
    82 
    83 ------- FIN SUPPRESSION */
    84 
    85 // ----------------------------------------------------------
    86 // Adaptateur de matrice Peida++ a P2DArrayAdapter
    87 // Attention  Y: Lignes (rows)  X: Colonnes
    88 // ----------------------------------------------------------
    89 
    90 /* --Methode-- */
    91 POMatrixAdapter::POMatrixAdapter(Matrix* mtx, bool ad)
    92         : P2DArrayAdapter(mtx->NCol(), mtx->NRows())
    93 {
    94 aDel = ad; mMtx = mtx;
    95 }
    96 
    97 /* --Methode-- */
    98 POMatrixAdapter::~POMatrixAdapter()
    99 {
    100 if (aDel)  delete mMtx;
    101 }
    102 
    103 /* --Methode-- */
    104 double POMatrixAdapter::Value(int ix, int iy)
    105 {
    106 // Attention MatrixAdapter(X=Colonne, Y= Row) = Matrix(row, col) 
    107 return((*mMtx)(iy, ix));
    108 }
    109 
    110 #endif   // SANS_EVOLPLANCK
    111 
  • trunk/SophyaPI/PIext/pipodrw.h

    r3145 r3572  
    1313#include "hist2err.h"
    1414
    15 #ifdef SANS_EVOLPLANCK
    16 class GeneralFunction;
    17 #else
    1815namespace SOPHYA {class GeneralFunction;}
    19 #endif
    2016
    2117class PIGFFDrawer : public PIDrawer {
     
    3430
    3531
    36 #ifdef SANS_EVOLPLANCK
    37 #include "cvector.h"
    38 #include "matrix.h"
    39 
    40 // Adaptateur de vecteurs Peida++ a P1DArrayAdapter
    41 class POVectorAdapter : public P1DArrayAdapter {
    42 public :
    43                   POVectorAdapter(Vector* v, bool ad=false);
    44   virtual         ~POVectorAdapter();
    45   virtual double  Value(int i);
    46 
    47 protected:
    48   bool aDel;
    49   Vector* mVec;
    50 };
    51 
    52 // Adaptateur de matrice Peida++ a P2DArrayAdapter
    53 // Attention MatrixAdapter(X=Colonne, Y= Row) = Matrix(row, col) 
    54 class POMatrixAdapter :  public P2DArrayAdapter {
    55 public :
    56                   POMatrixAdapter(Matrix* mtx, bool ad=false);
    57   virtual         ~POMatrixAdapter();
    58 
    59   virtual double  Value(int ix, int iy);   
    60 
    61 protected:
    62   bool aDel;
    63   Matrix* mMtx;
    64 };
    65 
    66 #endif   // SANS_EVOLPLANCK
    67 
    6832#endif
  • trunk/SophyaPI/PIext/pisiadw.cc

    r3374 r3572  
    244244
    245245bool ok = true;
    246 #ifdef SANS_EVOLPLANCK
    247 TRY {
    248   mPin = new PInPersist(flnm);
    249 }  CATCH(merr)
    250   { printf("ObjMgrWind::SetFile Exception= %ld (%s) \n", (long)merr, PeidaExc(merr));
    251   ok = false; } ENDTRY;
    252 #else
    253246try {
    254247  mPin = new PInPersist(flnm);
     
    258251  ok = false;
    259252  }
    260 #endif
    261253
    262254if (!ok) { mPin = NULL;  dap->SetReady(); return; }
    263255
    264256int nbtags = 0;
    265 #ifdef SANS_EVOLPLANCK
    266 nbtags = mPin->NbTags();
    267 #else
    268257nbtags = mPin->NbNameTags();
    269 #endif
    270258
    271259if (nbtags < 1) {
     
    282270objlist->SetBorderWidth(2);
    283271
    284 
    285 #ifdef SANS_EVOLPLANCK
    286 for(i=0; i<mPin->NbTags(); i++) {
    287   key = mPin->TagKey(i, cid, ln);  // $CHECK$ non-const & reference initialized to temporary, car int -> long&
    288   if (ln <= 0)  nom = "?";
    289   else { strncpy(noms, mPin->TagName(i).c_str(), 31);  noms[31] = '\0'; nom = noms; }
    290   sprintf(strg, "%s  (T=%s, Key=%d)",  nom, dap->ObjMgr()->GetServiceObj()->PClassIdToClassName(cid), key);
    291   //  sprintf(strg, "%s  (T=%s, Key=%d)",  nom, " DataObject ?", key);  Attention SANS_EVOLPLANCK
    292   objlist->AppendItem(strg, 5000+i);
    293 }
    294 #else
    295272string tn;
    296273for(i=0; i<mPin->NbNameTags(); i++) {
     
    298275  objlist->AppendItem(tn.c_str(), 5000+i);
    299276}
    300 #endif
    301277
    302278}
  • trunk/SophyaPI/PIext/pistdimgapp.cc

    r3431 r3572  
    102102m[0]->AppendItem("Open-Fits", 10120);
    103103m[0]->AppendItem("Open-PPF", 10130);
    104 #ifndef SANS_EVOLPLANCK
    105104m[0]->AppendItem("Open-ASCII", 10140);
    106 #endif
    107105// m[0]->AppendItem("Options", 10101);
    108106m[0]->AppendItem("Help", 10100);
     
    316314glst_piai = new PIAppInitiator(this);
    317315
    318 char buff[128];
    319316mCons->AddStr("  ............  starting piapp .............\n", PIVA_Blue );
    320 #ifdef SANS_EVOLPLANCK
    321 sprintf(buff, "Version: piapp=%g  PI=%g  PEIDA=%g \n", (double)PIAPP_VERSIONNUMBER,
    322               (double)PI_VERSIONNUMBER, (float)PeidaVersion());
    323 mCons->AddStr(buff, PIVA_Blue );
    324 #else
    325317string svers;
    326318SophyaInitiator::GetVersion(svers);
    327319mCons->AddStr(svers.c_str(), PIVA_Blue );
    328 #endif
    329320mCons->AddStr("  ..........................................\n", PIVA_Blue );
    330321// PrintPeidaVersion();
     
    539530if  ((GetState()) && (msg != mFCMsg)) { PIBeep(); return; }
    540531
    541 #ifdef SANS_EVOLPLANCK
    542   TRY {
    543 #else
    544   try {
    545 #endif
     532try {
    546533
    547534//   Messages active-window
     
    628615  mCons->AddChar('\n', PIVA_Def, true);
    629616  SetBusy();
    630 #ifdef SANS_EVOLPLANCK
    631   TRY {
    632     mCmd->Interpret(s);
    633     }  CATCH(merr) {
    634     fflush(stdout);
    635     cout << endl;
    636     cerr << endl;
    637     string es = PeidaExc(merr);
    638     cerr << "PIStdImgApp::Process()/ Cmd->Do() Exception :" << es << " (" << merr << ")" << endl ;
    639     }
    640 #else
    641617  try {
    642618    //    mCmd->Interpret(s);
     
    655631  }
    656632
    657 #endif
    658633  SetReady();
    659634  }
     
    662637            (int)tmsg,(int)msg,(int)smm);
    663638
    664 #ifdef SANS_EVOLPLANCK
    665 }  CATCH(merr) {
    666   fflush(stdout);
    667   cout << endl;
    668   cerr << endl;
    669   string es = PeidaExc(merr);
    670   cerr << "PIStdImgApp::Process()/  Exception :" << es << " (" << merr << ")" << endl ;
    671   SetReady();
    672   }
    673 #else
    674639  }
    675640  catch ( PThrowable & exc ) {
     
    690655  }
    691656
    692 #endif
    693657
    694658return;
     
    17811745void PIStdImgApp::CatchSignals(bool fgfpe, bool fgsegv)
    17821746{   
    1783 #ifdef SANS_EVOLPLANCK
    1784 PeidaConfigureSignalhandling(fgfpe, fgsegv, true, true); 
    1785 #else
    17861747// On active aussi SIGUSR1 pour stopthr
    17871748SophyaConfigureSignalhandling(fgfpe, fgsegv, true, true); 
    1788 #endif
    17891749m[5]->SetStateMsg(10603, fgfpe);
    17901750m[5]->SetStateMsg(10604, fgsegv);
     
    19531913      break;
    19541914       
    1955 #ifndef SANS_EVOLPLANCK
    19561915    case 10140 :
    19571916      pfc_ascii->AcceptNewFile(false);
     
    19881947      SetReady();
    19891948      break;
    1990 #endif
    19911949
    19921950    case 10105:
     
    23962354string info = "piapp : Interactive analysis program\n";
    23972355char buff[128];
    2398 #ifdef SANS_EVOLPLANCK
    2399 sprintf(buff, "Version: piapp=%g  PI=%g  PEIDA=%g \n", (double)PIAPP_VERSIONNUMBER,
    2400               (double)PI_VERSIONNUMBER, (float)PeidaVersion());
    2401 info += buff;
    2402 #else
     2356
    24032357string svers;
    24042358SophyaInitiator::GetVersion(svers);
     
    24072361        (double)PIAPP_VERSIONNUMBER);
    24082362info += buff;
    2409 #endif
    2410 info += "(C) LAL-IN2P3/CNRS  1996-2006\n";
    2411 info += "(C) SPP-DAPNIA/CEA 1996-2006\n";
    2412 #ifndef SANS_EVOLPLANCK
    2413  info += "Check http://www.sophya.org for more information";
    2414 #endif
     2363
     2364info += "(C) LAL-IN2P3/CNRS  1996-2009\n";
     2365info += "(C) SPP-DAPNIA/CEA 1996-2009\n";
     2366info += "Check http://www.sophya.org for more information";
     2367
    24152368infow_txt->SetText(info);
    24162369}
  • trunk/SophyaPI/PIext/servnobjm.cc

    r3435 r3572  
    2020#include "fct2dfit.h"
    2121
    22 #ifdef SANS_EVOLPLANCK
    23 #include "matrix.h"
    24 #include "cvector.h"
    25 #else
    2622#include "tmatrix.h"
    2723#include "tvector.h"
    2824#include "matharr.h"
    2925#include "pitvmaad.h"
    30 #endif
    3126
    3227#include "ntuple.h"
     
    7065ObjAdaptList::iterator it;
    7166for(it = objadaplist.begin(); it != objadaplist.end(); it++)
    72 #ifdef SANS_EVOLPLANCK
    73     if (typeid(*o) == typeid(*((*it).obj)))  THROW(dupIdErr);
    74 #else
    75     if (typeid(*o) == typeid(*((*it).obj))) 
     67  if (typeid(*o) == typeid(*((*it).obj))) 
    7668     throw(DuplicateIdExc("Services2NObjMgr::RegisterClass() - Duplicate class"));
    77 #endif
     69
    7870dataobj_adapter oba;
    7971oba.obj = o;
     
    215207  for(k=0; k<np; k++) { xx = xmin+dx*k; (*vpy)(k) = f(xx); }
    216208}
    217 #ifdef SANS_EVOLPLANCK
    218 CATCH(merr) {
    219   fflush(stdout);
    220   cout << endl;
    221   cerr << endl;
    222   string es = PeidaExc(merr);
    223   cerr << "Services2NObjMgr::PlotFunc()  Exception :" << merr << es;
    224   delete vpy;
    225   vpy = NULL;
    226   } ENDTRY;
    227 #else
    228209catch ( PException exc ) {
    229210  fflush(stdout);
     
    234215  vpy = NULL;
    235216}
    236 #endif
    237217
    238218if (vpy) {
     
    286266  }
    287267}
    288 #ifdef SANS_EVOLPLANCK
    289 CATCH(merr) {
    290   fflush(stdout);
    291   cout << endl;
    292   cerr << endl;
    293   string es = PeidaExc(merr);
    294   cerr << "Services2NObjMgr::PlotFunc2D()  Exception :" << merr << es;
    295   delete mtx;  mtx = NULL;
    296   } ENDTRY;
    297 #else
    298268catch ( PException exc ) {
    299269  fflush(stdout);
     
    303273  delete mtx;  mtx = NULL;
    304274}
    305 #endif
    306275
    307276if (mtx) {
     
    348317 DVList::ValList::const_iterator it;
    349318 for(it = varlist.Begin(); it != varlist.End(); it++) {
    350 #ifdef SANS_EVOLPLANCK
    351    MuTyV mtv = (*it).second;
    352    double value = (double)(mtv);
    353 #else
    354319   double value = (double)((*it).second.elval);
    355 #endif
    356320   string name_var = (*it).first;
    357321   fprintf(fip,"double %s = %.17f;\n",name_var.c_str(),value);
     
    408372
    409373// Creation NTuple
    410 char* ntn[4] = {"expx","expy","expex","expey",};
     374const char* ntn[4] = {"expx","expy","expex","expey",};
    411375NTuple* nt = NULL;
    412376bool haserr = false;
     
    447411if (!mImgapp)  return;
    448412
    449 char* ntn[3] = {"expx","expy","expz"};
     413const char* ntn[3] = {"expx","expy","expz"};
    450414NTuple* nt = new NTuple(3,ntn);  // Creation NTuple
    451415
     
    486450if (!mImgapp)  return;
    487451
    488 char* ntn[3] = {"expx","expy","expw"};
     452const char* ntn[3] = {"expx","expy","expw"};
    489453NTuple* nt = new NTuple(3,ntn);  // Creation NTuple
    490454
     
    520484if (!mImgapp)  return;
    521485
    522 char* ntn[4] = {"expx","expy","expz","expw"};
     486const char* ntn[4] = {"expx","expy","expz","expw"};
    523487NTuple* nt = new NTuple(4,ntn);  // Creation NTuple
    524488
     
    571535  // Pas de remise a zero ! h1->Zero();
    572536} else {
    573   char* ntn[2]= {"hxval", "hwt"};
     537  const char* ntn[2]= {"hxval", "hwt"};
    574538  nt = new NTuple(2,ntn);  // Creation NTuple
    575539}
     
    624588  // Pas de remise a zero ! h2->Zero();
    625589} else {
    626   char* ntn[3]= {"hxval", "hyval", "hwt"};
     590  const char* ntn[3]= {"hxval", "hyval", "hwt"};
    627591  nt = new NTuple(3,ntn);  // Creation NTuple
    628592}
     
    688652  hp_already_exist = true;
    689653} else {
    690   char* ntn[3]= {"hxval", "hyval", "hwt"};
     654  const char* ntn[3]= {"hxval", "hyval", "hwt"};
    691655  nt = new NTuple(3,ntn);  // Creation NTuple
    692656}
     
    741705  }
    742706
    743 char* ntn[2]= {"vi", "vv"};
     707const char* ntn[2]= {"vi", "vv"};
    744708NTuple* nt = new NTuple(2,ntn);  // Creation NTuple
    745709
     
    790754  }
    791755
    792 char* ntn[3]= {"mi", "mj", "mv"};
     756const char* ntn[3]= {"mi", "mj", "mv"};
    793757NTuple* nt = new NTuple(3,ntn);  // Creation NTuple
    794758
     
    836800// if (nomvec.length() < 1) nomvec = "/tmp/expvec";
    837801
    838 char* ntn[2]= {"vecval", "vecwt"};
     802const char* ntn[2]= {"vecval", "vecwt"};
    839803nt = new NTuple(1,ntn);  // Creation NTuple
    840804 
     
    933897  } 
    934898if (nt == NULL) {
    935   char* ntn[4]= {"x", "y","z","t"};
     899  const char* ntn[4]= {"x", "y","z","t"};
    936900  nt = new NTuple(4,ntn);  // Creation NTuple
    937901  fgnnt = true;
     
    987951    } 
    988952  if (nt == NULL) {
    989     char* ntn[4]= {"x", "y","z","t"};
     953    const char* ntn[4]= {"x", "y","z","t"};
    990954    nt = new NTuple(4,ntn);  // Creation NTuple
    991955    fgnnt = true;
     
    1016980    }
    1017981 }
    1018 #ifdef SANS_EVOLPLANCK
    1019 CATCH(merr) {
    1020   fflush(stdout);
    1021   cout << endl;
    1022   cerr << endl;
    1023   string es = PeidaExc(merr);
    1024   cerr << "Services2NObjMgr::FillNTFrCFile()  Exception :" << merr << es;
    1025   } ENDTRY;
    1026 #else
    1027982catch ( PException exc ) {
    1028983  fflush(stdout);
     
    1031986  cerr << "Services2NObjMgr::FillNTFrCFile()  Exception :" << exc.Msg() << endl;
    1032987}
    1033 #endif
    1034988
    1035989if (adel) delete objnt;   // Delete de l'objet NTupleInterface si necessaire
     
    11541108
    11551109// Creation NTuple Buffer
    1156 char* ntn[4]= {"x","y","f","e"};
     1110const char* ntn[4]= {"x","y","f","e"};
    11571111NTuple*nt = new NTuple(4,ntn);
    11581112
     
    13011255    }
    13021256 }
    1303 #ifdef SANS_EVOLPLANCK
    1304 CATCH(merr) {
    1305   fflush(stdout);
    1306   cout << endl;
    1307   cerr << endl;
    1308   string es = PeidaExc(merr);
    1309   cerr << "Services2NObjMgr::ComputeExpressions()  Exception :" << merr << es;
    1310   } ENDTRY;
    1311 #else
    13121257catch ( PException exc ) {
    13131258  fflush(stdout);
     
    13161261  cerr << "Services2NObjMgr::ComputeExpressions()  Exception :" << exc.Msg() << endl;
    13171262}
    1318 #endif
    13191263
    13201264if (adel) delete objnt;  // Delete de l'objet NTupleInterface si necessaire
     
    14731417
    14741418
    1475 
    1476 
    1477 // SANS_EVOLPLANCK     Attention !
    1478 #ifdef SANS_EVOLPLANCK
    1479 #include "pclassids.h"
    1480 
    1481 /* --Methode-- */
    1482 char* Services2NObjMgr::PClassIdToClassName(int cid)
    1483 {
    1484 switch (cid) {
    1485   case ClassId_Poly1 :
    1486     return("Poly1");
    1487   case ClassId_Poly2 :
    1488     return("Poly2");
    1489   case ClassId_Matrix :
    1490     return("Matrix");
    1491   case ClassId_Vector :
    1492     return("Vector");
    1493 
    1494   case ClassId_DVList :
    1495     return("DVList");
    1496 
    1497   case ClassId_Histo1D :
    1498     return("Histo1D");
    1499   case ClassId_Histo2D :
    1500     return("Histo2D");
    1501   case ClassId_HProf :
    1502     return("HProf");
    1503   case ClassId_HistoErr :
    1504     return("HistoErr");
    1505   case ClassId_NTuple :
    1506     return("NTuple");
    1507   case ClassId_XNTuple :
    1508     return("XNTuple");
    1509   case ClassId_GeneralFitData :
    1510     return("GeneralFitData");
    1511 
    1512   case ClassId_Image :
    1513     return("RzImage");
    1514   case ClassId_Image + kuint_1 :
    1515     return("ImageU1");
    1516   case ClassId_Image + kint_1 :
    1517     return("ImageI1");
    1518   case ClassId_Image + kuint_2 :
    1519     return("ImageU2");
    1520   case ClassId_Image + kint_2 :
    1521     return("ImageI2");
    1522   case ClassId_Image + kuint_4 :
    1523     return("ImageU4");
    1524   case ClassId_Image + kint_4 :
    1525     return("ImageI4");
    1526   case ClassId_Image + kr_4 :
    1527     return("ImageR4");
    1528   case ClassId_Image + kr_8 :
    1529     return("ImageR8");
    1530   case ClassId_ZFidu :
    1531     return("ZFidu");
    1532 
    1533   case ClassId_StarList :
    1534     return("StarList");
    1535   case ClassId_Transfo :
    1536     return("Transfo");
    1537   case ClassId_PSF :
    1538     return("PSF");
    1539 
    1540 
    1541 // - Ajout objet PPF
    1542   default:
     1419const char* Services2NObjMgr::PClassIdToClassName(int cid)
     1420{
    15431421    return("AnyDataObj");
    1544   }
    1545 
    1546 
    1547 #else
    1548 char* Services2NObjMgr::PClassIdToClassName(int cid)
    1549 {
    1550     return("AnyDataObj");
    1551 }
    1552 #endif
     1422}
  • trunk/SophyaPI/PIext/servnobjm.h

    r3279 r3572  
    2020#include "zthread.h"
    2121
    22 #ifdef SANS_EVOLPLANCK
    23 class NTuple;
    24 class Histo;
    25 class Histo2D;
    26 class HProf;
    27 #else
    2822namespace SOPHYA {
    2923class NTuple;
     
    3226class HProf;
    3327}
    34 #endif
    3528
    3629class PIStdImgApp;
     
    127120  static void   DecodeLoopParameters(string& loop, int_8& i1, int_8& i2, int_8& di);
    128121  string        FileName2Name(string const & fn);
    129   char*         PClassIdToClassName(int cid);
     122  const char*   PClassIdToClassName(int cid);
    130123
    131124protected:
  • trunk/SophyaPI/PIext/smakefile

    r3504 r3572  
    44 
    55clean:
    6          rm -f $(SOPHYAOBJP)basexecut.o $(SOPHYAOBJP)contmodex.o $(SOPHYAOBJP)cxxexecutor.o $(SOPHYAOBJP)cxxexecwin.o $(SOPHYAOBJP)flowmodex.o $(SOPHYAOBJP)graphexecut.o $(SOPHYAOBJP)nobjmgr.o $(SOPHYAOBJP)nomdvladapter.o $(SOPHYAOBJP)nomgadapter.o $(SOPHYAOBJP)nomgfdadapter.o $(SOPHYAOBJP)nomherradapter.o $(SOPHYAOBJP)nomhistadapter.o $(SOPHYAOBJP)nomimagadapter.o $(SOPHYAOBJP)nommatvecadapter.o $(SOPHYAOBJP)nomskymapadapter.o $(SOPHYAOBJP)nomspecrespadapter.o $(SOPHYAOBJP)nomstladapter.o $(SOPHYAOBJP)nomtarradapter.o $(SOPHYAOBJP)nomtmatvecadapter.o $(SOPHYAOBJP)pawexecut.o $(SOPHYAOBJP)pi2dvec.o $(SOPHYAOBJP)piacmd.o $(SOPHYAOBJP)piafitting.o $(SOPHYAOBJP)pigfd1.o $(SOPHYAOBJP)pigfd2.o $(SOPHYAOBJP)pihisto.o $(SOPHYAOBJP)pihisto2d.o $(SOPHYAOBJP)piinit.o $(SOPHYAOBJP)pintup3d.o $(SOPHYAOBJP)pintuple.o $(SOPHYAOBJP)pipodrw.o $(SOPHYAOBJP)pisiadw.o $(SOPHYAOBJP)pistdimgapp.o $(SOPHYAOBJP)pistlist.o $(SOPHYAOBJP)pitvmaad.o $(SOPHYAOBJP)servnobjm.o $(SOPHYAOBJP)userfitfunex.o
     6         rm -f $(SOPHYAOBJP)basexecut.o $(SOPHYAOBJP)contmodex.o $(SOPHYAOBJP)cxxexecutor.o $(SOPHYAOBJP)cxxexecwin.o $(SOPHYAOBJP)flowmodex.o $(SOPHYAOBJP)graphexecut.o $(SOPHYAOBJP)nobjmgr.o $(SOPHYAOBJP)nomdvladapter.o $(SOPHYAOBJP)nomgadapter.o $(SOPHYAOBJP)nomgfdadapter.o $(SOPHYAOBJP)nomherradapter.o $(SOPHYAOBJP)nomhistadapter.o $(SOPHYAOBJP)nomimagadapter.o $(SOPHYAOBJP)nomskymapadapter.o $(SOPHYAOBJP)nomspecrespadapter.o $(SOPHYAOBJP)nomtarradapter.o $(SOPHYAOBJP)nomtmatvecadapter.o $(SOPHYAOBJP)pawexecut.o $(SOPHYAOBJP)pi2dvec.o $(SOPHYAOBJP)piacmd.o $(SOPHYAOBJP)piafitting.o $(SOPHYAOBJP)pigfd1.o $(SOPHYAOBJP)pigfd2.o $(SOPHYAOBJP)pihisto.o $(SOPHYAOBJP)pihisto2d.o $(SOPHYAOBJP)piinit.o $(SOPHYAOBJP)pintup3d.o $(SOPHYAOBJP)pintuple.o $(SOPHYAOBJP)pipodrw.o $(SOPHYAOBJP)pisiadw.o $(SOPHYAOBJP)pistdimgapp.o $(SOPHYAOBJP)pistlist.o $(SOPHYAOBJP)pitvmaad.o $(SOPHYAOBJP)servnobjm.o $(SOPHYAOBJP)userfitfunex.o
    77        rm -f $(SOPHYALIBP)libPIext.a
    88 
     
    4242  $(SOPHYAINCP)piwdggen.h \
    4343  $(SOPHYAINCP)picolist.h \
     44  $(SOPHYAINCP)pipixutils.h \
    4445  $(SOPHYAINCP)pimenubarx.h \
    4546  $(SOPHYAINCP)pimenubargen.h \
     
    163164  $(SOPHYAINCP)piwdggen.h \
    164165  $(SOPHYAINCP)picolist.h \
     166  $(SOPHYAINCP)pipixutils.h \
    165167  $(SOPHYAINCP)pimenubarx.h \
    166168  $(SOPHYAINCP)pimenubargen.h \
     
    278280  $(SOPHYAINCP)pimsghandler.h \
    279281  $(SOPHYAINCP)picolist.h \
     282  $(SOPHYAINCP)pipixutils.h \
    280283  $(SOPHYAINCP)picmap.h \
    281284  $(SOPHYAINCP)picmapx.h \
     
    388391  $(SOPHYAINCP)piwdggen.h \
    389392  $(SOPHYAINCP)picolist.h \
     393  $(SOPHYAINCP)pipixutils.h \
    390394  $(SOPHYAINCP)pimenubarx.h \
    391395  $(SOPHYAINCP)pimenubargen.h \
     
    474478  $(SOPHYAINCP)piwdggen.h \
    475479  $(SOPHYAINCP)picolist.h \
     480  $(SOPHYAINCP)pipixutils.h \
    476481  $(SOPHYAINCP)pimenubarx.h \
    477482  $(SOPHYAINCP)pimenubargen.h \
     
    582587  $(SOPHYAINCP)piwdggen.h \
    583588  $(SOPHYAINCP)picolist.h \
     589  $(SOPHYAINCP)pipixutils.h \
    584590  $(SOPHYAINCP)pimenubarx.h \
    585591  $(SOPHYAINCP)pimenubargen.h \
     
    690696  $(SOPHYAINCP)pimsghandler.h \
    691697  $(SOPHYAINCP)picolist.h \
     698  $(SOPHYAINCP)pipixutils.h \
    692699  $(SOPHYAINCP)picmap.h \
    693700  $(SOPHYAINCP)picmapx.h \
     
    800807  $(SOPHYAINCP)pimsghandler.h \
    801808  $(SOPHYAINCP)picolist.h \
     809  $(SOPHYAINCP)pipixutils.h \
    802810  $(SOPHYAINCP)picmap.h \
    803811  $(SOPHYAINCP)picmapx.h \
     
    861869  $(SOPHYAINCP)pimsghandler.h \
    862870  $(SOPHYAINCP)picolist.h \
     871  $(SOPHYAINCP)pipixutils.h \
    863872  $(SOPHYAINCP)picmap.h \
    864873  $(SOPHYAINCP)picmapx.h \
     
    921930  $(SOPHYAINCP)pimsghandler.h \
    922931  $(SOPHYAINCP)picolist.h \
     932  $(SOPHYAINCP)pipixutils.h \
    923933  $(SOPHYAINCP)picmap.h \
    924934  $(SOPHYAINCP)picmapx.h \
     
    9901000  $(SOPHYAINCP)pimsghandler.h \
    9911001  $(SOPHYAINCP)picolist.h \
     1002  $(SOPHYAINCP)pipixutils.h \
    9921003  $(SOPHYAINCP)picmap.h \
    9931004  $(SOPHYAINCP)picmapx.h \
     
    10871098  $(SOPHYAINCP)pimsghandler.h \
    10881099  $(SOPHYAINCP)picolist.h \
     1100  $(SOPHYAINCP)pipixutils.h \
    10891101  $(SOPHYAINCP)picmap.h \
    10901102  $(SOPHYAINCP)picmapx.h \
     
    11311143  $(SOPHYAINCP)hisprof.h \
    11321144  $(SOPHYAINCP)ntuple.h \
    1133   $(SOPHYAINCP)xntuple.h \
    11341145  $(SOPHYAINCP)basedtable.h \
    11351146  $(SOPHYAINCP)segdatablock.h \
     
    11961207  $(SOPHYAINCP)pimsghandler.h \
    11971208  $(SOPHYAINCP)picolist.h \
     1209  $(SOPHYAINCP)pipixutils.h \
    11981210  $(SOPHYAINCP)picmap.h \
    11991211  $(SOPHYAINCP)picmapx.h \
     
    12651277  $(SOPHYAINCP)pimsghandler.h \
    12661278  $(SOPHYAINCP)picolist.h \
     1279  $(SOPHYAINCP)pipixutils.h \
    12671280  $(SOPHYAINCP)picmap.h \
    12681281  $(SOPHYAINCP)picmapx.h \
     
    13481361  $(SOPHYAINCP)pimsghandler.h \
    13491362  $(SOPHYAINCP)picolist.h \
     1363  $(SOPHYAINCP)pipixutils.h \
    13501364  $(SOPHYAINCP)picmap.h \
    13511365  $(SOPHYAINCP)picmapx.h \
     
    14131427  $(SOPHYAINCP)pimsghandler.h \
    14141428  $(SOPHYAINCP)picolist.h \
     1429  $(SOPHYAINCP)pipixutils.h \
    14151430  $(SOPHYAINCP)picmap.h \
    14161431  $(SOPHYAINCP)picmapx.h \
     
    15111526  $(SOPHYAINCP)pimsghandler.h \
    15121527  $(SOPHYAINCP)picolist.h \
     1528  $(SOPHYAINCP)pipixutils.h \
    15131529  $(SOPHYAINCP)picmap.h \
    15141530  $(SOPHYAINCP)picmapx.h \
     
    15941610  $(SOPHYAINCP)pimsghandler.h \
    15951611  $(SOPHYAINCP)picolist.h \
     1612  $(SOPHYAINCP)pipixutils.h \
    15961613  $(SOPHYAINCP)picmap.h \
    15971614  $(SOPHYAINCP)picmapx.h \
     
    17011718  $(SOPHYAINCP)piwdggen.h \
    17021719  $(SOPHYAINCP)picolist.h \
     1720  $(SOPHYAINCP)pipixutils.h \
    17031721  $(SOPHYAINCP)pimenubarx.h \
    17041722  $(SOPHYAINCP)pimenubargen.h \
     
    17981816  $(SOPHYAINCP)piwdggen.h \
    17991817  $(SOPHYAINCP)picolist.h \
     1818  $(SOPHYAINCP)pipixutils.h \
    18001819  $(SOPHYAINCP)pimenubarx.h \
    18011820  $(SOPHYAINCP)pimenubargen.h \
     
    19381957  $(SOPHYAINCP)pimsghandler.h \
    19391958  $(SOPHYAINCP)picolist.h \
     1959  $(SOPHYAINCP)pipixutils.h \
    19401960  $(SOPHYAINCP)picmap.h \
    19411961  $(SOPHYAINCP)picmapx.h \
     
    20032023  $(SOPHYAINCP)pitherm.h \
    20042024  $(SOPHYAINCP)resusage.h nomhistadapter.h \
    2005   $(SOPHYAINCP)xntuple.h \
    20062025  $(SOPHYAINCP)basedtable.h \
    20072026  $(SOPHYAINCP)segdatablock.h \
     
    20462065  $(SOPHYAINCP)pimsghandler.h \
    20472066  $(SOPHYAINCP)picolist.h \
     2067  $(SOPHYAINCP)pipixutils.h \
    20482068  $(SOPHYAINCP)picmap.h \
    20492069  $(SOPHYAINCP)picmapx.h \
     
    20982118  $(SOPHYAINCP)pimsghandler.h \
    20992119  $(SOPHYAINCP)picolist.h \
     2120  $(SOPHYAINCP)pipixutils.h \
    21002121  $(SOPHYAINCP)picmap.h \
    21012122  $(SOPHYAINCP)picmapx.h \
     
    21252146  $(SOPHYAINCP)pimsghandler.h \
    21262147  $(SOPHYAINCP)picolist.h \
     2148  $(SOPHYAINCP)pipixutils.h \
    21272149  $(SOPHYAINCP)picmap.h \
    21282150  $(SOPHYAINCP)picmapx.h \
     
    21542176  $(SOPHYAINCP)piwdggen.h \
    21552177  $(SOPHYAINCP)picolist.h \
     2178  $(SOPHYAINCP)pipixutils.h \
    21562179  $(SOPHYAINCP)pimenubarx.h \
    21572180  $(SOPHYAINCP)pimenubargen.h \
     
    22122235  $(SOPHYAINCP)piwdggen.h \
    22132236  $(SOPHYAINCP)picolist.h \
     2237  $(SOPHYAINCP)pipixutils.h \
    22142238  $(SOPHYAINCP)pimenubarx.h \
    22152239  $(SOPHYAINCP)pimenubargen.h \
     
    23092333  $(SOPHYAINCP)hisprof.h \
    23102334  $(SOPHYAINCP)ntuple.h \
    2311   $(SOPHYAINCP)xntuple.h \
    23122335  $(SOPHYAINCP)basedtable.h \
    23132336  $(SOPHYAINCP)segdatablock.h \
     
    23582381  $(SOPHYAINCP)pimsghandler.h \
    23592382  $(SOPHYAINCP)picolist.h \
     2383  $(SOPHYAINCP)pipixutils.h \
    23602384  $(SOPHYAINCP)picmap.h \
    23612385  $(SOPHYAINCP)picmapx.h \
     
    23862410  $(SOPHYAINCP)pimsghandler.h \
    23872411  $(SOPHYAINCP)picolist.h \
     2412  $(SOPHYAINCP)pipixutils.h \
    23882413  $(SOPHYAINCP)picmap.h \
    23892414  $(SOPHYAINCP)picmapx.h \
     
    24122437  $(SOPHYAINCP)pimsghandler.h \
    24132438  $(SOPHYAINCP)picolist.h \
     2439  $(SOPHYAINCP)pipixutils.h \
    24142440  $(SOPHYAINCP)picmap.h \
    24152441  $(SOPHYAINCP)picmapx.h \
     
    24792505  $(SOPHYAINCP)piwdggen.h \
    24802506  $(SOPHYAINCP)picolist.h \
     2507  $(SOPHYAINCP)pipixutils.h \
    24812508  $(SOPHYAINCP)pimenubarx.h \
    24822509  $(SOPHYAINCP)pimenubargen.h \
     
    25922619  $(SOPHYAINCP)piwdggen.h \
    25932620  $(SOPHYAINCP)picolist.h \
     2621  $(SOPHYAINCP)pipixutils.h \
    25942622  $(SOPHYAINCP)pimenubarx.h \
    25952623  $(SOPHYAINCP)pimenubargen.h \
     
    26732701  $(SOPHYAINCP)machdefs.h \
    26742702  $(SOPHYAINCP)lut.h \
     2703  $(SOPHYAINCP)pipixutils.h \
    26752704  $(SOPHYAINCP)tmatrix.h \
    26762705  $(SOPHYAINCP)tarray.h \
     
    27212750  $(SOPHYAINCP)pimsghandler.h \
    27222751  $(SOPHYAINCP)picolist.h \
     2752  $(SOPHYAINCP)pipixutils.h \
    27232753  $(SOPHYAINCP)picmap.h \
    27242754  $(SOPHYAINCP)picmapx.h \
  • trunk/SophyaPI/ProgPI/Makefile

    r3405 r3572  
    4343  $(SOPHYAINCP)pimsghandler.h \
    4444  $(SOPHYAINCP)picolist.h \
     45  $(SOPHYAINCP)pipixutils.h \
    4546  $(SOPHYAINCP)picmap.h \
    4647  $(SOPHYAINCP)picmapx.h \
     
    8586  $(SOPHYAINCP)pimenux.h \
    8687  $(SOPHYAINCP)pimenugen.h \
    87   $(SOPHYAINCP)picons.h \
    88   $(SOPHYAINCP)pistdwdgx.h \
    89   $(SOPHYAINCP)pistdwdggen.h \
    90   $(SOPHYAINCP)pibwdgx.h \
    91   $(SOPHYAINCP)pigraphps.h \
     88  $(SOPHYAINCP)piconsenum.h \
    9289  $(SOPHYAINCP)piwindowx.h \
    9390  $(SOPHYAINCP)piwindowgen.h \
    9491  $(SOPHYAINCP)pioptmenux.h \
    9592  $(SOPHYAINCP)pioptmenugen.h \
     93  $(SOPHYAINCP)pistdwdgx.h \
     94  $(SOPHYAINCP)pistdwdggen.h \
    9695  $(SOPHYAINCP)pifilechox.h \
    9796  $(SOPHYAINCP)pifilechogen.h \
    9897  $(SOPHYAINCP)piperiodx.h \
    9998  $(SOPHYAINCP)periodic.h \
     99  $(SOPHYAINCP)picons.h \
     100  $(SOPHYAINCP)pibwdgx.h \
     101  $(SOPHYAINCP)pigraphps.h \
    100102  $(SOPHYAINCP)piimage.h \
    101103  $(SOPHYAINCP)pieldrw.h \
     
    124126  $(SOPHYAINCP)hisprof.h \
    125127  $(SOPHYAINCP)ntuple.h \
    126   $(SOPHYAINCP)xntuple.h \
    127128  $(SOPHYAINCP)basedtable.h \
    128129  $(SOPHYAINCP)segdatablock.h \
     
    155156  $(SOPHYAINCP)piwdggen.h \
    156157  $(SOPHYAINCP)picolist.h \
     158  $(SOPHYAINCP)pipixutils.h \
    157159  $(SOPHYAINCP)pimenubarx.h \
    158160  $(SOPHYAINCP)pimenubargen.h \
    159161  $(SOPHYAINCP)pimenux.h \
    160162  $(SOPHYAINCP)pimenugen.h \
    161   $(SOPHYAINCP)picons.h \
     163  $(SOPHYAINCP)piconsenum.h \
     164  $(SOPHYAINCP)piwindowx.h \
     165  $(SOPHYAINCP)piwindowgen.h \
     166  $(SOPHYAINCP)pioptmenux.h \
     167  $(SOPHYAINCP)pioptmenugen.h \
    162168  $(SOPHYAINCP)pistdwdgx.h \
    163169  $(SOPHYAINCP)pistdwdggen.h \
     170  $(SOPHYAINCP)pifilechox.h \
     171  $(SOPHYAINCP)pifilechogen.h \
     172  $(SOPHYAINCP)piperiodx.h \
     173  $(SOPHYAINCP)periodic.h \
     174  $(SOPHYAINCP)picons.h \
    164175  $(SOPHYAINCP)pibwdgx.h \
    165176  $(SOPHYAINCP)pibwdggen.h \
     
    177188  $(SOPHYAINCP)psfile.h \
    178189  $(SOPHYAINCP)pigraphps.h \
    179   $(SOPHYAINCP)piwindowx.h \
    180   $(SOPHYAINCP)piwindowgen.h \
    181   $(SOPHYAINCP)pioptmenux.h \
    182   $(SOPHYAINCP)pioptmenugen.h \
    183   $(SOPHYAINCP)pifilechox.h \
    184   $(SOPHYAINCP)pifilechogen.h \
    185   $(SOPHYAINCP)piperiodx.h \
    186   $(SOPHYAINCP)periodic.h \
    187190  $(SOPHYAINCP)piimage.h \
    188191  $(SOPHYAINCP)parradapter.h \
     
    235238  $(SOPHYAINCP)piwdggen.h \
    236239  $(SOPHYAINCP)picolist.h \
     240  $(SOPHYAINCP)pipixutils.h \
    237241  $(SOPHYAINCP)pimenubarx.h \
    238242  $(SOPHYAINCP)pimenubargen.h \
    239243  $(SOPHYAINCP)pimenux.h \
    240244  $(SOPHYAINCP)pimenugen.h \
    241   $(SOPHYAINCP)picons.h \
     245  $(SOPHYAINCP)piconsenum.h \
     246  $(SOPHYAINCP)piwindowx.h \
     247  $(SOPHYAINCP)piwindowgen.h \
     248  $(SOPHYAINCP)pioptmenux.h \
     249  $(SOPHYAINCP)pioptmenugen.h \
    242250  $(SOPHYAINCP)pistdwdgx.h \
    243251  $(SOPHYAINCP)pistdwdggen.h \
     252  $(SOPHYAINCP)pifilechox.h \
     253  $(SOPHYAINCP)pifilechogen.h \
     254  $(SOPHYAINCP)piperiodx.h \
     255  $(SOPHYAINCP)periodic.h \
     256  $(SOPHYAINCP)picons.h \
    244257  $(SOPHYAINCP)pibwdgx.h \
    245258  $(SOPHYAINCP)pibwdggen.h \
     
    257270  $(SOPHYAINCP)psfile.h \
    258271  $(SOPHYAINCP)pigraphps.h \
    259   $(SOPHYAINCP)piwindowx.h \
    260   $(SOPHYAINCP)piwindowgen.h \
    261   $(SOPHYAINCP)pioptmenux.h \
    262   $(SOPHYAINCP)pioptmenugen.h \
    263   $(SOPHYAINCP)pifilechox.h \
    264   $(SOPHYAINCP)pifilechogen.h \
    265   $(SOPHYAINCP)piperiodx.h \
    266   $(SOPHYAINCP)periodic.h \
    267272  $(SOPHYAINCP)piimage.h \
    268273  $(SOPHYAINCP)parradapter.h \
     
    311316  $(SOPHYAINCP)ntoolsinit.h \
    312317  $(SOPHYAINCP)tarrinit.h \
    313   $(SOPHYAINCP)sophyainit.h \
    314   $(SOPHYAINCP)xntuple.h \
    315   $(SOPHYAINCP)ntupintf.h
     318  $(SOPHYAINCP)sophyainit.h
    316319        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  piapp.cc
    317320 
     
    348351  $(SOPHYAINCP)piwdggen.h \
    349352  $(SOPHYAINCP)picolist.h \
     353  $(SOPHYAINCP)pipixutils.h \
    350354  $(SOPHYAINCP)pimenubarx.h \
    351355  $(SOPHYAINCP)pimenubargen.h \
    352356  $(SOPHYAINCP)pimenux.h \
    353357  $(SOPHYAINCP)pimenugen.h \
    354   $(SOPHYAINCP)picons.h \
     358  $(SOPHYAINCP)piconsenum.h \
     359  $(SOPHYAINCP)piwindowx.h \
     360  $(SOPHYAINCP)piwindowgen.h \
     361  $(SOPHYAINCP)pioptmenux.h \
     362  $(SOPHYAINCP)pioptmenugen.h \
    355363  $(SOPHYAINCP)pistdwdgx.h \
    356364  $(SOPHYAINCP)pistdwdggen.h \
     365  $(SOPHYAINCP)pifilechox.h \
     366  $(SOPHYAINCP)pifilechogen.h \
     367  $(SOPHYAINCP)piperiodx.h \
     368  $(SOPHYAINCP)periodic.h \
     369  $(SOPHYAINCP)picons.h \
    357370  $(SOPHYAINCP)pibwdgx.h \
    358371  $(SOPHYAINCP)pibwdggen.h \
     
    370383  $(SOPHYAINCP)psfile.h \
    371384  $(SOPHYAINCP)pigraphps.h \
    372   $(SOPHYAINCP)piwindowx.h \
    373   $(SOPHYAINCP)piwindowgen.h \
    374   $(SOPHYAINCP)pioptmenux.h \
    375   $(SOPHYAINCP)pioptmenugen.h \
    376   $(SOPHYAINCP)pifilechox.h \
    377   $(SOPHYAINCP)pifilechogen.h \
    378   $(SOPHYAINCP)piperiodx.h \
    379   $(SOPHYAINCP)periodic.h \
    380385  $(SOPHYAINCP)piimage.h \
    381386  $(SOPHYAINCP)parradapter.h \
     
    438443  $(SOPHYAINCP)fftservintf.h \
    439444  $(SOPHYAINCP)fftpserver.h \
     445  $(SOPHYAINCP)stsrand.h \
    440446  $(SOPHYAINCP)alm.h \
    441   $(SOPHYAINCP)srandgen.h \
    442447  $(SOPHYAINCP)nbmath.h \
    443448  $(SOPHYAINCP)triangmtx.h \
     
    477482  $(SOPHYAINCP)piwdggen.h \
    478483  $(SOPHYAINCP)picolist.h \
     484  $(SOPHYAINCP)pipixutils.h \
    479485  $(SOPHYAINCP)pimenubarx.h \
    480486  $(SOPHYAINCP)pimenubargen.h \
    481487  $(SOPHYAINCP)pimenux.h \
    482488  $(SOPHYAINCP)pimenugen.h \
    483   $(SOPHYAINCP)picons.h \
     489  $(SOPHYAINCP)piconsenum.h \
     490  $(SOPHYAINCP)piwindowx.h \
     491  $(SOPHYAINCP)piwindowgen.h \
     492  $(SOPHYAINCP)pioptmenux.h \
     493  $(SOPHYAINCP)pioptmenugen.h \
    484494  $(SOPHYAINCP)pistdwdgx.h \
    485495  $(SOPHYAINCP)pistdwdggen.h \
     496  $(SOPHYAINCP)pifilechox.h \
     497  $(SOPHYAINCP)pifilechogen.h \
     498  $(SOPHYAINCP)piperiodx.h \
     499  $(SOPHYAINCP)periodic.h \
     500  $(SOPHYAINCP)picons.h \
    486501  $(SOPHYAINCP)pibwdgx.h \
    487502  $(SOPHYAINCP)pibwdggen.h \
     
    499514  $(SOPHYAINCP)psfile.h \
    500515  $(SOPHYAINCP)pigraphps.h \
    501   $(SOPHYAINCP)piwindowx.h \
    502   $(SOPHYAINCP)piwindowgen.h \
    503   $(SOPHYAINCP)pioptmenux.h \
    504   $(SOPHYAINCP)pioptmenugen.h \
    505   $(SOPHYAINCP)pifilechox.h \
    506   $(SOPHYAINCP)pifilechogen.h \
    507   $(SOPHYAINCP)piperiodx.h \
    508   $(SOPHYAINCP)periodic.h \
    509516  $(SOPHYAINCP)piimage.h \
    510517  $(SOPHYAINCP)parradapter.h \
     
    597604  $(SOPHYAINCP)piwdggen.h \
    598605  $(SOPHYAINCP)picolist.h \
     606  $(SOPHYAINCP)pipixutils.h \
    599607  $(SOPHYAINCP)pimenubarx.h \
    600608  $(SOPHYAINCP)pimenubargen.h \
    601609  $(SOPHYAINCP)pimenux.h \
    602610  $(SOPHYAINCP)pimenugen.h \
    603   $(SOPHYAINCP)picons.h \
     611  $(SOPHYAINCP)piconsenum.h \
     612  $(SOPHYAINCP)piwindowx.h \
     613  $(SOPHYAINCP)piwindowgen.h \
     614  $(SOPHYAINCP)pioptmenux.h \
     615  $(SOPHYAINCP)pioptmenugen.h \
    604616  $(SOPHYAINCP)pistdwdgx.h \
    605617  $(SOPHYAINCP)pistdwdggen.h \
     618  $(SOPHYAINCP)pifilechox.h \
     619  $(SOPHYAINCP)pifilechogen.h \
     620  $(SOPHYAINCP)piperiodx.h \
     621  $(SOPHYAINCP)periodic.h \
     622  $(SOPHYAINCP)picons.h \
    606623  $(SOPHYAINCP)pibwdgx.h \
    607624  $(SOPHYAINCP)pibwdggen.h \
     
    619636  $(SOPHYAINCP)psfile.h \
    620637  $(SOPHYAINCP)pigraphps.h \
    621   $(SOPHYAINCP)piwindowx.h \
    622   $(SOPHYAINCP)piwindowgen.h \
    623   $(SOPHYAINCP)pioptmenux.h \
    624   $(SOPHYAINCP)pioptmenugen.h \
    625   $(SOPHYAINCP)pifilechox.h \
    626   $(SOPHYAINCP)pifilechogen.h \
    627   $(SOPHYAINCP)piperiodx.h \
    628   $(SOPHYAINCP)periodic.h \
    629638  $(SOPHYAINCP)piimage.h \
    630639  $(SOPHYAINCP)parradapter.h \
  • trunk/SophyaPI/ProgPI/makefile_wgrdl

    r2945 r3572  
    294294  $(SOPHYAINCP)tarrinit.h \
    295295  $(SOPHYAINCP)sophyainit.h \
    296   $(SOPHYAINCP)xntuple.h \
    297296  $(SOPHYAINCP)ntupintf.h
    298297        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  piapp.cc
  • trunk/SophyaPI/ProgPI/piapp.cc

    r3410 r3572  
    1313#include "timing.h"
    1414#include "skyinit.h"
    15 
    16 #include "xntuple.h" // Pour faire le SetTmpDir()
    1715
    1816
     
    177175}
    178176
    179 char* tmpde = getenv("TMPDIR");
     177const char* tmpde = getenv("TMPDIR");
    180178char  tmpdname[32];
    181179if (tmpde == NULL) tmpde = "./";
     
    198196}
    199197
    200 cout << "  NamedObjMgr::SetTmpDir()+XNTuple::SetSwapPath() " << tmpdir << endl;
     198cout << "  NamedObjMgr::SetTmpDir() " << tmpdir << endl;
    201199app->ObjMgr()->SetTmpDir(tmpdir);
    202 XNTuple::SetSwapPath(const_cast<char *>(tmpdir.c_str()));
    203200
    204201// Gestion de redirection stdout/err et Signaux
  • trunk/SophyaPI/ProgPI/skymapmodule.cc

    r2986 r3572  
    14101410 
    14111411 const int ndim = 8;
    1412  char *nament[ndim] =
     1412 const char *nament[ndim] =
    14131413   {"l","n","clmean","cllin","clpar","sclmean","scllin","sclpar"};
    14141414 NTuple clbin(ndim,nament);
  • trunk/SophyaPI/ProgPI/smakefile

    r3504 r3572  
    4343  $(SOPHYAINCP)pimsghandler.h \
    4444  $(SOPHYAINCP)picolist.h \
     45  $(SOPHYAINCP)pipixutils.h \
    4546  $(SOPHYAINCP)picmap.h \
    4647  $(SOPHYAINCP)picmapx.h \
     
    125126  $(SOPHYAINCP)hisprof.h \
    126127  $(SOPHYAINCP)ntuple.h \
    127   $(SOPHYAINCP)xntuple.h \
    128128  $(SOPHYAINCP)basedtable.h \
    129129  $(SOPHYAINCP)segdatablock.h \
     
    156156  $(SOPHYAINCP)piwdggen.h \
    157157  $(SOPHYAINCP)picolist.h \
     158  $(SOPHYAINCP)pipixutils.h \
    158159  $(SOPHYAINCP)pimenubarx.h \
    159160  $(SOPHYAINCP)pimenubargen.h \
     
    237238  $(SOPHYAINCP)piwdggen.h \
    238239  $(SOPHYAINCP)picolist.h \
     240  $(SOPHYAINCP)pipixutils.h \
    239241  $(SOPHYAINCP)pimenubarx.h \
    240242  $(SOPHYAINCP)pimenubargen.h \
     
    314316  $(SOPHYAINCP)ntoolsinit.h \
    315317  $(SOPHYAINCP)tarrinit.h \
    316   $(SOPHYAINCP)sophyainit.h \
    317   $(SOPHYAINCP)xntuple.h \
    318   $(SOPHYAINCP)ntupintf.h
     318  $(SOPHYAINCP)sophyainit.h
    319319        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  piapp.cc
    320320 
     
    351351  $(SOPHYAINCP)piwdggen.h \
    352352  $(SOPHYAINCP)picolist.h \
     353  $(SOPHYAINCP)pipixutils.h \
    353354  $(SOPHYAINCP)pimenubarx.h \
    354355  $(SOPHYAINCP)pimenubargen.h \
     
    442443  $(SOPHYAINCP)fftservintf.h \
    443444  $(SOPHYAINCP)fftpserver.h \
     445  $(SOPHYAINCP)stsrand.h \
    444446  $(SOPHYAINCP)alm.h \
    445   $(SOPHYAINCP)srandgen.h \
    446447  $(SOPHYAINCP)nbmath.h \
    447448  $(SOPHYAINCP)triangmtx.h \
     
    481482  $(SOPHYAINCP)piwdggen.h \
    482483  $(SOPHYAINCP)picolist.h \
     484  $(SOPHYAINCP)pipixutils.h \
    483485  $(SOPHYAINCP)pimenubarx.h \
    484486  $(SOPHYAINCP)pimenubargen.h \
     
    602604  $(SOPHYAINCP)piwdggen.h \
    603605  $(SOPHYAINCP)picolist.h \
     606  $(SOPHYAINCP)pipixutils.h \
    604607  $(SOPHYAINCP)pimenubarx.h \
    605608  $(SOPHYAINCP)pimenubargen.h \
  • trunk/SophyaPI/ProgPI/smakefile_wgrdl

    r2953 r3572  
    294294  $(SOPHYAINCP)tarrinit.h \
    295295  $(SOPHYAINCP)sophyainit.h \
    296   $(SOPHYAINCP)xntuple.h \
    297296  $(SOPHYAINCP)ntupintf.h
    298297        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  piapp.cc
  • trunk/SophyaProg/PMixer/skymixer.cc

    r3051 r3572  
    958958  // Cleaning the keywords
    959959#define SZexlst 21
    960   char *exlst[SZexlst]=
     960  const char *exlst[SZexlst]=
    961961  {"SIMPLE","BITPIX" ,"NAXIS" ,"NAXIS#" ,"PCOUNT","GCOUNT",
    962962     "EXTEND","ORIGIN" ,"DATE*" ,"TFIELDS","TTYPE#","TFORM#",
     
    994994  // Cleaning the keywords
    995995#define SZexlst 21
    996   char *exlst[SZexlst]=
     996  const char *exlst[SZexlst]=
    997997  {"SIMPLE","BITPIX" ,"NAXIS" ,"NAXIS#" ,"PCOUNT","GCOUNT",
    998998     "EXTEND","ORIGIN" ,"DATE*" ,"TFIELDS","TTYPE#","TFORM#",
     
    10281028void RadSpec2Nt(RadSpectra & rs, POutPersist & so, string name)
    10291029{
    1030   char *ntn[2] = {"nu","fnu"};
     1030  const char *ntn[2] = {"nu","fnu"};
    10311031  NTuple nt(2,ntn);  // Creation NTuple (AVEC new )
    10321032  float xnt[2];
     
    10501050void SpectralResponse2Nt(SpectralResponse& sr, POutPersist & so, string name)
    10511051{
    1052   char *ntn[2] = {"nu","tnu"};
     1052  const char *ntn[2] = {"nu","tnu"};
    10531053  NTuple nt(2,ntn);  // Creation NTuple (AVEC new )
    10541054  float xnt[2];
  • trunk/SophyaProg/PrgMap/Makefile

    r3405 r3572  
    6868  $(SOPHYAINCP)fioarr.h \
    6969  $(SOPHYAINCP)sopemtx.h \
     70  $(SOPHYAINCP)arrctcast.h \
    7071  $(SOPHYAINCP)skymap.h \
    7172  $(SOPHYAINCP)spherethetaphi.h \
     
    8889  $(SOPHYAINCP)samba.h \
    8990  $(SOPHYAINCP)alm.h \
    90   $(SOPHYAINCP)srandgen.h \
     91  $(SOPHYAINCP)stsrand.h \
    9192  $(SOPHYAINCP)nbmath.h \
    9293  $(SOPHYAINCP)triangmtx.h \
     
    301302  $(SOPHYAINCP)fioarr.h \
    302303  $(SOPHYAINCP)sopemtx.h \
     304  $(SOPHYAINCP)arrctcast.h \
    303305  $(SOPHYAINCP)skymap.h \
    304306  $(SOPHYAINCP)spherethetaphi.h \
     
    321323  $(SOPHYAINCP)samba.h \
    322324  $(SOPHYAINCP)alm.h \
    323   $(SOPHYAINCP)srandgen.h \
     325  $(SOPHYAINCP)stsrand.h \
    324326  $(SOPHYAINCP)nbmath.h \
    325327  $(SOPHYAINCP)triangmtx.h \
     
    379381  $(SOPHYAINCP)fioarr.h \
    380382  $(SOPHYAINCP)sopemtx.h \
     383  $(SOPHYAINCP)arrctcast.h \
    381384  $(SOPHYAINCP)skymap.h \
    382385  $(SOPHYAINCP)spherethetaphi.h \
     
    399402  $(SOPHYAINCP)samba.h \
    400403  $(SOPHYAINCP)alm.h \
    401   $(SOPHYAINCP)srandgen.h \
     404  $(SOPHYAINCP)stsrand.h \
    402405  $(SOPHYAINCP)nbmath.h \
    403406  $(SOPHYAINCP)triangmtx.h \
  • trunk/SophyaProg/PrgMap/smakefile

    r3504 r3572  
    8989  $(SOPHYAINCP)samba.h \
    9090  $(SOPHYAINCP)alm.h \
    91   $(SOPHYAINCP)srandgen.h \
     91  $(SOPHYAINCP)stsrand.h \
    9292  $(SOPHYAINCP)nbmath.h \
    9393  $(SOPHYAINCP)triangmtx.h \
     
    323323  $(SOPHYAINCP)samba.h \
    324324  $(SOPHYAINCP)alm.h \
    325   $(SOPHYAINCP)srandgen.h \
     325  $(SOPHYAINCP)stsrand.h \
    326326  $(SOPHYAINCP)nbmath.h \
    327327  $(SOPHYAINCP)triangmtx.h \
     
    402402  $(SOPHYAINCP)samba.h \
    403403  $(SOPHYAINCP)alm.h \
    404   $(SOPHYAINCP)srandgen.h \
     404  $(SOPHYAINCP)stsrand.h \
    405405  $(SOPHYAINCP)nbmath.h \
    406406  $(SOPHYAINCP)triangmtx.h \
  • trunk/SophyaProg/PrgUtil/Makefile

    r3405 r3572  
    5252  $(SOPHYAINCP)fioarr.h \
    5353  $(SOPHYAINCP)sopemtx.h \
     54  $(SOPHYAINCP)arrctcast.h \
    5455  $(SOPHYAINCP)sambainit.h \
    5556  $(SOPHYAINCP)skymapinit.h \
  • trunk/SophyaProg/PrgUtil/scanfits.cc

    r2900 r3572  
    1313#include "dvlist.h"
    1414#include "ntuple.h"
    15 #include "xntuple.h"
    16 #include "fitsxntuple.h"
    1715#include "fitsntuple.h"
    1816*/
  • trunk/SophyaProg/Tests/Makefile

    r3399 r3572  
    228228  $(SOPHYAINCP)tarrinit.h \
    229229  $(SOPHYAINCP)sophyainit.h \
     230  $(SOPHYAINCP)machdefs.h \
    230231  $(SOPHYAINCP)array.h \
    231232  $(SOPHYAINCP)tarray.h \
     
    251252  $(SOPHYAINCP)fioarr.h \
    252253  $(SOPHYAINCP)sopemtx.h \
     254  $(SOPHYAINCP)arrctcast.h \
    253255  $(SOPHYAINCP)timing.h
    254256        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  arrt.cc
     
    258260  $(SOPHYAINCP)tarrinit.h \
    259261  $(SOPHYAINCP)sophyainit.h \
     262  $(SOPHYAINCP)machdefs.h \
    260263  $(SOPHYAINCP)array.h \
    261264  $(SOPHYAINCP)tarray.h \
     
    281284  $(SOPHYAINCP)fioarr.h \
    282285  $(SOPHYAINCP)sopemtx.h \
     286  $(SOPHYAINCP)arrctcast.h \
    283287  $(SOPHYAINCP)timing.h
    284288        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  carrt.cc
     
    287291  $(SOPHYAINCP)machdefs.h \
    288292  $(SOPHYAINCP)srandgen.h \
     293  $(SOPHYAINCP)machdefs.h \
    289294  $(SOPHYAINCP)tarrinit.h \
    290295  $(SOPHYAINCP)sophyainit.h \
     
    312317  $(SOPHYAINCP)fioarr.h \
    313318  $(SOPHYAINCP)sopemtx.h \
     319  $(SOPHYAINCP)arrctcast.h \
    314320  $(SOPHYAINCP)timing.h \
    315321  $(SOPHYAINCP)intflapack.h
    316322        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  lpk.cc
    317323 
    318 $(SOPHYAOBJP)obj_fits.o: obj_fits.cc \
    319   $(SOPHYAINCP)sopnamsp.h \
     324$(SOPHYAOBJP)obj_fits.o: obj_fits.cc $(SOPHYAINCP)sopnamsp.h \
    320325  $(SOPHYAINCP)histinit.h \
    321326  $(SOPHYAINCP)ntoolsinit.h \
     
    336341  $(SOPHYAINCP)ntuple.h \
    337342  $(SOPHYAINCP)ntupintf.h \
    338   $(SOPHYAINCP)xntuple.h \
    339   $(SOPHYAINCP)fitsxntuple.h \
     343  $(SOPHYAINCP)dvlist.h \
     344  $(SOPHYAINCP)fitsntuple.h \
     345  $(SOPHYAINCP)ntuple.h \
    340346  $(SOPHYAINCP)fitsfile.h \
    341347  $(SOPHYAINCP)ndatablock.h \
     
    344350  $(SOPHYAINCP)FitsIO/longnam.h \
    345351  $(SOPHYAINCP)fitshandler.h \
    346   $(SOPHYAINCP)fitsntuple.h \
    347352  $(SOPHYAINCP)fitstarray.h \
    348353  $(SOPHYAINCP)tarray.h \
     
    356361  $(SOPHYAINCP)matharr.h \
    357362  $(SOPHYAINCP)fioarr.h \
    358   $(SOPHYAINCP)sopemtx.h
     363  $(SOPHYAINCP)sopemtx.h \
     364  $(SOPHYAINCP)arrctcast.h
    359365        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  obj_fits.cc
    360366 
     
    363369  $(SOPHYAINCP)tarrinit.h \
    364370  $(SOPHYAINCP)sophyainit.h \
     371  $(SOPHYAINCP)machdefs.h \
    365372  $(SOPHYAINCP)array.h \
    366373  $(SOPHYAINCP)tarray.h \
     
    386393  $(SOPHYAINCP)fioarr.h \
    387394  $(SOPHYAINCP)sopemtx.h \
     395  $(SOPHYAINCP)arrctcast.h \
    388396  $(SOPHYAINCP)ctimer.h \
    389397  $(SOPHYAINCP)timing.h \
     
    394402  $(SOPHYAINCP)machdefs.h \
    395403  $(SOPHYAINCP)zthread.h \
     404  $(SOPHYAINCP)machdefs.h \
    396405  $(SOPHYAINCP)pexceptions.h \
    397406  $(SOPHYAINCP)pisysdep.h \
     
    399408  $(SOPHYAINCP)piapplgen.h \
    400409  $(SOPHYAINCP)pimsghandler.h \
     410  $(SOPHYAINCP)pisysdep.h \
    401411  $(SOPHYAINCP)picontainerx.h \
    402412  $(SOPHYAINCP)picontainergen.h \
     
    404414  $(SOPHYAINCP)piwdggen.h \
    405415  $(SOPHYAINCP)picolist.h \
     416  $(SOPHYAINCP)pipixutils.h \
    406417  $(SOPHYAINCP)pimenubarx.h \
    407418  $(SOPHYAINCP)pimenubargen.h \
    408419  $(SOPHYAINCP)pimenux.h \
    409420  $(SOPHYAINCP)pimenugen.h \
     421  $(SOPHYAINCP)piconsenum.h \
     422  $(SOPHYAINCP)pimenux.h \
     423  $(SOPHYAINCP)pistdwdgx.h \
     424  $(SOPHYAINCP)pistdwdggen.h \
     425  $(SOPHYAINCP)piwindowx.h \
     426  $(SOPHYAINCP)piwindowgen.h \
     427  $(SOPHYAINCP)piperiodx.h \
     428  $(SOPHYAINCP)periodic.h \
    410429  $(SOPHYAINCP)picons.h \
    411430  $(SOPHYAINCP)pistdwdgx.h \
    412   $(SOPHYAINCP)pistdwdggen.h \
    413431  $(SOPHYAINCP)pibwdgx.h \
    414432  $(SOPHYAINCP)pibwdggen.h \
     
    426444  $(SOPHYAINCP)psfile.h \
    427445  $(SOPHYAINCP)pigraphps.h \
    428   $(SOPHYAINCP)piwindowx.h \
    429   $(SOPHYAINCP)piwindowgen.h \
    430   $(SOPHYAINCP)piperiodx.h \
    431   $(SOPHYAINCP)periodic.h \
    432446  $(SOPHYAINCP)tarrinit.h \
    433447  $(SOPHYAINCP)sophyainit.h \
     
    454468  $(SOPHYAINCP)fioarr.h \
    455469  $(SOPHYAINCP)sopemtx.h \
     470  $(SOPHYAINCP)arrctcast.h \
    456471  $(SOPHYAINCP)timing.h
    457472        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pizthr.cc
    458473 
    459 $(SOPHYAOBJP)ppftswap.o: ppftswap.cc \
    460   $(SOPHYAINCP)sopnamsp.h \
     474$(SOPHYAOBJP)ppftswap.o: ppftswap.cc $(SOPHYAINCP)sopnamsp.h \
    461475  $(SOPHYAINCP)sophyainit.h \
    462476  $(SOPHYAINCP)machdefs.h \
     
    484498  $(SOPHYAINCP)fioarr.h \
    485499  $(SOPHYAINCP)sopemtx.h \
     500  $(SOPHYAINCP)arrctcast.h \
    486501  $(SOPHYAINCP)fiondblock.h \
    487   $(SOPHYAINCP)tarrinit.h
     502  $(SOPHYAINCP)fioarr.h \
     503  $(SOPHYAINCP)tarrinit.h \
     504  $(SOPHYAINCP)sophyainit.h
    488505        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  ppftswap.cc
    489506 
     
    492509  $(SOPHYAINCP)tarrinit.h \
    493510  $(SOPHYAINCP)sophyainit.h \
     511  $(SOPHYAINCP)machdefs.h \
    494512  $(SOPHYAINCP)array.h \
    495513  $(SOPHYAINCP)tarray.h \
     
    515533  $(SOPHYAINCP)fioarr.h \
    516534  $(SOPHYAINCP)sopemtx.h \
     535  $(SOPHYAINCP)arrctcast.h \
    517536  $(SOPHYAINCP)timing.h \
    518537  $(SOPHYAINCP)resusage.h
     
    538557  $(SOPHYAINCP)cimage.h \
    539558  $(SOPHYAINCP)tmatrix.h \
     559  $(SOPHYAINCP)tarray.h \
    540560  $(SOPHYAINCP)tmatrix_tsnl.h \
    541561  $(SOPHYAINCP)fioarr.h \
     
    616636  $(SOPHYAINCP)machdefs.h \
    617637  $(SOPHYAINCP)sophyainit.h \
     638  $(SOPHYAINCP)machdefs.h \
    618639  $(SOPHYAINCP)timing.h \
    619640  $(SOPHYAINCP)cexpre.h \
     
    665686  $(SOPHYAINCP)fioarr.h \
    666687  $(SOPHYAINCP)sopemtx.h \
     688  $(SOPHYAINCP)arrctcast.h \
    667689  $(SOPHYAINCP)cxxcmplnk.h \
    668690  $(SOPHYAINCP)pdlmgr.h \
     
    701723  $(SOPHYAINCP)tvector_tsnl.h \
    702724  $(SOPHYAINCP)histos2.h \
     725  $(SOPHYAINCP)histos.h \
    703726  $(SOPHYAINCP)psighand.h \
     727  $(SOPHYAINCP)fmath.h \
    704728  $(SOPHYAINCP)srandgen.h
    705729        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tdcr.cc
     
    732756  $(SOPHYAINCP)fioarr.h \
    733757  $(SOPHYAINCP)sopemtx.h \
     758  $(SOPHYAINCP)arrctcast.h \
    734759  $(SOPHYAINCP)pdlmgr.h \
     760  $(SOPHYAINCP)pexceptions.h \
    735761  $(SOPHYAINCP)timing.h
    736762        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tdynl.cc
     
    739765  $(SOPHYAINCP)machdefs.h \
    740766  $(SOPHYAINCP)srandgen.h \
     767  $(SOPHYAINCP)machdefs.h \
    741768  $(SOPHYAINCP)matharr.h \
    742769  $(SOPHYAINCP)tarray.h \
     
    802829  $(SOPHYAINCP)tvector_tsnl.h \
    803830  $(SOPHYAINCP)fitshdtable.h \
     831  $(SOPHYAINCP)datatable.h \
    804832  $(SOPHYAINCP)fitshandler.h \
    805833  $(SOPHYAINCP)fitsinoutfile.h \
     
    819847  $(SOPHYAINCP)ppfbinstream.h \
    820848  $(SOPHYAINCP)rawstream.h \
    821   $(SOPHYAINCP)ppfnametag.h
     849  $(SOPHYAINCP)ppfnametag.h \
     850  $(SOPHYAINCP)ppersist.h
    822851        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  thash.cc
    823852 
     
    850879  $(SOPHYAINCP)fioarr.h \
    851880  $(SOPHYAINCP)sopemtx.h \
     881  $(SOPHYAINCP)arrctcast.h \
    852882  $(SOPHYAINCP)cimage.h \
    853883  $(SOPHYAINCP)srandgen.h \
     884  $(SOPHYAINCP)ndatablock.h \
    854885  $(SOPHYAINCP)fiondblock.h
    855886        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  timg.cc
     
    882913  $(SOPHYAINCP)tvector_tsnl.h \
    883914  $(SOPHYAINCP)fioarr.h \
     915  $(SOPHYAINCP)tvector.h \
    884916  $(SOPHYAINCP)matharr.h \
    885917  $(SOPHYAINCP)tarrinit.h \
     
    900932  $(SOPHYAINCP)swfitsdtable.h \
    901933  $(SOPHYAINCP)fitsswapper.h \
     934  $(SOPHYAINCP)fitsinoutfile.h \
    902935  $(SOPHYAINCP)fitsblkrw.h \
    903936  $(SOPHYAINCP)fitshandler.h \
    904937  $(SOPHYAINCP)fitshdtable.h \
     938  $(SOPHYAINCP)datatable.h \
    905939  $(SOPHYAINCP)histinit.h \
    906   $(SOPHYAINCP)ntoolsinit.h
     940  $(SOPHYAINCP)ntoolsinit.h \
     941  $(SOPHYAINCP)tarrinit.h
    907942        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tmtdt.cc
     943 
     944$(SOPHYAOBJP)tmtrnd.o: tmtrnd.cc $(SOPHYAINCP)sopnamsp.h \
     945  $(SOPHYAINCP)zthread.h \
     946  $(SOPHYAINCP)machdefs.h \
     947  $(SOPHYAINCP)pexceptions.h \
     948  $(SOPHYAINCP)resusage.h \
     949  $(SOPHYAINCP)ctimer.h \
     950  $(SOPHYAINCP)timing.h \
     951  $(SOPHYAINCP)tvector.h \
     952  $(SOPHYAINCP)tmatrix.h \
     953  $(SOPHYAINCP)tarray.h \
     954  $(SOPHYAINCP)basarr.h \
     955  $(SOPHYAINCP)anydataobj.h \
     956  $(SOPHYAINCP)mutyv.h \
     957  $(SOPHYAINCP)timestamp.h \
     958  $(SOPHYAINCP)objfio.h \
     959  $(SOPHYAINCP)ppersist.h \
     960  $(SOPHYAINCP)gnumd5.h \
     961  $(SOPHYAINCP)ppfbinstream.h \
     962  $(SOPHYAINCP)rawstream.h \
     963  $(SOPHYAINCP)ppfnametag.h \
     964  $(SOPHYAINCP)dvlist.h \
     965  $(SOPHYAINCP)ndatablock.h \
     966  $(SOPHYAINCP)utilarr.h \
     967  $(SOPHYAINCP)tmatrix_tsnl.h \
     968  $(SOPHYAINCP)tvector_tsnl.h \
     969  $(SOPHYAINCP)fioarr.h \
     970  $(SOPHYAINCP)tvector.h \
     971  $(SOPHYAINCP)matharr.h \
     972  $(SOPHYAINCP)tarrinit.h \
     973  $(SOPHYAINCP)sophyainit.h \
     974  $(SOPHYAINCP)srandgen.h \
     975  $(SOPHYAINCP)stsrand.h
     976        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tmtrnd.cc
    908977 
    909978$(SOPHYAOBJP)tmtrnd3.o: tmtrnd3.cc $(SOPHYAINCP)sopnamsp.h \
     
    9311000  $(SOPHYAINCP)matharr.h \
    9321001  $(SOPHYAINCP)fioarr.h \
     1002  $(SOPHYAINCP)tvector.h \
    9331003  $(SOPHYAINCP)tarrinit.h \
    9341004  $(SOPHYAINCP)sophyainit.h \
     
    9391009        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tmtrnd3.cc
    9401010 
    941 $(SOPHYAOBJP)tmtrnd.o: tmtrnd.cc $(SOPHYAINCP)sopnamsp.h \
    942   $(SOPHYAINCP)zthread.h \
    943   $(SOPHYAINCP)machdefs.h \
    944   $(SOPHYAINCP)pexceptions.h \
    945   $(SOPHYAINCP)resusage.h \
    946   $(SOPHYAINCP)ctimer.h \
    947   $(SOPHYAINCP)timing.h \
    948   $(SOPHYAINCP)tvector.h \
    949   $(SOPHYAINCP)tmatrix.h \
    950   $(SOPHYAINCP)tarray.h \
    951   $(SOPHYAINCP)basarr.h \
    952   $(SOPHYAINCP)anydataobj.h \
    953   $(SOPHYAINCP)mutyv.h \
    954   $(SOPHYAINCP)timestamp.h \
    955   $(SOPHYAINCP)objfio.h \
    956   $(SOPHYAINCP)ppersist.h \
    957   $(SOPHYAINCP)gnumd5.h \
    958   $(SOPHYAINCP)ppfbinstream.h \
    959   $(SOPHYAINCP)rawstream.h \
    960   $(SOPHYAINCP)ppfnametag.h \
    961   $(SOPHYAINCP)dvlist.h \
    962   $(SOPHYAINCP)ndatablock.h \
    963   $(SOPHYAINCP)utilarr.h \
    964   $(SOPHYAINCP)tmatrix_tsnl.h \
    965   $(SOPHYAINCP)tvector_tsnl.h \
    966   $(SOPHYAINCP)fioarr.h \
    967   $(SOPHYAINCP)matharr.h \
    968   $(SOPHYAINCP)tarrinit.h \
    969   $(SOPHYAINCP)sophyainit.h \
     1011$(SOPHYAOBJP)tmxv.o: tmxv.cc $(SOPHYAINCP)sopnamsp.h \
     1012  $(SOPHYAINCP)machdefs.h \
    9701013  $(SOPHYAINCP)srandgen.h \
    971   $(SOPHYAINCP)stsrand.h
    972         $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tmtrnd.cc
    973  
    974 $(SOPHYAOBJP)tmxv.o: tmxv.cc $(SOPHYAINCP)sopnamsp.h \
    975   $(SOPHYAINCP)machdefs.h \
    976   $(SOPHYAINCP)srandgen.h \
     1014  $(SOPHYAINCP)machdefs.h \
    9771015  $(SOPHYAINCP)tarrinit.h \
    9781016  $(SOPHYAINCP)sophyainit.h \
     
    9971035  $(SOPHYAINCP)tvector_tsnl.h \
    9981036  $(SOPHYAINCP)sopemtx.h \
     1037  $(SOPHYAINCP)tvector.h \
    9991038  $(SOPHYAINCP)timing.h
    10001039        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tmxv.cc
     
    10071046  $(SOPHYAINCP)tarrinit.h \
    10081047  $(SOPHYAINCP)sophyainit.h \
     1048  $(SOPHYAINCP)machdefs.h \
    10091049  $(SOPHYAINCP)array.h \
    10101050  $(SOPHYAINCP)tarray.h \
     
    10301070  $(SOPHYAINCP)fioarr.h \
    10311071  $(SOPHYAINCP)sopemtx.h \
     1072  $(SOPHYAINCP)arrctcast.h \
    10321073  $(SOPHYAINCP)fitsinoutfile.h \
    10331074  $(SOPHYAINCP)FitsIO/fitsio.h \
    10341075  $(SOPHYAINCP)FitsIO/longnam.h \
    10351076  $(SOPHYAINCP)fitsblkrw.h \
     1077  $(SOPHYAINCP)fitsinoutfile.h \
    10361078  $(SOPHYAINCP)fitsarrhand.h \
    10371079  $(SOPHYAINCP)fitshandler.h \
     1080  $(SOPHYAINCP)fitsblkrw.h \
    10381081  $(SOPHYAINCP)fiosinit.h
    10391082        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tnfits.cc
     
    10581101  $(SOPHYAINCP)ntuple.h \
    10591102  $(SOPHYAINCP)ntupintf.h \
    1060   $(SOPHYAINCP)xntuple.h \
     1103  $(SOPHYAINCP)dvlist.h \
    10611104  $(SOPHYAINCP)datatable.h \
    10621105  $(SOPHYAINCP)basedtable.h \
     
    10771120        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tnt.cc
    10781121 
    1079 $(SOPHYAOBJP)tobjio2.o: tobjio2.cc $(SOPHYAINCP)sopnamsp.h \
     1122$(SOPHYAOBJP)tobjio.o: tobjio.cc $(SOPHYAINCP)sopnamsp.h \
    10801123  $(SOPHYAINCP)histinit.h \
    10811124  $(SOPHYAINCP)ntoolsinit.h \
     
    11081151  $(SOPHYAINCP)tvector_tsnl.h \
    11091152  $(SOPHYAINCP)histos2.h \
     1153  $(SOPHYAINCP)histos.h \
    11101154  $(SOPHYAINCP)ntuple.h \
    11111155  $(SOPHYAINCP)ntupintf.h \
    1112   $(SOPHYAINCP)srandgen.h
    1113         $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tobjio2.cc
    1114  
    1115 $(SOPHYAOBJP)tobjio.o: tobjio.cc $(SOPHYAINCP)sopnamsp.h \
     1156  $(SOPHYAINCP)fmath.h \
     1157  $(SOPHYAINCP)srandgen.h \
     1158  $(SOPHYAINCP)fioarr.h
     1159        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tobjio.cc
     1160 
     1161$(SOPHYAOBJP)tobjio2.o: tobjio2.cc $(SOPHYAINCP)sopnamsp.h \
    11161162  $(SOPHYAINCP)histinit.h \
    11171163  $(SOPHYAINCP)ntoolsinit.h \
     
    11441190  $(SOPHYAINCP)tvector_tsnl.h \
    11451191  $(SOPHYAINCP)histos2.h \
     1192  $(SOPHYAINCP)histos.h \
    11461193  $(SOPHYAINCP)ntuple.h \
    11471194  $(SOPHYAINCP)ntupintf.h \
    1148   $(SOPHYAINCP)srandgen.h \
    1149   $(SOPHYAINCP)fioarr.h
    1150         $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tobjio.cc
     1195  $(SOPHYAINCP)tarray.h \
     1196  $(SOPHYAINCP)fmath.h \
     1197  $(SOPHYAINCP)srandgen.h
     1198        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tobjio2.cc
    11511199 
    11521200$(SOPHYAOBJP)tpipe.o: tpipe.cc $(SOPHYAINCP)sopnamsp.h \
     
    11571205        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tpipe.cc
    11581206 
    1159 $(SOPHYAOBJP)tsimplex.o: tsimplex.cc \
    1160   $(SOPHYAINCP)sopnamsp.h \
     1207$(SOPHYAOBJP)tsimplex.o: tsimplex.cc $(SOPHYAINCP)sopnamsp.h \
    11611208  $(SOPHYAINCP)simplex.h \
    11621209  $(SOPHYAINCP)machdefs.h \
     
    11931240  $(SOPHYAINCP)tarrinit.h \
    11941241  $(SOPHYAINCP)sophyainit.h \
     1242  $(SOPHYAINCP)pexceptions.h \
    11951243  $(SOPHYAINCP)timing.h
    11961244        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tsimplex.cc
     
    12061254  $(SOPHYAINCP)pexceptions.h \
    12071255  $(SOPHYAINCP)timing.h \
     1256  $(SOPHYAINCP)resusage.h \
    12081257  $(SOPHYAINCP)sphereecp.h \
    12091258  $(SOPHYAINCP)sphericalmap.h \
     
    12111260  $(SOPHYAINCP)pixelmap.h \
    12121261  $(SOPHYAINCP)ppersist.h \
     1262  $(SOPHYAINCP)pexceptions.h \
    12131263  $(SOPHYAINCP)gnumd5.h \
    12141264  $(SOPHYAINCP)ppfbinstream.h \
     
    12351285  $(SOPHYAINCP)tvector_tsnl.h \
    12361286  $(SOPHYAINCP)fiosphereecp.h \
     1287  $(SOPHYAINCP)sphereecp.h \
    12371288  $(SOPHYAINCP)array.h \
    12381289  $(SOPHYAINCP)matharr.h \
    12391290  $(SOPHYAINCP)fioarr.h \
    12401291  $(SOPHYAINCP)sopemtx.h \
     1292  $(SOPHYAINCP)arrctcast.h \
    12411293  $(SOPHYAINCP)samba.h \
    12421294  $(SOPHYAINCP)alm.h \
    1243   $(SOPHYAINCP)srandgen.h \
     1295  $(SOPHYAINCP)stsrand.h \
    12441296  $(SOPHYAINCP)nbmath.h \
    12451297  $(SOPHYAINCP)triangmtx.h \
     
    12571309  $(SOPHYAINCP)tod.h
    12581310        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tsphereecp.cc
     1311 
     1312$(SOPHYAOBJP)tspm.o: tspm.cc $(SOPHYAINCP)sopnamsp.h \
     1313  $(SOPHYAINCP)skymapinit.h \
     1314  $(SOPHYAINCP)sophyainit.h \
     1315  $(SOPHYAINCP)machdefs.h \
     1316  $(SOPHYAINCP)skymap.h \
     1317  $(SOPHYAINCP)spherethetaphi.h \
     1318  $(SOPHYAINCP)sphericalmap.h \
     1319  $(SOPHYAINCP)smathconst.h \
     1320  $(SOPHYAINCP)pixelmap.h \
     1321  $(SOPHYAINCP)ppersist.h \
     1322  $(SOPHYAINCP)pexceptions.h \
     1323  $(SOPHYAINCP)gnumd5.h \
     1324  $(SOPHYAINCP)ppfbinstream.h \
     1325  $(SOPHYAINCP)rawstream.h \
     1326  $(SOPHYAINCP)ppfnametag.h \
     1327  $(SOPHYAINCP)dvlist.h \
     1328  $(SOPHYAINCP)objfio.h \
     1329  $(SOPHYAINCP)anydataobj.h \
     1330  $(SOPHYAINCP)mutyv.h \
     1331  $(SOPHYAINCP)timestamp.h \
     1332  $(SOPHYAINCP)spherepos.h \
     1333  $(SOPHYAINCP)unitvector.h \
     1334  $(SOPHYAINCP)vector3d.h \
     1335  $(SOPHYAINCP)longlat.h \
     1336  $(SOPHYAINCP)utilgeom.h \
     1337  $(SOPHYAINCP)datatype.h \
     1338  $(SOPHYAINCP)tvector.h \
     1339  $(SOPHYAINCP)tmatrix.h \
     1340  $(SOPHYAINCP)tarray.h \
     1341  $(SOPHYAINCP)basarr.h \
     1342  $(SOPHYAINCP)ndatablock.h \
     1343  $(SOPHYAINCP)utilarr.h \
     1344  $(SOPHYAINCP)tmatrix_tsnl.h \
     1345  $(SOPHYAINCP)tvector_tsnl.h \
     1346  $(SOPHYAINCP)spherehealpix.h \
     1347  $(SOPHYAINCP)HEALPixUtils.h \
     1348  $(SOPHYAINCP)localmap.h \
     1349  $(SOPHYAINCP)sphereecp.h \
     1350  $(SOPHYAINCP)fiospherethetaphi.h \
     1351  $(SOPHYAINCP)fiospherehealpix.h \
     1352  $(SOPHYAINCP)fiolocalmap.h \
     1353  $(SOPHYAINCP)fiosphereecp.h \
     1354  $(SOPHYAINCP)tod.h \
     1355  $(SOPHYAINCP)misstime.h \
     1356  $(SOPHYAINCP)timing.h
     1357        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tspm.cc
    12591358 
    12601359$(SOPHYAOBJP)tspm2.o: tspm2.cc $(SOPHYAINCP)sopnamsp.h \
     
    13161415        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tspm2.cc
    13171416 
    1318 $(SOPHYAOBJP)tspm.o: tspm.cc $(SOPHYAINCP)sopnamsp.h \
    1319   $(SOPHYAINCP)skymapinit.h \
    1320   $(SOPHYAINCP)sophyainit.h \
    1321   $(SOPHYAINCP)machdefs.h \
    1322   $(SOPHYAINCP)skymap.h \
    1323   $(SOPHYAINCP)spherethetaphi.h \
    1324   $(SOPHYAINCP)sphericalmap.h \
    1325   $(SOPHYAINCP)smathconst.h \
    1326   $(SOPHYAINCP)pixelmap.h \
    1327   $(SOPHYAINCP)ppersist.h \
    1328   $(SOPHYAINCP)pexceptions.h \
    1329   $(SOPHYAINCP)gnumd5.h \
    1330   $(SOPHYAINCP)ppfbinstream.h \
    1331   $(SOPHYAINCP)rawstream.h \
    1332   $(SOPHYAINCP)ppfnametag.h \
    1333   $(SOPHYAINCP)dvlist.h \
    1334   $(SOPHYAINCP)objfio.h \
    1335   $(SOPHYAINCP)anydataobj.h \
    1336   $(SOPHYAINCP)mutyv.h \
    1337   $(SOPHYAINCP)timestamp.h \
    1338   $(SOPHYAINCP)spherepos.h \
    1339   $(SOPHYAINCP)unitvector.h \
    1340   $(SOPHYAINCP)vector3d.h \
    1341   $(SOPHYAINCP)longlat.h \
    1342   $(SOPHYAINCP)utilgeom.h \
    1343   $(SOPHYAINCP)datatype.h \
    1344   $(SOPHYAINCP)tvector.h \
    1345   $(SOPHYAINCP)tmatrix.h \
    1346   $(SOPHYAINCP)tarray.h \
    1347   $(SOPHYAINCP)basarr.h \
    1348   $(SOPHYAINCP)ndatablock.h \
    1349   $(SOPHYAINCP)utilarr.h \
    1350   $(SOPHYAINCP)tmatrix_tsnl.h \
    1351   $(SOPHYAINCP)tvector_tsnl.h \
    1352   $(SOPHYAINCP)spherehealpix.h \
    1353   $(SOPHYAINCP)HEALPixUtils.h \
    1354   $(SOPHYAINCP)localmap.h \
    1355   $(SOPHYAINCP)sphereecp.h \
    1356   $(SOPHYAINCP)fiospherethetaphi.h \
    1357   $(SOPHYAINCP)fiospherehealpix.h \
    1358   $(SOPHYAINCP)fiolocalmap.h \
    1359   $(SOPHYAINCP)fiosphereecp.h \
    1360   $(SOPHYAINCP)tod.h \
    1361   $(SOPHYAINCP)misstime.h \
    1362   $(SOPHYAINCP)timing.h
    1363         $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tspm.cc
    1364  
    13651417$(SOPHYAOBJP)tstboloread.o: tstboloread.cc \
    13661418  $(SOPHYAINCP)sopnamsp.h \
    13671419  $(SOPHYAINCP)machdefs.h \
    13681420  $(SOPHYAINCP)sophyainit.h \
     1421  $(SOPHYAINCP)machdefs.h \
    13691422  $(SOPHYAINCP)pexceptions.h \
    13701423  $(SOPHYAINCP)fboloread.h \
     
    13781431  $(SOPHYAINCP)objfio.h \
    13791432  $(SOPHYAINCP)ppersist.h \
     1433  $(SOPHYAINCP)pexceptions.h \
    13801434  $(SOPHYAINCP)gnumd5.h \
    13811435  $(SOPHYAINCP)ppfbinstream.h \
     
    13971451  $(SOPHYAINCP)machdefs.h \
    13981452  $(SOPHYAINCP)sophyainit.h \
     1453  $(SOPHYAINCP)machdefs.h \
    13991454  $(SOPHYAINCP)pexceptions.h \
    14001455  $(SOPHYAINCP)fabtcolread.h \
     
    14081463  $(SOPHYAINCP)objfio.h \
    14091464  $(SOPHYAINCP)ppersist.h \
     1465  $(SOPHYAINCP)pexceptions.h \
    14101466  $(SOPHYAINCP)gnumd5.h \
    14111467  $(SOPHYAINCP)ppfbinstream.h \
     
    14221478        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tstcolread.cc
    14231479 
    1424 $(SOPHYAOBJP)tstdtable.o: tstdtable.cc \
    1425   $(SOPHYAINCP)sopnamsp.h \
     1480$(SOPHYAOBJP)tstdtable.o: tstdtable.cc $(SOPHYAINCP)sopnamsp.h \
    14261481  $(SOPHYAINCP)histinit.h \
    14271482  $(SOPHYAINCP)ntoolsinit.h \
     
    14601515        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tstdtable.cc
    14611516 
    1462 $(SOPHYAOBJP)tstndblk.o: tstndblk.cc \
    1463   $(SOPHYAINCP)sopnamsp.h \
    1464   $(SOPHYAINCP)machdefs.h \
    1465   $(SOPHYAINCP)ntoolsinit.h \
    1466   $(SOPHYAINCP)tarrinit.h \
    1467   $(SOPHYAINCP)sophyainit.h \
     1517$(SOPHYAOBJP)tstndblk.o: tstndblk.cc $(SOPHYAINCP)sopnamsp.h \
     1518  $(SOPHYAINCP)machdefs.h \
     1519  $(SOPHYAINCP)ntoolsinit.h \
     1520  $(SOPHYAINCP)tarrinit.h \
     1521  $(SOPHYAINCP)sophyainit.h \
     1522  $(SOPHYAINCP)machdefs.h \
    14681523  $(SOPHYAINCP)pexceptions.h \
    14691524  $(SOPHYAINCP)ndatablock.h \
     
    14791534  $(SOPHYAINCP)tarrinit.h \
    14801535  $(SOPHYAINCP)sophyainit.h \
     1536  $(SOPHYAINCP)machdefs.h \
    14811537  $(SOPHYAINCP)pexceptions.h \
    14821538  $(SOPHYAINCP)ppfwrapstlv.h \
    14831539  $(SOPHYAINCP)anydataobj.h \
    14841540  $(SOPHYAINCP)ppersist.h \
     1541  $(SOPHYAINCP)pexceptions.h \
    14851542  $(SOPHYAINCP)gnumd5.h \
    14861543  $(SOPHYAINCP)ppfbinstream.h \
     
    14891546        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tstppfwrapstl.cc
    14901547 
    1491 $(SOPHYAOBJP)tstsegdb.o: tstsegdb.cc \
    1492   $(SOPHYAINCP)sopnamsp.h \
     1548$(SOPHYAOBJP)tstsegdb.o: tstsegdb.cc $(SOPHYAINCP)sopnamsp.h \
    14931549  $(SOPHYAINCP)machdefs.h \
    14941550  $(SOPHYAINCP)timing.h \
     
    14971553  $(SOPHYAINCP)tarrinit.h \
    14981554  $(SOPHYAINCP)sophyainit.h \
     1555  $(SOPHYAINCP)machdefs.h \
    14991556  $(SOPHYAINCP)pexceptions.h \
    15001557  $(SOPHYAINCP)segdatablock.h \
    15011558  $(SOPHYAINCP)anydataobj.h \
    15021559  $(SOPHYAINCP)thsafeop.h \
     1560  $(SOPHYAINCP)pexceptions.h \
    15031561  $(SOPHYAINCP)fiosegdb.h \
    15041562  $(SOPHYAINCP)ppersist.h \
     
    15071565  $(SOPHYAINCP)rawstream.h \
    15081566  $(SOPHYAINCP)ppfnametag.h \
     1567  $(SOPHYAINCP)segdatablock.h \
    15091568  $(SOPHYAINCP)ppftpointerio.h \
    15101569  $(SOPHYAINCP)swsegdb.h \
    15111570  $(SOPHYAINCP)ppfswapper.h \
     1571  $(SOPHYAINCP)swsegdb.h \
    15121572  $(SOPHYAINCP)ppfwrapstlv.h
    15131573        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tstsegdb.cc
     
    15181578  $(SOPHYAINCP)tarrinit.h \
    15191579  $(SOPHYAINCP)sophyainit.h \
     1580  $(SOPHYAINCP)machdefs.h \
    15201581  $(SOPHYAINCP)pexceptions.h \
    15211582  $(SOPHYAINCP)array.h \
     
    15271588  $(SOPHYAINCP)objfio.h \
    15281589  $(SOPHYAINCP)ppersist.h \
     1590  $(SOPHYAINCP)pexceptions.h \
    15291591  $(SOPHYAINCP)gnumd5.h \
    15301592  $(SOPHYAINCP)ppfbinstream.h \
     
    15411603  $(SOPHYAINCP)fioarr.h \
    15421604  $(SOPHYAINCP)sopemtx.h \
     1605  $(SOPHYAINCP)arrctcast.h \
    15431606  $(SOPHYAINCP)srandgen.h
    15441607        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tsttmat.cc
    15451608 
    1546 $(SOPHYAOBJP)tsttminv.o: tsttminv.cc \
    1547   $(SOPHYAINCP)sopnamsp.h \
     1609$(SOPHYAOBJP)tsttminv.o: tsttminv.cc $(SOPHYAINCP)sopnamsp.h \
    15481610  $(SOPHYAINCP)machdefs.h \
    15491611  $(SOPHYAINCP)timing.h \
     
    15511613  $(SOPHYAINCP)tarrinit.h \
    15521614  $(SOPHYAINCP)sophyainit.h \
     1615  $(SOPHYAINCP)machdefs.h \
    15531616  $(SOPHYAINCP)pexceptions.h \
    15541617  $(SOPHYAINCP)array.h \
     
    15601623  $(SOPHYAINCP)objfio.h \
    15611624  $(SOPHYAINCP)ppersist.h \
     1625  $(SOPHYAINCP)pexceptions.h \
    15621626  $(SOPHYAINCP)gnumd5.h \
    15631627  $(SOPHYAINCP)ppfbinstream.h \
     
    15741638  $(SOPHYAINCP)fioarr.h \
    15751639  $(SOPHYAINCP)sopemtx.h \
     1640  $(SOPHYAINCP)arrctcast.h \
    15761641  $(SOPHYAINCP)srandgen.h \
    15771642  $(SOPHYAINCP)intflapack.h
     
    15831648  $(SOPHYAINCP)tarrinit.h \
    15841649  $(SOPHYAINCP)sophyainit.h \
     1650  $(SOPHYAINCP)machdefs.h \
    15851651  $(SOPHYAINCP)pexceptions.h \
    15861652  $(SOPHYAINCP)array.h \
     
    15921658  $(SOPHYAINCP)objfio.h \
    15931659  $(SOPHYAINCP)ppersist.h \
     1660  $(SOPHYAINCP)pexceptions.h \
    15941661  $(SOPHYAINCP)gnumd5.h \
    15951662  $(SOPHYAINCP)ppfbinstream.h \
     
    16061673  $(SOPHYAINCP)fioarr.h \
    16071674  $(SOPHYAINCP)sopemtx.h \
     1675  $(SOPHYAINCP)arrctcast.h \
    16081676  $(SOPHYAINCP)srandgen.h
    16091677        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tsttvec.cc
     
    16311699  $(SOPHYAINCP)thsafeop.h \
    16321700  $(SOPHYAINCP)fitsinoutfile.h \
     1701  $(SOPHYAINCP)dvlist.h \
    16331702  $(SOPHYAINCP)FitsIO/fitsio.h \
    16341703  $(SOPHYAINCP)FitsIO/longnam.h \
     
    16461715  $(SOPHYAINCP)fiosinit.h \
    16471716  $(SOPHYAINCP)swfitsdtable.h \
     1717  $(SOPHYAINCP)fitsswapper.h \
    16481718  $(SOPHYAINCP)fitshandler.h \
    16491719  $(SOPHYAINCP)datatable.h \
    1650   $(SOPHYAINCP)fitshdtable.h
     1720  $(SOPHYAINCP)fitshdtable.h \
     1721  $(SOPHYAINCP)datatable.h
    16511722        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tswfits.cc
    16521723 
     
    16561727  $(SOPHYAINCP)timing.h \
    16571728  $(SOPHYAINCP)timestamp.h \
     1729  $(SOPHYAINCP)machdefs.h \
    16581730  $(SOPHYAINCP)objfio.h \
    16591731  $(SOPHYAINCP)anydataobj.h \
     
    16681740  $(SOPHYAINCP)tarrinit.h \
    16691741  $(SOPHYAINCP)sophyainit.h \
     1742  $(SOPHYAINCP)pexceptions.h \
    16701743  $(SOPHYAINCP)ppfwrapstlv.h
    16711744        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  ttimestamp.cc
     
    16931766  $(SOPHYAINCP)tmatrix_tsnl.h \
    16941767  $(SOPHYAINCP)tvector.h \
    1695   $(SOPHYAINCP)tvector_tsnl.h \
    1696   $(SOPHYAINCP)matharr.h \
    1697   $(SOPHYAINCP)tarrinit.h \
    1698   $(SOPHYAINCP)sophyainit.h \
     1768  $(SOPHYAINCP)tmatrix.h \
     1769  $(SOPHYAINCP)tvector_tsnl.h \
     1770  $(SOPHYAINCP)matharr.h \
     1771  $(SOPHYAINCP)tarrinit.h \
     1772  $(SOPHYAINCP)sophyainit.h \
     1773  $(SOPHYAINCP)stsrand.h \
    16991774  $(SOPHYAINCP)timing.h \
    17001775  $(SOPHYAINCP)ctimer.h
  • trunk/SophyaProg/Tests/obj_fits.cc

    r2615 r3572  
    88#include "dvlist.h"
    99#include "ntuple.h"
    10 #include "xntuple.h"
    11 #include "fitsxntuple.h"
    1210#include "fitsntuple.h"
    1311#include "fitstarray.h"
     
    6058     
    6159      cout << " Creating NTuple " << endl;
    62       char * names[3] = {"XPos", "YPos", "Val"};
     60      const char * names[3] = {"XPos", "YPos", "Val"};
    6361      int i,j, k;
    6462      float xnt[3];
  • trunk/SophyaProg/Tests/smakefile

    r3399 r3572  
    11include $(SOPHYABASE)/include/sophyamake.inc
    2 
    32 
    43PROGS = $(SOPHYAEXEP)arrt $(SOPHYAEXEP)carrt $(SOPHYAEXEP)lpk $(SOPHYAEXEP)obj_fits $(SOPHYAEXEP)ovharr $(SOPHYAEXEP)pizthr $(SOPHYAEXEP)ppftswap $(SOPHYAEXEP)spar $(SOPHYAEXEP)sphg0 $(SOPHYAEXEP)sph2lm $(SOPHYAEXEP)tcmd $(SOPHYAEXEP)tcxxcmpldynl $(SOPHYAEXEP)tdcr $(SOPHYAEXEP)tdynl $(SOPHYAEXEP)tfft $(SOPHYAEXEP)thash $(SOPHYAEXEP)timg $(SOPHYAEXEP)tmxv $(SOPHYAEXEP)tnt $(SOPHYAEXEP)tobjio2 $(SOPHYAEXEP)tobjio $(SOPHYAEXEP)tpipe $(SOPHYAEXEP)tsimplex $(SOPHYAEXEP)tsphereecp $(SOPHYAEXEP)tspm2 $(SOPHYAEXEP)tspm $(SOPHYAEXEP)tstboloread $(SOPHYAEXEP)tstcolread $(SOPHYAEXEP)tstdtable $(SOPHYAEXEP)tstndblk $(SOPHYAEXEP)tstppfwrapstl $(SOPHYAEXEP)tstsegdb $(SOPHYAEXEP)tswfits $(SOPHYAEXEP)tnfits $(SOPHYAEXEP)tfitsdt $(SOPHYAEXEP)tsttmat $(SOPHYAEXEP)tsttminv $(SOPHYAEXEP)tsttvec $(SOPHYAEXEP)ttimestamp $(SOPHYAEXEP)zthr $(SOPHYAEXEP)tmtrnd $(SOPHYAEXEP)tmtrnd3 $(SOPHYAEXEP)tmtdt
     
    229228  $(SOPHYAINCP)tarrinit.h \
    230229  $(SOPHYAINCP)sophyainit.h \
     230  $(SOPHYAINCP)machdefs.h \
    231231  $(SOPHYAINCP)array.h \
    232232  $(SOPHYAINCP)tarray.h \
     
    252252  $(SOPHYAINCP)fioarr.h \
    253253  $(SOPHYAINCP)sopemtx.h \
     254  $(SOPHYAINCP)arrctcast.h \
    254255  $(SOPHYAINCP)timing.h
    255256        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  arrt.cc
     
    259260  $(SOPHYAINCP)tarrinit.h \
    260261  $(SOPHYAINCP)sophyainit.h \
     262  $(SOPHYAINCP)machdefs.h \
    261263  $(SOPHYAINCP)array.h \
    262264  $(SOPHYAINCP)tarray.h \
     
    282284  $(SOPHYAINCP)fioarr.h \
    283285  $(SOPHYAINCP)sopemtx.h \
     286  $(SOPHYAINCP)arrctcast.h \
    284287  $(SOPHYAINCP)timing.h
    285288        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  carrt.cc
     
    288291  $(SOPHYAINCP)machdefs.h \
    289292  $(SOPHYAINCP)srandgen.h \
     293  $(SOPHYAINCP)machdefs.h \
    290294  $(SOPHYAINCP)tarrinit.h \
    291295  $(SOPHYAINCP)sophyainit.h \
     
    313317  $(SOPHYAINCP)fioarr.h \
    314318  $(SOPHYAINCP)sopemtx.h \
     319  $(SOPHYAINCP)arrctcast.h \
    315320  $(SOPHYAINCP)timing.h \
    316321  $(SOPHYAINCP)intflapack.h
    317322        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  lpk.cc
    318323 
    319 $(SOPHYAOBJP)obj_fits.o: obj_fits.cc \
    320   $(SOPHYAINCP)sopnamsp.h \
     324$(SOPHYAOBJP)obj_fits.o: obj_fits.cc $(SOPHYAINCP)sopnamsp.h \
    321325  $(SOPHYAINCP)histinit.h \
    322326  $(SOPHYAINCP)ntoolsinit.h \
     
    337341  $(SOPHYAINCP)ntuple.h \
    338342  $(SOPHYAINCP)ntupintf.h \
    339   $(SOPHYAINCP)xntuple.h \
    340   $(SOPHYAINCP)fitsxntuple.h \
     343  $(SOPHYAINCP)dvlist.h \
     344  $(SOPHYAINCP)fitsntuple.h \
     345  $(SOPHYAINCP)ntuple.h \
    341346  $(SOPHYAINCP)fitsfile.h \
    342347  $(SOPHYAINCP)ndatablock.h \
     
    345350  $(SOPHYAINCP)FitsIO/longnam.h \
    346351  $(SOPHYAINCP)fitshandler.h \
    347   $(SOPHYAINCP)fitsntuple.h \
    348352  $(SOPHYAINCP)fitstarray.h \
    349353  $(SOPHYAINCP)tarray.h \
     
    357361  $(SOPHYAINCP)matharr.h \
    358362  $(SOPHYAINCP)fioarr.h \
    359   $(SOPHYAINCP)sopemtx.h
     363  $(SOPHYAINCP)sopemtx.h \
     364  $(SOPHYAINCP)arrctcast.h
    360365        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  obj_fits.cc
    361366 
     
    364369  $(SOPHYAINCP)tarrinit.h \
    365370  $(SOPHYAINCP)sophyainit.h \
     371  $(SOPHYAINCP)machdefs.h \
    366372  $(SOPHYAINCP)array.h \
    367373  $(SOPHYAINCP)tarray.h \
     
    387393  $(SOPHYAINCP)fioarr.h \
    388394  $(SOPHYAINCP)sopemtx.h \
     395  $(SOPHYAINCP)arrctcast.h \
    389396  $(SOPHYAINCP)ctimer.h \
    390397  $(SOPHYAINCP)timing.h \
     
    395402  $(SOPHYAINCP)machdefs.h \
    396403  $(SOPHYAINCP)zthread.h \
     404  $(SOPHYAINCP)machdefs.h \
    397405  $(SOPHYAINCP)pexceptions.h \
    398406  $(SOPHYAINCP)pisysdep.h \
     
    400408  $(SOPHYAINCP)piapplgen.h \
    401409  $(SOPHYAINCP)pimsghandler.h \
     410  $(SOPHYAINCP)pisysdep.h \
    402411  $(SOPHYAINCP)picontainerx.h \
    403412  $(SOPHYAINCP)picontainergen.h \
     
    405414  $(SOPHYAINCP)piwdggen.h \
    406415  $(SOPHYAINCP)picolist.h \
     416  $(SOPHYAINCP)pipixutils.h \
    407417  $(SOPHYAINCP)pimenubarx.h \
    408418  $(SOPHYAINCP)pimenubargen.h \
    409419  $(SOPHYAINCP)pimenux.h \
    410420  $(SOPHYAINCP)pimenugen.h \
     421  $(SOPHYAINCP)piconsenum.h \
     422  $(SOPHYAINCP)pimenux.h \
     423  $(SOPHYAINCP)pistdwdgx.h \
     424  $(SOPHYAINCP)pistdwdggen.h \
     425  $(SOPHYAINCP)piwindowx.h \
     426  $(SOPHYAINCP)piwindowgen.h \
     427  $(SOPHYAINCP)piperiodx.h \
     428  $(SOPHYAINCP)periodic.h \
    411429  $(SOPHYAINCP)picons.h \
    412430  $(SOPHYAINCP)pistdwdgx.h \
    413   $(SOPHYAINCP)pistdwdggen.h \
    414431  $(SOPHYAINCP)pibwdgx.h \
    415432  $(SOPHYAINCP)pibwdggen.h \
     
    427444  $(SOPHYAINCP)psfile.h \
    428445  $(SOPHYAINCP)pigraphps.h \
    429   $(SOPHYAINCP)piwindowx.h \
    430   $(SOPHYAINCP)piwindowgen.h \
    431   $(SOPHYAINCP)piperiodx.h \
    432   $(SOPHYAINCP)periodic.h \
    433446  $(SOPHYAINCP)tarrinit.h \
    434447  $(SOPHYAINCP)sophyainit.h \
     
    455468  $(SOPHYAINCP)fioarr.h \
    456469  $(SOPHYAINCP)sopemtx.h \
     470  $(SOPHYAINCP)arrctcast.h \
    457471  $(SOPHYAINCP)timing.h
    458472        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pizthr.cc
    459473 
    460 $(SOPHYAOBJP)ppftswap.o: ppftswap.cc \
    461   $(SOPHYAINCP)sopnamsp.h \
     474$(SOPHYAOBJP)ppftswap.o: ppftswap.cc $(SOPHYAINCP)sopnamsp.h \
    462475  $(SOPHYAINCP)sophyainit.h \
    463476  $(SOPHYAINCP)machdefs.h \
     
    485498  $(SOPHYAINCP)fioarr.h \
    486499  $(SOPHYAINCP)sopemtx.h \
     500  $(SOPHYAINCP)arrctcast.h \
    487501  $(SOPHYAINCP)fiondblock.h \
    488   $(SOPHYAINCP)tarrinit.h
     502  $(SOPHYAINCP)fioarr.h \
     503  $(SOPHYAINCP)tarrinit.h \
     504  $(SOPHYAINCP)sophyainit.h
    489505        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  ppftswap.cc
    490506 
     
    493509  $(SOPHYAINCP)tarrinit.h \
    494510  $(SOPHYAINCP)sophyainit.h \
     511  $(SOPHYAINCP)machdefs.h \
    495512  $(SOPHYAINCP)array.h \
    496513  $(SOPHYAINCP)tarray.h \
     
    516533  $(SOPHYAINCP)fioarr.h \
    517534  $(SOPHYAINCP)sopemtx.h \
     535  $(SOPHYAINCP)arrctcast.h \
    518536  $(SOPHYAINCP)timing.h \
    519537  $(SOPHYAINCP)resusage.h
     
    539557  $(SOPHYAINCP)cimage.h \
    540558  $(SOPHYAINCP)tmatrix.h \
     559  $(SOPHYAINCP)tarray.h \
    541560  $(SOPHYAINCP)tmatrix_tsnl.h \
    542561  $(SOPHYAINCP)fioarr.h \
     
    617636  $(SOPHYAINCP)machdefs.h \
    618637  $(SOPHYAINCP)sophyainit.h \
     638  $(SOPHYAINCP)machdefs.h \
    619639  $(SOPHYAINCP)timing.h \
    620640  $(SOPHYAINCP)cexpre.h \
     
    666686  $(SOPHYAINCP)fioarr.h \
    667687  $(SOPHYAINCP)sopemtx.h \
     688  $(SOPHYAINCP)arrctcast.h \
    668689  $(SOPHYAINCP)cxxcmplnk.h \
    669690  $(SOPHYAINCP)pdlmgr.h \
     
    702723  $(SOPHYAINCP)tvector_tsnl.h \
    703724  $(SOPHYAINCP)histos2.h \
     725  $(SOPHYAINCP)histos.h \
    704726  $(SOPHYAINCP)psighand.h \
     727  $(SOPHYAINCP)fmath.h \
    705728  $(SOPHYAINCP)srandgen.h
    706729        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tdcr.cc
     
    733756  $(SOPHYAINCP)fioarr.h \
    734757  $(SOPHYAINCP)sopemtx.h \
     758  $(SOPHYAINCP)arrctcast.h \
    735759  $(SOPHYAINCP)pdlmgr.h \
     760  $(SOPHYAINCP)pexceptions.h \
    736761  $(SOPHYAINCP)timing.h
    737762        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tdynl.cc
     
    740765  $(SOPHYAINCP)machdefs.h \
    741766  $(SOPHYAINCP)srandgen.h \
     767  $(SOPHYAINCP)machdefs.h \
    742768  $(SOPHYAINCP)matharr.h \
    743769  $(SOPHYAINCP)tarray.h \
     
    803829  $(SOPHYAINCP)tvector_tsnl.h \
    804830  $(SOPHYAINCP)fitshdtable.h \
     831  $(SOPHYAINCP)datatable.h \
    805832  $(SOPHYAINCP)fitshandler.h \
    806833  $(SOPHYAINCP)fitsinoutfile.h \
     
    820847  $(SOPHYAINCP)ppfbinstream.h \
    821848  $(SOPHYAINCP)rawstream.h \
    822   $(SOPHYAINCP)ppfnametag.h
     849  $(SOPHYAINCP)ppfnametag.h \
     850  $(SOPHYAINCP)ppersist.h
    823851        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  thash.cc
    824852 
     
    851879  $(SOPHYAINCP)fioarr.h \
    852880  $(SOPHYAINCP)sopemtx.h \
     881  $(SOPHYAINCP)arrctcast.h \
    853882  $(SOPHYAINCP)cimage.h \
    854883  $(SOPHYAINCP)srandgen.h \
     884  $(SOPHYAINCP)ndatablock.h \
    855885  $(SOPHYAINCP)fiondblock.h
    856886        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  timg.cc
     
    883913  $(SOPHYAINCP)tvector_tsnl.h \
    884914  $(SOPHYAINCP)fioarr.h \
     915  $(SOPHYAINCP)tvector.h \
    885916  $(SOPHYAINCP)matharr.h \
    886917  $(SOPHYAINCP)tarrinit.h \
     
    901932  $(SOPHYAINCP)swfitsdtable.h \
    902933  $(SOPHYAINCP)fitsswapper.h \
     934  $(SOPHYAINCP)fitsinoutfile.h \
    903935  $(SOPHYAINCP)fitsblkrw.h \
    904936  $(SOPHYAINCP)fitshandler.h \
    905937  $(SOPHYAINCP)fitshdtable.h \
     938  $(SOPHYAINCP)datatable.h \
    906939  $(SOPHYAINCP)histinit.h \
    907   $(SOPHYAINCP)ntoolsinit.h
     940  $(SOPHYAINCP)ntoolsinit.h \
     941  $(SOPHYAINCP)tarrinit.h
    908942        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tmtdt.cc
     943 
     944$(SOPHYAOBJP)tmtrnd.o: tmtrnd.cc $(SOPHYAINCP)sopnamsp.h \
     945  $(SOPHYAINCP)zthread.h \
     946  $(SOPHYAINCP)machdefs.h \
     947  $(SOPHYAINCP)pexceptions.h \
     948  $(SOPHYAINCP)resusage.h \
     949  $(SOPHYAINCP)ctimer.h \
     950  $(SOPHYAINCP)timing.h \
     951  $(SOPHYAINCP)tvector.h \
     952  $(SOPHYAINCP)tmatrix.h \
     953  $(SOPHYAINCP)tarray.h \
     954  $(SOPHYAINCP)basarr.h \
     955  $(SOPHYAINCP)anydataobj.h \
     956  $(SOPHYAINCP)mutyv.h \
     957  $(SOPHYAINCP)timestamp.h \
     958  $(SOPHYAINCP)objfio.h \
     959  $(SOPHYAINCP)ppersist.h \
     960  $(SOPHYAINCP)gnumd5.h \
     961  $(SOPHYAINCP)ppfbinstream.h \
     962  $(SOPHYAINCP)rawstream.h \
     963  $(SOPHYAINCP)ppfnametag.h \
     964  $(SOPHYAINCP)dvlist.h \
     965  $(SOPHYAINCP)ndatablock.h \
     966  $(SOPHYAINCP)utilarr.h \
     967  $(SOPHYAINCP)tmatrix_tsnl.h \
     968  $(SOPHYAINCP)tvector_tsnl.h \
     969  $(SOPHYAINCP)fioarr.h \
     970  $(SOPHYAINCP)tvector.h \
     971  $(SOPHYAINCP)matharr.h \
     972  $(SOPHYAINCP)tarrinit.h \
     973  $(SOPHYAINCP)sophyainit.h \
     974  $(SOPHYAINCP)srandgen.h \
     975  $(SOPHYAINCP)stsrand.h
     976        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tmtrnd.cc
    909977 
    910978$(SOPHYAOBJP)tmtrnd3.o: tmtrnd3.cc $(SOPHYAINCP)sopnamsp.h \
     
    9321000  $(SOPHYAINCP)matharr.h \
    9331001  $(SOPHYAINCP)fioarr.h \
     1002  $(SOPHYAINCP)tvector.h \
    9341003  $(SOPHYAINCP)tarrinit.h \
    9351004  $(SOPHYAINCP)sophyainit.h \
     
    9401009        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tmtrnd3.cc
    9411010 
    942 $(SOPHYAOBJP)tmtrnd.o: tmtrnd.cc $(SOPHYAINCP)sopnamsp.h \
    943   $(SOPHYAINCP)zthread.h \
    944   $(SOPHYAINCP)machdefs.h \
    945   $(SOPHYAINCP)pexceptions.h \
    946   $(SOPHYAINCP)resusage.h \
    947   $(SOPHYAINCP)ctimer.h \
    948   $(SOPHYAINCP)timing.h \
    949   $(SOPHYAINCP)tvector.h \
    950   $(SOPHYAINCP)tmatrix.h \
    951   $(SOPHYAINCP)tarray.h \
    952   $(SOPHYAINCP)basarr.h \
    953   $(SOPHYAINCP)anydataobj.h \
    954   $(SOPHYAINCP)mutyv.h \
    955   $(SOPHYAINCP)timestamp.h \
    956   $(SOPHYAINCP)objfio.h \
    957   $(SOPHYAINCP)ppersist.h \
    958   $(SOPHYAINCP)gnumd5.h \
    959   $(SOPHYAINCP)ppfbinstream.h \
    960   $(SOPHYAINCP)rawstream.h \
    961   $(SOPHYAINCP)ppfnametag.h \
    962   $(SOPHYAINCP)dvlist.h \
    963   $(SOPHYAINCP)ndatablock.h \
    964   $(SOPHYAINCP)utilarr.h \
    965   $(SOPHYAINCP)tmatrix_tsnl.h \
    966   $(SOPHYAINCP)tvector_tsnl.h \
    967   $(SOPHYAINCP)fioarr.h \
    968   $(SOPHYAINCP)matharr.h \
    969   $(SOPHYAINCP)tarrinit.h \
    970   $(SOPHYAINCP)sophyainit.h \
     1011$(SOPHYAOBJP)tmxv.o: tmxv.cc $(SOPHYAINCP)sopnamsp.h \
     1012  $(SOPHYAINCP)machdefs.h \
    9711013  $(SOPHYAINCP)srandgen.h \
    972   $(SOPHYAINCP)stsrand.h
    973         $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tmtrnd.cc
    974  
    975 $(SOPHYAOBJP)tmxv.o: tmxv.cc $(SOPHYAINCP)sopnamsp.h \
    976   $(SOPHYAINCP)machdefs.h \
    977   $(SOPHYAINCP)srandgen.h \
     1014  $(SOPHYAINCP)machdefs.h \
    9781015  $(SOPHYAINCP)tarrinit.h \
    9791016  $(SOPHYAINCP)sophyainit.h \
     
    9981035  $(SOPHYAINCP)tvector_tsnl.h \
    9991036  $(SOPHYAINCP)sopemtx.h \
     1037  $(SOPHYAINCP)tvector.h \
    10001038  $(SOPHYAINCP)timing.h
    10011039        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tmxv.cc
     
    10081046  $(SOPHYAINCP)tarrinit.h \
    10091047  $(SOPHYAINCP)sophyainit.h \
     1048  $(SOPHYAINCP)machdefs.h \
    10101049  $(SOPHYAINCP)array.h \
    10111050  $(SOPHYAINCP)tarray.h \
     
    10311070  $(SOPHYAINCP)fioarr.h \
    10321071  $(SOPHYAINCP)sopemtx.h \
     1072  $(SOPHYAINCP)arrctcast.h \
    10331073  $(SOPHYAINCP)fitsinoutfile.h \
    10341074  $(SOPHYAINCP)FitsIO/fitsio.h \
    10351075  $(SOPHYAINCP)FitsIO/longnam.h \
    10361076  $(SOPHYAINCP)fitsblkrw.h \
     1077  $(SOPHYAINCP)fitsinoutfile.h \
    10371078  $(SOPHYAINCP)fitsarrhand.h \
    10381079  $(SOPHYAINCP)fitshandler.h \
     1080  $(SOPHYAINCP)fitsblkrw.h \
    10391081  $(SOPHYAINCP)fiosinit.h
    10401082        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tnfits.cc
     
    10591101  $(SOPHYAINCP)ntuple.h \
    10601102  $(SOPHYAINCP)ntupintf.h \
    1061   $(SOPHYAINCP)xntuple.h \
     1103  $(SOPHYAINCP)dvlist.h \
    10621104  $(SOPHYAINCP)datatable.h \
    10631105  $(SOPHYAINCP)basedtable.h \
     
    10781120        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tnt.cc
    10791121 
    1080 $(SOPHYAOBJP)tobjio2.o: tobjio2.cc $(SOPHYAINCP)sopnamsp.h \
     1122$(SOPHYAOBJP)tobjio.o: tobjio.cc $(SOPHYAINCP)sopnamsp.h \
    10811123  $(SOPHYAINCP)histinit.h \
    10821124  $(SOPHYAINCP)ntoolsinit.h \
     
    11091151  $(SOPHYAINCP)tvector_tsnl.h \
    11101152  $(SOPHYAINCP)histos2.h \
     1153  $(SOPHYAINCP)histos.h \
    11111154  $(SOPHYAINCP)ntuple.h \
    11121155  $(SOPHYAINCP)ntupintf.h \
    1113   $(SOPHYAINCP)srandgen.h
    1114         $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tobjio2.cc
    1115  
    1116 $(SOPHYAOBJP)tobjio.o: tobjio.cc $(SOPHYAINCP)sopnamsp.h \
     1156  $(SOPHYAINCP)fmath.h \
     1157  $(SOPHYAINCP)srandgen.h \
     1158  $(SOPHYAINCP)fioarr.h
     1159        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tobjio.cc
     1160 
     1161$(SOPHYAOBJP)tobjio2.o: tobjio2.cc $(SOPHYAINCP)sopnamsp.h \
    11171162  $(SOPHYAINCP)histinit.h \
    11181163  $(SOPHYAINCP)ntoolsinit.h \
     
    11451190  $(SOPHYAINCP)tvector_tsnl.h \
    11461191  $(SOPHYAINCP)histos2.h \
     1192  $(SOPHYAINCP)histos.h \
    11471193  $(SOPHYAINCP)ntuple.h \
    11481194  $(SOPHYAINCP)ntupintf.h \
    1149   $(SOPHYAINCP)srandgen.h \
    1150   $(SOPHYAINCP)fioarr.h
    1151         $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tobjio.cc
     1195  $(SOPHYAINCP)tarray.h \
     1196  $(SOPHYAINCP)fmath.h \
     1197  $(SOPHYAINCP)srandgen.h
     1198        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tobjio2.cc
    11521199 
    11531200$(SOPHYAOBJP)tpipe.o: tpipe.cc $(SOPHYAINCP)sopnamsp.h \
     
    11581205        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tpipe.cc
    11591206 
    1160 $(SOPHYAOBJP)tsimplex.o: tsimplex.cc \
    1161   $(SOPHYAINCP)sopnamsp.h \
     1207$(SOPHYAOBJP)tsimplex.o: tsimplex.cc $(SOPHYAINCP)sopnamsp.h \
    11621208  $(SOPHYAINCP)simplex.h \
    11631209  $(SOPHYAINCP)machdefs.h \
     
    11941240  $(SOPHYAINCP)tarrinit.h \
    11951241  $(SOPHYAINCP)sophyainit.h \
     1242  $(SOPHYAINCP)pexceptions.h \
    11961243  $(SOPHYAINCP)timing.h
    11971244        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tsimplex.cc
     
    12071254  $(SOPHYAINCP)pexceptions.h \
    12081255  $(SOPHYAINCP)timing.h \
     1256  $(SOPHYAINCP)resusage.h \
    12091257  $(SOPHYAINCP)sphereecp.h \
    12101258  $(SOPHYAINCP)sphericalmap.h \
     
    12121260  $(SOPHYAINCP)pixelmap.h \
    12131261  $(SOPHYAINCP)ppersist.h \
     1262  $(SOPHYAINCP)pexceptions.h \
    12141263  $(SOPHYAINCP)gnumd5.h \
    12151264  $(SOPHYAINCP)ppfbinstream.h \
     
    12361285  $(SOPHYAINCP)tvector_tsnl.h \
    12371286  $(SOPHYAINCP)fiosphereecp.h \
     1287  $(SOPHYAINCP)sphereecp.h \
    12381288  $(SOPHYAINCP)array.h \
    12391289  $(SOPHYAINCP)matharr.h \
    12401290  $(SOPHYAINCP)fioarr.h \
    12411291  $(SOPHYAINCP)sopemtx.h \
     1292  $(SOPHYAINCP)arrctcast.h \
    12421293  $(SOPHYAINCP)samba.h \
    12431294  $(SOPHYAINCP)alm.h \
    1244   $(SOPHYAINCP)srandgen.h \
     1295  $(SOPHYAINCP)stsrand.h \
    12451296  $(SOPHYAINCP)nbmath.h \
    12461297  $(SOPHYAINCP)triangmtx.h \
     
    12581309  $(SOPHYAINCP)tod.h
    12591310        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tsphereecp.cc
     1311 
     1312$(SOPHYAOBJP)tspm.o: tspm.cc $(SOPHYAINCP)sopnamsp.h \
     1313  $(SOPHYAINCP)skymapinit.h \
     1314  $(SOPHYAINCP)sophyainit.h \
     1315  $(SOPHYAINCP)machdefs.h \
     1316  $(SOPHYAINCP)skymap.h \
     1317  $(SOPHYAINCP)spherethetaphi.h \
     1318  $(SOPHYAINCP)sphericalmap.h \
     1319  $(SOPHYAINCP)smathconst.h \
     1320  $(SOPHYAINCP)pixelmap.h \
     1321  $(SOPHYAINCP)ppersist.h \
     1322  $(SOPHYAINCP)pexceptions.h \
     1323  $(SOPHYAINCP)gnumd5.h \
     1324  $(SOPHYAINCP)ppfbinstream.h \
     1325  $(SOPHYAINCP)rawstream.h \
     1326  $(SOPHYAINCP)ppfnametag.h \
     1327  $(SOPHYAINCP)dvlist.h \
     1328  $(SOPHYAINCP)objfio.h \
     1329  $(SOPHYAINCP)anydataobj.h \
     1330  $(SOPHYAINCP)mutyv.h \
     1331  $(SOPHYAINCP)timestamp.h \
     1332  $(SOPHYAINCP)spherepos.h \
     1333  $(SOPHYAINCP)unitvector.h \
     1334  $(SOPHYAINCP)vector3d.h \
     1335  $(SOPHYAINCP)longlat.h \
     1336  $(SOPHYAINCP)utilgeom.h \
     1337  $(SOPHYAINCP)datatype.h \
     1338  $(SOPHYAINCP)tvector.h \
     1339  $(SOPHYAINCP)tmatrix.h \
     1340  $(SOPHYAINCP)tarray.h \
     1341  $(SOPHYAINCP)basarr.h \
     1342  $(SOPHYAINCP)ndatablock.h \
     1343  $(SOPHYAINCP)utilarr.h \
     1344  $(SOPHYAINCP)tmatrix_tsnl.h \
     1345  $(SOPHYAINCP)tvector_tsnl.h \
     1346  $(SOPHYAINCP)spherehealpix.h \
     1347  $(SOPHYAINCP)HEALPixUtils.h \
     1348  $(SOPHYAINCP)localmap.h \
     1349  $(SOPHYAINCP)sphereecp.h \
     1350  $(SOPHYAINCP)fiospherethetaphi.h \
     1351  $(SOPHYAINCP)fiospherehealpix.h \
     1352  $(SOPHYAINCP)fiolocalmap.h \
     1353  $(SOPHYAINCP)fiosphereecp.h \
     1354  $(SOPHYAINCP)tod.h \
     1355  $(SOPHYAINCP)misstime.h \
     1356  $(SOPHYAINCP)timing.h
     1357        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tspm.cc
    12601358 
    12611359$(SOPHYAOBJP)tspm2.o: tspm2.cc $(SOPHYAINCP)sopnamsp.h \
     
    13171415        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tspm2.cc
    13181416 
    1319 $(SOPHYAOBJP)tspm.o: tspm.cc $(SOPHYAINCP)sopnamsp.h \
    1320   $(SOPHYAINCP)skymapinit.h \
    1321   $(SOPHYAINCP)sophyainit.h \
    1322   $(SOPHYAINCP)machdefs.h \
    1323   $(SOPHYAINCP)skymap.h \
    1324   $(SOPHYAINCP)spherethetaphi.h \
    1325   $(SOPHYAINCP)sphericalmap.h \
    1326   $(SOPHYAINCP)smathconst.h \
    1327   $(SOPHYAINCP)pixelmap.h \
    1328   $(SOPHYAINCP)ppersist.h \
    1329   $(SOPHYAINCP)pexceptions.h \
    1330   $(SOPHYAINCP)gnumd5.h \
    1331   $(SOPHYAINCP)ppfbinstream.h \
    1332   $(SOPHYAINCP)rawstream.h \
    1333   $(SOPHYAINCP)ppfnametag.h \
    1334   $(SOPHYAINCP)dvlist.h \
    1335   $(SOPHYAINCP)objfio.h \
    1336   $(SOPHYAINCP)anydataobj.h \
    1337   $(SOPHYAINCP)mutyv.h \
    1338   $(SOPHYAINCP)timestamp.h \
    1339   $(SOPHYAINCP)spherepos.h \
    1340   $(SOPHYAINCP)unitvector.h \
    1341   $(SOPHYAINCP)vector3d.h \
    1342   $(SOPHYAINCP)longlat.h \
    1343   $(SOPHYAINCP)utilgeom.h \
    1344   $(SOPHYAINCP)datatype.h \
    1345   $(SOPHYAINCP)tvector.h \
    1346   $(SOPHYAINCP)tmatrix.h \
    1347   $(SOPHYAINCP)tarray.h \
    1348   $(SOPHYAINCP)basarr.h \
    1349   $(SOPHYAINCP)ndatablock.h \
    1350   $(SOPHYAINCP)utilarr.h \
    1351   $(SOPHYAINCP)tmatrix_tsnl.h \
    1352   $(SOPHYAINCP)tvector_tsnl.h \
    1353   $(SOPHYAINCP)spherehealpix.h \
    1354   $(SOPHYAINCP)HEALPixUtils.h \
    1355   $(SOPHYAINCP)localmap.h \
    1356   $(SOPHYAINCP)sphereecp.h \
    1357   $(SOPHYAINCP)fiospherethetaphi.h \
    1358   $(SOPHYAINCP)fiospherehealpix.h \
    1359   $(SOPHYAINCP)fiolocalmap.h \
    1360   $(SOPHYAINCP)fiosphereecp.h \
    1361   $(SOPHYAINCP)tod.h \
    1362   $(SOPHYAINCP)misstime.h \
    1363   $(SOPHYAINCP)timing.h
    1364         $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tspm.cc
    1365  
    13661417$(SOPHYAOBJP)tstboloread.o: tstboloread.cc \
    13671418  $(SOPHYAINCP)sopnamsp.h \
    13681419  $(SOPHYAINCP)machdefs.h \
    13691420  $(SOPHYAINCP)sophyainit.h \
     1421  $(SOPHYAINCP)machdefs.h \
    13701422  $(SOPHYAINCP)pexceptions.h \
    13711423  $(SOPHYAINCP)fboloread.h \
     
    13791431  $(SOPHYAINCP)objfio.h \
    13801432  $(SOPHYAINCP)ppersist.h \
     1433  $(SOPHYAINCP)pexceptions.h \
    13811434  $(SOPHYAINCP)gnumd5.h \
    13821435  $(SOPHYAINCP)ppfbinstream.h \
     
    13981451  $(SOPHYAINCP)machdefs.h \
    13991452  $(SOPHYAINCP)sophyainit.h \
     1453  $(SOPHYAINCP)machdefs.h \
    14001454  $(SOPHYAINCP)pexceptions.h \
    14011455  $(SOPHYAINCP)fabtcolread.h \
     
    14091463  $(SOPHYAINCP)objfio.h \
    14101464  $(SOPHYAINCP)ppersist.h \
     1465  $(SOPHYAINCP)pexceptions.h \
    14111466  $(SOPHYAINCP)gnumd5.h \
    14121467  $(SOPHYAINCP)ppfbinstream.h \
     
    14231478        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tstcolread.cc
    14241479 
    1425 $(SOPHYAOBJP)tstdtable.o: tstdtable.cc \
    1426   $(SOPHYAINCP)sopnamsp.h \
     1480$(SOPHYAOBJP)tstdtable.o: tstdtable.cc $(SOPHYAINCP)sopnamsp.h \
    14271481  $(SOPHYAINCP)histinit.h \
    14281482  $(SOPHYAINCP)ntoolsinit.h \
     
    14611515        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tstdtable.cc
    14621516 
    1463 $(SOPHYAOBJP)tstndblk.o: tstndblk.cc \
    1464   $(SOPHYAINCP)sopnamsp.h \
    1465   $(SOPHYAINCP)machdefs.h \
    1466   $(SOPHYAINCP)ntoolsinit.h \
    1467   $(SOPHYAINCP)tarrinit.h \
    1468   $(SOPHYAINCP)sophyainit.h \
     1517$(SOPHYAOBJP)tstndblk.o: tstndblk.cc $(SOPHYAINCP)sopnamsp.h \
     1518  $(SOPHYAINCP)machdefs.h \
     1519  $(SOPHYAINCP)ntoolsinit.h \
     1520  $(SOPHYAINCP)tarrinit.h \
     1521  $(SOPHYAINCP)sophyainit.h \
     1522  $(SOPHYAINCP)machdefs.h \
    14691523  $(SOPHYAINCP)pexceptions.h \
    14701524  $(SOPHYAINCP)ndatablock.h \
     
    14801534  $(SOPHYAINCP)tarrinit.h \
    14811535  $(SOPHYAINCP)sophyainit.h \
     1536  $(SOPHYAINCP)machdefs.h \
    14821537  $(SOPHYAINCP)pexceptions.h \
    14831538  $(SOPHYAINCP)ppfwrapstlv.h \
    14841539  $(SOPHYAINCP)anydataobj.h \
    14851540  $(SOPHYAINCP)ppersist.h \
     1541  $(SOPHYAINCP)pexceptions.h \
    14861542  $(SOPHYAINCP)gnumd5.h \
    14871543  $(SOPHYAINCP)ppfbinstream.h \
     
    14901546        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tstppfwrapstl.cc
    14911547 
    1492 $(SOPHYAOBJP)tstsegdb.o: tstsegdb.cc \
    1493   $(SOPHYAINCP)sopnamsp.h \
     1548$(SOPHYAOBJP)tstsegdb.o: tstsegdb.cc $(SOPHYAINCP)sopnamsp.h \
    14941549  $(SOPHYAINCP)machdefs.h \
    14951550  $(SOPHYAINCP)timing.h \
     
    14981553  $(SOPHYAINCP)tarrinit.h \
    14991554  $(SOPHYAINCP)sophyainit.h \
     1555  $(SOPHYAINCP)machdefs.h \
    15001556  $(SOPHYAINCP)pexceptions.h \
    15011557  $(SOPHYAINCP)segdatablock.h \
    15021558  $(SOPHYAINCP)anydataobj.h \
    15031559  $(SOPHYAINCP)thsafeop.h \
     1560  $(SOPHYAINCP)pexceptions.h \
    15041561  $(SOPHYAINCP)fiosegdb.h \
    15051562  $(SOPHYAINCP)ppersist.h \
     
    15081565  $(SOPHYAINCP)rawstream.h \
    15091566  $(SOPHYAINCP)ppfnametag.h \
     1567  $(SOPHYAINCP)segdatablock.h \
    15101568  $(SOPHYAINCP)ppftpointerio.h \
    15111569  $(SOPHYAINCP)swsegdb.h \
    15121570  $(SOPHYAINCP)ppfswapper.h \
     1571  $(SOPHYAINCP)swsegdb.h \
    15131572  $(SOPHYAINCP)ppfwrapstlv.h
    15141573        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tstsegdb.cc
     
    15191578  $(SOPHYAINCP)tarrinit.h \
    15201579  $(SOPHYAINCP)sophyainit.h \
     1580  $(SOPHYAINCP)machdefs.h \
    15211581  $(SOPHYAINCP)pexceptions.h \
    15221582  $(SOPHYAINCP)array.h \
     
    15281588  $(SOPHYAINCP)objfio.h \
    15291589  $(SOPHYAINCP)ppersist.h \
     1590  $(SOPHYAINCP)pexceptions.h \
    15301591  $(SOPHYAINCP)gnumd5.h \
    15311592  $(SOPHYAINCP)ppfbinstream.h \
     
    15421603  $(SOPHYAINCP)fioarr.h \
    15431604  $(SOPHYAINCP)sopemtx.h \
     1605  $(SOPHYAINCP)arrctcast.h \
    15441606  $(SOPHYAINCP)srandgen.h
    15451607        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tsttmat.cc
    15461608 
    1547 $(SOPHYAOBJP)tsttminv.o: tsttminv.cc \
    1548   $(SOPHYAINCP)sopnamsp.h \
     1609$(SOPHYAOBJP)tsttminv.o: tsttminv.cc $(SOPHYAINCP)sopnamsp.h \
    15491610  $(SOPHYAINCP)machdefs.h \
    15501611  $(SOPHYAINCP)timing.h \
     
    15521613  $(SOPHYAINCP)tarrinit.h \
    15531614  $(SOPHYAINCP)sophyainit.h \
     1615  $(SOPHYAINCP)machdefs.h \
    15541616  $(SOPHYAINCP)pexceptions.h \
    15551617  $(SOPHYAINCP)array.h \
     
    15611623  $(SOPHYAINCP)objfio.h \
    15621624  $(SOPHYAINCP)ppersist.h \
     1625  $(SOPHYAINCP)pexceptions.h \
    15631626  $(SOPHYAINCP)gnumd5.h \
    15641627  $(SOPHYAINCP)ppfbinstream.h \
     
    15751638  $(SOPHYAINCP)fioarr.h \
    15761639  $(SOPHYAINCP)sopemtx.h \
     1640  $(SOPHYAINCP)arrctcast.h \
    15771641  $(SOPHYAINCP)srandgen.h \
    15781642  $(SOPHYAINCP)intflapack.h
     
    15841648  $(SOPHYAINCP)tarrinit.h \
    15851649  $(SOPHYAINCP)sophyainit.h \
     1650  $(SOPHYAINCP)machdefs.h \
    15861651  $(SOPHYAINCP)pexceptions.h \
    15871652  $(SOPHYAINCP)array.h \
     
    15931658  $(SOPHYAINCP)objfio.h \
    15941659  $(SOPHYAINCP)ppersist.h \
     1660  $(SOPHYAINCP)pexceptions.h \
    15951661  $(SOPHYAINCP)gnumd5.h \
    15961662  $(SOPHYAINCP)ppfbinstream.h \
     
    16071673  $(SOPHYAINCP)fioarr.h \
    16081674  $(SOPHYAINCP)sopemtx.h \
     1675  $(SOPHYAINCP)arrctcast.h \
    16091676  $(SOPHYAINCP)srandgen.h
    16101677        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tsttvec.cc
     
    16321699  $(SOPHYAINCP)thsafeop.h \
    16331700  $(SOPHYAINCP)fitsinoutfile.h \
     1701  $(SOPHYAINCP)dvlist.h \
    16341702  $(SOPHYAINCP)FitsIO/fitsio.h \
    16351703  $(SOPHYAINCP)FitsIO/longnam.h \
     
    16471715  $(SOPHYAINCP)fiosinit.h \
    16481716  $(SOPHYAINCP)swfitsdtable.h \
     1717  $(SOPHYAINCP)fitsswapper.h \
    16491718  $(SOPHYAINCP)fitshandler.h \
    16501719  $(SOPHYAINCP)datatable.h \
    1651   $(SOPHYAINCP)fitshdtable.h
     1720  $(SOPHYAINCP)fitshdtable.h \
     1721  $(SOPHYAINCP)datatable.h
    16521722        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  tswfits.cc
    16531723 
     
    16571727  $(SOPHYAINCP)timing.h \
    16581728  $(SOPHYAINCP)timestamp.h \
     1729  $(SOPHYAINCP)machdefs.h \
    16591730  $(SOPHYAINCP)objfio.h \
    16601731  $(SOPHYAINCP)anydataobj.h \
     
    16691740  $(SOPHYAINCP)tarrinit.h \
    16701741  $(SOPHYAINCP)sophyainit.h \
     1742  $(SOPHYAINCP)pexceptions.h \
    16711743  $(SOPHYAINCP)ppfwrapstlv.h
    16721744        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  ttimestamp.cc
     
    16941766  $(SOPHYAINCP)tmatrix_tsnl.h \
    16951767  $(SOPHYAINCP)tvector.h \
    1696   $(SOPHYAINCP)tvector_tsnl.h \
    1697   $(SOPHYAINCP)matharr.h \
    1698   $(SOPHYAINCP)tarrinit.h \
    1699   $(SOPHYAINCP)sophyainit.h \
     1768  $(SOPHYAINCP)tmatrix.h \
     1769  $(SOPHYAINCP)tvector_tsnl.h \
     1770  $(SOPHYAINCP)matharr.h \
     1771  $(SOPHYAINCP)tarrinit.h \
     1772  $(SOPHYAINCP)sophyainit.h \
     1773  $(SOPHYAINCP)stsrand.h \
    17001774  $(SOPHYAINCP)timing.h \
    17011775  $(SOPHYAINCP)ctimer.h
  • trunk/SophyaProg/Tests/tfft.cc

    r3089 r3572  
    187187
    188188  ndiff = 0;
    189   maxdif=0., vdif;
     189  maxdif=0.;
    190190  for(i=0; i<num; i++) {
    191191    vdif = fabs(module(difc(i)));
  • trunk/SophyaProg/Tests/thash.cc

    r2615 r3572  
    88int main(int narg, char *arg[])
    99{
    10   char * sid[3] = { "Hello","Reza","ERIC" } ;
     10  const char * sid[3] = { "Hello","Reza","ERIC" } ;
    1111  uint_8 code[3];
    1212  int k;
  • trunk/SophyaProg/Tests/tmtdt.cc

    r3396 r3572  
    193193  }
    194194#endif
    195   char* nomnt[5]={"tid","k","x","cx","sx"};
     195  const char* nomnt[5]={"tid","k","x","cx","sx"};
    196196  NTuple* nt = NULL;
    197197  BaseDataTable* dt = NULL;
  • trunk/SophyaProg/Tests/tnt.cc

    r2852 r3572  
    99#include "dvlist.h"
    1010#include "ntuple.h"
    11 #include "xntuple.h"
    1211#include "datatable.h"
    1312#include "swppfdtable.h"
     
    1918void test_dvl();
    2019void test_ntuple();
    21 void test_xntuple() ;
    22 void test_Xntuple() ;
    2320void test_DataTable() ;
    2421void test_SwPPFDataTable() ;
     
    2825  SophyaInit();
    2926  if (narg < 2) {
    30     cout << " tnt/Erreur arg - Usage: tnt d/n/x/X/DT/SWDT \n"
    31          << " d:DVList n:NTuple x/X:XNTuple DT,SWDT: SwPPF/DataTable test \n" << endl;
     27    cout << " tnt/Erreur arg - Usage: tnt d/n/DT/SWDT \n"
     28         << " d:DVList n:NTuple DT,SWDT: SwPPF/DataTable test \n" << endl;
    3229    exit(0);
    3330  }
     
    3633    if (*arg[1] == 'd')  test_dvl();
    3734    else if (*arg[1] == 'n')  test_ntuple();
    38     else if (*arg[1] == 'x')  test_xntuple();
    39     else if (*arg[1] == 'X')  test_Xntuple();
    4035    else if (strcmp(arg[1],"DT") == 0)  test_DataTable();
    4136    else if (strcmp(arg[1],"SWDT") == 0)  test_SwPPFDataTable();
     
    5954void test_ntuple()
    6055{
    61   char * names[3] = {"XPos", "YPos", "Val"};
     56  const char * names[3] = {"XPos", "YPos", "Val"};
    6257  int i,j, k;
    6358  float xnt[3];
     
    424419
    425420
    426 void test_Xntuple()
    427 {
    428     char* names[] = {"str1", "str2", "str3", "str4", "str5"} ;
    429     XNTuple nt(0, 0, 0, 5, names) ;
    430     char** ce = new char*[5] ;
    431     int i;
    432     for(i = 0 ; i < 5 ; i++)
    433         ce[i] = new char[20] ;
    434 
    435   cout << "======= test_Xtuple:  simple XNTuple test ======= " << endl;
    436 
    437     strncpy(ce[1], "toto a une auto", 20) ;
    438     strncpy(ce[2], "titi a une iti", 20) ;
    439     strncpy(ce[3], "tutu a une utu", 20) ;
    440     strncpy(ce[4], "tata a une ata", 20) ;
    441     for(i = 0 ; i < 100000 ; i++) {
    442         sprintf(ce[0], "%d", i) ;
    443         nt.Fill(NULL, NULL, NULL, ce) ;
    444     }
    445    
    446     nt.Show() ;
    447     cout << nt.LineHeaderToString() ;
    448     cout << nt.LineToString(5027) << endl ;
    449    
    450     char* names2[] = {"d0", "d1", "f0", "f1", "f2", "i0", "str0", "str1"} ;
    451     XNTuple nt2(2, 3, 1, 2, names2) ;
    452     double de[2] ; float fe[3] ; int ie ;
    453     char** ce2 = new char*[2] ;
    454     for(i = 0 ; i < 2 ; i++) ce2[i] = new char[20] ;
    455     strncpy(ce2[1], "glop glop", 20) ;
    456    
    457     for(i = 0 ; i < 100000 ; i++) {
    458         de[0] = i ;
    459         de[1] = sin((double)i) ;
    460         fe[0] = i ;
    461         fe[1] = i * cos((double)i) ;
    462         fe[2] = 2*i ;
    463         ie    = -i;
    464         sprintf(ce[0], "%d", i) ;
    465         nt2.Fill(de, fe, &ie, ce) ;
    466     }
    467     nt2.Show() ;
    468     nt2.LineHeaderToString() ;
    469     //    nt2.LineToString(20) ;
    470 }
    471 
    472 
    473 void test_xntuple()
    474 {
    475     char* names[] = {"dblval", "floval", "intval", "strval"} ;
    476     XNTuple nt(1, 1, 1, 1, names) ;
    477     double de ;
    478     float  fe ;
    479     int    ie ;
    480     char*  ce = new char[22] ;
    481    
    482    
    483   cout << "======= test_Xtuple:  XNTuple test ======= " << endl;
    484   int i;
    485     for(i = 0 ; i < nt.NVar() ; i++)
    486         printf(" +++ %s <--> %d \n",
    487                nt.NomIndex(i).c_str(), nt.IndexNom(nt.NomIndex(i).c_str())) ;
    488 
    489     for(i = 0 ; i < 100000 ; i++) {
    490         de = fe = ie = i ;
    491         sprintf(ce, "%d", i) ;
    492         nt.Fill(&de, &fe, &ie, &ce) ;
    493     }
    494     nt.Show() ;
    495     cout << nt.VarList_C("toto") ;
    496     cout << nt.LineHeaderToString() ;
    497     cout << nt.LineToString(20) << endl << endl ;
    498    
    499    
    500     XNTuple nt2 ;
    501     nt2.SwapPath() = "/tmp/sop/" ;
    502     nt2.Copy(nt) ;
    503     nt2.Show() ;
    504     for(i = 0 ; i < 100000 ; i++) {
    505         de = fe = ie = i ;
    506         sprintf(ce, "%d", i) ;
    507         nt2.Fill(&de, &fe, &ie, &ce) ;
    508     }
    509     nt2.Show() ;
    510    
    511     {
    512       POutPersist os("xnt.ppf");
    513       os << nt2 ;
    514     }
    515 
    516     XNTuple::SetSwapPath("/tmp/sop/") ;
    517     XNTuple nt3("xnt.ppf") ;
    518     nt3.Show() ;
    519    
    520     for(i = 0 ; i < nt3.NEntry() ; i+= 1000)
    521         printf("%f %f %d %s\n",
    522                nt3.GetDVal(i,0),
    523                nt3.GetFVal(i,1),
    524                nt3.GetIVal(i,2),
    525                nt3.GetSVal(i,3).c_str()) ;
    526    
    527     double min, max ;
    528     for(i = 0 ; i < nt3.NVar() ; i++) {
    529         nt3.GetMinMax(i, min, max) ;
    530         printf("GetMinMax(%s) : %f/%f\n",
    531                nt3.NomIndex(i).c_str(), min, max) ;
    532     }
    533     //    nt3.Show() ;
    534 }
    535 
  • trunk/SophyaProg/Tests/tobjio.cc

    r3077 r3572  
    3131  NTuple *nt;
    3232  float xnt[4];
    33   char *ntn[4] = {"x","y","ex","ey"};
     33  const char *ntn[4] = {"x","y","ex","ey"};
    3434  int nent,i;
    3535  nent = 1000;
     
    117117  float xnt[6];
    118118  double ang;
    119   char *ntn[6] = {"x","y","z","ex","ey","ez"};
     119  const char *ntn[6] = {"x","y","z","ex","ey","ez"};
    120120  int nent,i;
    121121     
  • trunk/SophyaProg/Tests/tobjio2.cc

    r3077 r3572  
    3232  NTuple *nt;
    3333  float xnt[4];
    34   char *ntn[4] = {"x","y","ex","ey"};
     34  const char *ntn[4] = {"x","y","ex","ey"};
    3535  int nent,i;
    3636  nent = 1000;
  • trunk/SophyaProg/Tests/tpipe.cc

    r2615 r3572  
    9393  else {
    9494    cout << ">> tpipe: fork() - creation de process ... " << endl;
    95     char * zzz = "toto";
     95    char zzz[32]; strcpy(zzz,"toto");
    9696    pid_t rcf = fork();
    9797    if (rcf == 0) {
  • trunk/SophyaProg/Tests/tspm2.cc

    r3077 r3572  
    179179    {
    180180      sphc.PixThetaPhi(j,teta,phi);
    181       if (teta < 0.3)   sphc(j) = (30., drandpm1()*3.);
    182       else if ((teta>1.4) && (teta<1.6) ) sphc(j) = (20., NorRand());
     181      if (teta < 0.3)   sphc(j) = complex<float>(30., drandpm1()*3.);
     182      else if ((teta>1.4) && (teta<1.6) ) sphc(j) = complex<float>(20., NorRand());
    183183      else {
    184184        if (phi < 2.)     sphc(j) = 2.;
  • trunk/SophyaProg/Tests/tstboloread.cc

    r2828 r3572  
    2929{
    3030 SophyaInit();
    31  char *label_alpha = "", *label_delta = "",
     31 const char *label_alpha = "", *label_delta = "",
    3232      *label_bolo  = "", *label_flag  = "",
    3333      *label_snum  = "";
    34  char *fits_alpha  = "", *fits_delta  = "",
     34 const char *fits_alpha  = "", *fits_delta  = "",
    3535      *fits_bolo   = "", *fits_flag   = "",
    3636      *fits_snum   = "";
  • trunk/SophyaProg/Tests/tstcolread.cc

    r3128 r3572  
    2121{
    2222 SophyaInit();
    23  char *colname = "";
     23 const char *colname = "";
    2424 int colnum = -1;
    2525 int ihdu = 0;
  • trunk/SophyaProg/Tests/tstppfwrapstl.cc

    r2659 r3572  
    3939    for(int k=0; k<SZV; k++) vw[k] = 3.141596*k;
    4040    #define MyNSC 6
    41     char * strcst[MyNSC] = { "Langage C++" , "Programmation Objet", "Calcul scientifique",
     41    const char * strcst[MyNSC] = { "Langage C++" , "Programmation Objet", "Calcul scientifique",
    4242                           "Librairie de classes", "SOPHYA", " et Java alors ?"};
    4343
Note: See TracChangeset for help on using the changeset viewer.