#include <G4DopplerProfile.hh>
Definition at line 52 of file G4DopplerProfile.hh.
◆ G4DopplerProfile() [1/2]
G4DopplerProfile::G4DopplerProfile |
( |
G4int |
minZ = 1 , |
|
|
G4int |
maxZ = 100 |
|
) |
| |
Definition at line 55 of file G4DopplerProfile.cc.
void LoadProfile(const G4String &fileName, G4int Z)
void LoadBiggsP(const G4String &fileName)
◆ ~G4DopplerProfile()
G4DopplerProfile::~G4DopplerProfile |
( |
| ) |
|
Definition at line 69 of file G4DopplerProfile.cc.
71 std::map<G4int,G4VEMDataSet*,std::less<G4int> >::iterator
pos;
std::map< G4int, G4VEMDataSet *, std::less< G4int > > profileMap
static const G4double pos
◆ G4DopplerProfile() [2/2]
◆ LoadBiggsP()
void G4DopplerProfile::LoadBiggsP |
( |
const G4String & |
fileName | ) |
|
|
private |
Definition at line 119 of file G4DopplerProfile.cc.
121 std::ostringstream ost;
122 ost << fileName <<
".dat";
125 char* path = getenv(
"G4LEDATA");
135 std::ifstream
file(dirFile);
136 std::filebuf* lsdp =
file.rdbuf();
138 if (! (lsdp->is_open()) )
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
std::vector< G4double > biggsP
◆ LoadProfile()
void G4DopplerProfile::LoadProfile |
( |
const G4String & |
fileName, |
|
|
G4int |
Z |
|
) |
| |
|
private |
Definition at line 161 of file G4DopplerProfile.cc.
163 std::ostringstream ost;
164 ost << fileName <<
"-" <<
Z <<
".dat";
167 char* path = getenv(
"G4LEDATA");
170 G4String excep(
"G4LEDATA environment variable not set");
178 std::ifstream
file(dirFile);
179 std::filebuf* lsdp =
file.rdbuf();
181 if (! (lsdp->is_open()) )
204 for (
size_t i=0; i<
nBiggs; i++)
208 biggs->push_back(
biggsP[i]);
std::map< G4int, G4VEMDataSet *, std::less< G4int > > profileMap
std::vector< G4int > nShells
virtual G4VDataSetAlgorithm * Clone() const =0
virtual void AddComponent(G4VEMDataSet *dataSet)=0
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
std::vector< G4double > biggsP
◆ NumberOfProfiles()
size_t G4DopplerProfile::NumberOfProfiles |
( |
G4int |
Z | ) |
const |
◆ operator=()
◆ PrintData()
void G4DopplerProfile::PrintData |
( |
void |
| ) |
const |
Definition at line 109 of file G4DopplerProfile.cc.
const G4VEMDataSet * Profiles(G4int Z) const
virtual void PrintData(void) const =0
◆ Profile()
Definition at line 101 of file G4DopplerProfile.cc.
const G4VEMDataSet * Profiles(G4int Z) const
virtual const G4VEMDataSet * GetComponent(G4int componentId) const =0
◆ Profiles()
Definition at line 89 of file G4DopplerProfile.cc.
91 std::map<G4int,G4VEMDataSet*,std::less<G4int> >::const_iterator
pos;
92 if (Z < zMin || Z >
zMax)
std::map< G4int, G4VEMDataSet *, std::less< G4int > > profileMap
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
static const G4double pos
◆ RandomSelectMomentum()
Definition at line 227 of file G4DopplerProfile.cc.
const G4VEMDataSet * Profiles(G4int Z) const
virtual G4double RandomSelect(G4int componentId=0) const =0
◆ biggsP
std::vector<G4double> G4DopplerProfile::biggsP |
|
private |
◆ nBiggs
size_t G4DopplerProfile::nBiggs |
|
private |
◆ nShells
std::vector<G4int> G4DopplerProfile::nShells |
|
private |
◆ profileMap
◆ zMax
G4int G4DopplerProfile::zMax |
|
private |
◆ zMin
G4int G4DopplerProfile::zMin |
|
private |
The documentation for this class was generated from the following files: