#include <G4QDecayChan.hh>
Definition at line 48 of file G4QDecayChan.hh.
◆ G4QDecayChan() [1/4]
G4QDecayChan::G4QDecayChan |
( |
| ) |
|
Definition at line 47 of file G4QDecayChan.cc.
47 :aDecayChanLimit(0.),theMinMass(0.)
48{}
◆ G4QDecayChan() [2/4]
Definition at line 50 of file G4QDecayChan.cc.
50 :
51 aDecayChanLimit(pLev)
52{
54 theMinMass =firstPDG->
GetMass();
55 aVecOfSecHadrons.push_back(firstPDG);
57 theMinMass+=secondPDG->
GetMass();
58 aVecOfSecHadrons.push_back(secondPDG);
59 if(PDG3)
60 {
62 theMinMass+=thirdPDG->
GetMass();
63 aVecOfSecHadrons.push_back(thirdPDG);
64 }
65#ifdef debug
66 G4cout<<
"G4QDecayChan is defined with pL="<<pLev<<
",1="<<PDG1<<
",2="<<PDG2<<
",3="<<PDG3
68#endif
69}
G4DLLIMPORT std::ostream G4cout
◆ G4QDecayChan() [3/4]
Definition at line 71 of file G4QDecayChan.cc.
72{
73 aDecayChanLimit = right.aDecayChanLimit;
74 theMinMass = right.theMinMass;
75
76 G4int nSH = right.aVecOfSecHadrons.size();
77 if(nSH)
for(
G4int ih=0; ih<nSH; ih++)
78 {
80 aVecOfSecHadrons.push_back(curPC);
81 }
82}
◆ G4QDecayChan() [4/4]
Definition at line 84 of file G4QDecayChan.cc.
85{
86 aDecayChanLimit = right->aDecayChanLimit;
87 theMinMass = right->theMinMass;
88
89 G4int nSH = right->aVecOfSecHadrons.size();
90 if(nSH)
for(
G4int ih=0; ih<nSH; ih++)
91 {
93 aVecOfSecHadrons.push_back(curPC);
94 }
95}
◆ ~G4QDecayChan()
G4QDecayChan::~G4QDecayChan |
( |
| ) |
|
Definition at line 97 of file G4QDecayChan.cc.
98{
99 G4int nSH=aVecOfSecHadrons.size();
100
101 if(nSH)std::for_each(aVecOfSecHadrons.begin(), aVecOfSecHadrons.end(),
DeleteQPDGCode());
102
103 aVecOfSecHadrons.clear();
104}
◆ GetDecayChanLimit()
G4double G4QDecayChan::GetDecayChanLimit |
( |
| ) |
const |
|
inline |
◆ GetMinMass()
G4double G4QDecayChan::GetMinMass |
( |
| ) |
const |
|
inline |
◆ GetVecOfSecHadrons()
◆ operator!=()
◆ operator=()
Definition at line 107 of file G4QDecayChan.cc.
108{
109 if(this != &right)
110 {
111 aDecayChanLimit = right.aDecayChanLimit;
112 theMinMass = right.theMinMass;
113
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++)
119 {
121 aVecOfSecHadrons.push_back(curPC);
122 }
123 }
124 return *this;
125}
◆ operator==()
◆ SetDecayChanLimit()
void G4QDecayChan::SetDecayChanLimit |
( |
G4double |
newDecChanLim | ) |
|
|
inline |
◆ SetMinMass()
void G4QDecayChan::SetMinMass |
( |
G4double |
newMinMass | ) |
|
|
inline |
◆ SetVecOfSecHadrons()
The documentation for this class was generated from the following files: