#include <G4VHadDecayAlgorithm.hh>
Definition at line 43 of file G4VHadDecayAlgorithm.hh.
 
◆ G4VHadDecayAlgorithm()
  
  
      
        
          | G4VHadDecayAlgorithm::G4VHadDecayAlgorithm  | 
          ( | 
          const G4String &  | 
          algName,  | 
         
        
           | 
           | 
          G4int  | 
          verbose = 0  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
 
◆ ~G4VHadDecayAlgorithm()
  
  
      
        
          | virtual G4VHadDecayAlgorithm::~G4VHadDecayAlgorithm  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinevirtual   | 
  
 
 
◆ Generate()
Definition at line 49 of file G4VHadDecayAlgorithm.cc.
   59   if (masses.size() == 2U) 
 virtual void GenerateTwoBody(G4double initialMass, const std::vector< G4double > &masses, std::vector< G4LorentzVector > &finalState)=0
 
const G4String & GetName() const
 
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
 
G4GLOB_DLL std::ostream G4cout
 
 
 
 
◆ GenerateMultiBody()
  
  
      
        
          | virtual void G4VHadDecayAlgorithm::GenerateMultiBody  | 
          ( | 
          G4double  | 
          initialMass,  | 
         
        
           | 
           | 
          const std::vector< G4double > &  | 
          masses,  | 
         
        
           | 
           | 
          std::vector< G4LorentzVector > &  | 
          finalState  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
protectedpure virtual   | 
  
 
 
◆ GenerateTwoBody()
  
  
      
        
          | virtual void G4VHadDecayAlgorithm::GenerateTwoBody  | 
          ( | 
          G4double  | 
          initialMass,  | 
         
        
           | 
           | 
          const std::vector< G4double > &  | 
          masses,  | 
         
        
           | 
           | 
          std::vector< G4LorentzVector > &  | 
          finalState  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
protectedpure virtual   | 
  
 
 
◆ GetName()
  
  
      
        
          | const G4String& G4VHadDecayAlgorithm::GetName  | 
          ( | 
          void  | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ GetVerboseLevel()
  
  
      
        
          | G4int G4VHadDecayAlgorithm::GetVerboseLevel  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ IsDecayAllowed()
  
  
      
        
          | G4bool G4VHadDecayAlgorithm::IsDecayAllowed  | 
          ( | 
          G4double  | 
          initialMass,  | 
         
        
           | 
           | 
          const std::vector< G4double > &  | 
          masses  | 
         
        
           | 
          ) | 
           |  const | 
         
       
   | 
  
protectedvirtual   | 
  
 
Definition at line 69 of file G4VHadDecayAlgorithm.cc.
   72     (initialMass > 0. && masses.size() >= 2 &&
    73      initialMass >= std::accumulate(masses.begin(),masses.end(),0.));
    76     G4cout << 
GetName() << 
"::IsDecayAllowed? initialMass " << initialMass
    77        << 
" " << masses.size() << 
" masses sum "    78        << std::accumulate(masses.begin(),masses.end(),0.) << 
G4endl;
 const G4String & GetName() const
 
G4GLOB_DLL std::ostream G4cout
 
void PrintVector(const std::vector< G4double > &v, const G4String &name, std::ostream &os) const
 
 
 
 
◆ PrintVector()
  
  
      
        
          | void G4VHadDecayAlgorithm::PrintVector  | 
          ( | 
          const std::vector< G4double > &  | 
          v,  | 
         
        
           | 
           | 
          const G4String &  | 
          name,  | 
         
        
           | 
           | 
          std::ostream &  | 
          os  | 
         
        
           | 
          ) | 
           |  const | 
         
       
   | 
  
protected   | 
  
 
Definition at line 123 of file G4VHadDecayAlgorithm.cc.
  125   os << 
" " << vname << 
"(" << 
v.size() << 
") ";
   126   std::copy(
v.begin(), 
v.end(), std::ostream_iterator<G4double>(os, 
" "));
 
 
 
 
◆ SetVerboseLevel()
  
  
      
        
          | virtual void G4VHadDecayAlgorithm::SetVerboseLevel  | 
          ( | 
          G4int  | 
          verbose | ) | 
           | 
         
       
   | 
  
inlinevirtual   | 
  
 
 
◆ TwoBodyMomentum()
Definition at line 91 of file G4VHadDecayAlgorithm.cc.
   93   G4double PSQ = (M0+M1+M2)*(M0+M1-M2)*(M0-M1+M2)*(M0-M1-M2);
    96        << 
" to M1(GeV) " << M1/
GeV << 
" and M2(GeV) " << M2/
GeV    97        << 
" PSQ(MeV) " << PSQ/
MeV << 
" < 0" << 
G4endl;
   106   return std::sqrt(PSQ)/(2.*M0);
 
const G4String & GetName() const
 
G4GLOB_DLL std::ostream G4cout
 
 
 
 
◆ UniformPhi()
  
  
      
        
          | G4double G4VHadDecayAlgorithm::UniformPhi  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
protected   | 
  
 
 
◆ UniformTheta()
  
  
      
        
          | G4double G4VHadDecayAlgorithm::UniformTheta  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
protected   | 
  
 
 
◆ name
◆ verboseLevel
  
  
      
        
          | G4int G4VHadDecayAlgorithm::verboseLevel | 
         
       
   | 
  
private   | 
  
 
 
The documentation for this class was generated from the following files: