Skip to content
Snippets Groups Projects
Commit f79491e4 authored by Vakhtang Tsulaia's avatar Vakhtang Tsulaia
Browse files

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

Use direct G4Tubs query method

See merge request atlas/athena!14359

Former-commit-id: 8f1b7dea
parents 833fd8b1 c04719bf
No related branches found
No related tags found
No related merge requests found
......@@ -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