Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add steering file for CLD+LAr to CLDConfig #17

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

SwathiSasikumar
Copy link

BEGINRELEASENOTES
The steering file for CLD + LAr includes LAr digitizer for the digitization of the SimCalorimeter hits from ECALBarrel.

ENDRELEASENOTES

Copy link
Collaborator

@Zehvogel Zehvogel left a comment

Choose a reason for hiding this comment

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

This is incredibly hard to review like this, please:

  • split this into multiple commits that show which parts actually changed compared to whatever steering file you started with.
  • use the up to date version of CLDReconstruction.py as a basis
  • remove any references to local paths e.g. /home/ksasikum/...
  • remove other unused code e.g. references to FCCDETECTORS

Comment on lines +103 to +112
# if FCC_DETECTORS is empty, this should use relative path to working directory
path_to_detector = os.environ.get("FCCDETECTORS", "")
print(path_to_detector)
detectors_to_use=[
"/home/ksasikum/Key4Hep/LAr_scripts/k4geo/FCCee/CLD/compact/CLD_o4_v05/CLD_o4_v05.xml",
#"FCCDetectors/Detector/DetFCCeeIDEA-LAr/compact/FCCee_DectEmptyMaster.xml",
#"/Detector/DetFCCeeECalInclined/compact/FCCee_ECalBarrel.xml"
]
# prefix all xmls with path_to_detector
geoservice.detectors = [os.path.join(path_to_detector, _det) for _det in detectors_to_use]
Copy link
Collaborator

Choose a reason for hiding this comment

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

pls clean this up

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