Changeset 7632
- Timestamp:
- 04/11/06 16:15:21 (19 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r7631 r7632 18 18 19 19 -*-*- END OF LINE -*-*- 20 21 2006/04/11 Thomas Bretz 22 23 * mastro/MAstro.h: 24 - added conversion Parsec2Lighyear 25 26 * mbase/MLogHtml.cc: 27 - added a fix to display < and > correctly 28 29 * mhflux/MHCollectionArea.[h,cc]: 30 - commented out obsolete fEnergy parameter 31 32 * mjobs/MJSpectrum.cc: 33 - fill a second collection area plot after trigger 34 35 * mjoptim/MJOptimize.cc: 36 - improve speed of optimization by switching of timing and 37 reset in eventloop 38 39 20 40 21 41 2006/04/11 Daniel Hoehne, Daniela Dorner -
trunk/MagicSoft/Mars/mastro/MAstro.h
r7444 r7632 22 22 public: 23 23 // Unit conversion 24 static Double_t Parsec2Meter() { return 3.0856776e+16; } 24 static Double_t Parsec2Meter() { return 3.0856776e+16; } 25 static Double_t Parsec2Lighyear() { return 3.2615644; } 25 26 26 27 -
trunk/MagicSoft/Mars/mbase/MLogHtml.cc
r7409 r7632 124 124 } 125 125 126 fOut->write(str, len); 126 TString txt(str); 127 128 txt.ReplaceAll(">", ">"); 129 txt.ReplaceAll("<", "<"); 130 131 fOut->write(txt.Data(), len); 127 132 if (fUnderline) 128 133 { -
trunk/MagicSoft/Mars/mjobs/MJSpectrum.cc
r7522 r7632 1082 1082 // Fill collection area and energy estimator (unfolding) 1083 1083 // Make sure to use the same binning for MHCollectionArea and MHEnergyEst 1084 MHCollectionArea area; 1085 area.SetHistAll(fSimpleMode ? hist : (TH2D&)mh1.GetHist()); 1084 MHCollectionArea area0("TriggerArea"); 1085 MHCollectionArea area1; 1086 area0.SetHistAll(fSimpleMode ? hist : (TH2D&)mh1.GetHist()); 1087 area1.SetHistAll(fSimpleMode ? hist : (TH2D&)mh1.GetHist()); 1088 1086 1089 MHEnergyEst hest; 1087 1090 1088 MFillH fill3(&area, "", "FillCollectionArea"); 1089 MFillH fill4(&hest, "", "FillEnergyEst"); 1091 MFillH fill30(&area0, "", "FillTriggerArea"); 1092 MFillH fill31(&area1, "", "FillCollectionArea"); 1093 MFillH fill4(&hest, "", "FillEnergyEst"); 1090 1094 MFillH fill5("MHThreshold", "", "FillThreshold"); 1091 fill3.SetWeight(); 1095 fill30.SetWeight(); 1096 fill31.SetWeight(); 1092 1097 fill4.SetWeight(); 1093 1098 fill5.SetWeight(); 1094 fill3.SetNameTab("ColArea"); 1099 fill30.SetNameTab("TrigArea"); 1100 fill31.SetNameTab("ColArea"); 1095 1101 fill4.SetNameTab("E-Est"); 1096 1102 fill5.SetNameTab("Threshold"); … … 1141 1147 tlist2.AddToList(&weight); 1142 1148 tlist2.AddToList(&fill1a); 1149 tlist2.AddToList(&fill30); 1143 1150 tlist2.AddToList(fCut0); 1144 1151 tlist2.AddToList(fCut1); … … 1146 1153 tlist2.AddToList(fCut3); 1147 1154 tlist2.AddToList(&taskenv1); 1148 tlist2.AddToList(&fill3 );1155 tlist2.AddToList(&fill31); 1149 1156 tlist2.AddToList(&fill4); 1150 1157 tlist2.AddToList(&fill5); -
trunk/MagicSoft/Mars/mjoptim/MJOptimize.cc
r7152 r7632 657 657 } 658 658 659 MTaskList *tlist = parlist.FindObject("MTaskList"); 660 if (!tlist) 661 { 662 *fLog << err << "MTaskList not found... abort." << endl; 663 return kFALSE; 664 } 665 tlist->SetAccelerator(MTask::kAccDontReset|MTask::kAccDontTime); 666 659 667 MMatrixLoop *loop = dynamic_cast<MMatrixLoop*>(parlist.FindTask("MRead")); 660 668 … … 756 764 tlist.AddToList(&fillh); 757 765 766 tlist.SetAccelerator(MTask::kAccDontReset|MTask::kAccDontTime); 767 758 768 MEvtLoop fillloop; 759 769 fillloop.SetParList(&parlist);
Note:
See TracChangeset
for help on using the changeset viewer.