Changeset 2705 in Sophya


Ignore:
Timestamp:
Apr 28, 2005, 11:36:17 AM (20 years ago)
Author:
ansari
Message:

modif/adaptation tobjio.cc suite changement interface de ObjFile<T> - Reza 28/4/2005

Location:
trunk/SophyaProg/Tests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaProg/Tests/makepi

    r2437 r2705  
    1717
    1818LIBF =  $(SLB)libsophya.so
    19 LIBS = -L$(SLB) -lPI -lextsophya -lsophya -lpthread -lXm -lXt -lX11 -lm
     19LIBS = -L$(SLB) -lPI -lextsophya -lsophya -lpthread -L/usr/X11R6/lib -lXm -lXt -lX11 -lm
    2020ifeq ($(MACHEROS),OSF1)
    2121LIBS := $(LIBS) -lfor
    2222endif
    2323ifeq ($(MACHEROS),Linux)
    24 LIBS := $(LIBS) -ldl -lf2c
     24LIBS := $(LIBS) -ldl
    2525endif
    2626
  • trunk/SophyaProg/Tests/tobjio.cc

    r2615 r2705  
    4141
    4242  string nom = "nt21";
    43   ObjFileIO<NTuple> oiont(*nt);
     43  ObjFileIO<NTuple> oiont(nt);
    4444  oiont.Write(so, nom);
    4545  cout << "Writing " << nom << endl;
     
    5656  }
    5757  nom = "nt22";
    58   ObjFileIO<NTuple> oiont2(*nt);
     58  ObjFileIO<NTuple> oiont2(nt);
    5959  oiont2.Write(so, nom);
    6060  cout << "Writing " << nom << endl;
     
    7272    }
    7373  nom = "h2d";
    74   ObjFileIO<Histo2D> oioh(*h);
     74  ObjFileIO<Histo2D> oioh(h);
    7575  oioh.Write(so, nom);
    7676  cout << "Writing " << nom << endl;
     
    8686    { x = (2*i+1.);  h->Add(x, x*(200.-x)); }
    8787  nom = "h1d";
    88   ObjFileIO<Histo> oioh(*h);
     88  ObjFileIO<Histo> oioh(h);
    8989  oioh.Write(so, nom);
    9090  cout << "Writing " << nom << endl;
     
    130130
    131131  nom = "nt31";
    132   ObjFileIO<NTuple> oiont(*nt);
     132  ObjFileIO<NTuple> oiont(nt);
    133133  oiont.Write(so, nom);
    134134  cout << "Writing " << nom << endl;
     
    143143    }
    144144  nom = "nt32";
    145   ObjFileIO<NTuple> oiont2(*nt);
     145  ObjFileIO<NTuple> oiont2(nt);
    146146  oiont2.Write(so, nom);
    147147  cout << "Writing " << nom << endl;
Note: See TracChangeset for help on using the changeset viewer.