Fork me on GitHub

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/JetPileUpSubtractor.cc

    rd4b9697 r341014c  
    1717 */
    1818
    19 
    2019/** \class JetPileUpSubtractor
    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
     37#include "TDatabasePDG.h"
     38#include "TFormula.h"
     39#include "TLorentzVector.h"
    3840#include "TMath.h"
     41#include "TObjArray.h"
     42#include "TRandom3.h"
    3943#include "TString.h"
    40 #include "TFormula.h"
    41 #include "TRandom3.h"
    42 #include "TObjArray.h"
    43 #include "TDatabasePDG.h"
    44 #include "TLorentzVector.h"
    4544
    4645#include <algorithm>
    47 #include <stdexcept>
    4846#include <iostream>
    4947#include <sstream>
     48#include <stdexcept>
    5049
    5150using namespace std;
     
    5655  fItJetInputArray(0), fItRhoInputArray(0)
    5756{
    58 
    5957}
    6058
     
    6361JetPileUpSubtractor::~JetPileUpSubtractor()
    6462{
    65 
    6663}
    6764
     
    8380
    8481  fOutputArray = ExportArray(GetString("OutputArray", "jets"));
    85 
    8682}
    8783
     
    105101  // loop over all input candidates
    106102  fItJetInputArray->Reset();
    107   while((candidate = static_cast<Candidate*>(fItJetInputArray->Next())))
     103  while((candidate = static_cast<Candidate *>(fItJetInputArray->Next())))
    108104  {
    109105    momentum = candidate->Momentum;
     
    116112    {
    117113      fItRhoInputArray->Reset();
    118       while((object = static_cast<Candidate*>(fItRhoInputArray->Next())))
     114      while((object = static_cast<Candidate *>(fItRhoInputArray->Next())))
    119115      {
    120116        if(eta >= object->Edges[0] && eta < object->Edges[1])
     
    132128    if(momentum.Pt() <= fJetPTMin) continue;
    133129
    134     candidate = static_cast<Candidate*>(candidate->Clone());
     130    candidate = static_cast<Candidate *>(candidate->Clone());
    135131    candidate->Momentum = momentum;
    136132
Note: See TracChangeset for help on using the changeset viewer.