Skip to content
Snippets Groups Projects
Commit 798336b9 authored by Vakhtang Tsulaia's avatar Vakhtang Tsulaia Committed by Atlas Nightlybuild
Browse files

Merge branch 'update-g4tubs-call' into 'master'

Use direct G4Tubs query method

See merge request atlas/athena!14359

(cherry picked from commit f79491e4 [formerly 8f1b7dea09afe54020166e6348b8a8eee4c8abe6])

b40dc36d Use direct G4Tubs query method

Former-commit-id: 0475a288cdd7d3c27b082bee78639f6d46b88727
parent f5616a97
No related branches found
No related tags found
No related merge requests found
File mode changed from 100644 to 100755
......@@ -285,7 +285,7 @@ namespace LArG4 {
G4Tubs *tubs = dynamic_cast<G4Tubs *> (sliceSolid);
if (tubs) {
double dz = tubs->GetDz()/Units::mm;
double dz = tubs->GetZHalfLength()/Units::mm;
if (sliceZ > 0) {
if (fabs(sliceZ)>dz/2.0) {
(*subgap) = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment