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 //////////////////////////////////////////////////////////////////////////////// 27 // // 28 // File: G4ITDecay.hh // 29 // Author: D.H. Wright (SLAC) // 30 // Date: 14 November 2014 // 31 // Description: performs isomeric transition for excited states of // 32 // radioactive nuclei by emitting gammas or internal conversion // 33 // electrons, and returns daughter particles the rest frame // 34 // of the parent nucleus // 35 // // 36 //////////////////////////////////////////////////////////////////////////////// 37 38 #ifndef G4ITDecay_h 39 #define G4ITDecay_h 1 40 41 #include "G4NuclearDecay.hh" 42 43 class G4PhotonEvaporation; 44 45 class G4ITDecay : public G4NuclearDecay 46 { 47 public: 48 49 // constructor for sampling of radiaoctive decay in a thread 50 G4ITDecay(G4PhotonEvaporation* aPhotonEvap); 51 52 // constructor to define decay channels in the shared decay table 53 G4ITDecay(const G4ParticleDefinition* theParentNucleus, 54 const G4double& theBR, const G4double& Qvalue, 55 const G4double& excitation); 56 57 ~G4ITDecay() override = default; 58 59 void SetupDecay(const G4ParticleDefinition*); 60 61 G4DecayProducts* DecayIt(G4double) override; 62 63 void DumpNuclearInfo() override; 64 65 void SetARM(G4bool onoff) {applyARM = onoff;} 66 67 private: 68 69 G4int parentZ{0}; 70 G4int parentA{0}; 71 G4bool applyARM{true}; 72 73 G4PhotonEvaporation* photonEvaporation{nullptr}; 74 const G4ParticleDefinition* theParent{nullptr}; 75 }; 76 77 #endif 78 79