Changeset 3043 for trunk/MagicSoft/Mars/mhist/MHPixVsTime.cc
- Timestamp:
- 02/06/04 17:36:05 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhist/MHPixVsTime.cc
r2612 r3043 66 66 TString t("Pixel Index #"); 67 67 t += idx; 68 t += " vs "; 69 t += fUseEventTime ? "Time" : "Event Number"; 68 t += " vs Time"; 70 69 71 70 fGraph.SetName("MCamEvent"); … … 108 107 } 109 108 110 if ( fUseEventTime)111 { 112 fTime = (MTime*)plist->FindObject( "MTime");109 if (!fNameTime.IsNull()) 110 { 111 fTime = (MTime*)plist->FindObject(fNameTime, "MTime"); 113 112 if (!fTime) 114 113 { 115 *fLog << err << "MTimenot found... abort." << endl;114 *fLog << err << fNameTime << " [MTime] not found... abort." << endl; 116 115 return kFALSE; 117 116 } … … 149 148 150 149 Double_t t = 0; 151 if ( fUseEventTime)150 if (!fNameTime.IsNull()) 152 151 t = fTime->GetAxisTime(); 153 152 else
Note:
See TracChangeset
for help on using the changeset viewer.