00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042 #include "G4QParentClusterVector.hh"
00043
00044 G4QParentCluster::G4QParentCluster(G4int PDGCode) : thePDGCode(PDGCode),theProbability(0.),
00045 nQPart2(0), lowLimit(0), highLimit(0), theEnvBoundedMass(0), theEnvBindingEnergy(0),
00046 theNucBoundedMass(0), theNucBindingEnergy(0) {}
00047
00048 G4QParentCluster::G4QParentCluster(G4int PDGCode, G4double prob) : thePDGCode(PDGCode),
00049 theProbability(prob), nQPart2(0), lowLimit(0), highLimit(0), theEnvBoundedMass(0),
00050 theEnvBindingEnergy(0), theNucBoundedMass(0), theNucBindingEnergy(0) {}
00051
00052 G4QParentCluster::G4QParentCluster(const G4QParentCluster& rhs)
00053 {
00054 thePDGCode = rhs.thePDGCode;
00055 theProbability = rhs.theProbability;
00056 nQPart2 = rhs.nQPart2;
00057 transQC = rhs.transQC;
00058 lowLimit = rhs.lowLimit;
00059 highLimit = rhs.highLimit;
00060 theEnvBoundedMass = rhs.theEnvBoundedMass;
00061 theEnvBindingEnergy = rhs.theEnvBindingEnergy;
00062 theNucBoundedMass = rhs.theNucBoundedMass;
00063 theNucBindingEnergy = rhs.theNucBindingEnergy;
00064 }
00065
00066 G4QParentCluster::G4QParentCluster(G4QParentCluster* rhs)
00067 {
00068 thePDGCode = rhs->thePDGCode;
00069 theProbability = rhs->theProbability;
00070 nQPart2 = rhs->nQPart2;
00071 transQC = rhs->transQC;
00072 lowLimit = rhs->lowLimit;
00073 highLimit = rhs->highLimit;
00074 theEnvBoundedMass = rhs->theEnvBoundedMass;
00075 theEnvBindingEnergy = rhs->theEnvBindingEnergy;
00076 theNucBoundedMass = rhs->theNucBoundedMass;
00077 theNucBindingEnergy = rhs->theNucBindingEnergy;
00078 }
00079
00080 const G4QParentCluster& G4QParentCluster::operator=(const G4QParentCluster& rhs)
00081 {
00082 if(this != &rhs)
00083 {
00084 thePDGCode = rhs.thePDGCode;
00085 theProbability = rhs.theProbability;
00086 nQPart2 = rhs.nQPart2;
00087 transQC = rhs.transQC;
00088 lowLimit = rhs.lowLimit;
00089 highLimit = rhs.highLimit;
00090 theEnvBoundedMass = rhs.theEnvBoundedMass;
00091 theEnvBindingEnergy = rhs.theEnvBindingEnergy;
00092 theNucBoundedMass = rhs.theNucBoundedMass;
00093 theNucBindingEnergy = rhs.theNucBindingEnergy;
00094 }
00095 return *this;
00096 }
00097
00098 G4QParentCluster::~G4QParentCluster() {}
00099
00100
00101 std::ostream& operator<<(std::ostream& lhs, G4QParentCluster& rhs)
00102 {
00103 lhs << "[ParClPDG=" << rhs.GetPDGCode() << ", probab=" << rhs.GetProbability() << "]";
00104 return lhs;
00105 }
00106
00107
00108 std::ostream& operator<<(std::ostream& lhs, const G4QParentCluster& rhs)
00109 {
00110 lhs << "[ParClPDG=" << rhs.GetPDGCode() << ", probab=" << rhs.GetProbability() << "]";
00111 return lhs;
00112 }
00113
00114
00115
00116
00117