Warning, file /include/Geant4/G4StandardCerenkovModel.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 #ifndef G4StandardCerenkovModel_h
0039 #define G4StandardCerenkovModel_h 1
0040
0041 #include "G4VXRayModel.hh"
0042 #include "globals.hh"
0043 #include "G4LogicalVolume.hh"
0044 #include "G4MaterialPropertyVector.hh"
0045
0046 #include <vector>
0047
0048 class G4MaterialCutsCouple;
0049 class G4ParticleDefinition;
0050 class G4Step;
0051 class G4Track;
0052
0053 class G4StandardCerenkovModel : public G4VXRayModel
0054 {
0055 public:
0056 G4StandardCerenkovModel();
0057
0058
0059 G4StandardCerenkovModel(const G4StandardCerenkovModel&) = default;
0060
0061 ~G4StandardCerenkovModel() override;
0062
0063 G4StandardCerenkovModel& operator=(const G4StandardCerenkovModel& right) = delete;
0064 G4StandardCerenkovModel& operator==(const G4StandardCerenkovModel& right) = delete;
0065 G4StandardCerenkovModel& operator!=(const G4StandardCerenkovModel& right) = delete;
0066
0067 void InitialiseModel() override;
0068
0069 G4bool StepLimitForVolume(G4double& limit) override;
0070
0071 void SampleXRays(std::vector<G4Track*>& out, const G4Step&) override;
0072
0073 void ModelDescription(std::ostream& outFile) const override;
0074
0075 private:
0076
0077 G4double AverageNumberOfPhotons(const G4double charge, const G4double beta,
0078 const G4double n) const
0079 {
0080 return fRfact*charge*charge*std::max(1.0 - 1.0/(beta*n), 0.0);
0081 }
0082
0083 static std::vector<G4double>* fBetaLim;
0084 static std::vector<std::vector<G4double>* >* fMeanNumberOfPhotons;
0085 static std::vector<std::vector<std::vector<G4double>* >* >* fIntegral;
0086 static std::vector<G4MaterialPropertyVector*>* fRindex;
0087
0088 const G4ParticleDefinition* fParticle{nullptr};
0089 const G4ParticleDefinition* fPhoton{nullptr};
0090 G4double fPreStepKinE{0.0};
0091 G4double fMass{0.0};
0092 G4double fCharge{0.0};
0093 G4double fMeanNPhotons{0.0};
0094 G4double fRfact{1.0};
0095
0096 G4bool isInitializer{false};
0097 G4bool isInitialized{false};
0098 };
0099
0100 #endif