Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:58:46

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: G4NuTauNucleusCcModel.hh 90228 2015-05-21 08:49:57Z gcosmo $
0028 //
0029 // Geant4 Header : G4NuTauNucleusCcModel
0030 //
0031 // Author : V.Grichine 30.10.22
0032 //  
0033 // Modified:
0034 //
0035 // Class Description
0036 // Default model for tau neutrino-nucleus charge current scattering; 
0037 // Class Description - End
0038 
0039 #ifndef G4NuTauNucleusCcModel_h
0040 #define G4NuTauNucleusCcModel_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 G4NuTauNucleusCcModel : public G4NeutrinoNucleusModel      // G4HadronicInteraction
0056 {
0057 public:
0058 
0059   G4NuTauNucleusCcModel(const G4String& name = "NuTauNuclCcModel");
0060 
0061   virtual ~G4NuTauNucleusCcModel();
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   ////////// KR excitation kinematics ////////////////////
0073 
0074   void SampleLVkr(const G4HadProjectile & aTrack, G4Nucleus & targetNucleus);
0075 
0076   G4double GetMinNuMuEnergy(){ return fMtau + 0.5*fMtau*fMtau/fM1 + 4.*CLHEP::MeV; }; // kinematics + accuracy for sqrts
0077   
0078   G4double ThresholdEnergy(G4double mI, G4double mF, G4double mP) // for cluster decay
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; // for one initialisation only
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