eic / eic/epic

Material scan interrupts at certain phi angle

Open
#725 2 comments 0 reactions 1 assignee Claimed by @Chao1009 View on GitHub
bug
Dominant language
C++
Stars
31
Forks
61
Avg merge
3d 12h
Merged PRs (30d)
16

Description

### Environment: (where does this bug occur, have you tried other environments)
- Which branch (`main` for latest released): main
- Which revision (`HEAD` for the most recent):
- Any specific OS or system where the issue occurs?
- Any special versions of ROOT or Geant4? ROOT Version: 6.30/02

### Steps to reproduce: (give a step by step account of how to trigger the bug)
`git clone https://github.com/eic/epic/blob/main/scripts/subdetector_tests/material_scan.py`

`python material_scan.py $DETECTOR_PATH/$DETECTOR_CONFIG.xml --eta-min -1 --eta-max 3.5 --phi 9 --detectors 'BeamPipe, BarrelTOFSubAssembly, EndcapMPGDSubAssembly, EndcapTOFSubAssembly, InnerMPGDBarrelSubAssembly, InnerSiTrackerSubAssembly, InnerTrackerSupport, MiddleSiTrackerSubAssembly, OuterBarrelMPGDSubAssembly, OuterSiTrackerSubAssembly'`

### Expected Result: (what do you expect when you execute the steps above)
It should go through `Scanned n/401 for -1.00 <= eta <= 3.50` and create a .csv file of material scan.

### Actual Result: (what do you get when you execute the steps above)
It stops at `Scanned 180/401 for -1.00 <= eta <= 3.50` and shows `Segmentation fault (core dumped)`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.