Skip to content

start page on sim from scoring plane - #68

Draft
tomeichlersmith wants to merge 1 commit into
trunkfrom
sim-from-scoring-plane
Draft

start page on sim from scoring plane#68
tomeichlersmith wants to merge 1 commit into
trunkfrom
sim-from-scoring-plane

Conversation

@tomeichlersmith

Copy link
Copy Markdown
Member

This is a usage how-to for the more complicated "Sim from scoring plane" feature. LDMX-Software/ldmx-sw#2108

This should not be merged until that feature is in an ldmx-sw release.

```python
from LDMX.SimCore import simulator, generators, sensitive_detectors
sim = simulator.simulator('sim')
sim.setDetector('ldmx-det-v14-8gev-no-cals')

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
sim.setDetector('ldmx-det-v14-8gev-no-cals')
sim.set_detector('ldmx-det-v14-8gev-no-cals')

sensitive_detectors.ScoringPlaneSD.ecal(),
sensitive_detectors.ScoringPlaneSD.hcal()
]
sim.beamSpotSmear = [20.0, 80.0, 0.0] # mm

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this we moved to gen, right? and also the spelling is not correct

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you're right, I'm starting this project based off v4.4.7 since we have a large sample at UMN with that version of ldmx-sw, but I will update the docs to the newer version.

@tomeichlersmith
tomeichlersmith marked this pull request as draft August 20, 2026 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants