Papers
Topics
Authors
Recent
Search
2000 character limit reached

pAvalancheMC: RPC Monte Carlo Simulation

Updated 7 July 2026
  • pAvalancheMC is a parallel Monte Carlo avalanche simulation tool integrated in Garfield++ for RPC studies with dynamic space‐charge modifications.
  • It uses OpenMP parallelization and a line-charge representation to efficiently model electron transport, multiplication, and induced signals.
  • The method combines image-charge corrections, anisotropic diffusion, and realistic field updates to enhance detector performance simulation.

Searching arXiv for the specified pAvalancheMC papers and closely related RPC simulation work. I’ll gather the relevant arXiv records for the Garfield++/RPC pAvalancheMC work and its thesis follow-up before writing the article. Searching arXiv now. pAvalancheMC is a parallel Monte Carlo avalanche class introduced in Garfield++ for Resistive Plate Chamber (RPC) simulation in regimes where dynamic space-charge effects materially modify the applied field. It was developed to make 3D particle-based avalanche calculations tractable in operating domains that include avalanche growth, saturated avalanche, and streamer-like onset, while remaining integrated with standard Garfield++ components such as neBEM, MAGBOLTZ, TrackHeed or HEED, and ROOT random-number infrastructure. In its published form, pAvalancheMC combines OpenMP parallelization with a line-charge representation of the evolving charge cloud; in the later thesis treatment, this formulation is extended by image-charge modeling for layered dielectric electrodes, so that the total field can include applied, space-charge, and polarization contributions (Dey et al., 2022, Dey, 29 Jul 2025).

1. Origin, scope, and detector context

pAvalancheMC was introduced to address a specific deficiency in conventional Garfield++ avalanche tools for RPC studies: large avalanches are computationally expensive, while the evolving electron and ion cloud can substantially distort the local electric field and thereby alter transport, multiplication, and signal formation. The class targets RPC operating regimes in which the number of charges becomes large enough to modify the applied field, including the transition from ordinary avalanche growth to saturated avalanche and to streamer-like behavior (Dey et al., 2022).

The detector context is the parallel-plate RPC, including single-gap and timing RPC variants with resistive or dielectric electrodes such as bakelite or glass, graphite coating, and segmented pickup strips. The thesis formulation explicitly situates the method in the ICAL/INO program, where glass RPCs operate predominantly in avalanche mode and detector optimization depends on accurate estimates of timing, efficiency, charge spectra, and rate capability under space-charge and electrode-polarization effects (Dey, 29 Jul 2025).

A central distinction of pAvalancheMC is that it remains a Monte Carlo transport-and-multiplication engine rather than a fully microscopic collision-by-collision simulation. This allows substantially faster event generation than AvalancheMicroscopic while retaining field-dependent transport, stochastic multiplication, and induced-signal calculation. The intended application domain is therefore detector-level performance simulation in parameter regimes where self-consistent field updates are indispensable.

2. Field model, transport physics, and avalanche growth

The basic field decomposition in the original Garfield++ implementation is

Et=Ea+Es,E_t = E_a + E_s,

where EaE_a is the applied field and EsE_s is the dynamically recomputed space-charge field. In the thesis extension, the total field includes an additional polarization term from image charges in the dielectric stack, so that transport can be updated under the modified local field at every time step (Dey et al., 2022, Dey, 29 Jul 2025).

Transport and multiplication coefficients are taken from MAGBOLTZ. The quantities used are the drift velocity vd(E)v_d(E), longitudinal and transverse diffusion coefficients DL(E)D_L(E) and DT(E)D_T(E), Townsend ionization coefficient α(E)\alpha(E), and attachment coefficient η(E)\eta(E). The diffusion model is Gaussian and anisotropic under field. In one formulation,

σL=DLvdδt,σT=DTvdδt,\sigma_L = D_L \sqrt{v_d \delta t}, \qquad \sigma_T = D_T \sqrt{v_d \delta t},

while the thesis also gives the anisotropic Gaussian forms

ϕL(z,l)=1(2πl)DLexp ⁣((zz0)22DL2l),\phi_L(z,l) = \frac{1}{(\sqrt{2\pi l}) D_L} \exp\!\left(-\frac{(z-z_0)^2}{2 D_L^2 l}\right),

and

EaE_a0

Avalanche growth is governed by the effective Townsend coefficient EaE_a1. The expected mean electron population along a drift path is written as

EaE_a2

and the stochastic implementation uses a modified Yule–Furry process with attachment. In the thesis description, each drift step is subdivided so that the subdivision length is approximately EaE_a3, with probabilities EaE_a4 and EaE_a5 for ionization and attachment, respectively (Dey et al., 2022, Dey, 29 Jul 2025).

