38#ifndef G4NeutronHPChannel_h
39#define G4NeutronHPChannel_h 1
62 theIsotopeWiseData = 0;
70 delete theChannelData;
75 if(theIsotopeWiseData != 0)
delete [] theIsotopeWiseData;
89 if ( theFinalStates != 0 )
91 for (
G4int i = 0 ; i < niso ; i++ )
93 delete theFinalStates[i];
95 delete [] theFinalStates;
97 if ( active != 0 )
delete [] active;
136 for(i=0; i<niso; i++)
138 if(theFinalStates[i]->
HasAnyData()) result =
true;
G4bool HasDataInAnyFinalState()
G4bool Register(G4NeutronHPFinalState *theFS)
G4HadFinalState * ApplyYourself(const G4HadProjectile &theTrack, G4int isoNumber=-1)
void Harmonise(G4NeutronHPVector *&theStore, G4NeutronHPVector *theNew)
G4bool HasAnyData(G4int isoNumber)
G4bool HasFSData(G4int isoNumber)
G4double GetFSCrossSection(G4double energy, G4int isoNumber)
G4bool IsActive(G4int isoNumber)
void UpdateData(G4int A, G4int Z, G4int index, G4double abundance)
G4double GetXsec(G4double energy)
void Init(G4Element *theElement, const G4String dirName)
G4double GetWeightedXsec(G4double energy, G4int isoNumber)