Changeset 2470 for trunk/MagicSoft/Mars/macros
- Timestamp:
- 11/04/03 17:08:27 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/macros/star.C
r2423 r2470 47 47 plist.AddToList(&tlist); 48 48 49 MSrcPosCam src;50 src.SetReadyToSave();51 plist.AddToList(&src);52 53 49 // 54 50 // Now setup the tasks and tasklist: … … 76 72 // ------------- user change ----------------- 77 73 MWriteRootFile write("starfile.root"); 78 write.AddContainer("MMcEvt", "Events");79 write.AddContainer("MSigmabar", "Events");80 write.AddContainer("MHillas", "Events");81 write.AddContainer("MHillasExt", "Events");82 write.AddContainer("MHillasSrc", "Events");83 write.AddContainer("MNewImagePar", "Events");84 write.AddContainer("MRawRunHeader", "RunHeaders");85 write.AddContainer("MMcRunHeader", "RunHeaders");86 write.AddContainer("MSrcPosCam", "RunHeaders");87 74 88 75 tlist.AddToList(&read); … … 97 84 tlist.AddToList(&scalc); 98 85 tlist.AddToList(&write); 86 87 // ------------- user change ----------------- 88 // You may use the "UPDATE" option in the constructor 89 // of MWriteRootFile to update an existing file. 90 // 91 // tlist.SetSerialNumber(1); // Serial number of telescope 92 93 write.AddContainer(write.AddSerialNumber("MMcEvt"), "Events"); 94 write.AddContainer(write.AddSerialNumber("MSigmabar"), "Events"); 95 write.AddContainer(write.AddSerialNumber("MHillas"), "Events"); 96 write.AddContainer(write.AddSerialNumber("MHillasExt"), "Events"); 97 write.AddContainer(write.AddSerialNumber("MHillasSrc"), "Events"); 98 write.AddContainer(write.AddSerialNumber("MNewImagePar"), "Events"); 99 write.AddContainer(write.AddSerialNumber("MSrcPosCam"), "RunHeaders"); 100 write.AddContainer("MRawRunHeader", "RunHeaders"); 101 write.AddContainer("MMcRunHeader", "RunHeaders"); 99 102 100 103 //
Note:
See TracChangeset
for help on using the changeset viewer.