This formulation makes saturation a direct field-feedback effect rather than an imposed cap. As space charge accumulates, EaE_a6 is reduced in parts of the avalanche, lowering EaE_a7 and increasing the relative importance of EaE_a8. When EaE_a9 becomes negative in most voxels, net growth stalls. In Ar/COEsE_s0 (80/20), the reported saturated avalanche shows a knee around EsE_s1 ns at an electron count of approximately EsE_s2, close to the Raether limit traditionally associated with streamer transition (Dey et al., 2022).

3. Software architecture and algorithmic workflow

pAvalancheMC is built as a Garfield++ class that interoperates with the standard RPC simulation stack. The component roles described in the sources are summarized below.

Component Function Notes
neBEM Static and weighting fields OpenMP-parallelized; FastVol interpolation
MAGBOLTZ Transport and multiplication tables EsE_s3, EsE_s4, EsE_s5, EsE_s6, EsE_s7
TrackHeed / HEED Primary ionization clusters Positions and generation times
ROOT TRandom3 Per-thread random streams Mersenne Twister, period EsE_s8
OpenMP Parallel execution Drift, gain, field update, signal accumulation

A typical run initializes geometry and static fields, loads transport tables, configures OpenMP threads and per-thread TRandom3 instances through SetNumberOfThreads(n), generates primary clusters, and acquires weighting-field maps. Primaries are sorted by generation time and started when the simulation clock satisfies EsE_s9. The time-stepping loop then advances electrons, applies diffusion, samples multiplication and attachment, updates the charge lists, and recomputes the field when the charge threshold for space-charge activation is exceeded (Dey et al., 2022).

The configuration described in the published examples includes a time step vd(E)v_d(E)0 ps, a space-charge activation threshold around vd(E)v_d(E)1, and cylindrical segmentation parameters with typical values vd(E)v_d(E)2 cm and vd(E)v_d(E)3. Garfield++ interfaces named in the sources include SetTimeStep(20e−12), EnableSpaceCharge(true) or SetSpaceChargeOn(true), SetSpaceChargeThreshold(1e4), SetVoxelization(dz, dr, dphi) or SetGrid(zStep, rStep, phiStepDeg), SetImageChargeOn(true/false), SetImageCut(percent), SetElectrodeProperties(...), and RunAvalanche(...) (Dey et al., 2022, Dey, 29 Jul 2025).

OpenMP parallel regions are applied to electron drift and diffusion, multiplication and attachment sampling, space-charge field summation, and induced charge or current accumulation. The per-thread random-number strategy is explicit: TRandom3 instances are allocated per thread with distinct seeds to avoid correlated random streams.

4. Space-charge representation and dielectric polarization

The distinctive numerical device in pAvalancheMC is the cylindrical voxelization of the avalanche charge cloud. Electrons and ions are binned into vd(E)v_d(E)4 slices in vd(E)v_d(E)5, vd(E)v_d(E)6 concentric radial rings, and vd(E)v_d(E)7 azimuthal sectors with vd(E)v_d(E)8. Each occupied voxel is represented by a straight line-charge segment with constant linear charge density vd(E)v_d(E)9, and curved azimuthal segments are approximated by straight segments of length DL(E)D_L(E)0 (Dey et al., 2022).

In the original implementation, the field of a finite line segment is evaluated numerically through

DL(E)D_L(E)1

and voxelwise field components DL(E)D_L(E)2, DL(E)D_L(E)3, and DL(E)D_L(E)4 are accumulated. The paper notes that DL(E)D_L(E)5 is generally small, but not identically zero; one example gives a maximum DL(E)D_L(E)6 of DL(E)D_L(E)7 at DL(E)D_L(E)8 ns, indicating axial asymmetry (Dey et al., 2022).

The thesis extends this by introducing a segmented-line model together with image charges in layered dielectrics. The RPC stack is treated as a five-layer system: graphite, dielectric electrode, gas, dielectric electrode, graphite. Reflection and equivalence factors at interfaces are

DL(E)D_L(E)9

with DT(E)D_T(E)0 for a conductor. Image charges are generated iteratively and truncated using a percentage-change criterion,

DT(E)D_T(E)1

with a representative cut of DT(E)D_T(E)2 (Dey, 29 Jul 2025).

The same source gives the equivalent RPC relaxation time

DT(E)D_T(E)3

and reports the example DT(E)D_T(E)4 mm, DT(E)D_T(E)5, DT(E)D_T(E)6, yielding DT(E)D_T(E)7 s. The static polarization field is thus incorporated through the image series, while the full time-domain polarization evolution DT(E)D_T(E)8 is not implemented (Dey, 29 Jul 2025).

