41 #ifndef G4PreCompoundFragmentVector_h
42 #define G4PreCompoundFragmentVector_h 1
50 typedef std::vector<G4VPreCompoundFragment*>
pcfvector;
90 for (
G4int i=0; i< nChannels; ++i) {
91 (*theChannels)[i]->Initialize(aFragment);
100 for (
G4int i=0; i< nChannels; ++i) {
101 G4double prob = (*theChannels)[i]->CalcEmissionProbability(aFragment);
103 probabilities[i] = probtot;
113 for (; i<nChannels; ++i) {
114 if(x <= probabilities[i]) {
break; }
116 return (*theChannels)[i];
~G4PreCompoundFragmentVector()
G4double CalculateProbabilities(const G4Fragment &aFragment)
G4PreCompoundFragmentVector(pcfvector *avector)
void SetVector(pcfvector *avector)
std::vector< G4VPreCompoundFragment * > pcfvector
G4VPreCompoundFragment * ChooseFragment()
void Initialize(const G4Fragment &aFragment)