Fork me on GitHub

Changeset 3e2bb2b in git for modules/PileUpMerger.cc


Ignore:
Timestamp:
Jun 20, 2016, 4:00:51 PM (8 years ago)
Author:
Michele Selvaggi <michele.selvaggi@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
332025f
Parents:
62d3bc5
Message:

fixed vertex refs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/PileUpMerger.cc

    r62d3bc5 r3e2bb2b  
    168168    candidate->Position.SetT(t - dt0 + dt);
    169169
     170    candidate->IsPU = 0;
     171
    170172    fParticleOutputArray->Add(candidate);
    171173
     
    190192  vertex->SumPT2 = sumpt2;
    191193  vertex->GenSumPT2 = sumpt2;
    192 
    193194  fVertexOutputArray->Add(vertex);
    194195
     
    213214  allEntries = fReader->GetEntries();
    214215
     216
    215217  for(event = 0; event < numberOfEvents; ++event)
    216218  {
     
    238240    sumpt2 = 0.0;
    239241
     242    //factory = GetFactory();
    240243    vertex = factory->NewCandidate();
    241244
     
    256259      candidate->Momentum.SetPxPyPzE(px, py, pz, e);
    257260      candidate->Momentum.RotateZ(dphi);
     261      pt = candidate->Momentum.Pt();
    258262
    259263      x -= fInputBeamSpotX;
Note: See TracChangeset for help on using the changeset viewer.