- Timestamp:
- 11/18/02 11:35:20 (22 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r1632 r1633 2 2 3 3 2002/11/18: Thomas Bretz 4 5 * macros/CT1Hillas.C: 6 - changed MWRiteRootFile to write the histograms only 7 - renamed HillasSource to MHillasSrc 8 9 * macros/MagicHillas.C: 10 - removed all anti source stuff (corresponding to star.C) 11 - changed MWRiteRootFile to write the histograms only 12 - renamed HillasSource to MHillasSrc 13 14 * macros/estfit.C, macros/estimate.C: 15 - renamed HillasSource to MHillasSrc 16 17 * multidimdist.C: 18 - added Theta 19 - added Alpha 20 21 * macros/star.C 22 - removed wrong HillasSource 23 - added MSrcPosCam 24 25 * starplot.C: 26 - removed all anti source stuff (corresponding to star.C) 27 - renamed HillasSource to MHillasSrc 4 28 5 29 * macros/multidimdist2.C: -
trunk/MagicSoft/Mars/macros/CT1Hillas.C
r1543 r1633 127 127 128 128 MWriteRootFile write("hillas.root"); 129 write.AddContainer("HillasSource", "Hillas");130 129 write.AddContainer("MHStarMap"); 131 write.AddContainer("MMcEvt","Hillas"); 132 write.AddContainer("Source","RunHeaders"); 130 write.AddContainer("MHHillas"); 131 write.AddContainer("MHHillasExt"); 132 write.AddContainer("HistSource"); 133 write.AddContainer("HistExtSource"); 133 134 134 135 tlist.AddToList(&read); -
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 -
trunk/MagicSoft/Mars/macros/estfit.C
r1574 r1633 178 178 179 179 MEnergyEstParam eest; 180 eest.Add(" HillasSource");180 eest.Add("MHillasSrc"); 181 181 eest.InitMapping(&matrix); 182 182 -
trunk/MagicSoft/Mars/macros/estimate.C
r1574 r1633 60 60 61 61 MEnergyEstParam eest; 62 eest.Add(" HillasSource");62 eest.Add("MHillasSrc"); 63 63 64 64 TArrayD fA(5); -
trunk/MagicSoft/Mars/macros/multidimdist.C
r1609 r1633 104 104 matrix.AddColumn("MHillasSrc.fDist"); 105 105 matrix.AddColumn("log10(MHillas.fSize)"); 106 matrix.AddColumn("MHillasSrc.fAlpha"); 107 matrix.AddColumn("MMcEvt.fTheta"); 106 108 plist.AddToList(&matrix); 107 109 -
trunk/MagicSoft/Mars/macros/star.C
r1608 r1633 48 48 49 49 MSrcPosCam src; 50 src.SetReadyToSave(); 50 51 plist.AddToList(&src); 51 52 … … 89 90 MWriteRootFile write("data/star_protons.root"); 90 91 write.AddContainer("MHillas", "Events"); 91 write.AddContainer("HillasSource", "Events");92 92 write.AddContainer("MMcEvt", "Events"); 93 93 write.AddContainer("MHillasSrc", "Events"); 94 94 write.AddContainer("MRawRunHeader", "RunHeaders"); 95 95 write.AddContainer("MMcRunHeader", "RunHeaders"); 96 write.AddContainer("MSrcPosCam", "RunHeaders"); 96 97 97 98 tlist.AddToList(&read); -
trunk/MagicSoft/Mars/macros/starplot.C
r1543 r1633 82 82 MFillH hfill2("MHHillasExt"); 83 83 MFillH hfill3("MHStarMap", "MHillas"); 84 MFillH hfill4("HistExtSource [MHHillasExt]", "HillasSource"); 85 MFillH hfill5("HistExtAntiSource [MHHillasExt]", "HillasAntiSource"); 86 MFillH hfill6("HistSource [MHHillasSrc]", "HillasSource"); 87 MFillH hfill7("HistAntiSrc [MHHillasSrc]", "HillasAntiSrc"); 84 MFillH hfill4("HistExtSource [MHHillasExt]", "MHillasSrc"); 85 MFillH hfill5("HistSource [MHHillasSrc]", "MHillasSrc"); 88 86 89 87 tlist.AddToList(&read); … … 93 91 tlist.AddToList(&hfill4); 94 92 tlist.AddToList(&hfill5); 95 tlist.AddToList(&hfill6);96 tlist.AddToList(&hfill7);97 93 98 94 // … … 119 115 plist.FindObject("MHStarMap")->DrawClone(); 120 116 plist.FindObject("HistSource")->DrawClone(); 121 plist.FindObject("HistAntiSource")->DrawClone();122 117 plist.FindObject("HistExtSource")->DrawClone(); 123 plist.FindObject("HistExtAntiSource")->DrawClone();124 118 } 125 119
Note:
See TracChangeset
for help on using the changeset viewer.