-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #121 from rest-for-physics/jgalan_cry
Implementing the CRY generator into restG4
- Loading branch information
Showing
4 changed files
with
70 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no" ?> | ||
|
||
<restG4> | ||
<globals> | ||
<parameter name="mainDataPath" value=""/> | ||
<parameter name="verboseLevel" value="essential"/> | ||
</globals> | ||
|
||
<TRestRun> | ||
<parameter name="experimentName" value="CryGenerator"/> | ||
<parameter name="runType" value="simulation"/> | ||
<parameter name="runNumber" value="1"/> | ||
<parameter name="runTag" value="CryGenerator"/> | ||
<parameter name="outputFileName" value="CryGenerator.root"/> | ||
<parameter name="runDescription" value=""/> | ||
<parameter name="user" value="${USER}"/> | ||
<parameter name="overwrite" value="off"/> | ||
<parameter name="readOnly" value="false"/> | ||
</TRestRun> | ||
|
||
<TRestGeant4Metadata name="crySimulation"> | ||
<parameter name="gdmlFile" value="geometry/setup.gdml"/> | ||
<parameter name="seed" value="137"/> | ||
<parameter name="nRequestedEntries" value="10"/> | ||
<parameter name="saveAllEvents" value="true"/> | ||
|
||
<generator type="source"> | ||
<source use="cry" returnNeutrons="1" returnProtons="1" returnGammas="1" returnElectrons="1" | ||
returnPions="1" returnKaons="1" returnMuons="1" | ||
nParticlesMin="1" nParticlesMax="1000" | ||
subboxLength="100" xoffset="0" yoffset="0" zoffset="0" | ||
date="07\01\2012" latitude="90.0" altitude="2100" /> | ||
</generator> | ||
|
||
<detector> | ||
<volume name="gasVolume" sensitive="true" maxStepSize="1mm"/> | ||
</detector> | ||
|
||
</TRestGeant4Metadata> | ||
|
||
<TRestGeant4PhysicsLists name="physList" title="EM physics lists. No hadron physics!"> | ||
|
||
<physicsList name="G4EmLivermorePhysics"> | ||
<option name="pixe" value="false"/> | ||
</physicsList> | ||
|
||
<physicsList name="G4EmExtraPhysics"/> | ||
|
||
<physicsList name="G4DecayPhysics"/> | ||
<physicsList name="G4RadioactiveDecayPhysics"/> | ||
<physicsList name="G4RadioactiveDecay"> | ||
<option name="ICM" value="true"/> | ||
<option name="ARM" value="true"/> | ||
</physicsList> | ||
|
||
</TRestGeant4PhysicsLists> | ||
</restG4> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters