Difference between revisions of "Occupancy for Sector 1"
Line 127: | Line 127: | ||
If we make the assumption that the beam of incoming electrons is a constant current over an area, | If we make the assumption that the beam of incoming electrons is a constant current over an area, | ||
− | <center><math>N_{incident}=I\ A_{beam}\rightarrow dN_{incident}=I\ dA_{beam}</math></center> | + | <center><math>N_{incident}=I\ A_{beam}\rightarrow dN_{incident}=I\ dA_{beam}\rightarrow \frac{dN_{incident}}{ dA_{beam}}=I</math></center> |
Using the definition of the differential cross section: | Using the definition of the differential cross section: | ||
− | <center><math>\frac{d\sigma}{d\Omega}\equiv \frac{ \Biggl(\frac{N_{scattered}}{d\Omega} \Biggr)}{\Biggl(\frac{N_{incident}}{dA}\Biggr)}</math></center> | + | <center><math>\frac{d\sigma}{d\Omega}\equiv \frac{ \Biggl(\frac{N_{scattered}}{d\Omega} \Biggr)}{\Biggl(\frac{N_{incident}}{dA}\Biggr)}\rightarrow \frac{d\sigma}{d\Omega}\frac{dN_{incident}}{ dA_{beam}}=\Biggl(\frac{N_{incident}}{dA}\Biggr)</math></center> |
=Occupancy= | =Occupancy= |
Revision as of 17:12, 25 April 2018
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
0.1 degree spacing in the Lab frame. CM Frame is not evenly spaced.
Applying the weight
Looking at the angles and the associated weight, we can find the sums
Once_Angles_and_weight=3399.930890560805437
Total_Angles_and_weight=1023379.198058736044914
Checking with Mathematica
"Integrating" with Cosine term
Finding the Cross Section
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.
Adjust for DC Sector 1 Limits
GEMC Cross Section
Only taking GEMC hits in Sector 1 with Track ID of the mother of the FP equal to zero:
Taking GEMC hits with ANY Track ID of the mother of the FP :
Using the Cross Section
If we make the assumption that the beam of incoming electrons is a constant current over an area,
Using the definition of the differential cross section:
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
For
FOR DC Limits
Calculating