Changeset 341014c in git for modules/Cloner.cc
- Timestamp:
- Feb 12, 2019, 9:29:17 PM (6 years ago)
- Branches:
- ImprovedOutputFile, Timing, llp, master
- Children:
- 6455202
- Parents:
- 45e58be
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/Cloner.cc
r45e58be r341014c 17 17 */ 18 18 19 20 19 /** \class Clone 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 38 37 #include <algorithm> 39 #include <stdexcept>40 38 #include <iostream> 41 39 #include <sstream> 40 #include <stdexcept> 42 41 43 42 using namespace std; … … 48 47 fItInputArray(0) 49 48 { 50 51 49 } 52 50 … … 55 53 Cloner::~Cloner() 56 54 { 57 58 55 } 59 56 … … 70 67 71 68 fOutputArray = ExportArray(GetString("OutputArray", "jets")); 72 73 69 } 74 70 … … 85 81 { 86 82 Candidate *candidate; 87 88 // loop over all input candidates83 84 // loop over all input candidates 89 85 fItInputArray->Reset(); 90 while((candidate = static_cast<Candidate *>(fItInputArray->Next())))86 while((candidate = static_cast<Candidate *>(fItInputArray->Next()))) 91 87 { 92 candidate = static_cast<Candidate *>(candidate->Clone());88 candidate = static_cast<Candidate *>(candidate->Clone()); 93 89 fOutputArray->Add(candidate); 94 90 }
Note:
See TracChangeset
for help on using the changeset viewer.