Geant4 9.6.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 1972 of file G4BinaryCascade.cc.

Constructor & Destructor Documentation

◆ SelectFromKTV()

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

Definition at line 1978 of file G4BinaryCascade.cc.

1979 :
1980 ktv(out), wanted_state(astate)
1981 {};

Member Function Documentation

◆ operator()()

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

Definition at line 1982 of file G4BinaryCascade.cc.

1983 {
1984 if ( (kt)->GetState() == wanted_state ) ktv->push_back(kt);
1985 };

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