Fork me on GitHub

Changeset 341014c in git for modules/PdgCodeFilter.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/PdgCodeFilter.cc

    r45e58be r341014c  
    3131#include "classes/DelphesFormula.h"
    3232
     33#include "ExRootAnalysis/ExRootClassifier.h"
     34#include "ExRootAnalysis/ExRootFilter.h"
    3335#include "ExRootAnalysis/ExRootResult.h"
    34 #include "ExRootAnalysis/ExRootFilter.h"
    35 #include "ExRootAnalysis/ExRootClassifier.h"
    3636
     37#include "TDatabasePDG.h"
     38#include "TFormula.h"
     39#include "TLorentzVector.h"
    3740#include "TMath.h"
     41#include "TObjArray.h"
     42#include "TRandom3.h"
    3843#include "TString.h"
    39 #include "TFormula.h"
    40 #include "TRandom3.h"
    41 #include "TObjArray.h"
    42 #include "TDatabasePDG.h"
    43 #include "TLorentzVector.h"
    4444
    4545#include <algorithm>
    46 #include <stdexcept>
    4746#include <iostream>
    4847#include <sstream>
     48#include <stdexcept>
    4949
    5050using namespace std;
     
    7676  fInvert = GetBool("Invert", false);
    7777
    78   // no pileup 
     78  // no pileup
    7979  fRequireNotPileup = GetBool("RequireNotPileup", false);
    8080
     
    121121
    122122  fItInputArray->Reset();
    123   while((candidate = static_cast<Candidate*>(fItInputArray->Next())))
     123  while((candidate = static_cast<Candidate *>(fItInputArray->Next())))
    124124  {
    125125    pdgCode = candidate->PID;
     
    130130    if(fRequireStatus && (candidate->Status != fStatus)) continue;
    131131    if(fRequireCharge && (candidate->Charge != fCharge)) continue;
    132     if(fRequireNotPileup && (candidate->IsPU   >0     )) continue;
     132    if(fRequireNotPileup && (candidate->IsPU > 0)) continue;
    133133
    134134    pass = kTRUE;
     
    139139  }
    140140}
    141 
Note: See TracChangeset for help on using the changeset viewer.