Warning, file /include/Geant4/G4ANuTauNucleusCcModel.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 #ifndef G4ANuTauNucleusCcModel_h
0040 #define G4ANuTauNucleusCcModel_h 1
0041
0042 #include "globals.hh"
0043 #include "G4NeutrinoNucleusModel.hh"
0044 #include "G4HadProjectile.hh"
0045 #include "G4Nucleus.hh"
0046 #include "G4NucleiProperties.hh"
0047 #include "G4LorentzVector.hh"
0048 #include "G4Threading.hh"
0049
0050 class G4ParticleDefinition;
0051 class G4PreCompoundModel;
0052 class G4Nucleus;
0053 class G4Fragment;
0054
0055 class G4ANuTauNucleusCcModel : public G4NeutrinoNucleusModel
0056 {
0057 public:
0058
0059 G4ANuTauNucleusCcModel(const G4String& name = "ANuTauNuclCcModel");
0060
0061 virtual ~G4ANuTauNucleusCcModel();
0062
0063 virtual void InitialiseModel();
0064
0065 virtual G4bool IsApplicable(const G4HadProjectile & aTrack,
0066 G4Nucleus & targetNucleus);
0067
0068 virtual G4HadFinalState * ApplyYourself(const G4HadProjectile & aTrack,
0069 G4Nucleus & targetNucleus);
0070
0071
0072
0073
0074 void SampleLVkr(const G4HadProjectile & aTrack, G4Nucleus & targetNucleus);
0075
0076 G4double GetMinNuMuEnergy(){ return fMtau + 0.5*fMtau*fMtau/fM1 + 4.*CLHEP::MeV; };
0077
0078 G4double ThresholdEnergy(G4double mI, G4double mF, G4double mP)
0079 {
0080 G4double w = std::sqrt(fW2);
0081 return w + 0.5*( (mP+mF)*(mP+mF)-(w+mI)*(w+mI) )/mI;
0082 };
0083
0084 virtual void ModelDescription(std::ostream&) const;
0085
0086 private:
0087
0088 G4bool fData, fMaster;
0089 G4double fMtau;
0090 G4ParticleDefinition* theTauMinus;
0091 G4ParticleDefinition* theTauPlus;
0092
0093
0094 #ifdef G4MULTITHREADED
0095 static G4Mutex numuNucleusModel;
0096 #endif
0097
0098 };
0099
0100
0101
0102 #endif