# Occupancy for Sector 1

Jump to navigation Jump to search

A bash script to run the GEMC simulations is created. tcsh scripts to run root2evio on lds2 is called using sshpass. The lds2 scripts use sshfs The main script on lds3:

The 3 scripts on lds2:

# LUND File Output

Uniform spacing in Lab frame, not in CM frame.

# Finding the Cross Section

## Total cross section over DC limits

If we make the assumption that the beam of incoming electrons is a flux over an area for a given time,

Using the definition of the differential cross section:

Substituting using the flux

Since the differential cross section is known in the Center of Mass frame of reference, but measurements are taken in the Lab Frame, a transformation must occur.

If we divide both sides by time

Performing a Riemann sum for

The cross section should be equal between both frames since the number of particles is an invariant. The differential cross section must differ between frames since the solid angle does vary.

From the expression found earlier:

# GEMC Cross Section

## CORRELATED HITS

CORRELATED conditions
GEMC conditions Meaning
Uses LUND θ and φ values
k=0 1st registered hit
dpid[k]=11 Electron
tid[k]=2 Moller electron from LUND file
mpid[k]=0 The mother particle implied from LUND file
sector[k]=1 Hit is in sector 1
ACTUAL conditions
GEMC conditions Meaning
Calculates θ and φ values from AVG positions
k=0 1st registered hit
dpid[k]=11 Electron
tid[k]=2 Moller electron from LUND file
mpid[k]=0 The mother particle implied from LUND file
sector[k]=1 Hit is in sector 1

# Number of Hits on Wires

Not all 1st hits are on layer 1, so we use the correlated theoretical wire number associated with the LUND Theta and Phi values. The theoretical model has events which are detected by physically impossible valued wires. If we limit the lowest wire value to 0.5 and the highest to less than 112.5

# Occupancy

LH2_NOSol_0Tor_11GeV_IsotropicPhi_v2_6_ShieldOut

Run

./BUILD_GEMC_SIMULATION.sh



## Clas12Mon

Create hipo file

Move hipo file to clas12mon folder

mv LH2_NOSol_0Tor_11GeV_IsotropicPhi_v2_6_ShieldOut.hipo ~/clas12mon


Run monitor program

./README


Load hipo file

"Press H for hipo"
"Press play"
"Switch to


.

.

.

.

.

.

.

.

.

.

.

.