A practical implication is that pAvalancheMC evolved from a solver for DT(E)D_T(E)9 to a more general RPC field engine in which α(E)\alpha(E)0 can include dielectric-image contributions. This suggests that later usage is not limited to gas-phase self-fields alone, but also addresses the layered electrostatics of realistic RPC stacks.

5. Signal induction, validation, and numerical performance

Induced signals are computed through the Ramo–Shockley formalism using weighting fields from neBEM. The induced charge is written as

α(E)\alpha(E)1

and the induced current, when requested, as

α(E)\alpha(E)2

The thesis also gives an analytic approximation for the weighting field in a single-gap three-layer RPC geometry,

α(E)\alpha(E)3

These signal calculations are integral to timing RPC studies rather than an external post-processing stage (Dey et al., 2022, Dey, 29 Jul 2025).

A timing RPC example with a α(E)\alpha(E)4 mm gap at α(E)\alpha(E)5 kV/cm reports induced-charge distributions at α(E)\alpha(E)6 V, α(E)\alpha(E)7 V, and α(E)\alpha(E)8 V fitted with a Polya function,

α(E)\alpha(E)9

The mean charge parameter increases from approximately η(E)\eta(E)0 fC to η(E)\eta(E)1 fC to η(E)\eta(E)2 fC as the voltage increases, and the parameter η(E)\eta(E)3 shifts from η(E)\eta(E)4 to η(E)\eta(E)5 to η(E)\eta(E)6. The low-charge inefficiency peak was excluded from the fits, and the trend is reported as consistent with experimental observations attributed to Fonte and Lippmann (Dey et al., 2022).

The space-charge dynamics were validated against earlier solvers and against experimental trends. The 3D Cartesian implementation reproduces features reported in earlier 2D rotationally symmetric models, including radial blow-up and contraction and comparable gain dynamics. The thesis additionally states that the segmented-line field matches the ring model after a η(E)\eta(E)7 scaling and that source-plus-image fields agree with neBEM near the electrode when image charges are included, with ratios approximately unity there and about η(E)\eta(E)8 to η(E)\eta(E)9 elsewhere where the field is not vanishing (Dey, 29 Jul 2025).

Parallel performance is a defining feature. In a timing RPC of area σL=DLvdδt,σT=DTvdδt,\sigma_L = D_L \sqrt{v_d \delta t}, \qquad \sigma_T = D_T \sqrt{v_d \delta t},0 cmσL=DLvdδt,σT=DTvdδt,\sigma_L = D_L \sqrt{v_d \delta t}, \qquad \sigma_T = D_T \sqrt{v_d \delta t},1, gas gap σL=DLvdδt,σT=DTvdδt,\sigma_L = D_L \sqrt{v_d \delta t}, \qquad \sigma_T = D_T \sqrt{v_d \delta t},2 mm, electrode thickness σL=DLvdδt,σT=DTvdδt,\sigma_L = D_L \sqrt{v_d \delta t}, \qquad \sigma_T = D_T \sqrt{v_d \delta t},3 mm, and field σL=DLvdδt,σT=DTvdδt,\sigma_L = D_L \sqrt{v_d \delta t}, \qquad \sigma_T = D_T \sqrt{v_d \delta t},4 kV/cm, the speed-up σL=DLvdδt,σT=DTvdδt,\sigma_L = D_L \sqrt{v_d \delta t}, \qquad \sigma_T = D_T \sqrt{v_d \delta t},5 for σL=DLvdδt,σT=DTvdδt,\sigma_L = D_L \sqrt{v_d \delta t}, \qquad \sigma_T = D_T \sqrt{v_d \delta t},6 avalanches was fitted as

σL=DLvdδt,σT=DTvdδt,\sigma_L = D_L \sqrt{v_d \delta t}, \qquad \sigma_T = D_T \sqrt{v_d \delta t},7

with asymptotic speed-ups σL=DLvdδt,σT=DTvdδt,\sigma_L = D_L \sqrt{v_d \delta t}, \qquad \sigma_T = D_T \sqrt{v_d \delta t},8 without space charge and σL=DLvdδt,σT=DTvdδt,\sigma_L = D_L \sqrt{v_d \delta t}, \qquad \sigma_T = D_T \sqrt{v_d \delta t},9 with space charge. The saturation of speed-up is attributed to OpenMP overheads and the serial fraction of the code. neBEM parallelization was tested up to ϕL(z,l)=1(2πl)DLexp ⁣((zz0)22DL2l),\phi_L(z,l) = \frac{1}{(\sqrt{2\pi l}) D_L} \exp\!\left(-\frac{(z-z_0)^2}{2 D_L^2 l}\right),0 cores while preserving precision and significantly reducing field computation times (Dey et al., 2022).

