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 70dd71c commit a866b1d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions source/digits_hits/src/GateVirtualSegmentationSD.cc
Original file line number Diff line number Diff line change
Expand Up @@ -421,16 +421,14 @@ void GateVirtualSegmentationSD::SetParameters()
else if(digi_SpatialResolution->GetFWHMx() || digi_SpatialResolution->GetFWHMy()|| digi_SpatialResolution->GetFWHMz()){


// DO NOT DELETE!
/*
//This is awaiting for Radia's code!!!
if(digi_SpatialResolution->GetFWHMxdistrib()||digi_SpatialResolution->GetFWHMydistrib()||digi_SpatialResolution->GetFWHMxydistrib())

if(digi_SpatialResolution->GetFWHMxdistrib()||digi_SpatialResolution->GetFWHMydistrib()||digi_SpatialResolution->GetFWHMxydistrib())
{
GateError("***ERROR*** No value of the target pitch has been provided and no value can be obtained from the spatial resolution distribution. /n Please provide a value for the pitch that is at least half of the minimum value of the distribution. ");
}


*/


if(digi_SpatialResolution->GetFWHMx() && m_nameAxis.find('X') != std::string::npos)
{pitchX = 0.5*digi_SpatialResolution->GetFWHMx();}
Expand Down

0 comments on commit a866b1d

Please sign in to comment.