57 : zMin(minZ), zMax(maxZ)
72 std::map<G4int,G4RDVEMDataSet*,std::less<G4int> >::iterator
pos;
92 std::map<G4int,G4RDVEMDataSet*,std::less<G4int> >::const_iterator
pos;
93 if (Z < zMin || Z >
zMax)
94 G4Exception(
"G4RDDopplerProfile::Profiles()",
"OutOfRange",
122 std::ostringstream ost;
123 ost << fileName <<
".dat";
126 char* path = getenv(
"G4LEDATA");
129 G4String excep(
"G4LEDATA environment variable not set!");
136 std::ifstream
file(dirFile);
137 std::filebuf* lsdp = file.rdbuf();
139 if (! (lsdp->is_open()) )
157 G4Exception(
"G4RDDopplerProfile::LoadBiggsP()",
"InvalidCondition",
164 std::ostringstream ost;
165 ost << fileName <<
"-" << Z <<
".dat";
168 char* path = getenv(
"G4LEDATA");
171 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, G4RDVEMDataSet *, std::less< G4int > > profileMap
static const G4double pos
virtual void AddComponent(G4RDVEMDataSet *dataSet)=0
void LoadProfile(const G4String &fileName, G4int Z)
G4RDDopplerProfile(G4int minZ=1, G4int maxZ=100)
virtual void PrintData(void) const =0
std::vector< G4double > biggsP
const G4RDVEMDataSet * Profile(G4int Z, G4int ShellIndex) const
virtual G4RDVDataSetAlgorithm * Clone() const =0
std::vector< G4int > nShells
const XML_Char int const XML_Char * value
void LoadBiggsP(const G4String &fileName)
G4double RandomSelectMomentum(G4int Z, G4int shellIndex) const
virtual G4double RandomSelect(G4int componentId=0) const =0
const G4RDVEMDataSet * Profiles(G4int Z) const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
size_t NumberOfProfiles(G4int Z) const
virtual const G4RDVEMDataSet * GetComponent(G4int componentId) const =0