Fork me on GitHub

Changeset 332025f in git


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

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • classes/DelphesClasses.h

    r3e2bb2b r332025f  
    182182  Double_t ErrorY;
    183183  Double_t ErrorZ;
     184  Double_t ErrorT;
    184185
    185186  Int_t Index;
  • 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.