Geant4 11.1.1
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 2072 of file G4BinaryCascade.cc.

Constructor & Destructor Documentation

◆ SelectFromKTV()

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

Definition at line 2078 of file G4BinaryCascade.cc.

2079 :
2080 ktv(out), wanted_state(astate)
2081 {};

Member Function Documentation

◆ operator()()

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

Definition at line 2082 of file G4BinaryCascade.cc.

2083 {
2084 if ( (kt)->GetState() == wanted_state ) ktv->push_back(kt);
2085 };

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