Fork me on GitHub

Changeset 1393 in svn for trunk/modules


Ignore:
Timestamp:
May 6, 2014, 11:29:28 AM (11 years ago)
Author:
Pavel Demin
Message:

fix candidate position in PileUpMerger

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/PileUpMerger.cc

    r1392 r1393  
    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.