- Timestamp:
- 06/18/08 18:29:18 (16 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r8974 r8976 18 18 19 19 -*-*- END OF LINE -*-*- 20 21 2008/06/19 Thomas Bretz 22 23 * mjobs/MJSpectrum.cc: 24 - small improvement to output 25 26 20 27 21 28 2008/06/19 Thomas Bretz -
trunk/MagicSoft/Mars/mjobs/MJSpectrum.cc
r8940 r8976 238 238 if (arr.Read()<=0) 239 239 { 240 *fLog << "MStatusDisplay not found in file... abort." << endl;240 *fLog << err << dbginf << "ERROR - MStatusDisplay not found in file... abort." << endl; 241 241 return -1; 242 242 } … … 245 245 TH1D *size = (TH1D*)arr.FindObjectInCanvas("Excess", "TH1D", "Hist"); 246 246 TH1D *time = (TH1D*)arr.FindObjectInCanvas("ExcessTime", "TH1D", "Hist"); 247 if (!vstime || !size || !time) 247 if (!vstime) 248 { 249 *fLog << err << dbginf << "ERROR - Theta [TH1D] not found in OnTime-tab... abort." << endl; 248 250 return -1; 251 } 252 if (!size) 253 { 254 *fLog << err << dbginf << "ERROR - Excess [TH1D] not found in Hist-tab... abort." << endl; 255 return -1; 256 } 257 if (!size) 258 { 259 *fLog << err << dbginf << "ERROR - ExcessTime [TH1D] not found in Hist-tab... abort." << endl; 260 return -1; 261 } 249 262 250 263 vstime->Copy(h1); … … 939 952 940 953 // Get spill-over corrections from energy estimation 941 hest.GetWeights(weights); 954 hest.GetWeights(weights); // E_mc/E_est 942 955 943 956 // Print effective on-time
Note:
See TracChangeset
for help on using the changeset viewer.