50 kinEnergyThreshold(ekinlim), isIon(false),
63 kinEnergyThreshold = val;
65 G4cout <<
"### G4LowECapture: Tracking cut E(MeV) = "
66 << kinEnergyThreshold/MeV <<
G4endl;
75 if(r ==
"" || r ==
"world" || r ==
"World") r =
"DefaultRegionForTheWorld";
76 for(
G4int i=0; i<nRegions; ++i) {
77 if(regionName[i] == r) {
return; }
79 regionName.push_back(r);
82 G4cout <<
"### G4LowECapture: new G4Region <" << r <<
">" <<
G4endl;
91 for(
G4int i=0; i<nRegions; ++i) {
94 G4cout <<
"### G4LowECapture: new G4Region <"
95 << regionName[i] <<
"> with tracking cut "
96 << kinEnergyThreshold/keV <<
" keV" <<
G4endl;
98 if(r) { region.push_back(r); }
100 nRegions = region.size();
105 if(pname !=
"deuteron" && pname !=
"triton" &&
106 pname !=
"alpha" && pname !=
"He3" &&
107 pname !=
"alpha+" && pname !=
"helium" &&
108 pname !=
"hydrogen") { isIon =
true; }
124 G4double eLimit = kinEnergyThreshold;
129 for(
G4int i=0; i<nRegions; ++i) {
G4double condition(const G4ErrorSymMatrix &m)
G4GLOB_DLL std::ostream G4cout
G4Region * GetRegion() const
void SetKinEnergyLimit(G4double)
virtual void BuildPhysicsTable(const G4ParticleDefinition &)
virtual G4double GetMeanFreePath(const G4Track &, G4double, G4ForceCondition *)
G4LowECapture(G4double ekinlimit=0.0)
virtual G4VParticleChange * PostStepDoIt(const G4Track &, const G4Step &)
virtual G4bool IsApplicable(const G4ParticleDefinition &)
virtual G4double PostStepGetPhysicalInteractionLength(const G4Track &track, G4double, G4ForceCondition *)
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