62 theChannelData =
nullptr;
69 std::istringstream theChannel(filename, std::ios::in);
71 man->GetDataStream(filename, theChannel);
75 G4cout <<
"G4ParticleHPIsoData::Init = " << filename <<
" " <<
A <<
" " << Z <<
G4endl;
78 if (Z == 1 && (aFile.
GetZ() != Z || aFile.
GetA() !=
A)) {
80 G4cout <<
"Skipped = " << filename <<
" " <<
A <<
" " << Z <<
G4endl;
87 if (theChannel.eof()) {
91 theChannel >> dummy >> dummy;
95 theChannelData->
Init(theChannel, nData, CLHEP::eV, abundance * CLHEP::barn);
G4String GetName(G4int A, G4int Z, G4String base, G4String rest)
G4bool Init(G4int A, G4int Z, G4double abun, G4String dirName, G4String aFSType)
void FillChannelData(G4ParticleHPVector *aBuffer)
static G4ParticleHPManager * GetInstance()
G4ParticleHPDataUsed GetName(G4int A, G4int Z, const G4String &base, const G4String &rest, G4bool &active)
const G4ParticleHPDataPoint & GetPoint(G4int i) const
void Init(std::istream &aDataFile, G4int total, G4double ux=1., G4double uy=1.)
G4int GetVectorLength() const
void SetPoint(G4int i, const G4ParticleHPDataPoint &it)