72 lowestEnergy = 1.*keV;
74 fEnvelopeName = anEnvelopeName;
92 fNuEleTotXscBias = bf;
120 if( rName == fEnvelopeName && fNuEleTotXscBias > 1.)
122 totxsc = fNuEleTotXscBias*
137 ed <<
" Cross section is not available" <<
G4endl;
151 outFile <<
"G4NeutrinoElectronProcess handles the scattering of \n"
152 <<
"neutrino on electrons by invoking the following model(s) and \n"
153 <<
"cross section(s).\n";
167 if( rName != fEnvelopeName )
171 G4cout<<
"Go out from G4NeutrinoElectronProcess::PostStepDoIt: wrong volume "<<
G4endl;
194 ed <<
"G4HadronicProcess: track in unusable state - "
196 ed <<
"G4HadronicProcess: returning unchanged track " <<
G4endl;
228 if( fNuEleCcBias > 1.0 || fNuEleNcBias > 1.0)
241 G4double distance = forward+backward;
254 newPosition =
position + range*direction;
279 ed <<
" PostStepDoIt failed on element selection" <<
G4endl;
280 G4Exception(
"G4NeutrinoElectronProcess::PostStepDoIt",
"had003",
283 if( elm ) ZZ = elm->
GetZ();
317 G4cout <<
"G4NeutrinoElectronProcess::PostStepDoIt for "
319 <<
" in " << material->
GetName()
332 ed <<
"Target element "<< elm->
GetName()<<
" Z= "
336 ed <<
" ApplyYourself failed" <<
G4endl;
337 G4Exception(
"G4NeutrinoElectronProcess::PostStepDoIt",
"had006",
352 <<
" dir= " << outdir
360 if(efinal < 0.0) { efinal = 0.0; }
361 if(edep < 0.0) { edep = 0.0; }
366 if(efinal <= lowestEnergy)
445 isInitialised =
true;
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
std::ostringstream G4ExceptionDescription
@ fKillTrackAndSecondaries
G4GLOB_DLL std::ostream G4cout
Hep3Vector & rotateUz(const Hep3Vector &)
Hep3Vector & rotate(double, const Hep3Vector &)
G4double ComputeCrossSection(const G4DynamicParticle *, const G4Material *)
const G4Element * SampleZandA(const G4DynamicParticle *, const G4Material *, G4Nucleus &target)
void SetMomentumDirection(const G4ThreeVector &aDirection)
const G4ThreeVector & GetMomentumDirection() const
G4ParticleDefinition * GetDefinition() const
G4double GetKineticEnergy() const
const G4String & GetName() const
G4double GetEnergyChange() const
void SetTrafoToLab(const G4LorentzRotation &aT)
G4double GetLocalEnergyDeposit() const
const G4ThreeVector & GetMomentumChange() const
std::size_t GetNumberOfSecondaries() const
G4HadSecondary * GetSecondary(size_t i)
void Initialise(const G4Track &aT)
G4LorentzRotation & GetTrafoToLab()
G4DynamicParticle * GetParticle()
void Report(std::ostream &aS) const
virtual G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus)
const G4String & GetModelName() const
void SetRecoilEnergyThreshold(G4double val)
void FillResult(G4HadFinalState *aR, const G4Track &aT)
G4Nucleus * GetTargetNucleusPointer()
G4ParticleChange * theTotalResult
std::vector< G4HadronicInteraction * > & GetHadronicInteractionList()
void PreparePhysicsTable(const G4ParticleDefinition &) override
G4CrossSectionDataStore * GetCrossSectionDataStore()
void DumpState(const G4Track &, const G4String &, G4ExceptionDescription &)
G4VSolid * GetSolid() const
G4Region * GetRegion() const
const G4String & GetName() const
void SetBiasingFactor(G4double bf)
G4double GetMeanFreePath(const G4Track &aTrack, G4double, G4ForceCondition *)
virtual G4VParticleChange * PostStepDoIt(const G4Track &aTrack, const G4Step &aStep)
G4NeutrinoElectronProcess(G4String anEnvelopeName, const G4String &procName="neutrino-electron")
void SetBiasingFactors(G4double bfCc, G4double bfNc)
virtual void ProcessDescription(std::ostream &outFile) const
virtual void SetLowestEnergy(G4double)
virtual void PreparePhysicsTable(const G4ParticleDefinition &)
virtual ~G4NeutrinoElectronProcess()
virtual G4double GetElementCrossSection(const G4DynamicParticle *, G4int Z, const G4Material *)
void SetBiasingFactors(G4double bfCc, G4double bfNc)
static G4Neutron * Neutron()
void AddSecondary(G4Track *aSecondary)
void ProposePosition(G4double x, G4double y, G4double z)
void ProposeEnergy(G4double finalEnergy)
void ProposeMomentumDirection(G4double Px, G4double Py, G4double Pz)
virtual void Initialize(const G4Track &)
G4ProcessManager * GetProcessManager() const
const G4String & GetParticleName() const
G4ProcessVector * GetAtRestProcessVector(G4ProcessVectorTypeIndex typ=typeGPIL) const
const std::vector< G4double > * GetEnergyCutsVector(std::size_t pcIdx) const
static G4ProductionCutsTable * GetProductionCutsTable()
const G4String & GetName() const
void ReLocateWithinVolume(const G4ThreeVector &pGlobalPoint)
const G4VTouchable * GetTouchable() const
G4double GetGlobalTime() const
const G4ThreeVector & GetPosition() const
G4VPhysicalVolume * GetPhysicalVolume() const
G4StepPoint * GetPreStepPoint() const
G4StepPoint * GetPostStepPoint() const
G4TrackStatus GetTrackStatus() const
G4double GetVelocity() const
G4VPhysicalVolume * GetVolume() const
G4double GetWeight() const
void SetWeight(G4double aValue)
const G4ThreeVector & GetPosition() const
void SetTouchableHandle(const G4TouchableHandle &apValue)
G4double GetGlobalTime() const
G4Material * GetMaterial() const
const G4DynamicParticle * GetDynamicParticle() const
const G4TouchableHandle & GetTouchableHandle() const
const G4ThreeVector & GetMomentumDirection() const
G4double GetKineticEnergy() const
const G4MaterialCutsCouple * GetMaterialCutsCouple() const
const G4Step * GetStep() const
static G4TransportationManager * GetTransportationManager()
G4SafetyHelper * GetSafetyHelper() const
virtual G4VParticleChange * PostStepDoIt(const G4Track &, const G4Step &)
void ProposeTrackStatus(G4TrackStatus status)
void ProposeNonIonizingEnergyDeposit(G4double anEnergyPart)
void ProposeWeight(G4double finalWeight)
void ProposeLocalEnergyDeposit(G4double anEnergyPart)
void SetNumberOfSecondaries(G4int totSecondaries)
G4LogicalVolume * GetLogicalVolume() const
void ClearNumberOfInteractionLengthLeft()
virtual G4double DistanceToOut(const G4ThreeVector &p, const G4ThreeVector &v, const G4bool calcNorm=false, G4bool *validNorm=nullptr, G4ThreeVector *n=nullptr) const =0
virtual const G4ThreeVector & GetTranslation(G4int depth=0) const =0
virtual const G4RotationMatrix * GetRotation(G4int depth=0) const =0