Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/Geant4/G4ElectroVDNuclearModel.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 // * 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 // Author:  D.H. Wright
0028 // Date:    1 May 2012
0029 //
0030 // Description: model for electron and positron interaction with nuclei
0031 //              using the equivalent photon spectrum.  A real gamma is 
0032 //              produced from the virtual photon spectrum and is then 
0033 //              interacted hadronically by the Bertini cascade at low
0034 //              energies.  At high energies the gamma is converted to a
0035 //              pi0 and interacted with the FTFP model.
0036 
0037 #ifndef G4ElectroVDNuclearModel_h
0038 #define G4ElectroVDNuclearModel_h 1
0039 
0040 #include "G4HadronicInteraction.hh"
0041 
0042 class G4CascadeInterface;
0043 class G4TheoFSGenerator;
0044 class G4LundStringFragmentation;
0045 class G4ExcitedStringDecay;
0046 class G4ElectroNuclearCrossSection;
0047 class G4VCrossSectionDataSet;
0048 
0049 class G4ElectroVDNuclearModel : public G4HadronicInteraction
0050 {
0051   public: 
0052 
0053     G4ElectroVDNuclearModel();
0054     ~G4ElectroVDNuclearModel();
0055     
0056     G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
0057                                    G4Nucleus& aTargetNucleus);
0058 
0059     virtual void ModelDescription(std::ostream& outFile) const;
0060 
0061   private:
0062 
0063     G4DynamicParticle* CalculateEMVertex(const G4HadProjectile& aTrack,
0064                                          G4Nucleus& aTargetNucleus);
0065 
0066     void CalculateHadronicVertex(G4DynamicParticle* incident,
0067                                  G4Nucleus& target);
0068 
0069     G4double leptonKE;
0070     G4double photonEnergy;
0071     G4double photonQ2;
0072 
0073     G4ElectroNuclearCrossSection* electroXS;
0074     G4VCrossSectionDataSet* gammaXS;
0075 
0076     G4TheoFSGenerator* ftfp;
0077     G4LundStringFragmentation* theFragmentation;
0078     G4ExcitedStringDecay* theStringDecay;
0079     G4CascadeInterface* bert;
0080 
0081     G4int secID;  // Creator model ID for the secondaries created by this model
0082 };
0083 
0084 #endif