100 {
101 aDataFile >> theMassCode>>theMass>>theIsomerFlag>>theDistLaw
102 >> theGroundStateQValue>>theActualStateQValue;
103 if( std::getenv("G4PHPTEST") )
104 G4cout <<
" G4ParticleHPProduct :: Init MassCode "
105 << theMassCode << " " << theMass << " theActualStateQValue "
106 << theActualStateQValue <<
G4endl;
107 if( std::getenv("G4PHPTEST") )
108 G4cout <<
" G4ParticleHPProduct :: Init theActualStateQValue "
109 << theActualStateQValue <<
G4endl;
110 theGroundStateQValue*= CLHEP::eV;
111 theActualStateQValue*= CLHEP::eV;
112 theYield.
Init(aDataFile, CLHEP::eV);
114 if(theDistLaw==0)
115 {
116
117
119 }
120 else if(theDistLaw == 1)
121 {
122
124 }
125 else if(theDistLaw == 2)
126 {
127
129 }
130 else if(theDistLaw == 3)
131 {
132
134 }
135 else if(theDistLaw == 4)
136 {
137
138
140
141
142
143 delete theDist;
144 theDist = 0;
145 }
146
147
148
149
150 else if(theDistLaw == 6)
151 {
152
154 }
155 else if(theDistLaw == 7)
156 {
157
159 }
160 else
161 {
162 throw G4HadronicException(__FILE__, __LINE__,
"distribution law unknown to G4ParticleHPProduct");
163 }
164 if(theDist!=0)
165 {
166 theDist->
SetQValue(theActualStateQValue);
167 theDist->
Init(aDataFile);
168 }
169 }
void Init(std::istream &aDataFile, G4int total, G4double ux=1., G4double uy=1.)
void SetQValue(G4double aValue)
virtual void Init(std::istream &aDataFile)=0