29#include "G4UIdirectory.hh"
30#include "G4UIcmdWithoutParameter.hh"
31#include "G4UIcmdWithADoubleAndUnit.hh"
32#include "G4UIcmdWithADouble.hh"
33#include "G4UIcmdWithAnInteger.hh"
40 "Set mesh parameters for the example fast sim model.");
43 fPrintCmd->SetGuidance(
"Print current settings.");
46 "/Par03/fastSim/transverseProfile/sigma",
this);
47 fSigmaCmd->SetGuidance(
"Set sigma parameter of 2D Gaussian distribution.");
48 fSigmaCmd->SetParameterName(
"Sigma",
false);
53 fAlphaCmd->SetGuidance(
"Set alpha parameter of Gamma distribution.");
54 fAlphaCmd->SetParameterName(
"Alpha",
false);
58 fBetaCmd->SetGuidance(
"Set beta parameter of Gamma distribution.");
59 fBetaCmd->SetParameterName(
"Beta",
false);
63 "Set number of (same energy) energy deposits created in fast simulation. "
64 "Those deposits will be scored in the detector according to the readout of "
65 "the sensitive detector.");
71 "Set maximum shower depth used in parametrisation.");
G4UIcmdWithADouble * fAlphaCmd
Command to set the alpha parameter of the Gamma distribution describing the longitudinal profile.
~Par03EMShowerMessenger()
virtual G4String GetCurrentValue(G4UIcommand *aCommand) final
Retrieves the current settings.
G4UIcmdWithADouble * fBetaCmd
Command to set the beta parameter of the Gamma distribution describing the longitudinal profile.
G4UIcmdWithADouble * fLongMaxDepthCmd
Command to set the maximum shower depth.
virtual void SetNewValue(G4UIcommand *aCommand, G4String aNewValues) final
Invokes appropriate methods based on the typed command.
Par03EMShowerModel * fModel
Model to setup.
G4UIcmdWithoutParameter * fPrintCmd
Command printing current settings.
G4UIdirectory * fDirectory
Command to set the up a directory for model settings /Par03/fastSim.
Par03EMShowerMessenger(Par03EMShowerModel *aModel)
G4UIcmdWithADoubleAndUnit * fSigmaCmd
Command to set the sigma parameter of the Gaussian distribution describing the transverse profile.
G4UIcmdWithAnInteger * fNbOfHitsCmd
Command to set the number of (same energy) deposits to be created by fast simulation.
Example fast simulation model for EM showers.
G4double GetBeta() const
Get beta parameter of a Gamma distribution that describes the longitudinal shower profile.
void SetNbOfHits(const G4int aNumber)
Set number of (same energy) hits created in the parametrisation.
void Print() const
Print current settings.
void SetLongMaxDepth(const G4double aDepth)
Set maximum depth of shower created in fast simulation.
void SetSigma(const G4double aSigma)
Set standard deviation of a Gaussian distribution that describes the transverse shower profile.
void SetBeta(const G4double aBeta)
Set beta parameter of a Gamma distribution that describes the longitudinal shower profile.
G4double GetAlpha() const
Get alpha parameter of a Gamma distribution that describes the longitudinal shower profile.
G4int GetNbOfHits() const
Get number of (same energy) hits created in the parametrisation.s.
void SetAlpha(const G4double aAlpha)
Set alpha parameter of a Gamma distribution that describes the longitudinal shower profile.
G4double GetLongMaxDepth() const
Get maximum depth of shower created in fast simulation.
G4double GetSigma() const
Get standard deviation of a Gaussian distribution that describes the transverse shower profile.