Changeset 1633 for trunk/MagicSoft/Mars/macros/MagicHillas.C
- Timestamp:
- 11/18/02 11:35:20 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/macros/MagicHillas.C
r1546 r1633 72 72 // For real data the containers will be filled by a task. 73 73 // 74 MSrcPosCam source("Source") 75 source.SetXY(0, 0); 76 77 MSrcPosCam antisrc("AntiSrc"); 78 antisrc.SetXY(240, 0); 79 74 MSrcPosCam source; 75 source.SetReadyToSave(); 80 76 plist.AddToList(&source); 81 plist.AddToList(&antisrc);82 77 83 78 // … … 115 110 // 116 111 MHillasCalc hcalc; 117 MHillasSrcCalc csrc1("Source", "HillasSource"); 118 MHillasSrcCalc csrc2("AntiSrc", "HillasAntiSrc"); 112 MHillasSrcCalc csrc1; 119 113 120 114 // … … 127 121 MFillH hfill2("MHHillasExt"); 128 122 MFillH hfill3("MHStarMap", "MHillas"); 129 MFillH hfill4("HistExtSource [MHHillasExt]", "HillasSource"); 130 MFillH hfill5("HistExtAntiSrc [MHHillasExt]", "HillasAntiSrc"); 131 MFillH hfill6("HistSource [MHHillasSrc]", "HillasSource"); 132 MFillH hfill7("HistAntiSrc [MHHillasSrc]", "HillasAntiSrc"); 123 MFillH hfill4("HistExtSource [MHHillasExt]", "MHillasSrc"); 124 MFillH hfill5("HistSource [MHHillasSrc]", "MHillasSrc"); 133 125 134 126 MWriteRootFile write("hillas.root"); 135 write.AddContainer("HillasSource", "Hillas");136 write.AddContainer("HillasAntiSrc", "Hillas");137 127 write.AddContainer("MHStarMap"); 138 write.AddContainer("MMcEvt","Hillas"); 139 write.AddContainer("Source","RunHeaders"); 140 write.AddContainer("AntiSrc","RunHeaders"); 128 write.AddContainer("MHHillas"); 129 write.AddContainer("MHHillasExt"); 130 write.AddContainer("HistSource"); 131 write.AddContainer("HistExtSource"); 141 132 142 133 tlist.AddToList(&read); … … 156 147 tlist.AddToList(&hfill4); 157 148 tlist.AddToList(&hfill5); 158 tlist.AddToList(&hfill6);159 tlist.AddToList(&hfill7);160 149 tlist.AddToList(&write); 161 150 … … 183 172 plist.FindObject("MHStarMap")->DrawClone(); 184 173 plist.FindObject("HistSource")->DrawClone(); 185 plist.FindObject("HistAntiSrc")->DrawClone();186 174 plist.FindObject("HistExtSource")->DrawClone(); 187 plist.FindObject("HistExtAntiSrc")->DrawClone();188 175 } 189 176
Note:
See TracChangeset
for help on using the changeset viewer.