G4NuclearLevel.hh

Go to the documentation of this file.
00001 //
00002 // ********************************************************************
00003 // * License and Disclaimer                                           *
00004 // *                                                                  *
00005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
00006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
00007 // * conditions of the Geant4 Software License,  included in the file *
00008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
00009 // * include a list of copyright holders.                             *
00010 // *                                                                  *
00011 // * Neither the authors of this software system, nor their employing *
00012 // * institutes,nor the agencies providing financial support for this *
00013 // * work  make  any representation or  warranty, express or implied, *
00014 // * regarding  this  software system or assume any liability for its *
00015 // * use.  Please see the license in the file  LICENSE  and URL above *
00016 // * for the full disclaimer and the limitation of liability.         *
00017 // *                                                                  *
00018 // * This  code  implementation is the result of  the  scientific and *
00019 // * technical work of the GEANT4 collaboration.                      *
00020 // * By using,  copying,  modifying or  distributing the software (or *
00021 // * any work based  on the software)  you  agree  to acknowledge its *
00022 // * use  in  resulting  scientific  publications,  and indicate your *
00023 // * acceptance of all terms of the Geant4 Software license.          *
00024 // ********************************************************************
00025 //
00026 // $Id$
00027 //
00028 // -------------------------------------------------------------------
00029 //      GEANT 4 class file 
00030 //
00031 //      For information related to this code contact:
00032 //      CERN, IT Division, ASD group
00033 //      CERN, Geneva, Switzerland
00034 //
00035 //      File name:     G4NuclearLevel
00036 //
00037 //      Author:        Maria Grazia Pia (pia@genova.infn.it)
00038 // 
00039 //      Creation date: 25 October 1998
00040 //
00041 //      Modifications:
00042 //        06 Oct 2010, M. Kelsey (kelsey@slac.stanford.edu)
00043 //              Add friendship for G4NuclearLevelManager; define private
00044 //              constructors without vectors.
00045 //
00046 //        21 Nov. 2001, Fan Lei (flei@space.qinetiq.com)
00047 //              Added K->N+ internal  conversion coefficiencies and their access
00048 //              functions      
00049 //      
00050 //        15 April 1999, Alessandro Brunengo (Alessandro.Brunengo@ge.infn.it)
00051 //              Added half-life, angular momentum, parity, emissioni type
00052 //              reading from experimental data. 
00053 //
00054 //        28 October 2010, V.Ivanchenko moved copy constructor to source, cleanup
00055 //
00056 //      
00057 // -------------------------------------------------------------------
00058 
00059 #ifndef G4NUCLEARLEVEL_HH
00060 #define G4NUCLEARLEVEL_HH 1
00061 
00062 #include "globals.hh"
00063 #include <vector>
00064 
00065 class G4NuclearLevel 
00066 {
00067 
00068 public:
00069   G4NuclearLevel(G4double energy, G4double halfLife,
00070                  G4double angularMomentum, const std::vector<G4double>& eGamma,
00071                  const std::vector<G4double>& wGamma, const std::vector<G4double>& polarities,
00072                  const std::vector<G4double>& kCC, const std::vector<G4double>& l1CC,
00073                  const std::vector<G4double>& l2CC, const std::vector<G4double>& l3CC,
00074                  const std::vector<G4double>& m1CC, const std::vector<G4double>& m2CC,
00075                  const std::vector<G4double>& m3CC, const std::vector<G4double>& m4CC,
00076                  const std::vector<G4double>& m5CC, const std::vector<G4double>& nPlusCC,
00077                  const std::vector<G4double>& totalCC);
00078 
00079   ~G4NuclearLevel();
00080 
00081   const std::vector<G4double>& GammaEnergies() const;
00082  
00083   const std::vector<G4double>& GammaWeights() const;
00084 
00085   const std::vector<G4double>& GammaProbabilities() const;
00086 
00087   const std::vector<G4double>& GammaCumulativeProbabilities() const;
00088 
00089   const std::vector<G4double>& GammaPolarities() const;
00090 
00091   const std::vector<G4double>& KConvertionProbabilities() const;
00092 
00093   const std::vector<G4double>& L1ConvertionProbabilities() const;
00094 
00095   const std::vector<G4double>& L2ConvertionProbabilities() const;
00096 
00097   const std::vector<G4double>& L3ConvertionProbabilities() const;
00098 
00099   const std::vector<G4double>& M1ConvertionProbabilities() const;
00100 
00101   const std::vector<G4double>& M2ConvertionProbabilities() const;
00102 
00103   const std::vector<G4double>& M3ConvertionProbabilities() const;
00104 
00105   const std::vector<G4double>& M4ConvertionProbabilities() const;
00106 
00107   const std::vector<G4double>& M5ConvertionProbabilities() const;
00108 
00109   const std::vector<G4double>& NPlusConvertionProbabilities() const;
00110 
00111   const std::vector<G4double>& TotalConvertionProbabilities() const;
00112 
00113   G4double Energy() const;
00114 
00115   G4double AngularMomentum() const;
00116 
00117   G4double HalfLife() const;
00118 
00119   G4int NumberOfGammas() const;
00120 
00121   void PrintAll() const;  
00122 
00123   G4bool operator==(const G4NuclearLevel &right) const;
00124   G4bool operator!=(const G4NuclearLevel &right) const;
00125   G4bool operator<(const G4NuclearLevel &right) const;
00126   G4NuclearLevel& operator=(const G4NuclearLevel &right);
00127 
00128   G4NuclearLevel(const G4NuclearLevel &right);
00129 
00130 private:  
00131 
00132   friend class G4NuclearLevelManager;
00133 
00134   G4NuclearLevel();
00135 
00136   G4NuclearLevel(G4double energy, G4double halfLife,
00137                  G4double angularMomentum);
00138 
00139   void Finalize();
00140 
00141   void MakeProbabilities();
00142   void MakeCumProb();
00143   
00144   G4int Increment(G4int aF);
00145   
00146   std::vector<G4double> _energies;
00147   std::vector<G4double> _weights;
00148   std::vector<G4double> _prob;
00149   std::vector<G4double> _cumProb;
00150   std::vector<G4double> _polarities;
00151   std::vector<G4double> _kCC;
00152   std::vector<G4double> _l1CC;  
00153   std::vector<G4double> _l2CC;  
00154   std::vector<G4double> _l3CC;  
00155   std::vector<G4double> _m1CC;  
00156   std::vector<G4double> _m2CC;  
00157   std::vector<G4double> _m3CC;  
00158   std::vector<G4double> _m4CC;  
00159   std::vector<G4double> _m5CC;  
00160   std::vector<G4double> _nPlusCC;  
00161   std::vector<G4double> _totalCC;  
00162 
00163   G4double _energy;
00164   G4double _halfLife;
00165   G4double _angularMomentum;
00166   G4int _nGammas;
00167 };
00168 
00169 #endif
00170 
00171 
00172 
00173 
00174 
00175 

Generated on Mon May 27 17:49:06 2013 for Geant4 by  doxygen 1.4.7