Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4VAngularDistribution Class Referenceabstract

#include <G4VAngularDistribution.hh>

+ Inheritance diagram for G4VAngularDistribution:

Public Member Functions

 G4VAngularDistribution ()
 
virtual ~G4VAngularDistribution ()
 
virtual G4double CosTheta (G4double s, G4double m1, G4double m2) const =0
 
virtual G4double Phi () const
 

Detailed Description

Definition at line 54 of file G4VAngularDistribution.hh.

Constructor & Destructor Documentation

◆ G4VAngularDistribution()

G4VAngularDistribution::G4VAngularDistribution ( )
inline

Definition at line 60 of file G4VAngularDistribution.hh.

60{ }

◆ ~G4VAngularDistribution()

virtual G4VAngularDistribution::~G4VAngularDistribution ( )
inlinevirtual

Definition at line 62 of file G4VAngularDistribution.hh.

62{ }

Member Function Documentation

◆ CosTheta()

virtual G4double G4VAngularDistribution::CosTheta ( G4double  s,
G4double  m1,
G4double  m2 
) const
pure virtual

◆ Phi()

virtual G4double G4VAngularDistribution::Phi ( ) const
inlinevirtual

Reimplemented in G4AngularDistributionNP, and G4AngularDistributionPP.

Definition at line 66 of file G4VAngularDistribution.hh.

66{ return 2.*CLHEP::pi*G4UniformRand(); }
#define G4UniformRand()
Definition: Randomize.hh:52

Referenced by G4VElasticCollision::FinalState(), and G4VScatteringCollision::FinalState().


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