Changeset 19995 for trunk/Mars


Ignore:
Timestamp:
09/21/20 23:04:33 (4 years ago)
Author:
tbretz
Message:
Added a setter and updated the print contents.
Location:
trunk/Mars/mmc
Files:
2 edited

Legend:

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

    r19993 r19995  
    233233            *fLog << " Particle Id:    " << GetParticleName() << " [" << fPartId <<  "]" << endl;
    234234        *fLog << " Energy:         " << fEnergy << "GeV" << endl;
    235         *fLog << " Impactparam.:   " << fImpact/100 << "m" << endl;
     235        *fLog << " Impactparam.:   " << fImpact/100 << "m [x=" << fCoreX << ", y=" << fCoreY << "]" << endl;
    236236        *fLog << endl;
    237237        return;
  • trunk/Mars/mmc/MMcEvtBasic.h

    r19993 r19995  
    101101  void SetCoreX(Float_t CoreX) { fCoreX=CoreX; }                //Set Core x pos
    102102  void SetCoreY(Float_t CoreY) { fCoreY=CoreY; }                //Set Core y pos
     103  void SetCore(Float_t x, Float_t y) { fCoreX=x; fCoreY=y; }                //Set Core y pos
    103104
    104105  void Fill(ParticleId_t, Float_t, Float_t, Float_t, Float_t);
Note: See TracChangeset for help on using the changeset viewer.