Geant4
10.01.p03
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
G4LevelManager.cc
Go to the documentation of this file.
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
// $Id: G4LevelManager.cc 86783 2014-11-18 08:43:58Z gcosmo $
27
//
28
// -------------------------------------------------------------------
29
//
30
// GEANT4 header file
31
//
32
// File name: G4NucLevel
33
//
34
// Author: V.Ivanchenko
35
//
36
// Creation date: 4 January 2012
37
//
38
// Modifications:
39
//
40
// -------------------------------------------------------------------
41
42
#include "
G4LevelManager.hh
"
43
#include "
G4LevelReader.hh
"
44
45
G4LevelManager::G4LevelManager
(
G4int
Z,
G4int
A
,
G4LevelReader
& reader,
46
const
G4String
& filename)
47
: theZ(Z),theA(A)
48
{
49
reader.
FillLevels
(Z, A, &
fLevel
, filename);
50
nLevels
=
fLevel
.size();
51
}
52
53
G4LevelManager::~G4LevelManager
()
54
{
55
if
(
nLevels
> 0) {
56
for
(
G4int
i=0; i<
nLevels
; ++i) {
delete
fLevel
[i]; }
57
}
58
}
59
G4LevelManager::~G4LevelManager
~G4LevelManager()
Definition:
G4LevelManager.cc:53
G4int
int G4int
Definition:
G4Types.hh:78
G4LevelReader.hh
G4LevelManager::G4LevelManager
G4LevelManager(G4int Z, G4int A, G4LevelReader &reader, const G4String &filename)
Definition:
G4LevelManager.cc:45
A
static const G4double A[nN]
Definition:
G4ElectroNuclearCrossSection.cc:115
G4LevelReader::FillLevels
void FillLevels(G4int Z, G4int A, std::vector< G4NucLevel * > *levels, const G4String &filename)
Definition:
G4LevelReader.cc:60
G4LevelManager.hh
G4LevelManager::nLevels
G4int nLevels
Definition:
G4LevelManager.hh:80
G4LevelManager::fLevel
std::vector< G4NucLevel * > fLevel
Definition:
G4LevelManager.hh:79
G4LevelReader
Definition:
G4LevelReader.hh:54
G4String
Definition:
G4String.hh:45
geant4.10.01.p03
source
processes
hadronic
models
de_excitation
photon_evaporation
src
G4LevelManager.cc
Generated on Fri Feb 19 2016 15:54:10 for Geant4 by
1.8.8