From ba3df2e05c35aa5addb600e436d8408bd35b2f5b Mon Sep 17 00:00:00 2001 From: shivesh Date: Tue, 21 Aug 2018 15:54:38 +0100 Subject: position of tank --- src/G4BeamTestTank.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'src/G4BeamTestTank.cxx') diff --git a/src/G4BeamTestTank.cxx b/src/G4BeamTestTank.cxx index 2fc5bed..b9d469e 100644 --- a/src/G4BeamTestTank.cxx +++ b/src/G4BeamTestTank.cxx @@ -175,6 +175,7 @@ G4VPhysicalVolume* G4BeamTestTank::InstallTank(G4VPhysicalVolume* mother, const tankLog_->SetVisAttributes(tankVisAtt); G4ThreeVector tankPos = position_ - origin - mother->GetTranslation(); + G4cout << "tankPos = " << tankPos << G4endl; G4VPhysicalVolume* tankPhys = new G4PVPlacement(0, tankPos, tankLog_, ("tank_" + tankName).c_str(), -- cgit v1.2.3