50 kinEnergyThreshold(ekinlim), nRegions(0), isIon(false)
62 kinEnergyThreshold = val;
64 G4cout <<
"### G4LowECapture: Tracking cut E(MeV) = "
65 << kinEnergyThreshold/MeV <<
G4endl;
74 if(r ==
"" || r ==
"world" || r ==
"World") r =
"DefaultRegionForTheWorld";
75 for(
G4int i=0; i<nRegions; ++i) {
76 if(regionName[i] == r) {
return; }
78 regionName.push_back(r);
81 G4cout <<
"### G4LowECapture: new G4Region <" << r <<
">" <<
G4endl;
90 for(
G4int i=0; i<nRegions; ++i) {
93 G4cout <<
"### G4LowECapture: new G4Region <"
94 << regionName[i] <<
"> with tracking cut "
95 << kinEnergyThreshold/keV <<
" keV" <<
G4endl;
97 if(r) { region.push_back(r); }
99 nRegions = (
G4int)region.size();
104 if(pname !=
"deuteron" && pname !=
"triton" &&
105 pname !=
"alpha" && pname !=
"He3" &&
106 pname !=
"alpha+" && pname !=
"helium" &&
107 pname !=
"hydrogen") { isIon =
true; }
123 G4double eLimit = kinEnergyThreshold;
128 for(
G4int i=0; i<nRegions; ++i) {
G4double condition(const G4ErrorSymMatrix &m)
G4GLOB_DLL std::ostream G4cout
G4Region * GetRegion() const
void SetKinEnergyLimit(G4double)
void BuildPhysicsTable(const G4ParticleDefinition &) override
G4VParticleChange * PostStepDoIt(const G4Track &, const G4Step &) override
G4LowECapture(G4double ekinlimit=0.0)
G4double GetMeanFreePath(const G4Track &, G4double, G4ForceCondition *) override
G4bool IsApplicable(const G4ParticleDefinition &) override
G4double PostStepGetPhysicalInteractionLength(const G4Track &track, G4double, G4ForceCondition *) override
void AddRegion(const G4String &)
const G4String & GetParticleType() const
G4double GetPDGMass() const
const G4String & GetParticleName() const
static G4RegionStore * GetInstance()
G4Region * GetRegion(const G4String &name, G4bool verbose=true) const
G4VPhysicalVolume * GetVolume() const
G4ParticleDefinition * GetDefinition() const
G4double GetKineticEnergy() const
void ProposeTrackStatus(G4TrackStatus status)
virtual void Initialize(const G4Track &)
void ProposeLocalEnergyDeposit(G4double anEnergyPart)
G4LogicalVolume * GetLogicalVolume() const
G4VParticleChange * pParticleChange