Changeset 6965fe1 in git for modules/FastJetFinder.cc
- Timestamp:
- Dec 5, 2017, 8:33:29 PM (7 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 8d4d51b
- Parents:
- ba75867 (diff), dda357d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/FastJetFinder.cc
rba75867 r6965fe1 66 66 #include "fastjet/contribs/Nsubjettiness/ExtraRecombiners.hh" 67 67 68 #include "fastjet/contribs/ValenciaPlugin/ValenciaPlugin.hh" 69 68 70 #include "fastjet/tools/Filter.hh" 69 71 #include "fastjet/tools/Pruner.hh" … … 79 81 FastJetFinder::FastJetFinder() : 80 82 fPlugin(0), fRecomb(0), fAxesDef(0), fMeasureDef(0), fNjettinessPlugin(0), 81 fDefinition(0), fAreaDefinition(0), fItInputArray(0) 83 fDefinition(0), fAreaDefinition(0), fItInputArray(0), fValenciaPlugin(0) 82 84 { 83 85 … … 118 120 fJetPTMin = GetDouble("JetPTMin", 10.0); 119 121 122 120 123 //-- N(sub)jettiness parameters -- 121 124 … … 125 128 fRcutOff = GetDouble("RcutOff", 0.8); // used only if Njettiness is used as jet clustering algo (case 8) 126 129 fN = GetInt("N", 2); // used only if Njettiness is used as jet clustering algo (case 8) 127 130 131 //-- Exclusive clustering for e+e- collisions -- 132 133 fNJets = GetInt("NJets",2); 134 fExclusiveClustering = GetBool("ExclusiveClustering", false); 135 136 //-- Valencia Linear Collider algorithm 137 fGamma = GetDouble("Gamma", 1.0); 138 //fBeta parameter see above 139 128 140 fMeasureDef = new NormalizedMeasure(fBeta, fParameterR); 129 141 … … 236 248 fDefinition = new JetDefinition(fNjettinessPlugin); 237 249 break; 250 case 9: 251 fValenciaPlugin = new ValenciaPlugin(fParameterR, fBeta, fGamma); 252 fDefinition = new JetDefinition(fValenciaPlugin); 253 break; 254 238 255 } 239 256 … … 294 311 if(fAxesDef) delete fAxesDef; 295 312 if(fMeasureDef) delete fMeasureDef; 313 if(fValenciaPlugin) delete static_cast<JetDefinition::Plugin*>(fValenciaPlugin); 314 296 315 } 297 316 … … 357 376 358 377 outputList.clear(); 359 outputList = sorted_by_pt(sequence->inclusive_jets(fJetPTMin)); 360 378 379 if(fExclusiveClustering) 380 { 381 outputList = sorted_by_pt(sequence->exclusive_jets( fNJets )); 382 } 383 else 384 { 385 outputList = sorted_by_pt(sequence->inclusive_jets(fJetPTMin)); 386 } 361 387 362 388 // loop over all jets and export them
Note:
See TracChangeset
for help on using the changeset viewer.