Changes in modules/JetPileUpSubtractor.cc [d4b9697:341014c] in git
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/JetPileUpSubtractor.cc
rd4b9697 r341014c 17 17 */ 18 18 19 20 19 /** \class JetPileUpSubtractor 21 20 * … … 32 31 #include "classes/DelphesFormula.h" 33 32 33 #include "ExRootAnalysis/ExRootClassifier.h" 34 #include "ExRootAnalysis/ExRootFilter.h" 34 35 #include "ExRootAnalysis/ExRootResult.h" 35 #include "ExRootAnalysis/ExRootFilter.h"36 #include "ExRootAnalysis/ExRootClassifier.h"37 36 37 #include "TDatabasePDG.h" 38 #include "TFormula.h" 39 #include "TLorentzVector.h" 38 40 #include "TMath.h" 41 #include "TObjArray.h" 42 #include "TRandom3.h" 39 43 #include "TString.h" 40 #include "TFormula.h"41 #include "TRandom3.h"42 #include "TObjArray.h"43 #include "TDatabasePDG.h"44 #include "TLorentzVector.h"45 44 46 45 #include <algorithm> 47 #include <stdexcept>48 46 #include <iostream> 49 47 #include <sstream> 48 #include <stdexcept> 50 49 51 50 using namespace std; … … 56 55 fItJetInputArray(0), fItRhoInputArray(0) 57 56 { 58 59 57 } 60 58 … … 63 61 JetPileUpSubtractor::~JetPileUpSubtractor() 64 62 { 65 66 63 } 67 64 … … 83 80 84 81 fOutputArray = ExportArray(GetString("OutputArray", "jets")); 85 86 82 } 87 83 … … 105 101 // loop over all input candidates 106 102 fItJetInputArray->Reset(); 107 while((candidate = static_cast<Candidate *>(fItJetInputArray->Next())))103 while((candidate = static_cast<Candidate *>(fItJetInputArray->Next()))) 108 104 { 109 105 momentum = candidate->Momentum; … … 116 112 { 117 113 fItRhoInputArray->Reset(); 118 while((object = static_cast<Candidate *>(fItRhoInputArray->Next())))114 while((object = static_cast<Candidate *>(fItRhoInputArray->Next()))) 119 115 { 120 116 if(eta >= object->Edges[0] && eta < object->Edges[1]) … … 132 128 if(momentum.Pt() <= fJetPTMin) continue; 133 129 134 candidate = static_cast<Candidate *>(candidate->Clone());130 candidate = static_cast<Candidate *>(candidate->Clone()); 135 131 candidate->Momentum = momentum; 136 132
Note:
See TracChangeset
for help on using the changeset viewer.