Geant4 Cross Reference |
1 // 2 // ******************************************************************** 3 // * License and Disclaimer * 4 // * * 5 // * The Geant4 software is copyright of the Copyright Holders of * 6 // * the Geant4 Collaboration. It is provided under the terms and * 7 // * conditions of the Geant4 Software License, included in the file * 8 // * LICENSE and available at http://cern.ch/geant4/license . These * 9 // * include a list of copyright holders. * 10 // * * 11 // * Neither the authors of this software system, nor their employing * 12 // * institutes,nor the agencies providing financial support for this * 13 // * work make any representation or warranty, express or implied, * 14 // * regarding this software system or assume any liability for its * 15 // * use. Please see the license in the file LICENSE and URL above * 16 // * for the full disclaimer and the limitation of liability. * 17 // * * 18 // * This code implementation is the result of the scientific and * 19 // * technical work of the GEANT4 collaboration. * 20 // * By using, copying, modifying or distributing the software (or * 21 // * any work based on the software) you agree to acknowledge its * 22 // * use in resulting scientific publications, and indicate your * 23 // * acceptance of all terms of the Geant4 Software license. * 24 // ******************************************************************** 25 // 26 //J.M. Quesada (August2008). Based on: 27 // 28 // Hadronic Process: Nuclear De-excitations 29 // by V. Lara (Oct 1998) 30 // 31 // 17-11-2010 V.Ivanchenko in constructor replace G4VEmissionProbability by 32 // G4EvaporationProbability and do not new and delete probability 33 // object at each call; use G4Pow 34 // 16-07-2019 V.Ivanchenko use C++11 35 36 #ifndef G4EvaporationChannel_h 37 #define G4EvaporationChannel_h 1 38 39 #include "G4VEvaporationChannel.hh" 40 41 class G4EvaporationProbability; 42 class G4CoulombBarrier; 43 class G4NuclearLevelData; 44 45 class G4EvaporationChannel : public G4VEvaporationChannel 46 { 47 public: 48 49 explicit G4EvaporationChannel(G4int A, G4int Z, 50 G4EvaporationProbability*); 51 52 ~G4EvaporationChannel() override; 53 54 void Initialise() override; 55 56 G4double GetEmissionProbability(G4Fragment* fragment) override; 57 58 G4Fragment* EmittedFragment(G4Fragment* theNucleus) override; 59 60 G4double ComputeInverseXSection(G4Fragment*, G4double kinEnergy) override; 61 62 G4double ComputeProbability(G4Fragment*, G4double kinEnergy) override; 63 64 inline G4int GetZ() const { return theZ; }; 65 66 inline G4int GetA() const { return theA; }; 67 68 inline G4EvaporationProbability* GetEvaporationProbability() 69 { return theProbability; } 70 71 G4EvaporationChannel(const G4EvaporationChannel & right) = delete; 72 const G4EvaporationChannel & operator= 73 (const G4EvaporationChannel & right) = delete; 74 G4bool operator==(const G4EvaporationChannel & right) const = delete; 75 G4bool operator!=(const G4EvaporationChannel & right) const = delete; 76 77 private: 78 79 G4NuclearLevelData* theLevelData; 80 81 // For evaporation probability calcualation 82 G4EvaporationProbability* theProbability; 83 84 // For Coulomb Barrier calculation 85 G4CoulombBarrier* theCoulombBarrier; 86 87 // This data member define the channel. 88 // They are initialised at object creation (constructor) time. 89 G4int theA; 90 G4int theZ; 91 G4int resA = 0; 92 G4int resZ = 0; 93 94 G4int secID; // Creator model ID for this model 95 96 G4double mass = 0.0; 97 G4double resMass = 0.0; 98 G4double ekinmax = 0.0; 99 G4double bCoulomb = 0.0; 100 G4double evapMass; 101 G4double evapMass2; 102 }; 103 104 #endif 105