/mydet/

Jixie's RTPC detector commands


Sub-directories :


/mydet/particle1/

Particle gun control commands for primary particle 1


/mydet/particle2/

Particle gun control commands for primary particle 2


/mydet/particle3/

Particle gun control commands for primary particle 3


/mydet/particle4/

Particle gun control commands for primary particle 4


/mydet/particle5/

Particle gun control commands for primary particle 5


/mydet/particle6/

Particle gun control commands for primary particle 6


/mydet/particle7/

Particle gun control commands for primary particle 7


/mydet/particle8/

Particle gun control commands for primary particle 8


Commands :


randomizePrimary [randomizeprimary]

Boolean flag for randomizing primary particle types.
In case this flag is false, you can select the primary particle by the following cmds
/gun/particle; /mydet/particle#/particleName; /mydet/particle#/particlePDGCode; where # can be 1-8

Available at all Geant4 states.

Parameters
randomizeprimary type b


particleNum [particleNum]

Number of primary particles in this event
No more than 8 primary articles.

Range : particleNum>=1 && particleNum<=8

Available at all Geant4 states.

Parameters
particleNum type i


gunZLow [zlow] [Unit]

Lower limit of Z position in the vertex random generator
if(z<-1876.930000 || z>123.070000) && vertexFlag<3), a random z in range [zlow,zhigh] will be generated. vertexFlag will be set to: 3 for fixed point 3V; 2 for Random BeamLine and 1 for Ramdom RZ

Available at all Geant4 states.

Parameters
zlow type d
Unit type s Omittable : default value = mm Parameter candidates : pc km m cm mm um nm Ang fm parsec kilometer meter centimeter millimeter micrometer nanometer angstrom fermi


gunZHigh [zhigh] [Unit]

Higher limit of Z position in the vertex random generator
if(z<-1876.930000 || z>123.070000) && vertexFlag<3), a random z in range [zlow,zhigh] will be generated. vertexFlag will be set to: 3 for fixed point 3V; 2 for Random BeamLine and 1 for Ramdom RZ

Available at all Geant4 states.

Parameters
zhigh type d
Unit type s Omittable : default value = mm Parameter candidates : pc km m cm mm um nm Ang fm parsec kilometer meter centimeter millimeter micrometer nanometer angstrom fermi


gunZ [z] [Unit]

Z position of particle gun
if(z<-1876.930000 || z>123.070000) && vertexFlag<3), a random z in range [zlow,zhigh] will be generated. vertexFlag will be set to: 3 for fixed point 3V; 2 for Random BeamLine and 1 for Ramdom RZ

Available at all Geant4 states.

Parameters
z type d
Unit type s Omittable : default value = mm Parameter candidates : pc km m cm mm um nm Ang fm parsec kilometer meter centimeter millimeter micrometer nanometer angstrom fermi


gunRLow [rlow] [Unit]

Lower limit of R position of particle gun in cylindrical coordinante, triggered by vertexFlag==1
if cmd /mydet/fixedPointBL3V or /mydet/slopeBL3V used, vertexFlag will be set to 2 aotumaticly
if cmd /mydet/position3V used, vertexFlag will be set to 3 aotumaticly

Range : rlow>=0 && rlow<=10.000000

Available at all Geant4 states.

Parameters
rlow type d
Unit type s Omittable : default value = mm Parameter candidates : pc km m cm mm um nm Ang fm parsec kilometer meter centimeter millimeter micrometer nanometer angstrom fermi


gunRHigh [rhigh] [Unit]

Higher limit of R position of particle gun in cylindrical coordinante, triggered by vertexFlag==1
if cmd /mydet/fixedPointBL3V or /mydet/slopeBL3V used, vertexFlag will be set to 2 aotumaticly
if cmd /mydet/position3V used, vertexFlag will be set to 3 aotumaticly

Range : rhigh>=0 && rhigh<=10.000000

Available at all Geant4 states.

Parameters
rhigh type d
Unit type s Omittable : default value = mm Parameter candidates : pc km m cm mm um nm Ang fm parsec kilometer meter centimeter millimeter micrometer nanometer angstrom fermi


fixedPointBL3V [X0] [Y0] [Z0] [Unit]

