Changeset 8222 for trunk/MagicSoft/Mars/mjobs/MJSpectrum.cc
- Timestamp:
- 12/11/06 15:05:11 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/MJSpectrum.cc
r8173 r8222 190 190 // Read the first corsika RunHeader from the MC files 191 191 TChain chain("RunHeaders"); 192 set.AddFilesOn(chain); 192 if (!set.AddFilesOn(chain)) 193 return kFALSE; 193 194 194 195 MMcCorsikaRunHeader *h=0; … … 292 293 // Create chain 293 294 TChain chain("OriginalMC"); 294 set.AddFilesOn(chain); 295 if (!set.AddFilesOn(chain)) 296 return kFALSE; 295 297 296 298 // Prepare histogram … … 507 509 MReadMarsFile readmc("OriginalMC"); 508 510 //readmc.DisableAutoScheme(); 509 set.AddFilesOn(readmc); 511 if (!set.AddFilesOn(readmc)) 512 return kFALSE; 513 510 514 readmc.EnableBranch("MMcEvtBasic.fTelescopeTheta"); 511 515 readmc.EnableBranch("MMcEvtBasic.fEnergy"); … … 1140 1144 MReadMarsFile read("Events"); 1141 1145 read.DisableAutoScheme(); 1142 set.AddFilesOn(read); 1146 if (!set.AddFilesOn(read)) 1147 return kFALSE; 1143 1148 1144 1149 // Selector to get correct (final) theta-distribution
Note:
See TracChangeset
for help on using the changeset viewer.