Enrico Bagli - INFN (Italy) bagli@fe.infn.it
The application simulates channeling in a straight or bent crystal via Geant4. Charged particles impinging on a crystal can be captured into the channeling regime provided that their trajectories are aligned with crystalline planes or axes within the critical angle for channeling. Under such circumstance, particle motion is confined within the potential well between atomic planes or axes.
Channeling is simulated by including DYNECHARM++ and the results of the ECHARM software into the Geant4 channeling package. DYNECHARM++ allows the tracking of a relativistic charged particle inside a crystalline medium via the numerical integration of the classical equations of motion. The continuum potential approximation proposed by Lindhard is used. ECHARM is a software for the calculation of the potential and related physical quantities experienced by a particle traversing an aligned periodic complex atomic structure. The software uses classical physics equations and the expansion of periodic functions as a Fourier series. The Geant4 channeling package is an extension of the Geant4 toolkit for the simulation of the channeling effect.
The setup is composed by a crystal and two pairs of detectors to reveal the incoming and the outgoing angle of the particle from the crystal.
The application requires Geant4 10.3. Geant4 is a toolkit for the simulation of the passage of particles through matter. Its areas of application include high energy, nuclear and accelerator physics, as well as studies in medical and space science. The three main reference papers for Geant4 are:
- Nuclear Instruments and Methods in Physics Research A 506 (2003) 250-303
- IEEE Transactions on Nuclear Science 53 No. 1 (2006) 270-278
- Nuclear Instruments and Methods in Physics Research A 835 (2016) 186-225
The source code can be found also on GitHub.
After the installation of the Geant4 10.3 libraries, the code can be compiled via CMake.
The application can be launched via the channeling executable and the macros in the mac directory, e.g. ./channeling mac/H8_PL01.mac.
The output of the application is a ROOT file with a tree that contains the particle incoming and outgoing angle from the crystal, the average electrid field and nuclei/electron densities experienced by the particle. Only the primary particles are detected.
angXin- particle horizontal incoming angle at the crystal in µradangYin- particle vertical incoming angle at the crystal in µradposXin- particle horizontal hit position on the crystal surface in mmposYin- particle vertical hit position on the crystal surface in mmangXout- particle horizontal outgoing angle from the crystal in µradangYout- particle horizontal outgoing angle from the crystal in µradefx- average horizontal electric field experienced under channeling by the particleefy- average vertical electric field experienced under channeling by the particlenud- average nuclei density experienced under channeling by the particleeld- average electron density experienced under channeling by the particlesx- X spin component of the outgoing channeled particlesy- Y spin component of the outgoing channeled particlesz- Z spin component of the outgoing channeled particleenergy- the channeled particle energy in MeV
The .mac files contain macro command that modify dynamically the setup.
The primary beam properties can be configured via General Particle Source - GPS - commands of Geant4.
The detector properties can be changed via the macro commands:
/mydet/setDetMaterial G4_Si- set the detector material (G4_Si)/mydet/setSize 50. 50. 0.6 mm- set the detector sizes (x y z [unit])/mydet/setDistance1 -10087. mm- set the detector 1 distance from the crystal (z [unit])/mydet/setDistance2 -332 mm- set the detector 2 distance from the crystal (z [unit])/mydet/setDistance3 +493. mm- set the detector 3 distance from the crystal (z [unit])/mydet/setDistance4 +10945. mm- set the detector 4 distance from the crystal (z [unit])
The crystal properties can be changed via the macro commands:
/xtal/setMaterial G4_Si- set the crystal material (G4_Si)/xtal/setSize 50. 50. 1. mm- set the crystal sizes (x y z [unit])/xtal/setAngle 0. 0. 0. rad- set the crystal rotation angle with respect to the incoming beam on thezdirection, i.e. theyangle rotate the crystal on the horizontal plane, thexangle rotate the crystal on the vertical plane./mydet/setBR 10. 0. 0. m- set the crystal bending radius (x y z [unit]). Thexbending radius bend the crystal on the horizontal plane, theyandzbending radii do not modify the setup in this version of the application./mydet/setEC data/Si220pl- set the filename for the potential, electric field, nuclei and electron density evaluated through the continuum approximation by Lindhard. Theplsuffix means that the planar characteristics are loaded,axthat the axial characteristics are loaded.