Fork me on GitHub

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • readers/DelphesSTDHEP.cpp

    r341014c rb8b29f1  
    1717 */
    1818
     19#include <stdexcept>
    1920#include <iostream>
    2021#include <sstream>
    21 #include <stdexcept>
    2222
    2323#include <signal.h>
    2424
     25#include "TROOT.h"
    2526#include "TApplication.h"
    26 #include "TROOT.h"
    27 
     27
     28#include "TFile.h"
     29#include "TObjArray.h"
     30#include "TStopwatch.h"
    2831#include "TDatabasePDG.h"
    29 #include "TFile.h"
     32#include "TParticlePDG.h"
    3033#include "TLorentzVector.h"
    31 #include "TObjArray.h"
    32 #include "TParticlePDG.h"
    33 #include "TStopwatch.h"
    34 
     34
     35#include "modules/Delphes.h"
    3536#include "classes/DelphesClasses.h"
    3637#include "classes/DelphesFactory.h"
    3738#include "classes/DelphesSTDHEPReader.h"
    38 #include "modules/Delphes.h"
    39 
     39
     40#include "ExRootAnalysis/ExRootTreeWriter.h"
     41#include "ExRootAnalysis/ExRootTreeBranch.h"
    4042#include "ExRootAnalysis/ExRootProgressBar.h"
    41 #include "ExRootAnalysis/ExRootTreeBranch.h"
    42 #include "ExRootAnalysis/ExRootTreeWriter.h"
    4343
    4444using namespace std;
     
    7474  if(argc < 3)
    7575  {
    76     cout << " Usage: " << appName << " config_file"
    77          << " output_file"
    78          << " [input_file(s)]" << endl;
     76    cout << " Usage: " << appName << " config_file" << " output_file" << " [input_file(s)]" << endl;
    7977    cout << " config_file - configuration file in Tcl format," << endl;
    8078    cout << " output_file - output file in ROOT format," << endl;
     
    179177      reader->Clear();
    180178      readStopWatch.Start();
    181       while((maxEvents <= 0 || eventCounter - skipEvents < maxEvents) && reader->ReadBlock(factory, allParticleOutputArray, stableParticleOutputArray, partonOutputArray) && !interrupted)
     179      while((maxEvents <= 0 || eventCounter - skipEvents < maxEvents) &&
     180        reader->ReadBlock(factory, allParticleOutputArray,
     181        stableParticleOutputArray, partonOutputArray) && !interrupted)
    182182      {
    183183        if(reader->EventReady())
     
    215215
    216216      ++i;
    217     } while(i < argc);
     217    }
     218    while(i < argc);
    218219
    219220    modularDelphes->FinishTask();
Note: See TracChangeset for help on using the changeset viewer.