Repository navigation
create lund uniform
This page is generated from docs/create-lund/uniform.md. Do not edit it directly; change the repository source and let automation publish the Wiki.
The uniform LUND creator randomly chooses particle momenta and angles within configured ranges. These samples help study which particles CLAS12 can detect and reconstruct. They do not model real electron–nucleus interactions: the particles in an event are not required to satisfy an interaction's energy and momentum balance.
Use run.csh with the profile uniform-1e-5986MeV.conf:
source run.csh \
--workflow create-lund \
--source uniform \
--config config/samples/uniform-lund-creation/uniform-1e-5986MeV.conf \
--events 100 \
--output /path/to/quickstart-outputThe profile is a text file containing the sample settings. --events 100 replaces its event count with a small number for a basic check. Without that override, electron-tester profiles request 1,000,000 events and production profiles request 50,000,000. Command-line values take priority over profile values. The sample-profile inventory lists the files for every implemented channel at
| Channel | Event content | Output label |
|---|---|---|
electron-tester) |
One beam-momentum electron in an angular scan | electron-tester |
1e) |
One sampled electron | 1e |
eh) |
One trigger electron followed by one selected hadron | One of the electron-hadron labels defined below |
For eh, select --hadron proton|neutron|pip|pim and --hadron-region FD|CD. In these command-line values, pip means a positively charged pion (pim means a negatively charged pion (FD means the forward-detector sampling region and CD means the central-detector sampling region. These names describe the generated angular range; they do not claim that GEMC or reconstruction will detect the particle.
The uniform LUND creator supports protons, neutrons, and charged pions; kaon samples are outside its current scope.
Each output label joins e for the trigger electron, the selected hadron, and the detector-region abbreviation. The electron is always written first, followed by the hadron, and both particles receive the same sampled vertex position.
| Label | Hadron option | Region | Event content |
|---|---|---|---|
epFD |
proton |
Forward detector (FD) | |
enFD |
neutron |
Forward detector (FD) | |
epipFD |
pip |
Forward detector (FD) | |
epimFD |
pim |
Forward detector (FD) | |
epCD |
proton |
Central detector (CD) | |
enCD |
neutron |
Central detector (CD) | |
epipCD |
pip |
Central detector (CD) | |
epimCD |
pim |
Central detector (CD) |
The automatic run name and filename prefix are Uniform__<channel-label>__<beam-label>. Events are numbered from zero across the whole run. Starting a new output file does not restart those event numbers.
events is the total run size. events-per-file defaults to 25,000 and controls LUND file splitting. The LUND creation log records the exact count in every file; submission uses the largest event count among the selected files as the common GEMC/reconstruction event limit.
The electron-tester scans
The 1e sample draws
Electron–hadron samples use a beam-momentum trigger electron at
| Hadron | FD |
CD |
FD |
CD |
Default momentum model |
|---|---|---|---|---|---|
| mixed uniform in |
|||||
| 0 | 0 | uniform in |
|||
|
|
mixed uniform in |
Every hadron momentum range ends at
The electron-tester, 1e, epFD, and enFD modes are the production-tested uniform modes. FD charged-pion modes and all CD modes are implemented and covered by software checks but have not completed detector-level production validation. Their profile headers retain this warning.
For the scope and evidence limits of the production-tested designation, see the campaign record guidance.
The reviewed uniform profiles use target = Ar40. They resolve to target-geometry = Ar, gemc-target-variation = rgm_fall2021_Ar. For another target, target identity and beam energy select the compatible detector variation and vertex geometry; an explicit gemc-target-variation override changes the resolved geometry as well.
The default seed = 67890 controls particle kinematics, while vertex-seed = 12345 controls vertex positions through a separate random stream. Nonzero seeds are repeatable when the software, complete configuration, and draw order match. TRandom3(0) requests automatic, nonrepeatable seeding, so a LUND creation log containing zero cannot reproduce that sequence from the recorded value alone.
Electron, proton, neutron, and charged-pion masses come from the external targets.h; photon mass is exactly zero. The LUND data contract lists their serialized values and precision.
The uniform LUND creator writes split LUND files, a LUND creation log, one ROOT monitoring file, one combined PDF, and individual PNG plots. It also prepares empty mchipo/ and reconhipo/ directories for later submission. See uniform monitoring and run directories.
1. V. D. Burkert et al., “The CLAS12 Spectrometer at Jefferson Laboratory,” Nucl. Instrum. Meth. A 959, 163419 (2020). doi:10.1016/j.nima.2020.163419 ↩
2. G. Asryan et al., “The CLAS12 forward electromagnetic calorimeter,” Nucl. Instrum. Meth. A 959, 163425 (2020). doi:10.1016/j.nima.2020.163425 ↩
3. V. Ziegler et al., “The CLAS12 software framework and event reconstruction,” Nucl. Instrum. Meth. A 959, 163472 (2020). doi:10.1016/j.nima.2020.163472 ↩
Generated from the alons126/CLAS12-sample-tools documentation.
Source links use branch dev. Source checkout: d5987f01550d; commit date: 2026-10-13T14:52:09+03:00. Source checkout was clean when generated.
- Getting started
- Dependencies and execution environments
- Quickstart
- Run directories and outputs
- Troubleshooting
- Create LUND files
- Uniform LUND creation
- Physical LUND conversion
- LUND-creation configuration reference
- Uniform monitoring
- LUND-creation examples
- Sample profiles
- Submit GEMC and reconstruction jobs
- Ifarm environment and checkout model
- Simulation submission guide
- Submission configuration reference
- Follow jobs and verify output
- Submission examples
- GEMC and reconstruction worker
- Concepts and contracts
- Architecture
- LUND data contract and provenance
- Sampling models and random numbers
- External geometry and detector inputs