Corrected momentum command momCmd

This commit is contained in:
paraiso 2006-02-25 20:08:48 +00:00
parent 2505fb8754
commit e331e980c4

View File

@ -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);