From 30ed559c8d305e1533f079a843322f20681e602f Mon Sep 17 00:00:00 2001 From: Cyril Lenain <lenain@lpccaen.in2p3.fr> Date: Thu, 23 Feb 2023 13:02:39 +0100 Subject: [PATCH] Updating position in FissionChamber.cc --- NPSimulation/Detectors/FissionChamber/FissionChamber.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/NPSimulation/Detectors/FissionChamber/FissionChamber.cc b/NPSimulation/Detectors/FissionChamber/FissionChamber.cc index 4b0e80d3d..24ae20e98 100644 --- a/NPSimulation/Detectors/FissionChamber/FissionChamber.cc +++ b/NPSimulation/Detectors/FissionChamber/FissionChamber.cc @@ -173,8 +173,7 @@ void FissionChamber::ConstructDetector(G4LogicalVolume* world){ G4double wY = m_R[i] * sin(m_Theta[i] ) * sin(m_Phi[i] ) ; G4double wZ = m_R[i] * cos(m_Theta[i] ) ; G4ThreeVector Det_pos = G4ThreeVector(wX, wY, wZ) ; - // So the face of the detector is at R instead of the middle - Det_pos+=Det_pos.unit()*FissionChamber_NS::Thickness*0.5; + // Building Detector reference frame G4double ii = cos(m_Theta[i]) * cos(m_Phi[i]); G4double jj = cos(m_Theta[i]) * sin(m_Phi[i]); -- GitLab