diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/G4BeamTestDetectorConstruction.cxx | 2 | ||||
| -rw-r--r-- | src/G4BeamTestTank.cxx | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/G4BeamTestDetectorConstruction.cxx b/src/G4BeamTestDetectorConstruction.cxx index cf75551..2bf76a2 100644 --- a/src/G4BeamTestDetectorConstruction.cxx +++ b/src/G4BeamTestDetectorConstruction.cxx @@ -14,7 +14,7 @@ G4BeamTestDetectorConstruction::G4BeamTestDetectorConstruction(): - origin_(NAN, NAN, NAN), verboseLevel_(0)/* , tankList_(0) */ + origin_(0, 0, 0), verboseLevel_(0)/* , tankList_(0) */ { } 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(), |
