Fork me on GitHub

Ignore:
Timestamp:
Feb 12, 2019, 9:29:17 PM (6 years ago)
Author:
Pavel Demin <pavel-demin@…>
Branches:
ImprovedOutputFile, Timing, llp, master
Children:
6455202
Parents:
45e58be
Message:

apply .clang-format to all .h, .cc and .cpp files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • classes/DelphesPileUpReader.cc

    r45e58be r341014c  
    1717 */
    1818
    19 
    2019/** \class DelphesPileUpReader
    2120 *
     
    2827#include "classes/DelphesPileUpReader.h"
    2928
    30 #include <stdexcept>
    3129#include <iostream>
    3230#include <sstream>
     31#include <stdexcept>
    3332
     33#include <stdint.h>
    3434#include <stdio.h>
    35 #include <stdint.h>
    3635
    3736#include "classes/DelphesXDRReader.h"
     
    5251  stringstream message;
    5352
    54   fIndex = new uint8_t[kIndexSize*8];
    55   fBuffer = new uint8_t[kBufferSize*kRecordSize*4];
     53  fIndex = new uint8_t[kIndexSize * 8];
     54  fBuffer = new uint8_t[kBufferSize * kRecordSize * 4];
    5655  fInputReader = new DelphesXDRReader;
    5756  fIndexReader = new DelphesXDRReader;
     
    8281
    8382  // read index of events
    84   fseeko(fPileUpFile, -8 - 8*fEntries, SEEK_END);
    85   fInputReader->ReadRaw(fIndex, fEntries*8);
     83  fseeko(fPileUpFile, -8 - 8 * fEntries, SEEK_END);
     84  fInputReader->ReadRaw(fIndex, fEntries * 8);
    8685}
    8786
     
    130129
    131130  // read event position
    132   fIndexReader->SetOffset(8*entry);
     131  fIndexReader->SetOffset(8 * entry);
    133132  fIndexReader->ReadValue(&offset, 8);
    134133
     
    142141  }
    143142
    144   fInputReader->ReadRaw(fBuffer, fEntrySize*kRecordSize*4);
     143  fInputReader->ReadRaw(fBuffer, fEntrySize * kRecordSize * 4);
    145144  fBufferReader->SetOffset(0);
    146145  fCounter = 0;
Note: See TracChangeset for help on using the changeset viewer.