Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

MJGeneratorPNNL Class Reference

#include <MJGeneratorPNNL.hh>

Inheritance diagram for MJGeneratorPNNL:

MJVGenerator List of all members.

Public Member Functions

 MJGeneratorPNNL ()
 MJGeneratorPNNL (const MJGeneratorPNNL &)
 ~MJGeneratorPNNL ()
void BeginOfRunAction (const G4Run *run)
void EndOfRunAction (const G4Run *run)
void GeneratePrimaryVertex (G4Event *event)
void SetParticlePosition (G4ThreeVector vec)
void SetPNNLSourceAge (G4double source_age)
void SetPNNLDecayChainFile (G4String DecayChain_file)
void SetPosition (G4ThreeVector pos)

Private Member Functions

void pick_point_in_circle (G4double R, G4double &x, G4double &y)

Private Attributes

G4ParticleGun * fParticleGun
G4int num_events
G4int igen_flag
G4int idirection_flag
G4double E_gamma
G4double RADIUS_DETECTOR
G4double ZPOS_DETECTOR
MJGeneratorPNNLRadioisotopef_pRadioIsotope
MJGeneratorPNNLDecayChainf_pPNNLDecayChain
G4int hist_cascade [3]
G4int hist_isotope [10]
G4bool fFirstCall
G4bool fUsePNNLGen
G4String fPNNL_DecayChain_file
G4double fPNNL_source_age
G4ThreeVector fPosition

Constructor & Destructor Documentation

MJGeneratorPNNL::MJGeneratorPNNL  ) 
 

AUTHOR: D. Jordan CONTACT: FIRST SUBMISSION: Wed Jul 7 18:12:47 PDT 2004

REVISION:

07-08-2004, Created and included D. Jordan's Code, R. Henning

Definition at line 70 of file MJGeneratorPNNL.cc.

References fPosition.

MJGeneratorPNNL::MJGeneratorPNNL const MJGeneratorPNNL  ) 
 

Definition at line 80 of file MJGeneratorPNNL.cc.

MJGeneratorPNNL::~MJGeneratorPNNL  ) 
 

Definition at line 85 of file MJGeneratorPNNL.cc.


Member Function Documentation

void MJGeneratorPNNL::BeginOfRunAction const G4Run *  run  )  [virtual]
 

Reimplemented from MJVGenerator.

Definition at line 93 of file MJGeneratorPNNL.cc.

References fFirstCall, fParticleGun, fUsePNNLGen, hist_isotope, and MJLog.

void MJGeneratorPNNL::EndOfRunAction const G4Run *  run  )  [virtual]
 

Reimplemented from MJVGenerator.

Definition at line 106 of file MJGeneratorPNNL.cc.

References hist_isotope, and MJLog.

void MJGeneratorPNNL::GeneratePrimaryVertex G4Event *  event  )  [virtual]
 

Implements MJVGenerator.

Definition at line 116 of file MJGeneratorPNNL.cc.

References MJGeneratorPNNLDecayChain::DoCascadeEvent(), f_pPNNLDecayChain, fFirstCall, fParticleGun, fPNNL_DecayChain_file, fPNNL_source_age, fPosition, fUsePNNLGen, MJGeneratorPNNLCascadeEvent::GetChargedParticleE(), MJGeneratorPNNLCascadeEvent::GetGammaList(), MJGeneratorPNNLDecayChain::GetIndexOfLastIsotopeSampled(), MJGeneratorPNNLCascadeEvent::GetNumGammas(), hist_isotope, MJLog, and num_events.

void MJGeneratorPNNL::pick_point_in_circle G4double  R,
G4double &  x,
G4double &  y
[private]
 

void MJGeneratorPNNL::SetParticlePosition G4ThreeVector  vec  )  [inline, virtual]
 

Implements MJVGenerator.

Definition at line 93 of file MJGeneratorPNNL.hh.

References SetPosition().

void MJGeneratorPNNL::SetPNNLDecayChainFile G4String  DecayChain_file  )  [inline]
 

