Fork me on GitHub

Changeset 341014c in git for readers/DelphesSTDHEP.cpp


Ignore:
Timestamp:
Feb 12, 2019, 9:29:17 PM (5 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
  • readers/DelphesSTDHEP.cpp

    r45e58be 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/DelphesSTDHEPReader.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;
     
    177179      reader->Clear();
    178180      readStopWatch.Start();
    179       while((maxEvents <= 0 || eventCounter - skipEvents < maxEvents) &&
    180         reader->ReadBlock(factory, allParticleOutputArray,
    181         stableParticleOutputArray, partonOutputArray) && !interrupted)
     181      while((maxEvents <= 0 || eventCounter - skipEvents < maxEvents) && reader->ReadBlock(factory, allParticleOutputArray, stableParticleOutputArray, partonOutputArray) && !interrupted)
    182182      {
    183183        if(reader->EventReady())
     
    215215
    216216      ++i;
    217     }
    218     while(i < argc);
     217    } while(i < argc);
    219218
    220219    modularDelphes->FinishTask();
Note: See TracChangeset for help on using the changeset viewer.