Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
SelectFromKTV Class Reference

Public Member Functions

 SelectFromKTV (G4KineticTrackVector *out, G4KineticTrack::CascadeState astate)
 
void operator() (G4KineticTrack *&kt) const
 

Detailed Description

Definition at line 2074 of file G4BinaryCascade.cc.

Constructor & Destructor Documentation

◆ SelectFromKTV()

SelectFromKTV::SelectFromKTV ( G4KineticTrackVector * out,
G4KineticTrack::CascadeState astate )
inline

Definition at line 2080 of file G4BinaryCascade.cc.

2081 :
2082 ktv(out), wanted_state(astate)
2083 {};

Member Function Documentation

◆ operator()()

void SelectFromKTV::operator() ( G4KineticTrack *& kt) const
inline

Definition at line 2084 of file G4BinaryCascade.cc.

2085 {
2086 if ( (kt)->GetState() == wanted_state ) ktv->push_back(kt);
2087 };

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