Definition at line 97 of file MJGeneratorPNNL.hh.

References fPNNL_DecayChain_file.

Referenced by MJGeneratorPNNLMessenger::SetNewValue().

void MJGeneratorPNNL::SetPNNLSourceAge G4double  source_age  )  [inline]
 

Definition at line 95 of file MJGeneratorPNNL.hh.

References fPNNL_source_age.

Referenced by MJGeneratorPNNLMessenger::SetNewValue().

void MJGeneratorPNNL::SetPosition G4ThreeVector  pos  )  [inline]
 

Definition at line 99 of file MJGeneratorPNNL.hh.

References fPosition.

Referenced by MJGeneratorPNNLMessenger::SetNewValue(), and SetParticlePosition().


Member Data Documentation

G4double MJGeneratorPNNL::E_gamma [private]
 

Definition at line 113 of file MJGeneratorPNNL.hh.

MJGeneratorPNNLDecayChain* MJGeneratorPNNL::f_pPNNLDecayChain [private]
 

Definition at line 118 of file MJGeneratorPNNL.hh.

Referenced by GeneratePrimaryVertex().

MJGeneratorPNNLRadioisotope* MJGeneratorPNNL::f_pRadioIsotope [private]
 

Definition at line 117 of file MJGeneratorPNNL.hh.

G4bool MJGeneratorPNNL::fFirstCall [private]
 

Definition at line 123 of file MJGeneratorPNNL.hh.

Referenced by BeginOfRunAction(), and GeneratePrimaryVertex().

G4ParticleGun* MJGeneratorPNNL::fParticleGun [private]
 

Definition at line 109 of file MJGeneratorPNNL.hh.

Referenced by BeginOfRunAction(), and GeneratePrimaryVertex().

G4String MJGeneratorPNNL::fPNNL_DecayChain_file [private]
 

Definition at line 125 of file MJGeneratorPNNL.hh.

Referenced by GeneratePrimaryVertex(), and SetPNNLDecayChainFile().

G4double MJGeneratorPNNL::fPNNL_source_age [private]
 

Definition at line 126 of file MJGeneratorPNNL.hh.

Referenced by GeneratePrimaryVertex(), and SetPNNLSourceAge().

G4ThreeVector MJGeneratorPNNL::fPosition [private]
 

Definition at line 128 of file MJGeneratorPNNL.hh.

Referenced by GeneratePrimaryVertex(), MJGeneratorPNNL(), and SetPosition().

G4bool MJGeneratorPNNL::fUsePNNLGen [private]
 

Definition at line 124 of file MJGeneratorPNNL.hh.

Referenced by BeginOfRunAction(), and GeneratePrimaryVertex().

G4int MJGeneratorPNNL::hist_cascade[3] [private]
 

Definition at line 120 of file MJGeneratorPNNL.hh.

G4int MJGeneratorPNNL::hist_isotope[10] [private]
 

Definition at line 121 of file MJGeneratorPNNL.hh.

Referenced by BeginOfRunAction(), EndOfRunAction(), and GeneratePrimaryVertex().

G4int MJGeneratorPNNL::idirection_flag [private]
 

Definition at line 112 of file MJGeneratorPNNL.hh.

G4int MJGeneratorPNNL::igen_flag [private]
 

Definition at line 111 of file MJGeneratorPNNL.hh.

G4int MJGeneratorPNNL::num_events [private]
 

Definition at line 110 of file MJGeneratorPNNL.hh.

Referenced by GeneratePrimaryVertex().

G4double MJGeneratorPNNL::RADIUS_DETECTOR [private]
 

Definition at line 114 of file MJGeneratorPNNL.hh.

G4double MJGeneratorPNNL::ZPOS_DETECTOR [private]
 

Definition at line 115 of file MJGeneratorPNNL.hh.


The documentation for this class was generated from the following files:
Generated on Mon Nov 29 16:58:56 2004 for Majorana Simulation by  doxygen 1.3.9.1