gibuu is hosted by Hepforge, IPPP Durham
GiBUU

TABLE OF CONTENTS


/EventInfo_HiLep [ Modules ]

[ Top ] [ Modules ]

NAME

module EventInfo_HiLep

PURPOSE

This module provides everything to store informations concerning reactions (not particles, cf. "module PartInfoList_nLead" etc.

Here we imply: The information about iEnsemble and iPart is impressed via

    ...%firstEvent = iEns*1000+iPart

NOTES

here we have a somehow more special situation, since the mudule-global variable "beamEnergy" is used in all calls.


EventInfo_HiLep/tEventInfo_HiLep [ Types ]

[ Top ] [ EventInfo_HiLep ] [ Types ]

SOURCE

  type tEventInfo_HiLep
     logical :: flagOK=.False.
     real    :: Weight=0.
     real    :: nu=0.
     real    :: Q2=0.
     real    :: eps=0.
     integer :: EventType=0     ! cf. module Electron_origin
     real    :: phi_Lepton=0.   ! for lepton induced events only
     real    :: W=0.            ! the value including fermi mom and potentials
     integer :: charge = 0      ! charge of target nucleon
     real, dimension(3)   :: pos = 0. ! position of target nucleon
     real, dimension(0:3) :: mom = 0. ! momentum of traget nucleon

  end type tEventInfo_HiLep

PURPOSE

This holds all information we want to store connected to HiLepton and HiPhoton induced reactions.


EventInfo_HiLep/beamEnergy [ Global module-variables ]

[ Top ] [ EventInfo_HiLep ] [ Global module-variables ]

SOURCE

  real,save :: beamEnergy = 0.

PURPOSE

This variable stores the electron beam energy


EventInfo_HiLep/EventInfo_HiLep_Init [ Subroutines ]

[ Top ] [ EventInfo_HiLep ] [ Subroutines ]

NAME

subroutine EventInfo_HiLep_Init(NumEnsembles,MassNum)

PURPOSE

if necessary allocate memory. Reset the corresponding arrays.

INPUTS

  • integer :: NumEnsembles -- number of ensembles
  • integer :: MassNum -- mass number of target (="A")

OUTPUT

---


EventInfo_HiLep/EventInfo_HiLep_Store [ Subroutines ]

[ Top ] [ EventInfo_HiLep ] [ Subroutines ]

NAME

subroutine EventInfo_HiLep_Store(i,j,Weight,nu,Q2,eps,EventType,Ebeam,phi_Lepton,W,pos,mom,charge)

PURPOSE

Store the event info connected with ensemble "i" and nucleon "j":

INPUTS

  • integer :: i -- actual Ensemble
  • integer :: j -- actual Nucleon
  • real :: Weight -- weigt of event
  • real :: nu,Q2,eps -- photonic variables
  • integer :: EventType -- cf. module Electron_origin
  • real :: Ebeam [OPTIONAL] -- energy of lepton beam
  • real :: phi_Lepton [OPTIONAL] -- phi-angle of lepton
  • real :: W [OPTIONAL] -- the value including fermi mom and potentials
  • real,dimension(3):: pos [OPTIONAL] -- position of the interaction
  • real,dimension(0:3):: mom [OPTIONAL] -- momentum of nucleon
  • integer:: charge [OPTIONAL] -- charge of nucleon

OUTPUT

---


EventInfo_HiLep/EventInfo_HiLep_Get [ Functions ]

[ Top ] [ EventInfo_HiLep ] [ Functions ]

NAME

logical function EventInfo_HiLep_Get(i,j,Weight,nu,Q2,eps,EventType,Ebeam,phi_Lepton,W,pos,mom,charge)

PURPOSE

Get the event info stored connected with ensemble "i" and nucleon "j".

if j>1000, the ensemble index is set by "i = j/1000"

INPUTS

  • integer :: i -- actual Ensemble
  • integer :: j -- actual Nucleon

OUTPUT

  • real :: Weight -- weigt of event
  • real :: nu,Q2,eps -- photonic variables
  • integer :: EventType -- cf. module Electron_origin
  • real :: Ebeam [OPTIONAL] -- energy of lepton beam
  • real :: phi_Lepton [OPTIONAL] -- phi-angle of lepton
  • real :: W [OPTIONAL] -- the value including fermi mom and potentials
  • real,dimension(3):: pos [OPTIONAL] -- position of the interaction
  • real,dimension(0:3):: mom [OPTIONAL] -- momentum of nucleon
  • integer:: charge [OPTIONAL] -- charge of nucleon


EventInfo_HiLep/EventInfo_HiLep_GetBeamEnergy [ Functions ]

[ Top ] [ EventInfo_HiLep ] [ Functions ]

NAME

real function EventInfo_HiLep_GetBeamEnergy()

PURPOSE

return the value of the variable "beamEnergy"

INPUTS

---

OUTPUT

value of the variable "beamEnergy"


EventInfo_HiLep/EventInfo_HiLep_Dump [ Subroutines ]

[ Top ] [ EventInfo_HiLep ] [ Subroutines ]

NAME

subroutine EventInfo_HiLep_Dump

PURPOSE

Dump the information to a file