source: trunk/source/processes/hadronic/models/de_excitation/photon_evaporation/include/G4NuclearLevelManager.hh @ 1196

Last change on this file since 1196 was 819, checked in by garnier, 16 years ago

import all except CVS

File size: 4.1 KB
Line 
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//      GEANT 4 class file
29//
30//      CERN, Geneva, Switzerland
31//
32//      File name:     G4NuclearLevelManager
33//
34//      Author:        Maria Grazia Pia (pia@genova.infn.it)
35//
36//      Creation date: 25 October 1998
37//
38//      Modifications:
39//        21 Nov. 2001, Fan Lei (flei@space.qinetiq.com)
40//              Added K->N+ internal  conversion coefficiencies and their access
41//              functions     
42//     
43//     
44//        15 April 1999, Alessandro Brunengo (Alessandro.Brunengo@ge.infn.it)
45//              Added half-life, angular momentum, parity, emissioni type
46//              reading from experimental data.
47//        02 May 2003,   Vladimir Ivanchenko remove rublic copy contructor
48//     
49// -------------------------------------------------------------------
50
51#ifndef G4NUCLEARLEVELMANAGER_HH
52#define G4NUCLEARLEVELMANAGER_HH
53
54#include "globals.hh"
55#include "G4PtrLevelVector.hh"
56#include "G4NuclearLevel.hh"
57#include "G4ios.hh"
58#include <fstream>
59
60class G4NuclearLevelManager 
61{
62
63public:
64
65  G4NuclearLevelManager();
66  G4NuclearLevelManager(const G4int Z, const G4int A, const G4String& filename);
67  G4NuclearLevelManager(const G4NuclearLevelManager & right); 
68
69  ~G4NuclearLevelManager();
70 
71  void SetNucleus(const G4int Z, const G4int A, const G4String& filename);
72
73  G4bool IsValid() const;
74
75  G4int NumberOfLevels() const;
76
77  const G4PtrLevelVector* GetLevels() const;
78
79  const G4NuclearLevel* NearestLevel(const G4double energy, const G4double eDiffMax=9999.*GeV) const;
80
81  const G4NuclearLevel* LowestLevel() const;
82  const G4NuclearLevel* HighestLevel() const;
83
84  G4double MinLevelEnergy() const;
85  G4double MaxLevelEnergy() const;
86
87  void PrintAll();
88 
89private: 
90
91  const G4NuclearLevelManager& operator=(const G4NuclearLevelManager &right);
92  G4bool operator==(const G4NuclearLevelManager &right) const;
93  G4bool operator!=(const G4NuclearLevelManager &right) const;
94
95  G4bool Read(std::ifstream& aDataFile);
96 
97  void MakeLevels();
98
99  G4int _nucleusA;
100  G4int _nucleusZ;
101  G4String _fileName;
102  G4bool _validity;
103  G4PtrLevelVector* _levels;
104 
105  G4double _levelEnergy;
106  G4double _gammaEnergy;
107  G4double _probability;
108  G4double _polarity;
109  G4double _halfLife;
110  G4double _angularMomentum;
111  G4double _kCC;
112  G4double _l1CC;
113  G4double _l2CC;
114  G4double _l3CC;
115  G4double _m1CC; 
116  G4double _m2CC;
117  G4double _m3CC;
118  G4double _m4CC;
119  G4double _m5CC;
120  G4double _nPlusCC;
121  G4double _totalCC;
122};
123
124#endif
Note: See TracBrowser for help on using the repository browser.