|
BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
|
Filter for a set of PDG IDs (ints). More...
#include <BDSSDFilterPDGIDSet.hh>


Public Member Functions | |
| BDSSDFilterPDGIDSet ()=delete | |
| No default constructor. | |
| BDSSDFilterPDGIDSet (const G4String &name, const std::set< G4int > &PDGIDsToAcceptIn) | |
| Construct with a set of PDG IDs to accept for a step and generate a hit. | |
| virtual G4bool | Accept (const G4Step *step) const |
| Return true if the particle is an ion or not. | |
Private Attributes | |
| std::set< G4int > | PDGIDsToAccept |
Filter for a set of PDG IDs (ints).
Definition at line 34 of file BDSSDFilterPDGIDSet.hh.
| BDSSDFilterPDGIDSet::BDSSDFilterPDGIDSet | ( | const G4String & | name, |
| const std::set< G4int > & | PDGIDsToAcceptIn | ||
| ) |
Construct with a set of PDG IDs to accept for a step and generate a hit.
Definition at line 27 of file BDSSDFilterPDGIDSet.cc.
|
inlinevirtual |
Definition at line 43 of file BDSSDFilterPDGIDSet.hh.
|
virtual |
Return true if the particle is an ion or not.
Definition at line 33 of file BDSSDFilterPDGIDSet.cc.
|
private |
Definition at line 49 of file BDSSDFilterPDGIDSet.hh.