45 int GetZA(){
return atoi(fIsotopeName.c_str());}
67 void PrintFormatted(
string BaseName,
string BaseVersion,
string Builder,ostream &Out=cout);
68 void AddNewPathInDirLine(
string path);
72 void ClearDoubleSpace(
string &Line);
75 void ContinuationSymbol(
string *Line,
int N);
int A()
returns nucleon number
Definition: XSDIRLine.hxx:47
int GetEntriesPerRecord()
returns entries per record
Definition: XSDIRLine.hxx:44
string fPtable
ptable card (if exists)
Definition: XSDIRLine.hxx:91
string GetXSFileName()
returns the XS file name (path/filename)
Definition: XSDIRLine.hxx:55
string GetExtension()
returns in ZA.id name, the ".id" string
Definition: XSDIRLine.hxx:53
int fDataType
Data Type (1=ascii, 2=binary)
Definition: XSDIRLine.hxx:82
double GetTemperature()
returns the temperature at which XS are processed
Definition: XSDIRLine.hxx:38
string fXSFileName
File Name of the Original ENDF Library.
Definition: XSDIRLine.hxx:83
int GetTableLength()
returns the length of the 2nd block
Definition: XSDIRLine.hxx:42
string fExtension
Isotope extension (e.g. ".60c")
Definition: XSDIRLine.hxx:85
Extract all parameters from an XSDIR line.
Definition: XSDIRLine.hxx:20
int fContinuationPosition
Position of Continuation symbol in the Current fLine.
Definition: XSDIRLine.hxx:78
int GetStartRecord()
returns the starting record of data
Definition: XSDIRLine.hxx:41
string GetDirLine()
returns the xsdir line
Definition: XSDIRLine.hxx:57
char fContinuationSymbol
Continuation symbol in xsdir (a "+" or "&")
Definition: XSDIRLine.hxx:77
void SetI(int I)
Set isomeric state to I.
Definition: XSDIRLine.hxx:51
int I()
returns isomeric state (0=ground state, 1= 1st excited,...)
Definition: XSDIRLine.hxx:48
double GetTemperatureInMeV()
returns the temperature at which XS are processed
Definition: XSDIRLine.hxx:39
int fZ
number of protons
Definition: XSDIRLine.hxx:93
string fPath
the path where to find library if given else 0
Definition: XSDIRLine.hxx:90
char GetExtensionType()
returns the extension type (e.g. in 92238.60c returns "c")
Definition: XSDIRLine.hxx:54
int fStartRecord
First Start Record for the Isotope.
Definition: XSDIRLine.hxx:86
string fIsotopeName
Isotope Name of the Original ENDF Library.
Definition: XSDIRLine.hxx:84
string GetPtable()
returns the "ptable" string when exists in xsdir line
Definition: XSDIRLine.hxx:52
int fI
Isomeric state (Ground State, ith excited)
Definition: XSDIRLine.hxx:95
void SetA(int A)
set nucleon number
Definition: XSDIRLine.hxx:50
int GetDataType()
returns data type storage (1=ascii, 2=binary)
Definition: XSDIRLine.hxx:40
string GetIsotopeName()
returns Isotope name (e.g. in 92238.60c returns "92238")
Definition: XSDIRLine.hxx:56
double fTemperature
Temperature of the Cross-section.
Definition: XSDIRLine.hxx:81
string fDirLine
the whole Line
Definition: XSDIRLine.hxx:92
const double kTperK
Value of kT per kelvin in MeV.
Definition: XSDIRLine.hxx:13
Class extracting fields from a string / line.
Definition: StringLine.hxx:49
int GetRecordLength()
returns the record length
Definition: XSDIRLine.hxx:43
int fTableLength
Length of the second block (XS table)
Definition: XSDIRLine.hxx:87
void SetZ(int Z)
set proton number
Definition: XSDIRLine.hxx:49
string GetPath()
returns the path if exist else 0
Definition: XSDIRLine.hxx:58
double fMass
Mass of an isotope in neutron mass unit (MCNP convention)
Definition: XSDIRLine.hxx:80
int fA
number of nucleons (A=0 means natural isotopes)
Definition: XSDIRLine.hxx:94
double GetMass()
returns the nucleide weight in Atomic Mass Unit
Definition: XSDIRLine.hxx:37
int Z()
returns proton number
Definition: XSDIRLine.hxx:46
int fRecordLength
Length of a record.
Definition: XSDIRLine.hxx:88
int fEntriesPerRecord
Number of entries per record.
Definition: XSDIRLine.hxx:89
Header file for StingLine class.
int GetZA()
returns the ZA=Z*1000+A
Definition: XSDIRLine.hxx:45