Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SelectFromKTV Class Reference

Public Member Functions

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

Detailed Description

Definition at line 2064 of file G4BinaryCascade.cc.

Constructor & Destructor Documentation

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

Definition at line 2070 of file G4BinaryCascade.cc.

2071  :
2072  ktv(out), wanted_state(astate)
2073  {};

Member Function Documentation

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

Definition at line 2074 of file G4BinaryCascade.cc.

2075  {
2076  if ( (kt)->GetState() == wanted_state ) ktv->push_back(kt);
2077  };

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