Fork me on GitHub

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • readers/DelphesHepMC.cpp

    rd203a37 r341014c  
    1717 */
    1818
    19 #include <stdexcept>
    2019#include <iostream>
    2120#include <sstream>
     21#include <stdexcept>
    2222
    2323#include <signal.h>
    2424
     25#include "TApplication.h"
    2526#include "TROOT.h"
    26 #include "TApplication.h"
    27 
     27
     28#include "TDatabasePDG.h"
    2829#include "TFile.h"
     30#include "TLorentzVector.h"
    2931#include "TObjArray.h"
     32#include "TParticlePDG.h"
    3033#include "TStopwatch.h"
    31 #include "TDatabasePDG.h"
    32 #include "TParticlePDG.h"
    33 #include "TLorentzVector.h"
    34 
    35 #include "modules/Delphes.h"
     34
    3635#include "classes/DelphesClasses.h"
    3736#include "classes/DelphesFactory.h"
    3837#include "classes/DelphesHepMCReader.h"
    39 
     38#include "modules/Delphes.h"
     39
     40#include "ExRootAnalysis/ExRootProgressBar.h"
     41#include "ExRootAnalysis/ExRootTreeBranch.h"
    4042#include "ExRootAnalysis/ExRootTreeWriter.h"
    41 #include "ExRootAnalysis/ExRootTreeBranch.h"
    42 #include "ExRootAnalysis/ExRootProgressBar.h"
    4343
    4444using namespace std;
     
    7474  if(argc < 3)
    7575  {
    76     cout << " Usage: " << appName << " config_file" << " output_file" << " [input_file(s)]" << endl;
     76    cout << " Usage: " << appName << " config_file"
     77         << " output_file"
     78         << " [input_file(s)]" << endl;
    7779    cout << " config_file - configuration file in Tcl format," << endl;
    7880    cout << " output_file - output file in ROOT format," << endl;
     
    178180      reader->Clear();
    179181      readStopWatch.Start();
    180       while((maxEvents <= 0 || eventCounter - skipEvents < maxEvents) &&
    181         reader->ReadBlock(factory, allParticleOutputArray,
    182         stableParticleOutputArray, partonOutputArray) && !interrupted)
     182      while((maxEvents <= 0 || eventCounter - skipEvents < maxEvents) && reader->ReadBlock(factory, allParticleOutputArray, stableParticleOutputArray, partonOutputArray) && !interrupted)
    183183      {
    184184        if(reader->EventReady())
     
    217217
    218218      ++i;
    219     }
    220     while(i < argc);
     219    } while(i < argc);
    221220
    222221    modularDelphes->FinishTask();
Note: See TracChangeset for help on using the changeset viewer.