- Timestamp:
- Oct 8, 2015, 4:22:02 PM (9 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- df636c74
- Parents:
- cdeea24
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/Calorimeter.cc
rcdeea24 r9da65a5 404 404 } 405 405 406 if(fECalTrackFractions[number] > 1.0E-9 && fHCalTrackFractions[number] < 1.0E-9 406 if(fECalTrackFractions[number] > 1.0E-9 && fHCalTrackFractions[number] < 1.0E-9) 407 407 { 408 408 ecalSigma = fECalResolutionFormula->Eval(0.0, fTowerEta, 0.0, momentum.E()); … … 418 418 } 419 419 } 420 else if(fECalTrackFractions[number] < 1.0E-9 && fHCalTrackFractions[number] > 1.0E-9 420 else if(fECalTrackFractions[number] < 1.0E-9 && fHCalTrackFractions[number] > 1.0E-9) 421 421 { 422 422 hcalSigma = fHCalResolutionFormula->Eval(0.0, fTowerEta, 0.0, momentum.E()); … … 432 432 } 433 433 } 434 else if(fECalTrackFractions[number] < 1.0E-9 && fHCalTrackFractions[number] < 1.0E-9) 435 { 436 fEFlowTrackOutputArray->Add(track); 437 } 434 438 435 439 continue; … … 564 568 565 569 track->Momentum *= ecalEnergy/fECalTrackEnergy[0]; 566 ecalEnergy = 0.0;567 570 568 571 fEFlowTrackOutputArray->Add(track); … … 587 590 588 591 track->Momentum *= hcalEnergy/fHCalTrackEnergy[0]; 589 hcalEnergy = 0.0;590 592 591 593 fEFlowTrackOutputArray->Add(track); … … 602 604 } 603 605 606 if(fECalTowerTrackArray[0]->GetEntriesFast() > 0) ecalEnergy = 0.0; 607 if(fHCalTowerTrackArray[0]->GetEntriesFast() > 0) hcalEnergy = 0.0; 608 604 609 ecalSigma = fECalResolutionFormula->Eval(0.0, fTowerEta, 0.0, ecalEnergy); 605 610 hcalSigma = fHCalResolutionFormula->Eval(0.0, fTowerEta, 0.0, hcalEnergy);
Note:
See TracChangeset
for help on using the changeset viewer.