Changeset 9022 for trunk/MagicSoft/Mars/mjobs
- Timestamp:
- 07/20/08 18:38:24 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/MJStar.cc
r8970 r9022 119 119 120 120 if (fDisplay) 121 { 122 TString title = "-- Star: "; 123 title += fSequence.GetSequence(); 124 title += " --"; 125 fDisplay->SetTitle(title, kFALSE); 126 121 127 cont.Add(fDisplay); 128 } 122 129 123 130 const TString oname = Form("star%08d.root", fSequence.GetSequence()); … … 145 152 *fLog << fSequence.GetFileName() << endl; 146 153 *fLog << endl; 147 154 148 155 // -------------------------------------------------------------------------------- 149 156 150 157 MDirIter iter; 151 if (fSequence. SetupDatRuns(iter, MSequence::kCalibrated)<=0)158 if (fSequence.GetRuns(iter, MSequence::kCalibrated)<=0) 152 159 return kFALSE; 153 160 … … 269 276 // Plot the trigger pattern rates vs. run-number 270 277 MH3 hrate("MRawRunHeader.GetFileID", "MTriggerPattern.GetUnprescaled"); 271 hrate.SetWeight("1./ MRawRunHeader.GetRunLength");278 hrate.SetWeight("1./TMath::Max(MRawRunHeader.GetRunLength,1)"); 272 279 hrate.SetName("Rate"); 273 280 hrate.SetTitle("Event rate after cleaning [Hz];File Id;Trigger Type;"); … … 546 553 return kFALSE; 547 554 548 *fLog << all << GetDescriptor() << ": Done." << endl; 549 *fLog << endl << endl; 555 *fLog << all << GetDescriptor() << ": Done." << endl << endl << endl;; 550 556 551 557 return kTRUE;
Note:
See TracChangeset
for help on using the changeset viewer.