diff --git a/geant4/LEMuSR/src/LEMuSRPgaMessenger.cc b/geant4/LEMuSR/src/LEMuSRPgaMessenger.cc index 20c3bb4..fc9cc37 100644 --- a/geant4/LEMuSR/src/LEMuSRPgaMessenger.cc +++ b/geant4/LEMuSR/src/LEMuSRPgaMessenger.cc @@ -55,10 +55,10 @@ LEMuSRPgaMessenger::LEMuSRPgaMessenger(LEMuSRPrimaryGeneratorAction *thePGA) posCmd->SetParameterName("X [cm]","Y [cm]","Z [cm]",true,true); posCmd->SetDefaultValue(Hep3Vector(0., 0., -114)); - posCmd = new G4UIcmdWith3Vector("/lemuGun/MomentumDirection",this); - posCmd->SetGuidance("Set momentum direction >> sum must equal one."); - posCmd->SetParameterName("momX ","momY ","momZ ",true,true); - posCmd->SetDefaultValue(Hep3Vector(0., 0., 1.)); + momCmd = new G4UIcmdWith3Vector("/lemuGun/MomentumDirection",this); + momCmd->SetGuidance("Set momentum direction >> norm must be one."); + momCmd->SetParameterName("momX ","momY ","momZ ",true,true); + momCmd->SetDefaultValue(Hep3Vector(0., 0., 1.)); scaCmd = new G4UIcmdWith3Vector("/lemuGun/scan/square",this);