Fork me on GitHub

Changeset b55dc12 in git for classes


Ignore:
Timestamp:
Jan 22, 2015, 1:38:27 PM (10 years ago)
Author:
Pavel Demin <pavel.demin@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
50d7259, 532016b, e2d3977
Parents:
4af92f5
Message:

simplify DelphesSTDHEPReader::SetInputFile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • classes/DelphesSTDHEPReader.cc

    r4af92f5 rb55dc12  
    7777  fInputFile = inputFile;
    7878  xdrstdio_create(fInputXDR, inputFile, XDR_DECODE);
    79 
    80   xdr_int(fInputXDR, &fBlockType);
    81   if(fBlockType != FILEHEADER)
    82   {
    83     throw runtime_error("Header block not found. File is probably corrupted.");
    84   }
    85 
    86   SkipBytes(4);
    87 
    88   ReadFileHeader();
    8979}
    9080
Note: See TracChangeset for help on using the changeset viewer.