Ignore:
Timestamp:
Nov 5, 2010, 3:45:55 PM (14 years ago)
Author:
garnier
Message:

update ti head

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/hadronic/models/pre_equilibrium/exciton_model/include/G4VPreCompoundFragment.hh

    r1337 r1340  
    2424// ********************************************************************
    2525//
    26 //
    27 // $Id: G4VPreCompoundFragment.hh,v 1.10 2009/02/10 16:01:37 vnivanch Exp $
    28 // GEANT4 tag $Name: geant4-09-04-beta-01 $
     26// $Id: G4VPreCompoundFragment.hh,v 1.11 2010/08/28 15:16:55 vnivanch Exp $
     27// GEANT4 tag $Name: geant4-09-03-ref-09 $
    2928//
    3029// J. M. Quesada (August 2008). 
     
    3534// JMQ (06 September 2008) Also external choice has been added for:
    3635//                      - superimposed Coulomb barrier (if useSICB=true)
     36// 20.08.2010 V.Ivanchenko added int Z and A and cleanup; added
     37//                        G4ParticleDefinition to constructor,
     38//                        inline method to build G4ReactionProduct;
     39//                        remove string name
     40//                       
    3741
    3842#ifndef G4VPreCompoundFragment_h
     
    4145#include "G4ios.hh"
    4246#include <iomanip>
    43 #include "G4ParticleTable.hh"
     47#include "G4ParticleDefinition.hh"
    4448#include "G4IonTable.hh"
    4549#include "G4Fragment.hh"
    4650#include "G4VCoulombBarrier.hh"
    47 
    48 class G4ReactionProduct;
     51#include "G4ReactionProduct.hh"
     52#include "G4PreCompoundParameters.hh"
     53#include "G4Pow.hh"
    4954
    5055class G4VPreCompoundFragment
    5156{
     57public: 
     58
    5259  // ============================
    5360  // Constructors and destructor
    5461  // ============================
    55  
    56 protected:
    57   // default constructor
    58   G4VPreCompoundFragment() {};
    5962   
    60 public: 
    61   // copy constructor
    62   G4VPreCompoundFragment(const G4VPreCompoundFragment &right);
    63    
    64   // constructor 
    65   G4VPreCompoundFragment(const G4double anA, const G4double aZ,
    66                          G4VCoulombBarrier * aCoulombBarrier,
    67                          const G4String &  aName);
    68 
     63  G4VPreCompoundFragment(const G4ParticleDefinition*,
     64                         G4VCoulombBarrier * aCoulombBarrier);
    6965 
    7066  virtual ~G4VPreCompoundFragment();
     
    7369  // operators
    7470  // ==========
    75  
    76   const G4VPreCompoundFragment&
    77   operator= (const G4VPreCompoundFragment &right);
    78  
    79   G4int operator==(const G4VPreCompoundFragment &right) const;
    80  
    81   G4int operator!=(const G4VPreCompoundFragment &right) const;
    8271 
    8372  friend std::ostream&
     
    8978  // Pure Virtual methods
    9079  // =====================
    91   virtual G4ReactionProduct * GetReactionProduct() const = 0;   
    9280 
    9381  // Initialization method
     
    10391  virtual G4double GetKineticEnergy(const G4Fragment & aFragment) = 0;
    10492
    105 public:
    106   inline G4double GetA() const;
     93  inline G4ReactionProduct * GetReactionProduct() const;       
     94
     95  inline G4int GetA() const;
    10796 
    108   inline G4double GetZ() const;
     97  inline G4int GetZ() const;
    10998 
    110   inline G4double GetRestA() const;
     99  inline G4int GetRestA() const;
    111100 
    112   inline G4double GetRestZ() const;
     101  inline G4int GetRestZ() const;
     102
     103  inline G4double ResidualA13() const;
    113104 
    114105  inline G4double GetCoulombBarrier() const;
     
    128119  inline G4double GetReducedMass() const;
    129120 
    130   inline const G4LorentzVector GetMomentum() const;
     121  inline const G4LorentzVector& GetMomentum() const;
    131122 
    132123  inline void  SetMomentum(const G4LorentzVector & value);
    133124 
    134   inline void  SetFragmentName(const G4String& aName);
    135  
    136125  inline const G4String GetName() const;
    137  
    138   inline void ResetStage();
    139 
    140   inline G4int GetStage() const;
    141 
    142   inline void IncrementStage();
    143126
    144127  //for inverse cross section choice
     
    147130  inline void UseSICB(G4bool);
    148131
     132protected:
    149133
     134  inline G4bool IsItPossible(const G4Fragment & aFragment) const;
     135
     136private:
     137
     138  // default constructor
     139  G4VPreCompoundFragment();
     140  // copy constructor
     141  G4VPreCompoundFragment(const G4VPreCompoundFragment &right);
     142  const G4VPreCompoundFragment&
     143  operator= (const G4VPreCompoundFragment &right); 
     144  G4int operator==(const G4VPreCompoundFragment &right) const;
     145  G4int operator!=(const G4VPreCompoundFragment &right) const;
    150146
    151147  // =============
     
    153149  // =============
    154150
    155 
    156 private:
    157  
    158   G4double theA;
    159  
    160   G4double theZ;
    161 private:
    162  
    163   G4double theRestNucleusA;
    164  
    165   G4double theRestNucleusZ;
    166 protected: 
    167   G4double theCoulombBarrier;
    168 private:
     151  const G4ParticleDefinition* particle;
    169152  G4VCoulombBarrier * theCoulombBarrierPtr;
    170153 
     154  G4int theA;
     155  G4int theZ;
     156  G4int theRestNucleusA;
     157  G4int theRestNucleusZ;
     158
     159  G4double theRestNucleusA13;
    171160  G4double theBindingEnergy;
     161  G4double theMaximalKineticEnergy;
     162  G4double theRestNucleusMass;
     163  G4double theReducedMass;
     164  G4double theMass;
    172165
    173   G4double theMaximalKineticEnergy;
     166  G4LorentzVector theMomentum;
    174167 
    175168protected:
     169
     170  G4PreCompoundParameters* theParameters;
     171  G4Pow* g4pow;
     172
    176173  G4double theEmissionProbability;
    177 private: 
    178   G4LorentzVector theMomentum;
    179  
    180   G4String theFragmentName;
     174  G4double theCoulombBarrier;
    181175
    182   G4int theStage;
    183 
    184 protected:
    185 //for inverse cross section choice
     176  //for inverse cross section choice
    186177  G4int OPTxs;
    187 //for superimposed Coulomb Barrier for inverse cross sections
     178  //for superimposed Coulomb Barrier for inverse cross sections
    188179  G4bool useSICB;
    189180};
Note: See TracChangeset for help on using the changeset viewer.