Fork me on GitHub

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • classes/DelphesPileUpReader.h

    r1716933 rcab38f6  
    2929
    3030#include <stdio.h>
    31 #include <stdint.h>
    32 
    33 class DelphesXDRReader;
     31#include <rpc/types.h>
     32#include <rpc/xdr.h>
    3433
    3534class DelphesPileUpReader
     
    4140  ~DelphesPileUpReader();
    4241
    43   bool ReadParticle(int32_t &pid,
     42  bool ReadParticle(int &pid,
    4443    float &x, float &y, float &z, float &t,
    4544    float &px, float &py, float &pz, float &e);
    4645
    47   bool ReadEntry(int64_t entry);
     46  bool ReadEntry(quad_t entry);
    4847
    49   int64_t GetEntries() const { return fEntries; }
     48  quad_t GetEntries() const { return fEntries; }
    5049
    5150private:
    5251
    53   int64_t fEntries;
     52  quad_t fEntries;
    5453
    55   int32_t fEntrySize;
    56   int32_t fCounter;
     54  int fEntrySize;
     55  int fCounter;
    5756
    5857  FILE *fPileUpFile;
    59   uint8_t *fIndex;
    60   uint8_t *fBuffer;
     58  char *fIndex;
     59  char *fBuffer;
    6160
    62   DelphesXDRReader *fInputReader;
    63   DelphesXDRReader *fIndexReader;
    64   DelphesXDRReader *fBufferReader;
     61  XDR *fInputXDR;
     62  XDR *fIndexXDR;
     63  XDR *fBufferXDR;
    6564};
    6665
    6766#endif // DelphesPileUpReader_h
     67
     68
Note: See TracChangeset for help on using the changeset viewer.