| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

G4DhNeutronCapture.cc

Go to the documentation of this file.
00001 #include "G4DataHelpers/G4DhNeutronCapture.h"
00002 
00003 G4DhNeutronCapture::G4DhNeutronCapture(): 
00004   capTargetZ(0.), capTargetA(0.), capTime(0.), gammaN(0)
00005 {
00006 }
00007 
00008 G4DhNeutronCapture::~G4DhNeutronCapture()
00009 {
00010 }
00011 
00012 void G4DhNeutronCapture::SetCapTargetZ(G4double targetZ)
00013 {
00014   capTargetZ = targetZ;
00015 }
00016 
00017 void G4DhNeutronCapture::SetCapTargetA(G4double targetA)
00018 {
00019   capTargetA = targetA;
00020 }
00021 
00022 void G4DhNeutronCapture::SetCapGammaN(G4int N)
00023 {
00024   gammaN = N;
00025 }
00026 
00027 void G4DhNeutronCapture::SetCapTime(G4double ctime)
00028 {
00029   capTime = ctime;
00030 }
00031 
00032 void G4DhNeutronCapture::SetCapGammaE(G4double *E, G4int N)
00033 {
00034   for(G4int i=0; i<N; i++)
00035     gammaE.push_back(E[i]);
00036 }
00037 
00038 void G4DhNeutronCapture::PushCapGammaE(G4double E)
00039 {
00040   gammaE.push_back(E);
00041 }
00042 
00043 G4int G4DhNeutronCapture::GetCapTargetZ()
00044 {
00045   return (G4int)capTargetZ;
00046 }
00047 
00048 G4int G4DhNeutronCapture::GetCapTargetA()
00049 {
00050   return (G4int)capTargetA;
00051 }
00052 
00053 G4int G4DhNeutronCapture::GetCapGammaN()
00054 {
00055   return gammaN;
00056 }
00057 
00058 G4double G4DhNeutronCapture::GetCapTime()
00059 {
00060   return capTime;
00061 }
00062 
00063 std::vector<G4double>& G4DhNeutronCapture::GetCapGammaE()
00064 {
00065   return gammaE;
00066 }
00067 
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:32:08 2011 for G4DataHelpers by doxygen 1.4.7