Ignore:
Timestamp:
07/20/08 18:38:24 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mjobs/MJStar.cc

    r8970 r9022  
    119119
    120120    if (fDisplay)
     121    {
     122        TString title = "--  Star: ";
     123        title += fSequence.GetSequence();
     124        title += "  --";
     125        fDisplay->SetTitle(title, kFALSE);
     126
    121127        cont.Add(fDisplay);
     128    }
    122129
    123130    const TString oname = Form("star%08d.root", fSequence.GetSequence());
     
    145152    *fLog << fSequence.GetFileName() << endl;
    146153    *fLog << endl;
    147 
     154 
    148155    // --------------------------------------------------------------------------------
    149156
    150157    MDirIter iter;
    151     if (fSequence.SetupDatRuns(iter, MSequence::kCalibrated)<=0)
     158    if (fSequence.GetRuns(iter, MSequence::kCalibrated)<=0)
    152159        return kFALSE;
    153160
     
    269276    // Plot the trigger pattern rates vs. run-number
    270277    MH3 hrate("MRawRunHeader.GetFileID", "MTriggerPattern.GetUnprescaled");
    271     hrate.SetWeight("1./MRawRunHeader.GetRunLength");
     278    hrate.SetWeight("1./TMath::Max(MRawRunHeader.GetRunLength,1)");
    272279    hrate.SetName("Rate");
    273280    hrate.SetTitle("Event rate after cleaning [Hz];File Id;Trigger Type;");
     
    546553        return kFALSE;
    547554
    548     *fLog << all << GetDescriptor() << ": Done." << endl;
    549     *fLog << endl << endl;
     555    *fLog << all << GetDescriptor() << ": Done." << endl << endl << endl;;
    550556
    551557    return kTRUE;
Note: See TracChangeset for help on using the changeset viewer.