Public Member Functions | Private Attributes

Generator Class Reference

Generator class. More...

#include <Generator.h>

Inheritance diagram for Generator:
Inheritance graph
Collaboration diagram for Generator:
Collaboration graph

List of all members.

Public Member Functions

 Generator ()
 ~Generator ()
void GeneratePrimaries (G4Event *event)
 Generate the requested primary particles.
G4int getBeamCharge ()
G4double getEbeam ()
G4double getepPhiMax ()
G4double getepPhiMin ()
G4double getepThetaMax ()
G4double getepThetaMin ()
void Print ()
G4int setBeamCharge (G4int)
 Set/Get beam charge.
G4double setEbeam (G4double)
 Set/Get beam kinetic energy.
G4double setepPhiMax (G4double)
 Set/Get ep Phi max.
G4double setepPhiMin (G4double)
 Set/Get ep Phi min.
G4double setepThetaMax (G4double)
 Set/Get ep Theta max.
G4double setepThetaMin (G4double)
 Set/Get ep Theta min.
G4ThreeVector Target_Distribution ()
 Return a location in the target following a triangular distribution.

Private Attributes

G4int BeamCharge
G4double cos_epThMax
G4double cos_epThMin
G4double Ebeam
G4bool ep_Elastic
G4double epPhi_Max
G4double epPhi_Min
G4double epTheta_Max
G4double epTheta_Min
G4ParticleGun * particleGun

Detailed Description

Generator class.

Definition at line 34 of file Generator.h.

Constructor & Destructor Documentation

Generator::Generator (  )


Definition at line 44 of file

References GN_Messenger::Instance(), and GN_Messenger::setGNptr().

Here is the call graph for this function:

Generator::~Generator (  )


Definition at line 77 of file

Member Function Documentation

void Generator::GeneratePrimaries ( G4Event *  event )

Generate the requested primary particles.

Definition at line 84 of file

G4int Generator::getBeamCharge (  )

Definition at line 175 of file

G4double Generator::getEbeam (  )

Definition at line 167 of file

G4double Generator::getepPhiMax (  )

Definition at line 203 of file

G4double Generator::getepPhiMin (  )

Definition at line 198 of file

G4double Generator::getepThetaMax (  )

Definition at line 193 of file

G4double Generator::getepThetaMin (  )

Definition at line 184 of file

void Generator::Print (  )


Definition at line 207 of file

G4int Generator::setBeamCharge ( G4int  q )

Set/Get beam charge.

Definition at line 171 of file

G4double Generator::setEbeam ( G4double  energy )

Set/Get beam kinetic energy.

Definition at line 161 of file

G4double Generator::setepPhiMax ( G4double  max )

Set/Get ep Phi max.

Definition at line 202 of file

G4double Generator::setepPhiMin ( G4double  min )

Set/Get ep Phi min.

Definition at line 197 of file

G4double Generator::setepThetaMax ( G4double  max )

Set/Get ep Theta max.

Definition at line 188 of file

G4double Generator::setepThetaMin ( G4double  min )

Set/Get ep Theta min.

Definition at line 179 of file

G4ThreeVector Generator::Target_Distribution (  )

Return a location in the target following a triangular distribution.

Definition at line 141 of file

Member Data Documentation

G4int Generator::BeamCharge [private]

Definition at line 95 of file Generator.h.

G4double Generator::cos_epThMax [private]

Definition at line 104 of file Generator.h.

G4double Generator::cos_epThMin [private]

Definition at line 103 of file Generator.h.

G4double Generator::Ebeam [private]

Definition at line 94 of file Generator.h.

G4bool Generator::ep_Elastic [private]

Definition at line 97 of file Generator.h.

Definition at line 99 of file Generator.h.

G4double Generator::epPhi_Max [private]

Definition at line 106 of file Generator.h.

G4double Generator::epPhi_Min [private]

Definition at line 105 of file Generator.h.

G4double Generator::epTheta_Max [private]

Definition at line 102 of file Generator.h.

G4double Generator::epTheta_Min [private]

Definition at line 101 of file Generator.h.

G4ParticleGun* Generator::particleGun [private]

Definition at line 92 of file Generator.h.

The documentation for this class was generated from the following files: