- Timestamp:
- Oct 21, 1999, 5:27:02 PM (26 years ago)
- Location:
- trunk/SophyaProg/Tests
- Files:
-
- 4 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaProg/Tests/tnt.cc
r274 r491 30 30 31 31 printf("Ecriture NTuple ds nt.ppf ... \n"); 32 nt1.Write("nt.ppf"); 32 { 33 // nt1.Write("nt.ppf"); c'etait du PEIDA 34 POutPersist s("nt.ppf"); 35 s << nt1 ; 36 } 33 37 34 38 printf("Lecture NTuple (nt2) ds nt.ppf ... \n"); … … 42 46 printf("ReLecture NTuple (nt1) ds nt.ppf ... \n"); 43 47 44 nt1.Read("nt.ppf"); 48 { 49 // nt1.Read("nt.ppf"); c'etait du PEIDA ! 50 PInPersist s("nt.ppf"); 51 s >> nt1; 52 } 53 45 54 nt1.Show(cout); 46 55 nt1.Print(0, 5); … … 48 57 nt1.Print(94, 5); 49 58 50 printf("Creation/Lecture Lecture NTuple (nt 1) ds nt.ppf ... \n");59 printf("Creation/Lecture Lecture NTuple (nt3) ds nt.ppf ... \n"); 51 60 NTuple nt3; 52 nt3.Read("nt.ppf"); 61 { 62 // nt3.Read("nt.ppf"); c'etait du PEIDA ! 63 PInPersist s("nt.ppf"); 64 s >> nt3; 65 } 66 53 67 nt3.Show(cout); 54 68 nt3.Print(0, 5);
Note:
See TracChangeset
for help on using the changeset viewer.