Added to SVN repository
This commit is contained in:
@ -1,10 +1,10 @@
|
||||
///§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§//*
|
||||
//$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$//*
|
||||
// LOW ENERGY MUON SPIN RELAXATION, ROTATION, RADIATION
|
||||
//
|
||||
// ID : LEMuSRPgaMessenger.cc , v 1.2
|
||||
// AUTHOR: Taofiq PARAISO
|
||||
// DATE : 2004-09-16 09:12
|
||||
//§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§//
|
||||
//$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$//
|
||||
//
|
||||
// & &&&&&&&&&& &&&&&&& &&&&&&&&
|
||||
// & & && && & &&
|
||||
@ -18,7 +18,7 @@
|
||||
// &
|
||||
// &
|
||||
// PRIMARY GENERATOR ACTION MESSENGER
|
||||
//§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§//
|
||||
//$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$//
|
||||
|
||||
|
||||
#ifndef LEMUSRPGAMESSENGER_H
|
||||
@ -36,27 +36,57 @@ class G4UIcmdWithAnInteger;
|
||||
|
||||
#include "G4UImessenger.hh"
|
||||
#include "globals.hh"
|
||||
|
||||
/**
|
||||
* The LEMuSRPgaMessenger class is the completion of the LEMuSRParticleGunMessenger
|
||||
* class which defines the terminal's commands to operate changes in the initial
|
||||
* conditions of the muon beam.
|
||||
*
|
||||
* The commands directory lemuGun/ is completed with commands
|
||||
* to shoot particles randomely and to specify the energy distribution etc.
|
||||
*/
|
||||
class LEMuSRPgaMessenger: public G4UImessenger
|
||||
{
|
||||
public:
|
||||
LEMuSRPgaMessenger(LEMuSRPrimaryGeneratorAction* thPGA);
|
||||
~LEMuSRPgaMessenger();
|
||||
//!\ct
|
||||
LEMuSRPgaMessenger(LEMuSRPrimaryGeneratorAction* thPGA);
|
||||
//!\dt
|
||||
~LEMuSRPgaMessenger();
|
||||
|
||||
public:
|
||||
//! \mm
|
||||
void SetNewValue(G4UIcommand * command,G4String newValues);
|
||||
|
||||
private:
|
||||
//! Pointer to the LEMuSRPrimaryGeneratorAction object.
|
||||
LEMuSRPrimaryGeneratorAction * lemuPGA;
|
||||
|
||||
private: //commands
|
||||
//! Directory of the commands.
|
||||
G4UIdirectory * pgaDirectory;
|
||||
//! Set particle energy.
|
||||
G4UIcmdWithAString *setRndEnergy;
|
||||
//! Set the particle type.
|
||||
G4UIcmdWithAString *setMuonium;
|
||||
//! Unusedx
|
||||
G4UIcmdWithoutParameter *reset;
|
||||
G4UIcmdWith3Vector *posCmd, *momCmd, *scaCmd, *scbCmd, *scgCmd, *setEGauss;
|
||||
G4UIcmdWith3Vector
|
||||
//! Set Gun Position (fixed).
|
||||
*posCmd,
|
||||
//! Set Momentum Direction.
|
||||
*momCmd,
|
||||
//! Set Square Scan.
|
||||
*scaCmd,
|
||||
//! Set Circular Scan.
|
||||
*scbCmd,
|
||||
//! Set Gaussian Scan.
|
||||
*scgCmd,
|
||||
//! Set Gaussian Energy Distribution.
|
||||
*setEGauss;
|
||||
//! Set Energy Value.
|
||||
G4UIcmdWithADouble *setEnergy;
|
||||
// Set Energy Offset.
|
||||
G4UIcmdWithADouble *setKEoffset;
|
||||
// Set Particle's Charge (not implemented).
|
||||
G4UIcmdWithADouble *setCharge;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user