Fork me on GitHub

Changeset 341014c in git for converters/root2pileup.cpp


Ignore:
Timestamp:
Feb 12, 2019, 9:29:17 PM (6 years ago)
Author:
Pavel Demin <pavel-demin@…>
Branches:
ImprovedOutputFile, Timing, llp, master
Children:
6455202
Parents:
45e58be
Message:

apply .clang-format to all .h, .cc and .cpp files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • converters/root2pileup.cpp

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