-
Notifications
You must be signed in to change notification settings - Fork 268
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #641 from tontyoutoure/likun_fix_mfd
- Loading branch information
Showing
2 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters