90 if ( numberOfElements > 1 )
93 "material is more than 1.\n Only the first "
94 "element will be chosen for target nucleus" <<
G4endl;
125 for (
G4int i( 0 ); i < numberOfSecondaries; ++i )
142 hadFinalState->
Clear();
186 static_cast< CexmcIncidentParticleTrackInfo * >( trackInfo ) );
204 if ( ! incidentParticle )
207 return particle == *incidentParticle;
G4VParticleChange * PostStepDoIt(const G4Track &track, const G4Step &step)
G4HadronicInteraction * interaction
void SetNeedsTrackLengthResampling(G4bool on=true)
G4HadSecondary * GetSecondary(size_t i)
G4int GetFirstIsotope(G4int Z)
CexmcHadronicProcess(const G4String &name=CexmcStudiedProcessLastName)
const G4ThreeVector & GetPosition() const
G4TrackStatus GetTrackStatus() const
G4ParticleDefinition * GetIncidentParticle(void) const
void SetTouchableHandle(const G4TouchableHandle &apValue)
G4double GetEnergyChange() const
const G4Element * GetElement(G4int iel) const
void FillTotalResult(G4HadFinalState *hadFinalState, const G4Track &track)
void SetWeight(G4double aValue)
void ProposeLocalEnergyDeposit(G4double anEnergyPart)
void RegisterProductionModel(CexmcProductionModel *model)
G4VUserTrackInformation * GetUserInformation() const
void RegisterMe(G4HadronicInteraction *a)
void SetSecondaryWeightByProcess(G4bool)
G4bool IsApplicable(const G4ParticleDefinition &particle)
G4GLOB_DLL std::ostream G4cout
CexmcProductionModel * productionModel
void CalculateTargetNucleus(const G4Material *material)
G4double GetGlobalTime() const
virtual G4int GetTypeInfo(void) const
const G4TouchableHandle & GetTouchableHandle() const
G4Material * GetMaterial() const
virtual void Initialize(const G4Track &)
G4int GetIsotopeNucleonCount(G4int number)
void SetNumberOfSecondaries(G4int totSecondaries)
G4DynamicParticle * GetParticle()
void ProposeEnergy(G4double finalEnergy)
void AddSecondary(G4Track *aSecondary)
G4double GetWeight() const
size_t GetNumberOfElements() const
G4TrackStatus GetTrackStatus() const
void ProposeTrackStatus(G4TrackStatus status)
G4ParticleChange * theTotalResult
void SetParameters(const G4double A, const G4double Z)
G4bool isInitialized()
Check if the generator is initialized.
G4int GetNumberOfSecondaries() const
virtual G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus)=0
G4double GetLocalEnergyDeposit() const
G4HadFinalStateStatus GetStatusChange() const
G4double GetWeight() const