Skip to content

Commit

Permalink
DummyDigitizerModule coppied into DiscretizerModule
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Granado committed Sep 18, 2024
1 parent 22016fc commit 83f199c
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 47 deletions.
1 change: 0 additions & 1 deletion source/digits_hits/include/GateDiscretizer.hh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ See LICENSE.md for further details

#include "globals.hh"

#include "GateAdderMessenger.hh"
#include "GateSinglesDigitizer.hh"


Expand Down
1 change: 1 addition & 0 deletions source/digits_hits/include/GateSpatialResolution.hh
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ public:
void LocateOutputDigi(GateDigi* inputDigi, G4double PxNew,G4double PyNew,G4double PzNew);

void UpdateVolumeID();
void UpdateVolumeID(G4int newCopyNo);

//! Implementation of the pure virtual method declared by the base class GateClockDependent
//! print-out the attributes specific of the blurring
Expand Down
46 changes: 0 additions & 46 deletions source/digits_hits/src/GateDiscretizer.cc

This file was deleted.

12 changes: 12 additions & 0 deletions source/digits_hits/src/GateSpatialResolution.cc
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,18 @@ void GateSpatialResolution::UpdateVolumeID()
}
}


void GateSpatialResolution::UpdateVolumeID(G4int newCopyNo)
{
for (G4int i=1;i<m_systemDepth;i++)
{
m_outputDigi->ChangeVolumeIDAndOutputVolumeIDValue(i,newCopyNo);
}


}


void GateSpatialResolution::DescribeMyself(size_t indent )
{
if(m_fwhm)
Expand Down

0 comments on commit 83f199c

Please sign in to comment.