Geant4  10.00.p02
G4SDParticleFilter Class Reference

#include <G4SDParticleFilter.hh>

+ Inheritance diagram for G4SDParticleFilter:
+ Collaboration diagram for G4SDParticleFilter:

Public Member Functions

 G4SDParticleFilter (G4String name)
 
 G4SDParticleFilter (G4String name, const G4String &particleName)
 
 G4SDParticleFilter (G4String name, const std::vector< G4String > &particleNames)
 
 G4SDParticleFilter (G4String name, const std::vector< G4ParticleDefinition * > &particleDef)
 
virtual ~G4SDParticleFilter ()
 
virtual G4bool Accept (const G4Step *) const
 
void add (const G4String &particleName)
 
void addIon (G4int Z, G4int A)
 
void show ()
 
- Public Member Functions inherited from G4VSDFilter
 G4VSDFilter (G4String name)
 
virtual ~G4VSDFilter ()
 
G4String GetName () const
 

Private Attributes

std::vector
< G4ParticleDefinition * > 
thePdef
 
std::vector< G4inttheIonZ
 
std::vector< G4inttheIonA
 

Additional Inherited Members

- Protected Attributes inherited from G4VSDFilter
G4String filterName
 

Detailed Description

Definition at line 53 of file G4SDParticleFilter.hh.

Constructor & Destructor Documentation

G4SDParticleFilter::G4SDParticleFilter ( G4String  name)

Definition at line 46 of file G4SDParticleFilter.cc.

References theIonA, theIonZ, and thePdef.

G4SDParticleFilter::G4SDParticleFilter ( G4String  name,
const G4String particleName 
)

Definition at line 54 of file G4SDParticleFilter.cc.

References FatalException, G4ParticleTable::FindParticle(), G4Exception(), G4ParticleTable::GetParticleTable(), theIonA, theIonZ, and thePdef.

+ Here is the call graph for this function:

G4SDParticleFilter::G4SDParticleFilter ( G4String  name,
const std::vector< G4String > &  particleNames 
)

Definition at line 73 of file G4SDParticleFilter.cc.

References FatalException, G4ParticleTable::FindParticle(), G4Exception(), G4ParticleTable::GetParticleTable(), theIonA, theIonZ, and thePdef.

+ Here is the call graph for this function:

G4SDParticleFilter::G4SDParticleFilter ( G4String  name,
const std::vector< G4ParticleDefinition * > &  particleDef 
)

Definition at line 94 of file G4SDParticleFilter.cc.

References FatalException, G4Exception(), theIonA, and theIonZ.

+ Here is the call graph for this function:

G4SDParticleFilter::~G4SDParticleFilter ( )
virtual

Definition at line 107 of file G4SDParticleFilter.cc.

References theIonA, theIonZ, and thePdef.

Member Function Documentation

G4bool G4SDParticleFilter::Accept ( const G4Step aStep) const
virtual

Implements G4VSDFilter.

Definition at line 114 of file G4SDParticleFilter.cc.

References FALSE, G4ParticleDefinition::GetAtomicMass(), G4ParticleDefinition::GetAtomicNumber(), G4Track::GetDefinition(), G4Step::GetTrack(), theIonA, theIonZ, thePdef, and TRUE.

Referenced by G4SDParticleWithEnergyFilter::Accept().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4SDParticleFilter::add ( const G4String particleName)

Definition at line 132 of file G4SDParticleFilter.cc.

References FatalException, G4ParticleTable::FindParticle(), G4Exception(), G4ParticleTable::GetParticleTable(), and thePdef.

Referenced by G4SDParticleWithEnergyFilter::add(), RE02DetectorConstruction::ConstructSDandField(), RE06ParallelWorld::SetupDetectors(), and RE06DetectorConstruction::SetupDetectors().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4SDParticleFilter::addIon ( G4int  Z,
G4int  A 
)

Definition at line 150 of file G4SDParticleFilter.cc.

References G4cout, G4endl, theIonA, and theIonZ.

void G4SDParticleFilter::show ( )

Definition at line 161 of file G4SDParticleFilter.cc.

References G4cout, G4endl, theIonA, theIonZ, and thePdef.

Referenced by G4SDParticleWithEnergyFilter::show().

+ Here is the caller graph for this function:

Member Data Documentation

std::vector<G4int> G4SDParticleFilter::theIonA
private

Definition at line 80 of file G4SDParticleFilter.hh.

Referenced by Accept(), addIon(), G4SDParticleFilter(), show(), and ~G4SDParticleFilter().

std::vector<G4int> G4SDParticleFilter::theIonZ
private

Definition at line 79 of file G4SDParticleFilter.hh.

Referenced by Accept(), addIon(), G4SDParticleFilter(), show(), and ~G4SDParticleFilter().

std::vector<G4ParticleDefinition*> G4SDParticleFilter::thePdef
private

Definition at line 78 of file G4SDParticleFilter.hh.

Referenced by Accept(), add(), G4SDParticleFilter(), show(), and ~G4SDParticleFilter().


The documentation for this class was generated from the following files: