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);
93 if ((*theChannels)[i]->IsItPossible(aFragment)) {
94 prob = (*theChannels)[i]->CalcEmissionProbability(aFragment);
97 probabilities[i] = probtot;
107 for (; i<nChannels; ++i) {
108 if(x <= probabilities[i]) {
break; }
110 return (*theChannels)[i];
~G4PreCompoundFragmentVector()
G4double CalculateProbabilities(const G4Fragment &aFragment)
G4PreCompoundFragmentVector(pcfvector *avector)
void SetVector(pcfvector *avector)
std::vector< G4VPreCompoundFragment * > pcfvector
G4VPreCompoundFragment * ChooseFragment()