Changeset 19737


Ignore:
Timestamp:
Oct 7, 2019, 10:28:30 PM (11 days ago)
Author:
tbretz
Message:
Improved Print output
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mmc/MMcEvtBasic.cc

    r18571 r19737  
    221221        *fLog << all << endl;
    222222        *fLog << "Monte Carlo output:" << endl;
    223         *fLog << " Particle Id:    " << GetParticleName() << endl;
     223        if (fPartId>=0)
     224            *fLog << " Particle Id:    " << GetParticleName() << " [" << fPartId <<  "]" << endl;
    224225        *fLog << " Energy:         " << fEnergy << "GeV" << endl;
    225226        *fLog << " Impactparam.:   " << fImpact/100 << "m" << endl;
Note: See TracChangeset for help on using the changeset viewer.