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

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

Definition at line 57 of file G4ParticleLargerBeta.hh.

00058                                                     {
00059     return (part1 && part2 && operator()(*part1, *part2));
00060   }

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

Definition at line 52 of file G4ParticleLargerBeta.hh.

References G4CascadParticle::getParticle().

00053                                                     {
00054     return (operator()(part1.getParticle(), part2.getParticle()));
00055   }

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

Definition at line 47 of file G4ParticleLargerBeta.hh.

00048                                                              {
00049     return (part1 && part2 && operator()(*part1, *part2));
00050   }

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

Definition at line 40 of file G4ParticleLargerBeta.hh.

References G4InuclParticle::getEnergy(), and G4InuclParticle::getMomModule().

00041                                                              {
00042     return (part1.getMomModule()/part1.getEnergy() >=
00043             part2.getMomModule()/part2.getEnergy()
00044             );
00045   }


The documentation for this class was generated from the following file:
Generated on Mon May 27 17:52:50 2013 for Geant4 by  doxygen 1.4.7