// // ******************************************************************** // * License and Disclaimer * // * * // * The Geant4 software is copyright of the Copyright Holders of * // * the Geant4 Collaboration. It is provided under the terms and * // * conditions of the Geant4 Software License, included in the file * // * LICENSE and available at http://cern.ch/geant4/license . These * // * include a list of copyright holders. * // * * // * Neither the authors of this software system, nor their employing * // * institutes,nor the agencies providing financial support for this * // * work make any representation or warranty, express or implied, * // * regarding this software system or assume any liability for its * // * use. Please see the license in the file LICENSE and URL above * // * for the full disclaimer and the limitation of liability. * // * * // * This code implementation is the result of the scientific and * // * technical work of the GEANT4 collaboration. * // * By using, copying, modifying or distributing the software (or * // * any work based on the software) you agree to acknowledge its * // * use in resulting scientific publications, and indicate your * // * acceptance of all terms of the Geant4 Software license. * // ******************************************************************** // // $Id: G4NuclearLevel.hh,v 1.7 2010-11-17 19:17:17 vnivanch Exp $ // GEANT4 tag $Name: not supported by cvs2svn $ // // ------------------------------------------------------------------- // GEANT 4 class file // // For information related to this code contact: // CERN, IT Division, ASD group // CERN, Geneva, Switzerland // // File name: G4NuclearLevel // // Author: Maria Grazia Pia (pia@genova.infn.it) // // Creation date: 25 October 1998 // // Modifications: // 06 Oct 2010, M. Kelsey (kelsey@slac.stanford.edu) // Add friendship for G4NuclearLevelManager; define private // constructors without vectors. // // 21 Nov. 2001, Fan Lei (flei@space.qinetiq.com) // Added K->N+ internal conversion coefficiencies and their access // functions // // 15 April 1999, Alessandro Brunengo (Alessandro.Brunengo@ge.infn.it) // Added half-life, angular momentum, parity, emissioni type // reading from experimental data. // // 28 October 2010, V.Ivanchenko moved copy constructor to source, cleanup // // // ------------------------------------------------------------------- #ifndef G4NUCLEARLEVEL_HH #define G4NUCLEARLEVEL_HH 1 #include "globals.hh" #include class G4NuclearLevel { public: G4NuclearLevel(G4double energy, G4double halfLife, G4double angularMomentum, const std::vector& eGamma, const std::vector& wGamma, const std::vector& polarities, const std::vector& kCC, const std::vector& l1CC, const std::vector& l2CC, const std::vector& l3CC, const std::vector& m1CC, const std::vector& m2CC, const std::vector& m3CC, const std::vector& m4CC, const std::vector& m5CC, const std::vector& nPlusCC, const std::vector& totalCC); ~G4NuclearLevel(); const std::vector& GammaEnergies() const; const std::vector& GammaWeights() const; const std::vector& GammaProbabilities() const; const std::vector& GammaCumulativeProbabilities() const; const std::vector& GammaPolarities() const; const std::vector& KConvertionProbabilities() const; const std::vector& L1ConvertionProbabilities() const; const std::vector& L2ConvertionProbabilities() const; const std::vector& L3ConvertionProbabilities() const; const std::vector& M1ConvertionProbabilities() const; const std::vector& M2ConvertionProbabilities() const; const std::vector& M3ConvertionProbabilities() const; const std::vector& M4ConvertionProbabilities() const; const std::vector& M5ConvertionProbabilities() const; const std::vector& NPlusConvertionProbabilities() const; const std::vector& TotalConvertionProbabilities() const; G4double Energy() const; G4double AngularMomentum() const; G4double HalfLife() const; G4int NumberOfGammas() const; void PrintAll() const; G4bool operator==(const G4NuclearLevel &right) const; G4bool operator!=(const G4NuclearLevel &right) const; G4bool operator<(const G4NuclearLevel &right) const; const G4NuclearLevel& operator=(const G4NuclearLevel &right); G4NuclearLevel(const G4NuclearLevel &right); private: friend class G4NuclearLevelManager; G4NuclearLevel(); G4NuclearLevel(G4double energy, G4double halfLife, G4double angularMomentum); void Finalize(); void MakeProbabilities(); void MakeCumProb(); G4int Increment(G4int aF); std::vector _energies; std::vector _weights; std::vector _prob; std::vector _cumProb; std::vector _polarities; std::vector _kCC; std::vector _l1CC; std::vector _l2CC; std::vector _l3CC; std::vector _m1CC; std::vector _m2CC; std::vector _m3CC; std::vector _m4CC; std::vector _m5CC; std::vector _nPlusCC; std::vector _totalCC; G4double _energy; G4double _halfLife; G4double _angularMomentum; G4int _nGammas; }; #endif