This is the first version of the muSR simulation code (musrSim) based on the merged codes of Kamil Sedlak and Toni Shiroka. It should be a running version of the simulation code, however it has not been very well tested, therefore it will probably need some further development.
50 lines
1.3 KiB
C++
50 lines
1.3 KiB
C++
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
|
|
|
#ifndef musrDetectorMessenger_h
|
|
#define musrDetectorMessenger_h 1
|
|
|
|
#include "globals.hh"
|
|
#include "G4UImessenger.hh"
|
|
|
|
class musrDetectorConstruction;
|
|
class G4UIdirectory;
|
|
class G4UIcmdWithAString;
|
|
class G4UIcmdWithADoubleAndUnit;
|
|
class G4UIcmdWithAnInteger;
|
|
class G4UIcmdWithoutParameter;
|
|
class G4UIcmdWith3Vector;
|
|
class G4UIcmdWith3VectorAndUnit;
|
|
|
|
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
|
|
|
class musrDetectorMessenger: public G4UImessenger
|
|
{
|
|
public:
|
|
musrDetectorMessenger(musrDetectorConstruction*);
|
|
~musrDetectorMessenger();
|
|
|
|
void SetNewValue(G4UIcommand*, G4String);
|
|
|
|
private:
|
|
musrDetectorConstruction* myDetector;
|
|
|
|
G4UIdirectory* musrDir;
|
|
G4UIdirectory* detDir;
|
|
G4UIdirectory* runDir;
|
|
G4UIcmdWithAString* Ignore1Cmd;
|
|
G4UIcmdWithAString* Ignore2Cmd;
|
|
G4UIcmdWithAnInteger* RunIDSetCmd;
|
|
G4UIcmdWithAnInteger* RandomOptionCmd;
|
|
G4UIcmdWithAnInteger* HowOftenToPrintEventCmd;
|
|
G4UIcmdWithAnInteger* RndmEventToSaveSeedsCmd;
|
|
G4UIcmdWithoutParameter* UpdateCmd;
|
|
|
|
public:
|
|
|
|
};
|
|
|
|
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
|
|
|
#endif
|
|
|