Changeset 2705 in Sophya for trunk/SophyaProg/Tests/tobjio.cc


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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.