Fork me on GitHub

Changeset b4786d3 in git for readers


Ignore:
Timestamp:
May 25, 2021, 7:33:19 PM (3 years ago)
Author:
Pavel Demin <pavel.demin@…>
Branches:
master
Children:
c1780a5
Parents:
f76741a
Message:

add DelphesHepMC3

Location:
readers
Files:
1 added
1 moved

Legend:

Unmodified
Added
Removed
  • readers/DelphesHepMC2.cpp

    rf76741a rb4786d3  
    3535#include "classes/DelphesClasses.h"
    3636#include "classes/DelphesFactory.h"
    37 #include "classes/DelphesHepMCReader.h"
     37#include "classes/DelphesHepMC2Reader.h"
    3838#include "modules/Delphes.h"
    3939
     
    5757int main(int argc, char *argv[])
    5858{
    59   char appName[] = "DelphesHepMC";
     59  char appName[] = "DelphesHepMC2";
    6060  stringstream message;
    6161  FILE *inputFile = 0;
     
    6868  DelphesFactory *factory = 0;
    6969  TObjArray *stableParticleOutputArray = 0, *allParticleOutputArray = 0, *partonOutputArray = 0;
    70   DelphesHepMCReader *reader = 0;
     70  DelphesHepMC2Reader *reader = 0;
    7171  Int_t i, maxEvents, skipEvents;
    7272  Long64_t length, eventCounter;
     
    132132    partonOutputArray = modularDelphes->ExportArray("partons");
    133133
    134     reader = new DelphesHepMCReader;
     134    reader = new DelphesHepMC2Reader;
    135135
    136136    modularDelphes->InitTask();
Note: See TracChangeset for help on using the changeset viewer.