Changeset 2705 in Sophya for trunk/SophyaProg/Tests/tobjio.cc
- Timestamp:
- Apr 28, 2005, 11:36:17 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaProg/Tests/tobjio.cc
r2615 r2705 41 41 42 42 string nom = "nt21"; 43 ObjFileIO<NTuple> oiont( *nt);43 ObjFileIO<NTuple> oiont(nt); 44 44 oiont.Write(so, nom); 45 45 cout << "Writing " << nom << endl; … … 56 56 } 57 57 nom = "nt22"; 58 ObjFileIO<NTuple> oiont2( *nt);58 ObjFileIO<NTuple> oiont2(nt); 59 59 oiont2.Write(so, nom); 60 60 cout << "Writing " << nom << endl; … … 72 72 } 73 73 nom = "h2d"; 74 ObjFileIO<Histo2D> oioh( *h);74 ObjFileIO<Histo2D> oioh(h); 75 75 oioh.Write(so, nom); 76 76 cout << "Writing " << nom << endl; … … 86 86 { x = (2*i+1.); h->Add(x, x*(200.-x)); } 87 87 nom = "h1d"; 88 ObjFileIO<Histo> oioh( *h);88 ObjFileIO<Histo> oioh(h); 89 89 oioh.Write(so, nom); 90 90 cout << "Writing " << nom << endl; … … 130 130 131 131 nom = "nt31"; 132 ObjFileIO<NTuple> oiont( *nt);132 ObjFileIO<NTuple> oiont(nt); 133 133 oiont.Write(so, nom); 134 134 cout << "Writing " << nom << endl; … … 143 143 } 144 144 nom = "nt32"; 145 ObjFileIO<NTuple> oiont2( *nt);145 ObjFileIO<NTuple> oiont2(nt); 146 146 oiont2.Write(so, nom); 147 147 cout << "Writing " << nom << endl;
Note:
See TracChangeset
for help on using the changeset viewer.