Import Geant4 10.3.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2016-06-30 14:12:05 +02:00
parent a654a7ab1f
commit 4ec577e5c4
2021 changed files with 100995 additions and 78277 deletions
+3 -6
View File
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: B5HadCalorimeterSD.cc 76474 2013-11-11 10:36:34Z gcosmo $
// $Id: B5HadCalorimeterSD.cc 96048 2016-03-10 15:34:12Z gcosmo $
//
/// \file B5HadCalorimeterSD.cc
/// \brief Implementation of the B5HadCalorimeterSD class
@@ -80,11 +80,8 @@ G4bool B5HadCalorimeterSD::ProcessHits(G4Step* step, G4TouchableHistory*)
G4TouchableHistory* touchable
= (G4TouchableHistory*)(step->GetPreStepPoint()->GetTouchable());
G4VPhysicalVolume* cellPhysical = touchable->GetVolume(2);
G4int rowNo = cellPhysical->GetCopyNo();
G4VPhysicalVolume* columnPhysical = touchable->GetVolume(3);
G4int columnNo = columnPhysical->GetCopyNo();
G4int rowNo = touchable->GetCopyNumber(2);
G4int columnNo = touchable->GetCopyNumber(3);
G4int hitID = 2*columnNo+rowNo;
B5HadCalorimeterHit* hit = (*fHitsCollection)[hitID];