/*************************************************************************** * musrSim - the program for the simulation of (mainly) muSR instruments. * * More info on http://lmu.web.psi.ch/simulation/index.html . * * musrSim is based od Geant4 (http://geant4.web.cern.ch/geant4/) * * * * Copyright (C) 2009 by Paul Scherrer Institut, 5232 Villigen PSI, * * Switzerland * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the Free Software * * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * ***************************************************************************/ #ifndef musrPrimaryGeneratorMessenger_h #define musrPrimaryGeneratorMessenger_h 1 #include "G4UImessenger.hh" #include "globals.hh" class musrPrimaryGeneratorAction; class G4UIcmdWithAString; class G4UIcmdWithADoubleAndUnit; class G4UIcmdWithADouble; class G4UIcmdWithAnInteger; class G4UIcmdWith3VectorAndUnit; class G4UIcmdWith3Vector; //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... class musrPrimaryGeneratorMessenger : public G4UImessenger { public: musrPrimaryGeneratorMessenger(musrPrimaryGeneratorAction *); ~musrPrimaryGeneratorMessenger(); void SetNewValue(G4UIcommand *, G4String); private: musrPrimaryGeneratorAction *musrAction; std::unique_ptr setPrimaryParticleCmd; std::unique_ptr setvertexCmd; std::unique_ptr setvertexSigmaCmd; std::unique_ptr setvertexBoundaryCmd; std::unique_ptr setvertexRelativeRCmd; std::unique_ptr setMeanArrivalTimeCmd; std::unique_ptr setStarttimeCmd; std::unique_ptr setStarttimeSigmaCmd; std::unique_ptr setboxBoundaryCmd; std::unique_ptr setboxBoundaryCentreCmd; std::unique_ptr setKEnergyCmd; std::unique_ptr setMomentumCmd; std::unique_ptr setMomentumSmearingCmd; std::unique_ptr setMomentumBoundaryCmd; std::unique_ptr setTiltAngleCmd; std::unique_ptr setSigmaTiltAngleCmd; std::unique_ptr setPitchCmd; std::unique_ptr setMuonPolarizCmd; std::unique_ptr setDirectionCmd; std::unique_ptr setMuonPolarizFractionCmd; std::unique_ptr setMuonDecayTimeCmd; std::unique_ptr setTurtleCmd; std::unique_ptr setTurtleZ0Cmd; std::unique_ptr setTurtleInterpretAxesCmd; std::unique_ptr setTurtleMomentumBite; std::unique_ptr setTurtleMomentumScalingFactor; std::unique_ptr setTurtleEventNrCmd; }; #endif