Warning, file /geant4/examples/advanced/eRosita/physics/include/G4eLowEnergyLoss.hh was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033
0034
0035
0036
0037
0038
0039
0040
0041
0042
0043
0044
0045
0046
0047
0048
0049
0050
0051
0052
0053
0054
0055
0056
0057
0058
0059
0060
0061
0062
0063
0064 #ifndef G4RDeLowEnergyLoss_h
0065 #define G4RDeLowEnergyLoss_h 1
0066
0067 #include "G4ios.hh"
0068 #include "globals.hh"
0069 #include "Randomize.hh"
0070 #include "G4RDVeLowEnergyLoss.hh"
0071 #include "G4Material.hh"
0072 #include "G4Element.hh"
0073 #include "G4ParticleChangeForLoss.hh"
0074 #include "globals.hh"
0075 #include "G4Track.hh"
0076 #include "G4Step.hh"
0077 #include "G4Electron.hh"
0078 #include "G4Positron.hh"
0079 #include "G4PhysicsLogVector.hh"
0080 #include "G4PhysicsLinearVector.hh"
0081 #include "G4EnergyLossTables.hh"
0082
0083 class G4EnergyLossMessenger;
0084
0085 class G4eLowEnergyLoss : public G4RDVeLowEnergyLoss
0086
0087 {
0088 public:
0089
0090 G4eLowEnergyLoss(const G4String& );
0091
0092 ~G4eLowEnergyLoss();
0093
0094 G4bool IsApplicable(const G4ParticleDefinition&);
0095
0096
0097 void BuildDEDXTable(const G4ParticleDefinition& aParticleType);
0098
0099
0100
0101 G4double GetContinuousStepLimit(const G4Track& track,
0102 G4double previousStepSize,
0103 G4double currentMinimumStep,
0104 G4double& currentSafety);
0105
0106
0107 G4VParticleChange* AlongStepDoIt(const G4Track& track,
0108 const G4Step& Step) ;
0109
0110
0111
0112 virtual G4double GetMeanFreePath(const G4Track& track,
0113 G4double previousStepSize,
0114 G4ForceCondition* condition) = 0;
0115
0116
0117
0118 virtual G4VParticleChange* PostStepDoIt(const G4Track& track,
0119 const G4Step& step) = 0;
0120
0121
0122
0123 static void SetNbOfProcesses(G4int nb);
0124
0125
0126 static void PlusNbOfProcesses();
0127
0128
0129 static void MinusNbOfProcesses();
0130
0131
0132 static G4int GetNbOfProcesses();
0133
0134
0135
0136 static void SetLowerBoundEloss(G4double val);
0137 static void SetUpperBoundEloss(G4double val);
0138 static void SetNbinEloss(G4int nb);
0139
0140 static G4double GetLowerBoundEloss();
0141 static G4double GetUpperBoundEloss();
0142 static G4int GetNbinEloss();
0143
0144 void ActivateFluorescence(G4bool val);
0145
0146
0147 G4bool Fluorescence() const;
0148
0149
0150 protected:
0151
0152 virtual std::vector<G4DynamicParticle*>* DeexciteAtom(const G4MaterialCutsCouple* ,
0153 G4double, G4double)
0154 { return 0; };
0155
0156 G4PhysicsTable* theLossTable;
0157
0158 G4double MinKineticEnergy ;
0159
0160
0161
0162 G4double Charge,lastCharge ;
0163
0164
0165 static G4PhysicsTable* theDEDXElectronTable ;
0166 static G4PhysicsTable* theDEDXPositronTable ;
0167 static G4PhysicsTable* theRangeElectronTable ;
0168 static G4PhysicsTable* theRangePositronTable ;
0169
0170
0171 static G4PhysicsTable* theInverseRangeElectronTable;
0172 static G4PhysicsTable* theInverseRangePositronTable;
0173
0174
0175 static G4PhysicsTable* theLabTimeElectronTable ;
0176 static G4PhysicsTable* theLabTimePositronTable ;
0177 static G4PhysicsTable* theProperTimeElectronTable ;
0178 static G4PhysicsTable* theProperTimePositronTable ;
0179
0180
0181
0182
0183
0184 static G4int NbOfProcesses;
0185 static G4int CounterOfElectronProcess;
0186 static G4int CounterOfPositronProcess ;
0187 static G4PhysicsTable** RecorderOfElectronProcess;
0188 static G4PhysicsTable** RecorderOfPositronProcess;
0189
0190
0191 private:
0192
0193 G4double GetConstraints(const G4DynamicParticle* aParticle,
0194 const G4MaterialCutsCouple* couple);
0195
0196
0197 G4eLowEnergyLoss (G4eLowEnergyLoss &);
0198 G4eLowEnergyLoss & operator=(const G4eLowEnergyLoss &right);
0199
0200
0201 G4PhysicsTable* theDEDXTable;
0202
0203 G4int CounterOfProcess;
0204 G4PhysicsTable** RecorderOfProcess;
0205
0206 G4double fdEdx;
0207 G4double fRangeNow;
0208
0209 G4double linLossLimit ;
0210
0211
0212
0213 G4ParticleChangeForLoss fParticleChange ;
0214
0215
0216
0217
0218
0219 static G4int NbinEloss;
0220
0221 static G4double LowerBoundEloss;
0222 static G4double UpperBoundEloss;
0223 static G4double RTable,LOGRTable;
0224
0225
0226
0227
0228 static G4PhysicsTable* theeRangeCoeffATable;
0229 static G4PhysicsTable* theeRangeCoeffBTable;
0230 static G4PhysicsTable* theeRangeCoeffCTable;
0231 static G4PhysicsTable* thepRangeCoeffATable;
0232 static G4PhysicsTable* thepRangeCoeffBTable;
0233 static G4PhysicsTable* thepRangeCoeffCTable;
0234
0235 static G4EnergyLossMessenger* eLossMessenger;
0236
0237 G4bool theFluo;
0238
0239 };
0240
0241 #include "G4eLowEnergyLoss.icc"
0242
0243 #endif
0244