Fork me on GitHub

Changeset 341014c in git for modules/Cloner.cc


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
  • modules/Cloner.cc

    r45e58be r341014c  
    1717 */
    1818
    19 
    2019/** \class Clone
    2120 *
     
    3231#include "classes/DelphesFormula.h"
    3332
     33#include "ExRootAnalysis/ExRootClassifier.h"
     34#include "ExRootAnalysis/ExRootFilter.h"
    3435#include "ExRootAnalysis/ExRootResult.h"
    35 #include "ExRootAnalysis/ExRootFilter.h"
    36 #include "ExRootAnalysis/ExRootClassifier.h"
    3736
    3837#include <algorithm>
    39 #include <stdexcept>
    4038#include <iostream>
    4139#include <sstream>
     40#include <stdexcept>
    4241
    4342using namespace std;
     
    4847  fItInputArray(0)
    4948{
    50 
    5149}
    5250
     
    5553Cloner::~Cloner()
    5654{
    57 
    5855}
    5956
     
    7067
    7168  fOutputArray = ExportArray(GetString("OutputArray", "jets"));
    72 
    7369}
    7470
     
    8581{
    8682  Candidate *candidate;
    87  
    88  // loop over all input candidates
     83
     84  // loop over all input candidates
    8985  fItInputArray->Reset();
    90   while((candidate = static_cast<Candidate*>(fItInputArray->Next())))
     86  while((candidate = static_cast<Candidate *>(fItInputArray->Next())))
    9187  {
    92     candidate = static_cast<Candidate*>(candidate->Clone());
     88    candidate = static_cast<Candidate *>(candidate->Clone());
    9389    fOutputArray->Add(candidate);
    9490  }
Note: See TracChangeset for help on using the changeset viewer.