Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:59:08

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 //
0028 // Geant4 muon neutrino nucleus scattering Process -- header file
0029 // 
0030 // Created  from G4MuNeutrinoNucleusProcess 1.11.22 V. Grichine
0031 //  
0032 
0033 // Class Description
0034 // Hadronic inelastic process for tau neutrino nucleus 2->X scattering  
0035 // Class Description - End
0036 
0037 #ifndef G4TauNeutrinoNucleusProcess_h
0038 #define G4TauNeutrinoNucleusProcess_h 1
0039  
0040 #include "globals.hh"
0041 #include "G4HadronicProcess.hh"
0042 
0043 class G4ParticleDefinition;
0044 class G4CrossSectionDataStore;
0045 class G4TauNeutrinoNucleusTotXsc;
0046 class G4SafetyHelper;
0047 
0048 class G4TauNeutrinoNucleusProcess : public G4HadronicProcess
0049 {
0050 public:
0051 
0052   G4TauNeutrinoNucleusProcess(const G4String& anEnvelopeName, const G4String& procName = "tau-neutrino-nucleus");
0053 
0054   ~G4TauNeutrinoNucleusProcess() override = default;
0055 
0056   G4double PostStepGetPhysicalInteractionLength(
0057                              const G4Track& track,
0058                              G4double previousStepSize,
0059                              G4ForceCondition* condition
0060                             ) override;
0061 
0062   G4double GetMeanFreePath(const G4Track &aTrack,
0063                            G4double, G4ForceCondition*) override;
0064  
0065   G4VParticleChange* PostStepDoIt(const G4Track& aTrack, 
0066                   const G4Step& aStep) override;
0067 
0068   // set internal limit
0069   void SetLowestEnergy(G4double);
0070 
0071   void ProcessDescription(std::ostream& outFile) const override;
0072 
0073   void SetBiasingFactors(G4double bfCc, G4double bfNc);
0074   void SetBiasingFactor(G4double bf);
0075 
0076   // hide assignment operator as private 
0077   G4TauNeutrinoNucleusProcess& operator=
0078   (const G4TauNeutrinoNucleusProcess &right) = delete;
0079   G4TauNeutrinoNucleusProcess(const G4TauNeutrinoNucleusProcess&) = delete;
0080   
0081 private:
0082 
0083   G4TauNeutrinoNucleusTotXsc* fTotXsc;
0084   G4SafetyHelper* safetyHelper;
0085   G4double lowestEnergy;
0086   G4double fNuNuclCcBias{1.0};
0087   G4double fNuNuclNcBias{1.0};
0088   G4double fNuNuclTotXscBias{1.0};
0089   G4String fEnvelopeName;
0090 };
0091 
0092 #endif