Skip to content

Commit

Permalink
style: syntax highlighting for .cmnd files (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
c-dilks committed Jun 5, 2024
1 parent fda7471 commit aa1569c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# syntax highlighting for config file comments
*.cmnd linguist-language=Fortran-Free-Form
16 changes: 10 additions & 6 deletions config/clas12.cmnd
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
! Pythia 8 Steering file for StringSpinner

! Set up incoming beams, for frame with unequal beam energies.
Beams:frameType = 2 ! the beams are back-to-back, but with different energies
! the beams are back-to-back, but with different energies
Beams:frameType = 2

! Interaction mechanism.
WeakBosonExchange:ff2ff(t:gmZ) = on ! $\gamma*/Z^0$ $t$-channel exchange, with full interference between $\gamma*$ and $Z^0$
! $\gamma*/Z^0$ $t$-channel exchange, with full interference between $\gamma*$ and $Z^0$
WeakBosonExchange:ff2ff(t:gmZ) = on

! Phase-space cut: minimal Q2 of process.
PhaseSpace:Q2Min = 1.0
Expand Down Expand Up @@ -43,7 +45,9 @@ HadronLevel:BoseEinstein = off
! 311:onMode = off ! K0 decay

! Invariant mass distribution of resonances as in the string+3P0 model.
ParticleData:modeBreitWigner=3 ! particles registered as having a mass width are given a mass in the range m_min < m < m_max, according to a truncated relativistic Breit-Wigner, i.e. quadratic in m.
! particles registered as having a mass width are given a mass in the range m_min < m < m_max,
! according to a truncated relativistic Breit-Wigner, i.e. quadratic in m.
ParticleData:modeBreitWigner = 3

! Switch off automatic event listing in favour of manual.
Next:numberShowInfo = 0
Expand All @@ -55,11 +59,11 @@ StringPT:enhancedFraction = 0.0 ! the fraction of string breaks with enhanced wi
StringPT:enhancedWidth = 0.0 ! the enhancement of the width in this fraction.

! Settings from `clasdis`
! - pythia 6 -> 8 translation from: https://skands.web.cern.ch/slides/11/11-02-skands-uemb.pdf
! - ratios of vector mesons to pseudoscalar mesons
!!! pythia 6 -> 8 translation from: https://skands.web.cern.ch/slides/11/11-02-skands-uemb.pdf
!!! ratios of vector mesons to pseudoscalar mesons
StringFlav:mesonUDvector = 0.7 ! for light (u, d) mesons (analogous to PARJ(11): fraction of $\rho / \pi$)
StringFlav:mesonSvector = 0.75 ! for strange mesons (analogous to PARJ(12): fraction of $K^* / K$)
! - momentum widths
!!! momentum widths
StringPT:sigma = 0.5 ! pT width of the fragmentation process (analogous to PARJ(21))
BeamRemnants:primordialKT = off ! Allow or not selection of primordial kT according to the parameter values.
! TODO: why do we get NO events if this is `on`?
Expand Down

0 comments on commit aa1569c

Please sign in to comment.