ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4NeutrinoNucleusModel.hh
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file G4NeutrinoNucleusModel.hh
1 //
2 // ********************************************************************
3 // * License and Disclaimer *
4 // * *
5 // * The Geant4 software is copyright of the Copyright Holders of *
6 // * the Geant4 Collaboration. It is provided under the terms and *
7 // * conditions of the Geant4 Software License, included in the file *
8 // * LICENSE and available at http://cern.ch/geant4/license . These *
9 // * include a list of copyright holders. *
10 // * *
11 // * Neither the authors of this software system, nor their employing *
12 // * institutes,nor the agencies providing financial support for this *
13 // * work make any representation or warranty, express or implied, *
14 // * regarding this software system or assume any liability for its *
15 // * use. Please see the license in the file LICENSE and URL above *
16 // * for the full disclaimer and the limitation of liability. *
17 // * *
18 // * This code implementation is the result of the scientific and *
19 // * technical work of the GEANT4 collaboration. *
20 // * By using, copying, modifying or distributing the software (or *
21 // * any work based on the software) you agree to acknowledge its *
22 // * use in resulting scientific publications, and indicate your *
23 // * acceptance of all terms of the Geant4 Software license. *
24 // ********************************************************************
25 //
26 //
27 // $Id: G4NeutrinoNucleusModel.hh 90228 2015-05-21 08:49:57Z gcosmo $
28 //
29 // Geant4 Header : G4NeutrinoNucleusModel
30 //
31 // Author : V.Grichine 12.2.19
32 //
33 // Modified:
34 //
35 // Class Description
36 // Default model for muon neutrino-nucleus charge current scattering;
37 // Class Description - End
38 
39 #ifndef G4NeutrinoNucleusModel_h
40 #define G4NeutrinoNucleusModel_h 1
41 
42 #include "globals.hh"
43 #include "G4HadronicInteraction.hh"
44 #include "G4HadProjectile.hh"
45 #include "G4Nucleus.hh"
46 #include "G4NucleiProperties.hh"
47 #include "G4LorentzVector.hh"
48 
50 class G4PreCompoundModel;
51 // class G4CascadeInterface;
52 // class G4BinaryCascade;
53 // class G4TheoFSGenerator;
54 // class G4LundStringFragmentation;
55 // class G4ExcitedStringDecay;
56 // class G4INCLXXInterface;
57 class G4Nucleus;
58 class G4Fragment;
61 
63 {
64 public:
65 
66  G4NeutrinoNucleusModel(const G4String& name = "neutrino-nucleus");
67 
68  virtual ~G4NeutrinoNucleusModel();
69 
70  virtual G4bool IsApplicable(const G4HadProjectile & aTrack,
71  G4Nucleus & targetNucleus);
72 
73  virtual G4HadFinalState * ApplyYourself(const G4HadProjectile & aTrack,
74  G4Nucleus & targetNucleus)=0;
75 
77 
78  void ClusterDecay( G4LorentzVector & lvX, G4int qX);
79 
80  void MesonDecay( G4LorentzVector & lvX, G4int qX);
81 
82  void FinalBarion( G4LorentzVector & lvB, G4int qB, G4int pdgB);
83 
84  void RecoilDeexcitation( G4Fragment& fragment);
85 
86  void FinalMeson( G4LorentzVector & lvM, G4int qM, G4int pdgM);
87 
88  void CoherentPion( G4LorentzVector & lvP, G4int pdgP, G4Nucleus & targetNucleus);
89 
90 
91  // set/get class fields
92 
95 
98  G4double GetQ2(){return fQ2;};
100 
104 
106  G4double GetEmu(){return fEmu;};
107  G4double GetEx(){return fEx;};
108  G4double GetMuMass(){return fMu;};
109  G4double GetW2(){return fW2;};
110  G4double GetM1(){return fM1;};
111  G4double GetMr(){return fMr;};
112  G4double GetTr(){return fTr;};
113  G4double GetDp(){return fDp;};
114 
119 
120  G4double GetMinNuMuEnergy(){ return fMu + 0.5*fMu*fMu/fM1 + 4.*CLHEP::MeV; }; // kinematics + accuracy for sqrts
121 
122  G4double ThresholdEnergy(G4double mI, G4double mF, G4double mP) // for cluster decay
123  {
124  G4double w = std::sqrt(fW2);
125  return w + 0.5*( (mP+mF)*(mP+mF)-(w+mI)*(w+mI) )/mI;
126  };
127  G4double FinalMomentum(G4double mI, G4double mF, G4double mP, G4LorentzVector lvX); // for cluster decay
128 
129  // nucleon binding
130 
131  G4double FermiMomentum( G4Nucleus & targetNucleus);
132  G4double NucleonMomentum( G4Nucleus & targetNucleus);
133 
134  G4double GetEx( G4int A, G4bool fP );
135  G4double GgSampleNM(G4Nucleus & nucl);
136 
139 
142 
143  virtual void ModelDescription(std::ostream&) const;
144 
145 protected:
146 
149 
150  G4double fSin2tW; // sin^2theta_Weinberg
151  G4double fCutEnergy; // minimal recoil electron energy detected
152 
155 
157 
159 
161 
163 
167 
168 
170 
171  static const G4int fResNumber;
172  static const G4double fResMass[6]; // [fResNumber];
173 
174  static const G4int fClustNumber;
175 
176  static const G4double fMesMass[4];
177  static const G4int fMesPDG[4];
178 
179  static const G4double fBarMass[4];
180  static const G4int fBarPDG[4];
181 
182  static const G4double fNuMuResQ[50][50];
183 
184 
185  static const G4double fNuMuEnergy[50];
186  static const G4double fNuMuQeTotRat[50];
187  static const G4double fOnePionEnergy[58];
188  static const G4double fOnePionProb[58];
189 
190 };
191 
192 
193 
194 #endif