Fork me on GitHub

Changeset a0629ab in git for modules


Ignore:
Timestamp:
May 26, 2016, 2:57:44 PM (8 years ago)
Author:
Michele Selvaggi <michele.selvaggi@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
28c722a
Parents:
6e3d5f4
Message:

store time smearing error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/TimeSmearing.cc

    r6e3d5f4 ra0629ab  
    104104    // apply smearing formula
    105105    t = gRandom->Gaus(t, fTimeResolution);
    106 
     106   
    107107    mother = candidate;
    108108    candidate = static_cast<Candidate*>(candidate->Clone());
    109109    candidate->Position.SetT(t*1.0E3*c_light);
     110    candidate->ErrorT = fTimeResolution*1.0E3*c_light;
    110111
    111112    candidate->AddCandidate(mother);
Note: See TracChangeset for help on using the changeset viewer.