Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/Geant4/G4INCLCoulombDistortion.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 // INCL++ intra-nuclear cascade model
0027 // Alain Boudard, CEA-Saclay, France
0028 // Joseph Cugnon, University of Liege, Belgium
0029 // Jean-Christophe David, CEA-Saclay, France
0030 // Pekka Kaitaniemi, CEA-Saclay, France, and Helsinki Institute of Physics, Finland
0031 // Sylvie Leray, CEA-Saclay, France
0032 // Davide Mancusi, CEA-Saclay, France
0033 //
0034 #define INCLXX_IN_GEANT4_MODE 1
0035 
0036 #include "globals.hh"
0037 
0038 /** \file G4INCLCoulombDistortion.hh
0039  * \brief Static class for selecting Coulomb distortion.
0040  *
0041  * \date 14 February 2011
0042  * \author Davide Mancusi
0043  */
0044 
0045 #ifndef G4INCLCOULOMBDISTORTION_HH_
0046 #define G4INCLCOULOMBDISTORTION_HH_
0047 
0048 #include "G4INCLParticle.hh"
0049 #include "G4INCLNucleus.hh"
0050 #include "G4INCLICoulomb.hh"
0051 #include "G4INCLConfig.hh"
0052 
0053 namespace G4INCL {
0054 
0055   /**
0056    * Coulomb distortion
0057    */
0058   namespace CoulombDistortion {
0059     /** \brief Modify the momentum of an incoming particle and position it on
0060      *         the surface of the nucleus.
0061      *
0062      * This method places Particle p on the surface of Nucleus n and modifies
0063      * the direction of its momentum to be tangent to the Coulomb trajectory in
0064      * that point.
0065      *
0066      * The input particle has to be prepared with its asymptotic momentum. Its
0067      * position is used only for the purpose of computing the asymptotic impact
0068      * parameter; in other words, this method only uses the components of the
0069      * position that are perpendicular to the momentum. The remaining component
0070      * is not used, and can be set to any value.
0071      *
0072      * This method returns a ParticleEntry avatar for the projectile.
0073      *
0074      * \param p incoming particle
0075      * \param n distorting nucleus
0076      * \return the ParticleEntryAvatar for the projectile particle
0077      **/
0078     ParticleEntryAvatar *bringToSurface(Particle *p, Nucleus * const n);
0079 
0080     /** \brief Modify the momentum of an incoming cluster and position it on
0081      *         the surface of the target.
0082      *
0083      * Same as the Particle-based bringToSurface method, but for incoming heavy
0084      * ions.
0085      *
0086      * This method returns a list of ParticleEntry avatars for the participant
0087      * nucleons
0088      *
0089      * \param c incoming heavy ion
0090      * \param n distorting nucleus
0091      * \return a list of ParticleEntryAvatars
0092      **/
0093     IAvatarList bringToSurface(Cluster * const c, Nucleus * const n);
0094 
0095     /** \brief Modify the momentum of an outgoing particle. */
0096     void distortOut(ParticleList const &pL, Nucleus const * const n);
0097 
0098     /** \brief Return the maximum impact parameter for Coulomb-distorted
0099      *         trajectories. **/
0100     G4double maxImpactParameter(ParticleSpecies const &p, const G4double kinE, Nucleus const * const n);
0101 
0102     /** \brief Return the maximum impact parameter for Coulomb-distorted
0103      *         trajectories. **/
0104     G4double maxImpactParameter(Particle const * const p, Nucleus const * const n);
0105 
0106     /** \brief Set the Coulomb-distortion algorithm. */
0107     void setCoulomb(ICoulomb * const coulomb);
0108 
0109     /** \brief Delete the Coulomb-distortion object. */
0110     void deleteCoulomb();
0111 
0112     /// \brief Initialize the Coulomb-distortion algorithm
0113     void initialize(Config const * const theConfig);
0114 
0115   }
0116 }
0117 
0118 #endif /* G4INCLCOULOMBDISTORTION_HH_ */