28.9.2011 Kamil Sedlak

1) implemented a new command /gun/turtleMomentumScalingFactor in the musrSim
   (see the manual)
2) some small changes in the musrSimAna
This commit is contained in:
2011-09-28 10:01:31 +00:00
parent c10cb1791c
commit 0c995ad9d8
9 changed files with 54 additions and 7 deletions

View File

@ -83,6 +83,7 @@ class musrPrimaryGeneratorAction : public G4VUserPrimaryGeneratorAction
void SetOrReadTheRandomNumberSeeds(G4Event* anEvent);
void SetTurtleMomentumBite (G4ThreeVector smearingParam)
{turtleMomentumBite=true; turtleMomentumP0=smearingParam[0]*MeV; turtleSmearingFactor=smearingParam[1]*0.01;}
void SetTurtleMomentumScalingFactor(G4double momentumScaling) {turtleMomentumScalingFactor=momentumScaling;}
void SetPrimaryParticule(G4String particleName);
static G4String GetPrimaryName();
@ -127,6 +128,7 @@ class musrPrimaryGeneratorAction : public G4VUserPrimaryGeneratorAction
G4bool turtleMomentumBite;
G4double turtleMomentumP0;
G4double turtleSmearingFactor;
G4double turtleMomentumScalingFactor;
void swapTheAxisInTurtle(float& x_x, float& x_xprime, float& y_y, float& y_yprime);
public: