Changeset 19994 for trunk/Mars/msim


Ignore:
Timestamp:
09/21/20 23:03:57 (4 years ago)
Author:
tbretz
Message:
Propagate Core Position to MMcEvtBasic.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/msim/MSimMMCS.cc

    r19947 r19994  
    204204    fMcEvtBasic->SetParticlePhi(fEvtHeader->GetAz()+fRunHeader->GetMagneticFieldAz());
    205205
     206    // Impact position of the particle
     207    fMcEvtBasic->SetCore(fEvtHeader->GetX(), fEvtHeader->GetY());
     208
    206209    fMcEvtBasic->SetReadyToSave();
    207210
    208211
    209212    static_cast<MMcEvtBasic&>(*fMcEvt) = *fMcEvtBasic;
    210 
    211213
    212214    fMcEvt->SetRunNumber(fRunHeader->GetRunNumber());
Note: See TracChangeset for help on using the changeset viewer.