Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4ParticleLargerBeta Class Reference

#include <G4ParticleLargerBeta.hh>

Public Member Functions

G4bool operator() (const G4InuclElementaryParticle &part1, const G4InuclElementaryParticle &part2)
 
G4bool operator() (const G4InuclElementaryParticle *part1, const G4InuclElementaryParticle *part2)
 
G4bool operator() (const G4CascadParticle &part1, const G4CascadParticle &part2)
 
G4bool operator() (const G4CascadParticle *part1, const G4CascadParticle *part2)
 

Detailed Description

Definition at line 38 of file G4ParticleLargerBeta.hh.

Member Function Documentation

◆ operator()() [1/4]

G4bool G4ParticleLargerBeta::operator() ( const G4CascadParticle part1,
const G4CascadParticle part2 
)
inline

Definition at line 52 of file G4ParticleLargerBeta.hh.

53 {
54 return (operator()(part1.getParticle(), part2.getParticle()));
55 }
const G4InuclElementaryParticle & getParticle() const

◆ operator()() [2/4]

G4bool G4ParticleLargerBeta::operator() ( const G4CascadParticle part1,
const G4CascadParticle part2 
)
inline

Definition at line 57 of file G4ParticleLargerBeta.hh.

58 {
59 return (part1 && part2 && operator()(*part1, *part2));
60 }

◆ operator()() [3/4]

G4bool G4ParticleLargerBeta::operator() ( const G4InuclElementaryParticle part1,
const G4InuclElementaryParticle part2 
)
inline

Definition at line 40 of file G4ParticleLargerBeta.hh.

41 {
42 return (part1.getMomModule()/part1.getEnergy() >=
43 part2.getMomModule()/part2.getEnergy()
44 );
45 }
G4double getMomModule() const
G4double getEnergy() const

◆ operator()() [4/4]

G4bool G4ParticleLargerBeta::operator() ( const G4InuclElementaryParticle part1,
const G4InuclElementaryParticle part2 
)
inline

Definition at line 47 of file G4ParticleLargerBeta.hh.

48 {
49 return (part1 && part2 && operator()(*part1, *part2));
50 }

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