Changeset 8703
- Timestamp:
- 08/23/07 17:37:34 (17 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r8699 r8703 49 49 - replaced fFreqSampling by fSamplingFrequency for compatibility 50 50 - increased ClassVersion to 9 51 52 * mraw/MRawEvtData.cc: 53 - initialize fNumBytesPerSample to 1 to make it compatible with reading 54 old MC files. 55 56 * mjobs/MJSpectrum.cc: 57 - added control plot for the residual of Energy 58 - fixed the "Overflow-Bug". It was a loop from o to <n, while histogram 59 bins are from 1 to ==n 51 60 52 61 -
trunk/MagicSoft/Mars/NEWS
r8698 r8703 263 263 the information is lost. 264 264 265 - sponde: added a new tab "Energy". It shows the residual of the 266 energy (lg(estimated energy)-lg(monte carlo energy)) versus 267 several parameters and it is meant to judge the quality of the 268 energy estimator. In the ideal case the residual is zero 269 and doesn't depend in the variable. In reality even a good estimator 270 can show residuals versus Monte Carlo energy. 271 265 272 - sponde: added a new tab "EventDist" showing the unweighted real 266 273 absolute number of events of your sample after cuts. This tells … … 275 282 - sponde: The OriginalMC tree with the events produced by corsika 276 283 is now processed only once 284 285 - sponde: Finally fixed most annoying bug, which has effected the 286 last bin of the collection area. It was the problem that binnings 287 of root histograms are from 1 to n (included) but there was a C-like 288 loop in sponde from 0 to n (excluded). Now the loop also includes 289 correctly under- and overflow-bins. The worse thing with this is, 290 that for the events in the highest bin not only the bin-content 291 was wrong, but also the weights applied to these events, which could 292 in pricipal effect also other parts of the distribution (eg. due 293 to energy estimation). Fortunately it effected only a few events 294 in most cases. 277 295 278 296 -
trunk/MagicSoft/Mars/mjobs/MJSpectrum.cc
r8702 r8703 1496 1496 MBinning binsC(50, 0, 0.3, "BinningLeakage", "lin"); 1497 1497 MBinning binsB(51, -1, 1, "BinningEnergyResidual", "lin"); 1498 MBinning binsD(51, - 3, 1, "BinningResidualDist", "lin");1498 MBinning binsD(51, -1, 1, "BinningResidualDist", "lin"); 1499 1499 1500 1500 plist.AddToList(&binsA); … … 1506 1506 SetupHistEnergyEst(heest); 1507 1507 1508 MHn hdisp("Disp", "Dist residual (Disp-Dist)");1509 SetupHistDisp(hdisp);1508 //MHn hdisp("Disp", "Dist residual (Disp-Dist)"); 1509 //SetupHistDisp(hdisp); 1510 1510 1511 1511 MHn henergy("EvtDist"); … … 1515 1515 fill4b.SetWeight(); 1516 1516 1517 MFillH fill4c(&hdisp, "", "FillDispResidual");1518 fill4c.SetWeight();1517 //MFillH fill4c(&hdisp, "", "FillDispResidual"); 1518 //fill4c.SetWeight(); 1519 1519 1520 1520 // --------------------------------------------------------- … … 1582 1582 tlist2.AddToList(fCut0); 1583 1583 tlist2.AddToList(&taskenv0); 1584 tlist2.AddToList(fCut1); 1584 1585 tlist2.AddToList(fCutS); 1585 tlist2.AddToList(fCut1);1586 1586 tlist2.AddToList(fCut2); 1587 1587 tlist2.AddToList(fCut3); … … 1590 1590 tlist2.AddToList(&fill4); 1591 1591 tlist2.AddToList(&fill4b); 1592 tlist2.AddToList(&fill4c);1593 1592 tlist2.AddToList(&fill5); 1594 1593 tlist2.AddToList(&fill0a);
Note:
See TracChangeset
for help on using the changeset viewer.