Fork me on GitHub

Changeset cdeea24 in git for modules


Ignore:
Timestamp:
Oct 8, 2015, 1:10:57 PM (9 years ago)
Author:
Pavel Demin <pavel.demin@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
9da65a5
Parents:
00e8dca
Message:

fix track momentum scaling in Calorimeter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/Calorimeter.cc

    r00e8dca rcdeea24  
    564564
    565565    track->Momentum *= ecalEnergy/fECalTrackEnergy[0];
     566    ecalEnergy = 0.0;
    566567
    567568    fEFlowTrackOutputArray->Add(track);
     
    585586    track->AddCandidate(mother);
    586587
    587     track->Momentum *= ecalEnergy/fECalTrackEnergy[0];
     588    track->Momentum *= hcalEnergy/fHCalTrackEnergy[0];
     589    hcalEnergy = 0.0;
    588590
    589591    fEFlowTrackOutputArray->Add(track);
Note: See TracChangeset for help on using the changeset viewer.