Skip to content

Commit

Permalink
Remove extra call to ConstructSDandField()
Browse files Browse the repository at this point in the history
This commit removes the extra call to the method that is already invoked
by the kernel. It fixes the G4Exception issued by G4SDStructure.
  • Loading branch information
lopezzot committed May 2, 2023
1 parent 9ee6fbd commit e34b08e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/CaliceDetectorConstruction.cc
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ CaliceDetectorConstruction::CaliceDetectorConstruction(const G4GDMLParser& parse
//
G4VPhysicalVolume* CaliceDetectorConstruction::Construct() {

ConstructSDandField();
return fParser.GetWorldVolume();

}
Expand Down

0 comments on commit e34b08e

Please sign in to comment.