- Timestamp:
- 07/20/08 18:38:24 (16 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r9019 r9022 71 71 * mjobs/MSequenceSQL.[h,cc]: 72 72 - adapted to changes in MSequence 73 74 * datacenter/macros/stage.C 75 - added 76 77 * mjobs/MJStar.cc: 78 - changed displayed title according to the other jobs 79 - changed Setup*Runs to GetRuns 80 - unified output when finished 81 - make sure the weight for the rate tab is not 0 73 82 74 83 -
trunk/MagicSoft/Mars/datacenter/macros/plotdb.C
r9017 r9022 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: plotdb.C,v 1. 49 2008-07-20 14:21:40tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: plotdb.C,v 1.50 2008-07-20 17:33:22 tbretz Exp $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 460 460 else 461 461 { 462 TString v(value); 463 464 TString as = v(TPRegexp(" +[aA][sS] +[a-zA-Z0-9]+ *$")); 462 TString v(value); 463 TPRegexp regexp(" +[aA][sS] +[a-zA-Z0-9]+ *$"); 464 465 TString as = v(regexp); 465 466 Ssiz_t p = v.Index(as); 466 467 -
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.