Geant4 10.7.0
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 2085 of file G4BinaryCascade.cc.

Constructor & Destructor Documentation

◆ SelectFromKTV()

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

Definition at line 2091 of file G4BinaryCascade.cc.

2092 :
2093 ktv(out), wanted_state(astate)
2094 {};

Member Function Documentation

◆ operator()()

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

Definition at line 2095 of file G4BinaryCascade.cc.

2096 {
2097 if ( (kt)->GetState() == wanted_state ) ktv->push_back(kt);
2098 };

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