/mydet/particle3/

Particle gun control commands for primary particle 3


Sub-directories :


Commands :


momentumHigh [momentumHigh] [Unit]

Upper limit of total momentum for primary particle 3, triggered by ptot<0

Available at all Geant4 states.

Parameters
momentumHigh type d
Unit type s Omittable : default value = GeV Parameter candidates : eV keV MeV GeV TeV PeV J electronvolt kiloelectronvolt megaelectronvolt gigaelectronvolt teraelectronvolt petaelectronvolt joule


momentumLow [momentumLow] [Unit]

Lower limit of total momentum for primary particle 3, triggered by ptot<0

Available at all Geant4 states.

Parameters
momentumLow type d
Unit type s Omittable : default value = GeV Parameter candidates : eV keV MeV GeV TeV PeV J electronvolt kiloelectronvolt megaelectronvolt gigaelectronvolt teraelectronvolt petaelectronvolt joule


thetaHigh [thetaHigh] [Unit]

Upper limit of theta for primary particle 3, triggered by theta<0

Range : thetaHigh>=0.0 && thetaHigh<=180.0

Available at all Geant4 states.

Parameters
thetaHigh type d
Unit type s Omittable : default value = deg Parameter candidates : rad mrad deg radian milliradian degree


thetaLow [thetaLow] [Unit]

Lower limit of theta for primary particle 3, triggered by theta<0

Range : thetaLow>=0.0 && thetaLow<=180.0

Available at all Geant4 states.

Parameters
thetaLow type d
Unit type s Omittable : default value = deg Parameter candidates : rad mrad deg radian milliradian degree


phiHigh [phiHigh] [Unit]

Upper limit of phi for primary particle 3, triggered by phi<-360

Range : phiHigh>=-360.0 && phiHigh<=360.0

Available at all Geant4 states.

Parameters
phiHigh type d
Unit type s Omittable : default value = deg Parameter candidates : rad mrad deg radian milliradian degree


phiLow [phiLow] [Unit]

Lower limit of phi for primary particle 3, triggered by phi<-360

Range : phiLow>=-360.0 && phiLow<=360.0

Available at all Geant4 states.

Parameters
phiLow type d
Unit type s Omittable : default value = deg Parameter candidates : rad mrad deg radian milliradian degree


sigmaMomentum [sigmaPtot] [Unit]

Sigma total momentum for primary particle 3, will be used only if user specify a valid ptot(ptot>0)

Range : sigmaPtot>=0.0

Available at all Geant4 states.

Parameters
sigmaPtot type d
Unit type s Omittable : default value = GeV Parameter candidates : eV keV MeV GeV TeV PeV J electronvolt kiloelectronvolt megaelectronvolt gigaelectronvolt teraelectronvolt petaelectronvolt joule


sigmaTheta [sigmaTheta] [Unit]

Sigma theta for primary particle 3, will be used only if user specify a valid theta(0<=theta<=180)

Range : sigmaTheta>=0.0

Available at all Geant4 states.

Parameters
sigmaTheta type d
Unit type s Omittable : default value = deg Parameter candidates : rad mrad deg radian milliradian degree


sigmaPhi [sigmaPhi] [Unit]

Sigma phi for primary particle 3, will be used only if user specify a valid phi(-360<=phi<=360)

Range : sigmaPhi>=0.0

Available at all Geant4 states.

Parameters
sigmaPhi type d
Unit type s Omittable : default value = deg Parameter candidates : rad mrad deg radian milliradian degree


momentum [ptot] [Unit]

Center total momentum for primary particle 3.
if ptot<0 then generate ptot in [ptotlow,ptothigh],otherwise in range [ptot-sigmaptot,ptot+sigmaptot]

Available at all Geant4 states.

Parameters
ptot type d
Unit type s Omittable : default value = GeV Parameter candidates : eV keV MeV GeV TeV PeV J electronvolt kiloelectronvolt megaelectronvolt gigaelectronvolt teraelectronvolt petaelectronvolt joule


theta [theta] [Unit]

Center theta angle for primary particle 3
if theta<0 then generate theta in range [thetalow,thetahigh],otherwise in range [theta-sigmatheta,ptot+sigmatheta]

