Skip to content

Commit

Permalink
Update GateVirtualSegmentationSD.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
granadogmarc authored Sep 18, 2024
1 parent 8f9cc30 commit 70dd71c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions source/digits_hits/src/GateVirtualSegmentationSD.cc
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,7 @@ void GateVirtualSegmentationSD::Digitize()
for (G4int i=0;i<n_digi;i++)
{
inputDigi=(*IDC)[i];
// ***** the following part of the code to adapt
/// *** This part is from ProcessPulseList

if (inputDigi->GetVolumeID().size()){
G4Box* box = dynamic_cast<G4Box*>(inputDigi->GetVolumeID().GetBottomCreator()->GetLogicalVolume()->GetSolid());
xLength = 2*box->GetXHalfLength();
Expand Down

0 comments on commit 70dd71c

Please sign in to comment.