Geant4  10.00.p01
G4VHadPhaseSpaceAlgorithm Class Reference

#include <G4VHadPhaseSpaceAlgorithm.hh>

+ Inheritance diagram for G4VHadPhaseSpaceAlgorithm:
+ Collaboration diagram for G4VHadPhaseSpaceAlgorithm:

Public Member Functions

 G4VHadPhaseSpaceAlgorithm (const G4String &algName, G4int verbose=0)
 
virtual ~G4VHadPhaseSpaceAlgorithm ()
 
- Public Member Functions inherited from G4VHadDecayAlgorithm
 G4VHadDecayAlgorithm (const G4String &algName, G4int verbose=0)
 
virtual ~G4VHadDecayAlgorithm ()
 
void Generate (G4double initialMass, const std::vector< G4double > &masses, std::vector< G4LorentzVector > &finalState)
 
virtual void SetVerboseLevel (G4int verbose)
 
G4int GetVerboseLevel () const
 
const G4StringGetName () const
 

Protected Member Functions

virtual void GenerateTwoBody (G4double initialMass, const std::vector< G4double > &masses, std::vector< G4LorentzVector > &finalState)
 
G4ThreeVector UniformVector (G4double mag=1.) const
 
- Protected Member Functions inherited from G4VHadDecayAlgorithm
virtual void GenerateMultiBody (G4double initialMass, const std::vector< G4double > &masses, std::vector< G4LorentzVector > &finalState)=0
 
virtual G4bool IsDecayAllowed (G4double initialMass, const std::vector< G4double > &masses) const
 
G4double TwoBodyMomentum (G4double M0, G4double M1, G4double M2) const
 
G4double UniformTheta () const
 
G4double UniformPhi () const
 
void PrintVector (const std::vector< G4double > &v, const G4String &name, std::ostream &os) const
 

Detailed Description

Definition at line 44 of file G4VHadPhaseSpaceAlgorithm.hh.

Constructor & Destructor Documentation

G4VHadPhaseSpaceAlgorithm::G4VHadPhaseSpaceAlgorithm ( const G4String algName,
G4int  verbose = 0 
)
inline

Definition at line 46 of file G4VHadPhaseSpaceAlgorithm.hh.

virtual G4VHadPhaseSpaceAlgorithm::~G4VHadPhaseSpaceAlgorithm ( )
inlinevirtual

Definition at line 48 of file G4VHadPhaseSpaceAlgorithm.hh.

Member Function Documentation

void G4VHadPhaseSpaceAlgorithm::GenerateTwoBody ( G4double  initialMass,
const std::vector< G4double > &  masses,
std::vector< G4LorentzVector > &  finalState 
)
protectedvirtual

Implements G4VHadDecayAlgorithm.

Definition at line 52 of file G4VHadPhaseSpaceAlgorithm.cc.

References G4cout, G4endl, G4VHadDecayAlgorithm::GetVerboseLevel(), G4VHadDecayAlgorithm::TwoBodyMomentum(), and UniformVector().

+ Here is the call graph for this function:

G4ThreeVector G4VHadPhaseSpaceAlgorithm::UniformVector ( G4double  mag = 1.) const
protected

Definition at line 74 of file G4VHadPhaseSpaceAlgorithm.cc.

References G4VHadDecayAlgorithm::UniformPhi(), and G4VHadDecayAlgorithm::UniformTheta().

Referenced by G4HadPhaseSpaceKopylov::GenerateMultiBody(), G4HadPhaseSpaceNBodyAsai::GenerateMultiBody(), and GenerateTwoBody().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:


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