ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4VHadPhaseSpaceAlgorithm Class Reference

#include <geant4/tree/geant4-10.6-release/source/processes/hadronic/models/util/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 43 of file G4VHadPhaseSpaceAlgorithm.hh.

View newest version in sPHENIX GitHub at line 43 of file G4VHadPhaseSpaceAlgorithm.hh

Constructor & Destructor Documentation

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

Definition at line 45 of file G4VHadPhaseSpaceAlgorithm.hh.

View newest version in sPHENIX GitHub at line 45 of file G4VHadPhaseSpaceAlgorithm.hh

virtual G4VHadPhaseSpaceAlgorithm::~G4VHadPhaseSpaceAlgorithm ( )
inlinevirtual

Definition at line 47 of file G4VHadPhaseSpaceAlgorithm.hh.

View newest version in sPHENIX GitHub at line 47 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 51 of file G4VHadPhaseSpaceAlgorithm.cc.

View newest version in sPHENIX GitHub at line 51 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 73 of file G4VHadPhaseSpaceAlgorithm.cc.

View newest version in sPHENIX GitHub at line 73 of file G4VHadPhaseSpaceAlgorithm.cc

References CLHEP::Hep3Vector::setRThetaPhi(), G4VHadDecayAlgorithm::UniformPhi(), G4VHadDecayAlgorithm::UniformTheta(), and v.

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: