Changeset 4f00e0b in git for modules/SimpleCalorimeter.cc
- Timestamp:
- Oct 5, 2015, 6:10:37 PM (9 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- ce4feac
- Parents:
- c62695e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/SimpleCalorimeter.cc
rc62695e r4f00e0b 466 466 467 467 // charged particle has to deposit either in ECAL or HCAL 468 if(fraction < 1.0E-9) continue; 469 470 trkSigma = fResolutionFormula->Eval(0.0, fTowerEta, 0.0, momentum.E()); 471 472 if(track->TrackResolution < trkSigma/momentum.E()) 468 if(fraction > 1.0E-9) 473 469 { 474 energy -= momentum.E(); 475 fEFlowTrackOutputArray->Add(track); 470 trkSigma = fResolutionFormula->Eval(0.0, fTowerEta, 0.0, momentum.E()); 471 if(track->TrackResolution < trkSigma/momentum.E()) 472 { 473 energy -= momentum.E(); 474 fEFlowTrackOutputArray->Add(track); 475 } 476 476 } 477 477 //forward all tracks from ECAL to HCAL 478 else if(fIsEcal) 479 { 480 fEFlowTrackOutputArray->Add(track); 481 } 482 //store muons from HCAL 483 else if(pdgCode == 13) 484 { 485 fEFlowTrackOutputArray->Add(track); 486 } 478 487 } 479 488
Note:
See TracChangeset
for help on using the changeset viewer.