37#ifndef G4ParticleHPChannel_h
38#define G4ParticleHPChannel_h 1
70 theIsotopeWiseData = 0;
88 theIsotopeWiseData = 0;
98 delete theChannelData;
103 if(theIsotopeWiseData != 0)
delete [] theIsotopeWiseData;
117 if ( theFinalStates != 0 )
119 for (
G4int i = 0 ; i < niso ; i++ )
121 delete theFinalStates[i];
123 delete [] theFinalStates;
125 if ( active != 0 )
delete [] active;
164 for(i=0; i<niso; i++)
166 if(theFinalStates[i]->
HasAnyData()) result =
true;
178 return theFinalStates;
static G4Neutron * Neutron()
G4bool HasAnyData(G4int isoNumber)
void UpdateData(G4int A, G4int Z, G4int index, G4double abundance, G4ParticleDefinition *projectile)
G4bool HasFSData(G4int isoNumber)
G4HadFinalState * ApplyYourself(const G4HadProjectile &theTrack, G4int isoNumber=-1)
G4bool IsActive(G4int isoNumber)
G4String GetFSType() const
void Init(G4Element *theElement, const G4String dirName)
G4ParticleHPChannel(G4ParticleDefinition *projectile)
void Harmonise(G4ParticleHPVector *&theStore, G4ParticleHPVector *theNew)
G4bool HasDataInAnyFinalState()
G4double GetWeightedXsec(G4double energy, G4int isoNumber)
G4ParticleHPFinalState ** GetFinalStates() const
G4bool Register(G4ParticleHPFinalState *theFS)
G4double GetXsec(G4double energy)
G4double GetFSCrossSection(G4double energy, G4int isoNumber)
void SetProduceFissionFragments(G4bool val)
static G4ParticleHPManager * GetInstance()