Specify a pivot point (3-vector:X0,Y0,Z0) which the beam line go throught.
/mydet/fixedPointBL3V must be used together with /mydet/slopeBL3V
Set slope for the beamline in 3-vector way (A, B, Z_mm).where A=dXdZ,B=dYdZ ==> X=X0+A*(Z-Z0) and Y=Y0+A*(Z-Z0)
if cmd /mydet/fixedPointBL3V or /mydet/slopeBL3V used, vertexFlag will be set to 2 aotumaticly

Available at all Geant4 states.

Parameters
X0 type d
Y0 type d
Z0 type d
Unit type s Omittable : default value = mm Parameter candidates : microm mm cm m


slopeBL3V [A] [B] [Z0]

Set slope for the beamline in 3-vector way (A, B, Z_mm).where A=dXdZ,B=dYdZ ==> X=X0+A*(Z-Z0) and Y=Y0+A*(Z-Z0)
Z_mm here is the vertex Z position in mm unit that will be used
if(z<-1876.930000 || z>123.070000) && vertexFlag<3), a random z in range [zlow,zhigh] will be generated. vertexFlag will be set to: 3 for fixed point 3V; 2 for Random BeamLine and 1 for Ramdom RZ
In case this cmd is using, /mydet/gunZ will be ignored
/mydet/slopeBL3V must be used together with /mydet/fixedPointBL3V
if cmd /mydet/fixedPointBL3V or /mydet/slopeBL3V used, vertexFlag will be set to 2 aotumaticly

Available at all Geant4 states.

Parameters
A type d
B type d
Z0 type d


position3V [X] [Y] [Z] [Unit]

Specify the vertex by 3-vector(X,Y,Z)
if this cmd is used, VertexFlag will be set to 2 aotumaticly and all other vertex cmd will be ignored

Available at all Geant4 states.

Parameters
X type d
Y type d
Z type d
Unit type s Omittable : default value = mm Parameter candidates : microm mm cm m


fastPsGen [fastPsGenFlag]

Boolean flag to use fast spectator proton generator: will generate particles(proton) inside the acceptance region
In case this flag is true, all other momentum cmd for particle 1 will not be invoked.
In case this flag is false, use /mydet/particle1/#### commands to set the momentum.

Available at all Geant4 states.

Parameters
fastPsGenFlag type b Omittable : default value = 1


beamEnergy [beamEnergy] [Unit]

Specify the beam energy. Some event generator engines will use it.
For example, HRSElasEl, HRSElasNucleus, HRSQuasiElasEl, HRSQusiElasNucleon
At the end of event, it is also used to calculate the cross section.

Range : beamEnergy >= 1.0e-9

Available at all Geant4 states.

Parameters
beamEnergy 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


targetMass [targetMass] [Unit]

Specify the target mass. Some event generator engines will use it.
For example, HRSElasEl, HRSElasNucleus, HRSQuasiElasEl, HRSQusiElasNucleon
At the end of event, it is also used to calculate the cross section.

Range : targetMass > 0

Available at all Geant4 states.

Parameters
targetMass 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


targetAtomicNumber [targetAtomicNumber]

Specify the target atomic number. Some event generator engines will use it.
For example, HRSElasEl, HRSElasNucleus
At the end of event, it is also used to calculate the cross section.

Range : targetAtomicNumber >= 0

Available at all Geant4 states.

Parameters
targetAtomicNumber type d


beamNtarget [beamEnergy] [targetMass] [targetAtomicNumber]

Specify the beam energy in GeV,target mass in GeV and target atomic number.
The following event generator engines will use them: HRSElasEl, HRSElasNucleus, HRSQuasiElasEl, HRSQusiElasNucleon
At the end of event, they are also used to calculate the cross section.
Note that one must input beam energy and target mass in GeV.

Available at all Geant4 states.

Parameters
beamEnergy type d
targetMass type d
targetAtomicNumber type d


leftHRSMomentum [leftHRSMomentum] [Unit]

Specify the momentum for left HRS.

Range : leftHRSMomentum >= 0.0

Available at all Geant4 states.

Parameters
leftHRSMomentum 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


rightHRSMomentum [rightHRSMomentum] [Unit]

Specify the momentum for right HRS.

Range : rightHRSMomentum >= 0.0

Available at all Geant4 states.

Parameters
rightHRSMomentum 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


verbose [eventlevel]

Verbose level for event action.
Event summary will be displayed for every 'level' events.

Range : eventlevel>=0

Available at all Geant4 states.

Parameters
eventlevel type i Omittable : default value = 0