Fork me on GitHub

Changeset 00078bc in git


Ignore:
Timestamp:
May 6, 2014, 11:29:28 AM (11 years ago)
Author:
pavel <pavel@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
3a61449
Parents:
fb8932a
Message:

fix candidate position in PileUpMerger

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/PileUpMerger.cc

    rfb8932a r00078bc  
    119119  while((candidate = static_cast<Candidate*>(fItInputArray->Next())))
    120120  {
     121    z = candidate->Position.Z();
     122    t = candidate->Position.T();
    121123    candidate->Position.SetZ(z + dz);
    122124    candidate->Position.SetT(t + dt);
     
    189191      candidate->Momentum.RotateZ(dphi);
    190192
    191       candidate->Position.SetXYZT(x, y, z+dz, t+dt);
     193      candidate->Position.SetXYZT(x, y, z + dz, t + dt);
    192194      candidate->Position.RotateZ(dphi);
    193195
Note: See TracChangeset for help on using the changeset viewer.