Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:57:55

0001 //
0002 // ********************************************************************
0003 // * License and Disclaimer                                           *
0004 // *                                                                  *
0005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
0006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
0007 // * conditions of the Geant4 Software License,  included in the file *
0008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
0009 // * include a list of copyright holders.                             *
0010 // *                                                                  *
0011 // * Neither the authors of this software system, nor their employing *
0012 // * institutes,nor the agencies providing financial support for this *
0013 // * work  make  any representation or  warranty, express or implied, *
0014 // * regarding  this  software system or assume any liability for its *
0015 // * use.  Please see the license in the file  LICENSE  and URL above *
0016 // * for the full disclaimer and the limitation of liability.         *
0017 // *                                                                  *
0018 // * This  code  implementation is the result of  the  scientific and *
0019 // * technical work of the GEANT4 collaboration.                      *
0020 // * By using,  copying,  modifying or  distributing the software (or *
0021 // * any work based  on the software)  you  agree  to acknowledge its *
0022 // * use  in  resulting  scientific  publications,  and indicate your *
0023 // * acceptance of all terms of the Geant4 Software license.          *
0024 // ********************************************************************
0025 //
0026 //
0027 // $Id: G4ANuMuNucleusNcModel.hh 90228 2015-05-21 08:49:57Z gcosmo $
0028 //
0029 // Geant4 Header : G4ANuMuNucleusNcModel
0030 //
0031 // Author : V.Grichine 27.2.19
0032 //  
0033 // Modified:
0034 //
0035 // Class Description
0036 // Default model for muon neutrino-nucleus neutral current scattering; 
0037 // Class Description - End
0038 
0039 #ifndef G4ANuMuNucleusNcModel_h
0040 #define G4ANuMuNucleusNcModel_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 G4VPreCompoundModel;
0052 class G4CascadeInterface;
0053 class G4BinaryCascade;
0054 class G4TheoFSGenerator;
0055 class G4LundStringFragmentation;
0056 class G4ExcitedStringDecay;
0057 class G4INCLXXInterface;
0058 class G4Nucleus;
0059 
0060 class G4ANuMuNucleusNcModel : public G4NeutrinoNucleusModel
0061 {
0062 public:
0063 
0064   G4ANuMuNucleusNcModel(const G4String& name = "ANuMuNuclNcModel");
0065 
0066   virtual ~G4ANuMuNucleusNcModel();
0067 
0068   virtual void InitialiseModel();
0069 
0070   virtual G4bool IsApplicable(const G4HadProjectile & aTrack, 
0071                   G4Nucleus & targetNucleus);
0072 
0073   virtual G4HadFinalState * ApplyYourself(const G4HadProjectile & aTrack, 
0074                       G4Nucleus & targetNucleus);
0075 
0076 
0077   ////////// KR excitation kinematics ////////////////////
0078 
0079   void SampleLVkr(const G4HadProjectile & aTrack, G4Nucleus & targetNucleus);
0080 
0081   G4double GetMinNuMuEnergy(){ return fMnumu + 0.5*fMnumu*fMnumu/fM1 + 4.*CLHEP::keV; }; // kinematics + accuracy for sqrts
0082 
0083   G4double ThresholdEnergy(G4double mI, G4double mF, G4double mP) // for cluster decay
0084   { 
0085     G4double w = std::sqrt(fW2);
0086     return w + 0.5*( (mP+mF)*(mP+mF)-(w+mI)*(w+mI) )/mI;
0087   };
0088  
0089   virtual void ModelDescription(std::ostream&) const;
0090 
0091 private:
0092 
0093   // G4ParticleDefinition* theNuMu;
0094   G4ParticleDefinition* theANuMu;
0095 
0096   G4double  fMnumu; // = 0 for <f|-state
0097  
0098   G4bool fData, fMaster; // for one initialisation only
0099 
0100 #ifdef G4MULTITHREADED
0101   static G4Mutex numuNucleusModel;
0102 #endif
0103 
0104 };
0105 
0106 
0107 
0108 #endif