- Timestamp:
- Dec 5, 2017, 1:11:19 PM (7 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 0879ed1
- Parents:
- 197fed7
- Location:
- modules
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/FastJetFinder.cc
r197fed7 re9c0d73 80 80 81 81 FastJetFinder::FastJetFinder() : 82 fPlugin(0), fRecomb(0), fAxesDef(0), fMeasureDef(0), fNjettinessPlugin(0), 83 fDefinition(0), fAreaDefinition(0), fItInputArray(0) , fValenciaPlugin(0)82 fPlugin(0), fRecomb(0), fAxesDef(0), fMeasureDef(0), fNjettinessPlugin(0), fValenciaPlugin(0), 83 fDefinition(0), fAreaDefinition(0), fItInputArray(0) 84 84 { 85 85 … … 332 332 vector< PseudoJet >::iterator itInputList, itOutputList; 333 333 vector< TEstimatorStruct >::iterator itEstimators; 334 334 Double_t excl_ymerge23 = 0.0; 335 Double_t excl_ymerge34 = 0.0; 336 Double_t excl_ymerge45 = 0.0; 337 Double_t excl_ymerge56 = 0.0; 338 335 339 DelphesFactory *factory = GetFactory(); 336 340 … … 377 381 outputList.clear(); 378 382 383 379 384 if(fExclusiveClustering) 380 385 { 381 //not neccessary to sort 382 outputList = sequence->exclusive_jets( fNJets ); 386 outputList = sorted_by_pt(sequence->exclusive_jets( fNJets )); 387 388 excl_ymerge23 = sequence->exclusive_ymerge( 2 ); 389 excl_ymerge34 = sequence->exclusive_ymerge( 3 ); 390 excl_ymerge45 = sequence->exclusive_ymerge( 4 ); 391 excl_ymerge56 = sequence->exclusive_ymerge( 5 ); 383 392 } 384 393 else … … 401 410 if(fAreaDefinition) area = itOutputList->area_4vector(); 402 411 412 413 403 414 candidate = factory->NewCandidate(); 404 415 … … 444 455 candidate->NNeutrals = nneutrals; 445 456 candidate->NCharged = ncharged; 457 458 459 //for exclusive clustering, access y_n,n+1 as exclusive_ymerge (fNJets); 460 candidate->ExclYmerge23 = excl_ymerge23; 461 candidate->ExclYmerge34 = excl_ymerge34; 462 candidate->ExclYmerge45 = excl_ymerge45; 463 candidate->ExclYmerge56 = excl_ymerge56; 446 464 447 465 //------------------------------------ -
modules/TreeWriter.cc
r197fed7 re9c0d73 690 690 } 691 691 692 //--- exclusive clustering variables --- 693 entry->ExclYmerge23 = candidate->ExclYmerge23; 694 entry->ExclYmerge34 = candidate->ExclYmerge34; 695 entry->ExclYmerge45 = candidate->ExclYmerge45; 696 entry->ExclYmerge56 = candidate->ExclYmerge56; 697 698 692 699 FillParticles(candidate, &entry->Particles); 693 700 }
Note:
See TracChangeset
for help on using the changeset viewer.