Fork me on GitHub

Changeset 332025f in git for modules


Ignore:
Timestamp:
Jun 20, 2016, 8:12:22 PM (8 years ago)
Author:
Michele Selvaggi <michele.selvaggi@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
425cd17, 9ad08ca
Parents:
3e2bb2b
Message:

add time error in Vertex class

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/TreeWriter.cc

    r3e2bb2b r332025f  
    245245  const Double_t c_light = 2.99792458E8;
    246246
    247   Double_t x, y, z, t, xError, yError, zError, sigma, sumPT2, btvSumPT2, genDeltaZ, genSumPT2;
     247  Double_t x, y, z, t, xError, yError, zError, tError, sigma, sumPT2, btvSumPT2, genDeltaZ, genSumPT2;
    248248  UInt_t index, ndf;
    249249
     
    274274    yError = candidate->PositionError.Y ();
    275275    zError = candidate->PositionError.Z ();
     276    tError = candidate->PositionError.T ()*1.0E-3/c_light;
    276277
    277278    entry = static_cast<Vertex*>(branch->NewEntry());
     
    293294    entry->ErrorY = yError;
    294295    entry->ErrorZ = zError;
     296    entry->ErrorT = tError;
    295297
    296298
Note: See TracChangeset for help on using the changeset viewer.