#include <G4HadLeadBias.hh>
Definition at line 35 of file G4HadLeadBias.hh.
 
  
  
      
        
          | virtual G4HadLeadBias::~G4HadLeadBias  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinevirtual   | 
  
 
 
Implements G4VLeadingParticleBiasing.
Definition at line 34 of file G4HadLeadBias.cc.
   37     G4int nMeson(0), nBaryon(0), npi0(0), ngamma(0), nLepton(0);
 
   95     std::vector<G4HadSecondary> 
buffer;
 
   96     G4int cMeson(0), cBaryon(0), cpi0(0), cgamma(0), cLepton(0);
 
  110     if(++cBaryon==randomBaryon) 
 
  113       weight = baryonWeight;
 
  118         if(++cLepton==randomLepton) 
 
  121       weight = leptonWeight;
 
  126         if(++cgamma==randomGamma) 
 
  129       weight = gammaWeight;
 
  134         if(++cpi0==randomPi0) 
 
  142         if(++cMeson==randomMeson) 
 
  145       weight = mesonWeight;
 
  150     buffer.push_back(*aSecTrack);
 
  151     buffer.back().SetWeight(aSecTrack->
GetWeight()*weight);
 
G4double G4ParticleHPJENDLHEData::G4double result
 
void AddSecondaries(const std::vector< G4HadSecondary > &addSecs)
 
G4HadSecondary * GetSecondary(size_t i)
 
G4double GetKineticEnergy() const 
 
G4double GetEnergyChange() const 
 
G4ParticleDefinition * GetDefinition() const 
 
static G4PionZero * PionZero()
 
static const G4double emax
 
G4DynamicParticle * GetParticle()
 
G4int GetLeptonNumber() const 
 
G4int GetNumberOfSecondaries() const 
 
G4int GetBaryonNumber() const 
 
G4HadFinalStateStatus GetStatusChange() const 
 
G4double GetWeight() const 
 
 
 
 
The documentation for this class was generated from the following files:
- source/geant4.10.03.p02/source/processes/hadronic/management/include/G4HadLeadBias.hh
 
- source/geant4.10.03.p02/source/processes/hadronic/management/src/G4HadLeadBias.cc