1 #ifndef SimG4Core_CustomPhysics_HadronicProcessHelper_H 2 #define SimG4Core_CustomPhysics_HadronicProcessHelper_H 5 #include"G4ParticleDefinition.hh" 6 #include"G4DynamicParticle.hh" 14 class G4ParticleTable;
36 const G4Element *element);
43 ReactionProduct
finalState(
const G4DynamicParticle * particle,
const G4Material* material, G4ParticleDefinition*&
target);
53 G4double
m_phaseSpace(
const ReactionProduct& aReaction,
const G4DynamicParticle* aDynamicParticle,
54 G4ParticleDefinition* target);
56 G4double
m_reactionProductMass(
const ReactionProduct& aReaction,
const G4DynamicParticle* aDynamicParticle,
57 G4ParticleDefinition* target);
59 G4bool
m_reactionIsPossible(
const ReactionProduct& aReaction,
const G4DynamicParticle* aDynamicParticle,
60 G4ParticleDefinition* target);
63 std::vector<G4String>& tokens,
64 const G4String& delimiters =
" ");
ReactionProduct finalState(const G4Track &track, G4ParticleDefinition *&target)
void m_readAndParse(const G4String &str, std::vector< G4String > &tokens, const G4String &delimiters=" ")
ReactionMap m_neutronReactionMap
HadronicProcessHelper(const std::string &fileName)
G4bool m_reactionIsPossible(const ReactionProduct &aReaction, const G4DynamicParticle *aDynamicParticle, G4ParticleDefinition *target)
G4double m_phaseSpace(const ReactionProduct &aReaction, const G4DynamicParticle *aDynamicParticle, G4ParticleDefinition *target)
G4double m_reactionProductMass(const ReactionProduct &aReaction, const G4DynamicParticle *aDynamicParticle, G4ParticleDefinition *target)
G4double inclusiveCrossSection(const G4DynamicParticle *particle, const G4Element *element)
HadronicProcessHelper * instance()
HadronicProcessHelper & operator=(const HadronicProcessHelper &)
std::map< G4int, ReactionProductList > ReactionMap
G4ParticleDefinition * m_neutron
ReactionMap m_protonReactionMap
G4ParticleTable * m_particleTable
G4ParticleDefinition * m_proton
G4bool applicabilityTester(const G4ParticleDefinition &particle)
std::map< const G4ParticleDefinition *, G4bool > m_knownParticles
std::vector< ReactionProduct > ReactionProductList
std::vector< G4int > ReactionProduct