Skip to content

Commit

Permalink
PFRICH: restore sensititvity to hits (#715)
Browse files Browse the repository at this point in the history
Fixes a minor regression from the latest geometry update in #664.

Fixes: #706

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
veprbl and pre-commit-ci[bot] committed May 5, 2024
1 parent 52819f4 commit 6632743
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/PFRICH_geo.cpp
Expand Up @@ -305,6 +305,7 @@ static Ref_t createDetector(Detector& description, xml_h e, SensitiveDetector se
Volume hrppdVol_air(detName + "_air_hrppd", hrppd_Solid, air);
Volume hrppdVol(detName + "_hrppd", hrppd_Solid, sensorMat);

hrppdVol_air.setSensitiveDetector(sens);
hrppdVol_air.setVisAttributes(gasvolVis);
DetElement hrppdDE(sdet, "hrppd_de", 0);

Expand Down

0 comments on commit 6632743

Please sign in to comment.