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

CLD_o4_v05: fixing LAr_ECalBarrel.xml #412

Merged
merged 2 commits into from
Dec 15, 2024
Merged

Conversation

faltovaj
Copy link
Contributor

@faltovaj faltovaj commented Nov 28, 2024

BEGINRELEASENOTES

ENDRELEASENOTES

@andresailer andresailer changed the title fixing LAr_ECalBarrel.xml CLD_o4_v05: fixing LAr_ECalBarrel.xml Nov 28, 2024
@SwathiSasikumar
Copy link
Contributor

SwathiSasikumar commented Nov 28, 2024

Thanks, Jana for correcting this. Two comments from my side:

  1. ECal_cell_size should be 20 mm because 5 mm is the value for CALICE detectors.
  2. ECalBarrel_NobleLiquid_InclinedTrapezoids_o1_v03 was used on purpose because Brieuc wanted to update this XML file to the latest version. However, in the CLD+LAr version, ECalBarrel_NobleLiquid_InclinedTrapezoids_o1_v03 doesn't seem like a good idea because this version requires the new 11-layered calorimeter instead of 12 layered calorimeter and breaks while running for CLD+LAr. So it is good to switch back to version 1.

@jmcarcell jmcarcell enabled auto-merge (squash) December 13, 2024 10:28
@jmcarcell
Copy link
Member

jmcarcell commented Dec 13, 2024

I assume someone tested this. Merging; in its current state CLD_o4_v05 fails when loaded by DD4hep.

@atolosadelgado
Copy link
Collaborator

I assume someone tested this. Merging; in its current state CLD_o4_v05 fails when loaded by DD4hep.

What do you mean by "fails when loaded by DD4hep"? could you share a reproducer?

I tried the following and it runs, which means the geometry is translated into Geant4:

source /cvmfs/sw-nightlies.hsf.org/key4hep/setup.sh
git clone -b forPandora_v1 --depth 1 https://github.com/faltovaj/k4geo.git
cd k4geo/
cmake -B build -S . -D CMAKE_INSTALL_PREFIX=install
cmake --build build -- -j 68 install
k4_local_repo 
ddsim --compactFile ./FCCee/CLD/compact/CLD_o4_v05/CLD_o4_v05.xml -N 1 -G 

@andresailer
Copy link
Contributor

andresailer commented Dec 13, 2024

He means that the main branch fails and we need this PR to make it work again.

@atolosadelgado
Copy link
Collaborator

He means that the main branch fails and we need this PR to make it work again.

fair enough, thanks for the clarification :)

@jmcarcell jmcarcell merged commit 3c58f08 into key4hep:main Dec 15, 2024
6 checks passed
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.

6 participants