124{
125
127 {
129 = G4LogicalVolumeStore::GetInstance()->GetVolume("NeutronSource");
130 if(temp != NULL)
131 {
133 }
134
136 {
137 G4Exception("FFPrimaryGeneratorAction::"
138 "GeneratePrimaries(G4Event*)",
139 "Neutron source solid volume not found",
140 EventMustBeAborted,
141 "This run will be aborted");
142 }
143 }
144
145
147 {
149 ->GetVolume("NeutronSource");
150 }
151
153 {
154 G4Exception("FFPrimaryGeneratorAction::GetNeutronSourceCenter(void)",
155 "Neutron source physical volume not found",
156 EventMustBeAborted,
157 "This run will be aborted");
158 }
159
160
162 {
164 ->GetVolume("Tank_H2O");
165
167 {
168 G4Exception("FFPrimaryGeneratorAction::"
169 "GetNeutronSourceCenter(void)",
170 "Tank H2O physical volume not found",
171 EventMustBeAborted,
172 "This run will be aborted");
173 }
174 }
175
176
178 {
180 ->GetVolume("Tank_Wall");
181
183 {
184 G4Exception("FFPrimaryGeneratorAction::"
185 "GetNeutronSourceCenter(void)",
186 "Tank physical volume not found",
187 EventMustBeAborted,
188 "This run will be aborted");
189 }
190 }
191
195}