Geant4-11
Public Member Functions | Private Attributes
SelectFromKTV Class Reference

Public Member Functions

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

Private Attributes

G4KineticTrackVectorktv
 
G4KineticTrack::CascadeState wanted_state
 

Detailed Description

Definition at line 2073 of file G4BinaryCascade.cc.

Constructor & Destructor Documentation

◆ SelectFromKTV()

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

Definition at line 2079 of file G4BinaryCascade.cc.

2080 :
2081 ktv(out), wanted_state(astate)
2082 {};
G4KineticTrack::CascadeState wanted_state
G4KineticTrackVector * ktv

Member Function Documentation

◆ operator()()

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

Definition at line 2083 of file G4BinaryCascade.cc.

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

References ktv, and wanted_state.

Field Documentation

◆ ktv

G4KineticTrackVector* SelectFromKTV::ktv
private

Definition at line 2076 of file G4BinaryCascade.cc.

Referenced by operator()().

◆ wanted_state

G4KineticTrack::CascadeState SelectFromKTV::wanted_state
private

Definition at line 2077 of file G4BinaryCascade.cc.

Referenced by operator()().


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