Ignore:
Timestamp:
02/06/04 17:36:05 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhist/MHPixVsTime.cc

    r2612 r3043  
    6666    TString t("Pixel Index #");
    6767    t += idx;
    68     t += " vs ";
    69     t += fUseEventTime ? "Time" : "Event Number";
     68    t += " vs Time";
    7069
    7170    fGraph.SetName("MCamEvent");
     
    108107    }
    109108
    110     if (fUseEventTime)
    111     {
    112         fTime = (MTime*)plist->FindObject("MTime");
     109    if (!fNameTime.IsNull())
     110    {
     111        fTime = (MTime*)plist->FindObject(fNameTime, "MTime");
    113112        if (!fTime)
    114113        {
    115             *fLog << err << "MTime not found... abort." << endl;
     114            *fLog << err << fNameTime << " [MTime] not found... abort." << endl;
    116115            return kFALSE;
    117116        }
     
    149148
    150149    Double_t t = 0;
    151     if (fUseEventTime)
     150    if (!fNameTime.IsNull())
    152151        t = fTime->GetAxisTime();
    153152    else
Note: See TracChangeset for help on using the changeset viewer.