54 theMinMass =firstPDG->
GetMass();
55 aVecOfSecHadrons.push_back(firstPDG);
57 theMinMass+=secondPDG->
GetMass();
58 aVecOfSecHadrons.push_back(secondPDG);
62 theMinMass+=thirdPDG->
GetMass();
63 aVecOfSecHadrons.push_back(thirdPDG);
66 G4cout<<
"G4QDecayChan is defined with pL="<<pLev<<
",1="<<PDG1<<
",2="<<PDG2<<
",3="<<PDG3
73 aDecayChanLimit = right.aDecayChanLimit;
74 theMinMass = right.theMinMass;
76 G4int nSH = right.aVecOfSecHadrons.size();
77 if(nSH)
for(
G4int ih=0; ih<nSH; ih++)
80 aVecOfSecHadrons.push_back(curPC);
86 aDecayChanLimit = right->aDecayChanLimit;
87 theMinMass = right->theMinMass;
89 G4int nSH = right->aVecOfSecHadrons.size();
90 if(nSH)
for(
G4int ih=0; ih<nSH; ih++)
93 aVecOfSecHadrons.push_back(curPC);
99 G4int nSH=aVecOfSecHadrons.size();
101 if(nSH)std::for_each(aVecOfSecHadrons.begin(), aVecOfSecHadrons.end(),
DeleteQPDGCode());
103 aVecOfSecHadrons.clear();
111 aDecayChanLimit = right.aDecayChanLimit;
112 theMinMass = right.theMinMass;
114 G4int iSH = aVecOfSecHadrons.size();
115 if(iSH)
for(
G4int ii=0; ii<iSH; ii++)
delete aVecOfSecHadrons[ii];
116 aVecOfSecHadrons.clear();
117 G4int nSH = right.aVecOfSecHadrons.size();
118 if(nSH)
for(
G4int ih=0; ih<nSH; ih++)
121 aVecOfSecHadrons.push_back(curPC);
133 lhs <<
", N=" << n <<
": ";
134 for (
int i=0; i<
n; i++)
138 lhs << VSH[i]->GetPDGCode();