Functions

Generator.cc File Reference

Source file for Generator class used for defining the OLYMPUS event generator. More...

#include "Generator.h"
#include "GN_Messenger.h"
#include "G4ParticleGun.hh"
#include "G4Event.hh"
#include "G4ThreeVector.hh"
#include "G4ParticleTable.hh"
#include "Randomize.hh"
#include <cmath>
Include dependency graph for Generator.cc:

Go to the source code of this file.

Functions

G4double epCrossSection (const G4double &E, const G4double &theta3, const G4double &Ep, const G4double &Q2)
 Calculate the ep elastic cross section.

Detailed Description

Source file for Generator class used for defining the OLYMPUS event generator.

This defines the Generator class and the member routines which generate the primary events for the OLYMPUS Monte Carlo

Author:
D.K. Hasell
Version:
1.0
Date:
2010-10-14

Definition in file Generator.cc.


Function Documentation

G4double epCrossSection ( const G4double &  E,
const G4double &  theta3,
const G4double &  Ep,
const G4double &  Q2 
)

Calculate the ep elastic cross section.

Definition at line 281 of file Generator.cc.