Available at all Geant4 states.

Parameters
theta type d
Unit type s Omittable : default value = deg Parameter candidates : rad mrad deg radian milliradian degree


phi [phi] [Unit]

Center phi for primary particle 3
if phi<-360 then generate phi in [philow,phihigh],otherwise in [phi-sigmaphi,phi+sigmaphi]

Available at all Geant4 states.

Parameters
phi type d
Unit type s Omittable : default value = deg Parameter candidates : rad mrad deg radian milliradian degree


momentum3V [px] [py] [pz] [Unit]

Set 3-vector momentum for primary particle 3

Available at all Geant4 states.

Parameters
px type d
py type d
pz type d
Unit type s Omittable : default value = GeV Parameter candidates : eV keV MeV GeV TeV PeV J electronvolt kiloelectronvolt megaelectronvolt gigaelectronvolt teraelectronvolt petaelectronvolt joule


particleName [particleName]

PGD particle name for primary particle 3

Available at all Geant4 states.

Parameters
particleName type s


particlePDGCode [particlePDGcode]

Set the PDG code for primary particle 3

Available at all Geant4 states.

Parameters
particlePDGcode type i


engine [engineType]

Specify the event generator engine for primary particle 3
Candidates includes the following: Uniform, HRSElasEl, HRSElasNucleus, HRSQuasiElasEl,
HRSQusiElasNucleon, BoNuSProton, FastProton, RootHisto, RootNtuple, H90UserFit, H20UserFit

Available at all Geant4 states.

Parameters
engineType type s


detectorAngle [detectorAngle] [Unit]

Set the detector angle primary particle 3
This Angle will be used if randomizeInTCS is true

Available at all Geant4 states.

Parameters
detectorAngle type d
Unit type s Omittable : default value = deg Parameter candidates : rad mrad deg radian milliradian degree


randomizeInTCS [randomizeInTCS]

Randomize angles in Transportation system or Hall system for primary particle 3
if randomizeInTCS<=0, then randomize in HCS,otherwise randomize in TCS.
One can choose the radomize shape by giving a value: 1 is rectangle 2 is eplise.
By default use HCS. This comand will be ignored if randomize is not used.

Available at all Geant4 states.

Parameters
randomizeInTCS type i


outPlaneAngleHigh [outPlaneAngleHigh] [Unit]

Upper limit of theta_tr (out-of-plane angle) in TCS for primary particle 3, triggered by theta<0

Range : outPlaneAngleHigh>=-180.0 && outPlaneAngleHigh<=180.0

Available at all Geant4 states.

Parameters
outPlaneAngleHigh type d
Unit type s Omittable : default value = deg Parameter candidates : rad mrad deg radian milliradian degree


outPlaneAngleLow [outPlaneAngleLow] [Unit]

Lower limit of theta_tr (out-of-plane angle) in TCS for primary particle 3, triggered by theta<0

Range : outPlaneAngleLow>=-180.0 && outPlaneAngleLow<=180.0

Available at all Geant4 states.

Parameters
outPlaneAngleLow type d
Unit type s Omittable : default value = deg Parameter candidates : rad mrad deg radian milliradian degree


inPlaneAngleHigh [inPlaneAngleHigh] [Unit]

Upper limit of phi_tr (in-plane angle) in TCS for primary particle 3, triggered by phi<-360

Range : inPlaneAngleHigh>=-180.0 && inPlaneAngleHigh<=180.0

Available at all Geant4 states.

Parameters
inPlaneAngleHigh type d
Unit type s Omittable : default value = deg Parameter candidates : rad mrad deg radian milliradian degree


inPlaneAngleLow [inPlaneAngleLow] [Unit]

Lower limit of phi_tr (in-plane angle) in TCS for primary particle 3, triggered by phi<-360

Range : inPlaneAngleLow>=-180.0 && inPlaneAngleLow<=180.0

Available at all Geant4 states.

Parameters
inPlaneAngleLow type d
Unit type s Omittable : default value = deg Parameter candidates : rad mrad deg radian milliradian degree