Skip to content

Commit

Permalink
Avoid create new files
Browse files Browse the repository at this point in the history
  • Loading branch information
tontyoutoure committed Oct 25, 2023
1 parent 719e08f commit b8125f7
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 116 deletions.
17 changes: 17 additions & 0 deletions source/digits_hits/include/GateActorManager.hh
Original file line number Diff line number Diff line change
Expand Up @@ -127,4 +127,21 @@ private:
static GateActorManager *singleton_ActorManager;
};

/*!
Empty SD class doing nothing for removing existing SD from G4SDManager
*/
// Created by [email protected] 2023/10/24

class GateEmptySD : public G4VSensitiveDetector
{

public:
//! Constructor.
//! The argument is the name of the sensitive detector
GateEmptySD(const G4String& name):G4VSensitiveDetector(name){Activate(false);}

//! Reinplementation is mendatory.
G4bool ProcessHits(G4Step*aStep,G4TouchableHistory*ROhist) override {return true;}
};

#endif /* end #define GATEACTORMANAGER_HH */
71 changes: 0 additions & 71 deletions source/digits_hits/include/GateEmptySD.hh

This file was deleted.

1 change: 0 additions & 1 deletion source/digits_hits/src/GateActorManager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#include "GateActorManager.hh"
#include "GateVActor.hh"
#include "GateMultiSensitiveDetector.hh"
#include "GateEmptySD.hh"

//-----------------------------------------------------------------------------
GateActorManager::GateActorManager()
Expand Down
44 changes: 0 additions & 44 deletions source/digits_hits/src/GateEmptySD.cc

This file was deleted.

0 comments on commit b8125f7

Please sign in to comment.