6. Assumptions, limitations, and research outlook

The modeling assumptions are explicit. Space charge is represented by straight line segments on a cylindrical grid; the field is treated as uniform within each voxel; near-field singularities are moderated by finite-segment integrals and voxel averaging; and positive ions and negative ions are static unless ion mobility is supplied. This last simplification is justified in the sources by the large disparity between electron drift velocity and ion mobility on the simulated time scales (Dey et al., 2022).

The code does not implement full streamer physics. It can identify streamer-like onset through rapid gain divergence and high local fields, but photon transport and photoionization are absent. This is important because saturated avalanche and streamer onset are treated differently: the former corresponds to field suppression such that ϕL(z,l)=1(2πl)DLexp ⁣((zz0)22DL2l),\phi_L(z,l) = \frac{1}{(\sqrt{2\pi l}) D_L} \exp\!\left(-\frac{(z-z_0)^2}{2 D_L^2 l}\right),1 over most of the avalanche volume, whereas the latter is inferred when electron number and ϕL(z,l)=1(2πl)DLexp ⁣((zz0)22DL2l),\phi_L(z,l) = \frac{1}{(\sqrt{2\pi l}) D_L} \exp\!\left(-\frac{(z-z_0)^2}{2 D_L^2 l}\right),2 rise sharply without a clear saturation plateau. In CϕL(z,l)=1(2πl)DLexp ⁣((zz0)22DL2l),\phi_L(z,l) = \frac{1}{(\sqrt{2\pi l}) D_L} \exp\!\left(-\frac{(z-z_0)^2}{2 D_L^2 l}\right),3HϕL(z,l)=1(2πl)DLexp ⁣((zz0)22DL2l),\phi_L(z,l) = \frac{1}{(\sqrt{2\pi l}) D_L} \exp\!\left(-\frac{(z-z_0)^2}{2 D_L^2 l}\right),4FϕL(z,l)=1(2πl)DLexp ⁣((zz0)22DL2l),\phi_L(z,l) = \frac{1}{(\sqrt{2\pi l}) D_L} \exp\!\left(-\frac{(z-z_0)^2}{2 D_L^2 l}\right),5/i-CϕL(z,l)=1(2πl)DLexp ⁣((zz0)22DL2l),\phi_L(z,l) = \frac{1}{(\sqrt{2\pi l}) D_L} \exp\!\left(-\frac{(z-z_0)^2}{2 D_L^2 l}\right),6HϕL(z,l)=1(2πl)DLexp ⁣((zz0)22DL2l),\phi_L(z,l) = \frac{1}{(\sqrt{2\pi l}) D_L} \exp\!\left(-\frac{(z-z_0)^2}{2 D_L^2 l}\right),7/SFϕL(z,l)=1(2πl)DLexp ⁣((zz0)22DL2l),\phi_L(z,l) = \frac{1}{(\sqrt{2\pi l}) D_L} \exp\!\left(-\frac{(z-z_0)^2}{2 D_L^2 l}\right),8 at ϕL(z,l)=1(2πl)DLexp ⁣((zz0)22DL2l),\phi_L(z,l) = \frac{1}{(\sqrt{2\pi l}) D_L} \exp\!\left(-\frac{(z-z_0)^2}{2 D_L^2 l}\right),9 kV/cm, the reported regime is characterized by a peak followed by a sudden increase in electron number while EaE_a00 exceeds approximately EaE_a01–EaE_a02 kV/cm; full streamer simulation is deferred to future work (Dey et al., 2022).

The thesis adds further caveats: ion–ion interactions, detailed electrode surface roughness, graphite resistivity nonuniformity, and a complete transient polarization model are simplified or absent. Sensitivity to electrode relative permittivity EaE_a03, thickness EaE_a04, and gas gap EaE_a05 is emphasized: the field increases rapidly with EaE_a06 and saturates beyond about EaE_a07 for fixed EaE_a08 and EaE_a09, decreases with increasing EaE_a10 for fixed EaE_a11 and EaE_a12, and decreases with increasing EaE_a13 for fixed EaE_a14 and EaE_a15 (Dey, 29 Jul 2025).

Within these bounds, pAvalancheMC functions as a detector-physics tool for RPC optimization rather than a universal plasma-discharge simulator. Its established strengths are self-consistent avalanche growth under dynamically updated fields, induced-signal prediction using realistic weighting fields, and computational tractability through OpenMP parallelism. The stated research direction is toward photon transport, more detailed time-dependent electrode charging, richer diffusion and field solvers, and broader acceleration strategies such as GPU or MPI-based parallelization (Dey, 29 Jul 2025).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (2)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to pAvalancheMC.