Go to the documentation of this file. 1 #ifndef SimG4Core_CustomPhysics_G4ProcessHelper_H
2 #define SimG4Core_CustomPhysics_G4ProcessHelper_H
5 #include "G4ParticleDefinition.hh"
6 #include "G4DynamicParticle.hh"
7 #include "G4Element.hh"
20 class G4ParticleTable;
66 void ReadAndParse(
const G4String&
str, std::vector<G4String>& tokens,
const G4String& delimiters =
" ");
G4ProcessHelper(const edm::ParameterSet &p, CustomParticleFactory *ptr)
G4ParticleDefinition * theProton
G4ParticleDefinition * theRmesoncloud
G4ParticleDefinition * theTarget
G4bool ReactionIsPossible(const ReactionProduct &aReaction, const G4DynamicParticle *aDynamicParticle)
std::map< const G4ParticleDefinition *, G4bool > known_particles
G4bool ApplicabilityTester(const G4ParticleDefinition &aPart)
G4double PhaseSpace(const ReactionProduct &aReaction, const G4DynamicParticle *aDynamicParticle)
G4ParticleTable * particleTable
G4ParticleDefinition * theNeutron
G4ProcessHelper & operator=(const G4ProcessHelper &)=delete
std::vector< G4int > ReactionProduct
std::map< G4String, G4double > parameters
ReactionProduct GetFinalState(const G4Track &aTrack, G4ParticleDefinition *&aTarget)
G4double Regge(const double boost)
G4double GetInclusiveCrossSection(const G4DynamicParticle *aParticle, const G4Element *anElement)
HistoHelper * theHistoHelper
CustomParticleFactory * fParticleFactory
G4bool ReactionGivesBaryon(const ReactionProduct &aReaction)
G4double Pom(const double boost)
G4ParticleDefinition * theRbaryoncloud
void ReadAndParse(const G4String &str, std::vector< G4String > &tokens, const G4String &delimiters=" ")
std::vector< ReactionProduct > ReactionProductList
std::map< G4int, ReactionProductList > ReactionMap
ReactionMap * theReactionMap
G4double ReactionProductMass(const ReactionProduct &aReaction, const G4DynamicParticle *aDynamicParticle)