- Timestamp:
- 03/29/05 10:08:09 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r6888 r6891 21 21 22 22 -*-*- END OF LINE -*-*- 23 24 2005/03/29 Thomas Bretz 25 26 * ganymed.cc: 27 - implemented cmdline option for wobble and no-wobble to overwrite 28 dataset 29 - added cmdline option to print dataset 30 31 * mbase/MEvtLoop.[h,cc]: 32 - added some memory leak analysis to eventloop 33 34 * mbase/MStatusDisplay.[h,cc]: 35 - added third part to status bar which displays the current 36 memory usage 37 - added some more sizes to menu bar 38 - replaced SetStatusLine1/2 by calling a common SetStatusLine 39 - added a delete to CloseWindow() to be able to close a 40 static window. REMARK: This gives a hell of warnings in 41 valgrind but it is currently the only option to get this working 42 which is really annoying 43 44 * mhbase/MH.cc: 45 - small simplification 46 47 * mhbase/MHMatrix.cc: 48 - replaced IsValid() by a check for the number of Rows, this 49 was necessary because in root 4.02/00 all matrices seems 50 to be valid 51 52 * mhflux/MHAlpha.cc: 53 - changed the number of default bins in energy 54 - make sure that the Alpha plot for off-data is displayed with 55 a minimum at 0 56 - fixed TPad::Divide for root 4.02/00 57 58 * mhflux/MHEnergyEst.cc: 59 - use the mean abs of the resolution as fit value 60 - some fixed to graphics 61 - fixed the TPad::Divide for root 4.02/00 62 - for the moment removed the pad added to the list of cleanups 63 to get rid of the crashes 64 65 * mhflux/MHFalseSource.cc: 66 - fixed for root 4.02/00 which seaqrches in the current pad 67 for the histogram when calling Project3D 68 - fixed the TPad::Divide for root 4.02/00 69 70 * mhist/MHHadronness.[h,cc]: 71 - use MParameterD instead of MHadronness 72 73 * mimage/ImageLinkDef.h, mimage/Makefile: 74 - added MHVsSize 75 76 * mimage/MHHillas.cc: 77 - implemented 'same' for Center-histogram 78 79 * mhflux/FluxLinkDef.h, mhflux/Makefile: 80 - added MHEnergyEst 81 82 * mhflux/MAlphaFitter.[h,cc]: 83 - added significancetimes log10(excess) as fit option 84 85 * mjobs/MDataSet.[h,cc]: 86 - added wobble-mode option 87 88 * mjobs/MJCut.cc: 89 - changed default binning for energy 90 - added MHillasSrcAnti optionally to the output 91 - added MHVsSize to the tabs which are shown 92 93 * mjobs/MJOptimize.h: 94 - added dummy parameters to FixParameter for compatibility 95 with SetParemeter 96 97 23 98 24 99 2005/03/24 Thomas Bretz -
trunk/MagicSoft/Mars/NEWS
r6889 r6891 13 13 14 14 - a bug in the time fine adjustment of the digital filter has been fixed 15 16 - a lot of small fixes to calling TPad::Divide with a margin==0 17 18 - MStatusDisplay now shows the memory usage 19 20 - added a memory leak statistic after the eventloop 21 22 - MHadronness replaced by MParameterD 23 24 - wobble mode can now be switched on from the data-set 25 15 26 16 27 -
trunk/MagicSoft/Mars/mhflux/MAlphaFitter.cc
r6888 r6891 501 501 case kSignificanceChi2: 502 502 return -GetSignificance()/GetChiSqSignal(); 503 case kSignificanceLogExcess: 504 if (GetEventsExcess()<1) 505 return 0; 506 return -GetSignificance()*TMath::Log10(GetEventsExcess()); 503 507 case kSignificanceExcess: 504 508 return -GetSignificance()*GetEventsExcess(); -
trunk/MagicSoft/Mars/mhflux/MAlphaFitter.h
r6888 r6891 30 30 enum Strategy_t { 31 31 kSignificance, 32 kSignificanceChi2, 33 kSignificanceLogExcess, 32 34 kSignificanceChi2, 33 35 kSignificanceExcess, -
trunk/MagicSoft/Mars/mhflux/Makefile
r6883 r6891 25 25 26 26 SRCFILES = MAlphaFitter.cc \ 27 MHEnergyEst.cc \ 27 28 MHAlpha.cc \ 28 29 MHEnergyEst.cc \ -
trunk/MagicSoft/Mars/mjobs/MDataSet.cc
r6874 r6891 170 170 171 171 172 fNameSource = env.GetValue("SourceName", ""); 173 fCatalog = env.GetValue("Catalog", "~/Software/data/magic_favorites.edb"); 172 fNameSource = env.GetValue("SourceName", ""); 173 fCatalog = env.GetValue("Catalog", "~/Software/data/magic_favorites.edb"); 174 fIsWobbleMode = env.GetValue("WobbleMode", kFALSE); 174 175 175 176 //Print(); … … 214 215 gLog << "SourceName: " << fNameSource << endl; 215 216 gLog << "Catalog: " << fCatalog << endl; 217 218 gLog << "WobbleMode: " << (fIsWobbleMode?"On":"Off") << endl; 216 219 217 220 if (!TString(o).Contains("files", TString::kIgnoreCase)) -
trunk/MagicSoft/Mars/mjobs/MDataSet.h
r6874 r6891 16 16 { 17 17 private: 18 UInt_t fNumAnalysis;// Analysis number (artificial)18 UInt_t fNumAnalysis; // Analysis number (artificial) 19 19 20 20 TArrayI fNumSequencesOn; // number of on-sequences 21 21 TArrayI fNumSequencesOff; // number of off-sequences 22 22 23 TList fSequencesOn;// list of names and paths of on-sequences24 TList fSequencesOff;// list of names and paths of off-sequences23 TList fSequencesOn; // list of names and paths of on-sequences 24 TList fSequencesOff; // list of names and paths of off-sequences 25 25 26 TString fNameSource; // Name of source from catalog 27 TString fCatalog; // edb catalog (magic_favourites.edb) 26 28 27 TString fNameSource; // Name of source from catalog 28 TString fCatalog; // edb catalog (magic_favourites.edb) 29 29 Bool_t fIsWobbleMode; // Wobble Mode for this dataset? 30 30 31 31 void Split(TString &runs, TArrayI &data) const; … … 51 51 Bool_t GetSourcePos(MPointingPos &pos) const; 52 52 53 Bool_t IsWobbleMode() const { return fIsWobbleMode; } 54 53 55 // Setter 54 56 static Bool_t AddSequencesToList(const TList &list, MRead &read, char *id="I", Bool_t raw=kFALSE); -
trunk/MagicSoft/Mars/mjobs/MJCut.cc
r6874 r6891 263 263 { 264 264 write.SetName(name); 265 write.AddContainer("MHillas", "Events"); 266 write.AddContainer("MHillasSrc", "Events"); 267 write.AddContainer("MHadronness", "Events", kFALSE); 268 write.AddContainer("MEnergyEst", "Events", kFALSE); 269 write.AddContainer("DataType", "Events"); 265 write.AddContainer("MHillas", "Events"); 266 write.AddContainer("MHillasSrc", "Events"); 267 write.AddContainer("MHillasSrcAnti", "Events", kFALSE); 268 write.AddContainer("MHadronness", "Events", kFALSE); 269 write.AddContainer("MEnergyEst", "Events", kFALSE); 270 write.AddContainer("DataType", "Events"); 270 271 271 272 // Should not be the default: Either as option, or as … … 321 322 322 323 // Initialize default binnings 323 MBinning bins1(18, 0, 90, 324 MBinning bins2( 25, 10, 1e6, "BinningEnergyEst", "log");325 MBinning bins3( 50, 0, 60, "BinningTheta", "cos");324 MBinning bins1(18, 0, 90, "BinningAlpha", "lin"); 325 MBinning bins2(30, 10, 1e6, "BinningEnergyEst", "log"); 326 MBinning bins3(25, 0, 60, "BinningTheta", "cos"); // orig=50bins 326 327 MBinning bins4("BinningFalseSource"); 327 328 plist.AddToList(&bins1); … … 383 384 taskenv2.SetDefault(fCalcHadronness); 384 385 385 MFillH fill1a("MHHillasOffPre [MHHillas]", "MHillas", "FillHillasPre"); 386 MFillH fill2a("MHHillasOffPost [MHHillas]", "MHillas", "FillHillasPost"); 386 MFillH fill1a("MHHillasOffPre [MHHillas]", "MHillas", "FillHillasPre"); 387 MFillH fill2a("MHHillasOffPost [MHHillas]", "MHillas", "FillHillasPost"); 388 MFillH fill3a("MHVsSizeOffPost [MHVsSize]", "MHillasSrc", "FillVsSizePost"); 387 389 fill1a.SetNameTab("PreCut"); 388 390 fill2a.SetNameTab("PostCut"); 391 fill3a.SetNameTab("VsSize"); 389 392 390 393 MPrint print2("MEffectiveOnTime"); … … 418 421 tlist2.AddToList(&cont2); 419 422 if (!fWriteOnly) 423 { 420 424 tlist2.AddToList(&fill2a); 425 tlist2.AddToList(&fill3a); 426 } 421 427 if (!fWriteOnly) 422 428 tlist2.AddToList(&falpha); … … 467 473 scalc.SetWobbleMode(kFALSE); /********************/ 468 474 469 MFillH fill1b("MHHillasOnPre [MHHillas]", "MHillas", "FillHillasPre"); 470 MFillH fill2b("MHHillasOnPost [MHHillas]", "MHillas", "FillHillasPost"); 475 MFillH fill1b("MHHillasOnPre [MHHillas]", "MHillas", "FillHillasPre"); 476 MFillH fill2b("MHHillasOnPost [MHHillas]", "MHillas", "FillHillasPost"); 477 MFillH fill3b("MHVsSizeOnPost [MHVsSize]", "MHillasSrc", "FillVsSizePost"); 471 478 fill1b.SetNameTab("PreCut"); 472 479 fill2b.SetNameTab("PostCut"); 480 fill3b.SetNameTab("VsSize"); 473 481 fill1b.SetDrawOption(set.HasOffSequences()||fIsWobble?"same":""); 474 482 fill2b.SetDrawOption(set.HasOffSequences()||fIsWobble?"same":""); 483 fill3b.SetDrawOption(set.HasOffSequences()||fIsWobble?"same":""); 475 484 476 485 MFillH falpha2("MHAlpha", "MHillasSrc", "FillAlpha"); … … 482 491 tlist2.Replace(&fill1b); 483 492 tlist2.Replace(&fill2b); 493 tlist2.Replace(&fill3b); 484 494 tlist2.Replace(&falpha2); 485 495 tlist2.Replace(&ffs2);
Note:
See TracChangeset
for help on using the changeset viewer.