Fork me on GitHub

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • converters/root2pileup.cpp

    r341014c r1fa50c2  
    1717 */
    1818
     19#include <stdexcept>
    1920#include <iostream>
    2021#include <sstream>
    21 #include <stdexcept>
    2222#include <string>
    2323
    2424#include <signal.h>
    2525
     26#include "TROOT.h"
    2627#include "TApplication.h"
    27 #include "TROOT.h"
    2828
     29#include "TFile.h"
    2930#include "TClonesArray.h"
    30 #include "TFile.h"
    3131
    3232#include "classes/DelphesClasses.h"
    3333#include "classes/DelphesPileUpWriter.h"
    3434
     35#include "ExRootAnalysis/ExRootTreeReader.h"
    3536#include "ExRootAnalysis/ExRootProgressBar.h"
    36 #include "ExRootAnalysis/ExRootTreeReader.h"
    3737
    3838using namespace std;
     
    6464  if(argc < 3)
    6565  {
    66     cout << " Usage: " << appName << " output_file"
    67          << " input_file(s)" << endl;
     66    cout << " Usage: " << appName << " output_file" << " input_file(s)" << endl;
    6867    cout << " output_file - output binary pile-up file," << endl;
    6968    cout << " input_file(s) - input file(s) in ROOT format." << endl;
     
    109108
    110109        itParticle->Reset();
    111         while((particle = static_cast<GenParticle *>(itParticle->Next())))
     110        while((particle = static_cast<GenParticle*>(itParticle->Next())))
    112111        {
    113112          writer->WriteParticle(particle->PID,
     
    115114            particle->Px, particle->Py, particle->Pz, particle->E);
    116115        }
    117 
     116       
    118117        writer->WriteEntry();
    119118
Note: See TracChangeset for help on using the changeset viewer.