Geant4_10
Public Member Functions | Protected Member Functions | List of all members
G4VHadDecayAlgorithm Class Referenceabstract

#include <G4VHadDecayAlgorithm.hh>

Inheritance diagram for G4VHadDecayAlgorithm:
Inheritance graph
[legend]

Public Member Functions

 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)=0
 
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 43 of file G4VHadDecayAlgorithm.hh.

Constructor & Destructor Documentation

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

Definition at line 45 of file G4VHadDecayAlgorithm.hh.

virtual G4VHadDecayAlgorithm::~G4VHadDecayAlgorithm ( )
inlinevirtual

Definition at line 47 of file G4VHadDecayAlgorithm.hh.

Member Function Documentation

void G4VHadDecayAlgorithm::Generate ( G4double  initialMass,
const std::vector< G4double > &  masses,
std::vector< G4LorentzVector > &  finalState 
)

Definition at line 49 of file G4VHadDecayAlgorithm.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

virtual void G4VHadDecayAlgorithm::GenerateMultiBody ( G4double  initialMass,
const std::vector< G4double > &  masses,
std::vector< G4LorentzVector > &  finalState 
)
protectedpure virtual

Implemented in G4CascadeFinalStateAlgorithm, G4HadPhaseSpaceKopylov, G4HadPhaseSpaceNBodyAsai, and G4HadPhaseSpaceGenbod.

Here is the caller graph for this function:

virtual void G4VHadDecayAlgorithm::GenerateTwoBody ( G4double  initialMass,
const std::vector< G4double > &  masses,
std::vector< G4LorentzVector > &  finalState 
)
protectedpure virtual

Implemented in G4CascadeFinalStateAlgorithm, and G4VHadPhaseSpaceAlgorithm.

Here is the caller graph for this function:

const G4String& G4VHadDecayAlgorithm::GetName ( void  ) const
inline

Definition at line 57 of file G4VHadDecayAlgorithm.hh.

Here is the caller graph for this function:

G4int G4VHadDecayAlgorithm::GetVerboseLevel ( ) const
inline

Definition at line 56 of file G4VHadDecayAlgorithm.hh.

Here is the caller graph for this function:

G4bool G4VHadDecayAlgorithm::IsDecayAllowed ( G4double  initialMass,
const std::vector< G4double > &  masses 
) const
protectedvirtual

Definition at line 69 of file G4VHadDecayAlgorithm.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4VHadDecayAlgorithm::PrintVector ( const std::vector< G4double > &  v,
const G4String name,
std::ostream &  os 
) const
protected

Definition at line 123 of file G4VHadDecayAlgorithm.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

virtual void G4VHadDecayAlgorithm::SetVerboseLevel ( G4int  verbose)
inlinevirtual

Reimplemented in G4CascadeFinalStateAlgorithm.

Definition at line 55 of file G4VHadDecayAlgorithm.hh.

Here is the caller graph for this function:

G4double G4VHadDecayAlgorithm::TwoBodyMomentum ( G4double  M0,
G4double  M1,
G4double  M2 
) const
protected

Definition at line 91 of file G4VHadDecayAlgorithm.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4double G4VHadDecayAlgorithm::UniformPhi ( ) const
protected

Definition at line 115 of file G4VHadDecayAlgorithm.cc.

Here is the caller graph for this function:

G4double G4VHadDecayAlgorithm::UniformTheta ( ) const
protected

Definition at line 111 of file G4VHadDecayAlgorithm.cc.

Here is the caller graph for this function:


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