Project

General

Profile

List of Hall C Replay Variables » History » Version 4

Richard Trotta, 07/01/2020 02:49 PM

1 1 Richard Trotta
h1. List of Hall C Replay Variables
2 4 Richard Trotta
3
[[what-you-need]]
4
= What you need:
5
6
ROOT 5.34/35+ gcc compiler (general)
7
8
[[source-codes]]
9
= Source codes:
10
11
Located in *src* directory...
12
13
*TDISMC_EIC.cpp* : pion structure function with ep scattering at JLEIC
14
*TDISMC_EICn.cpp* : pion structure function with eD scattering at JLEIC
15
*TDISMC_EICK.cpp* : kaon structure function with ep scattering at JLEIC
16
*cteq/* : cteqpdf.h and data based call files (c++ wrapper) *cteq-tbls/*
17
: nucleon PDFs table *structure_functions/* : various regularization
18
form for pion SF/FF
19
20
[[how-to-change-inputs]]
21
= How to change inputs:
22
23
Located in *inputs* directory...
24
25
*kinematics.inputs* : edit this document to change simulation kinematics
26
(e.g. number of events, x range, Q2 range, pbeam, kbeam)
27
28
All other constants are changed in *src/TDISMC_EIC.h*
29
30
↓ Below you can see the current kinematics inputs ↓
31
32
33
+*In[8]:*+
34
[source, ipython3]
35
----
36
!more inputs/kinematics.input
37
----
38
39
40
+*Out[8]:*+
41
----
42
XMIN=0.001
43
XMAX=1.00
44
Q2MIN=1.0
45
Q2MAX=1100.0
46
NEVTS=500000
47
PBEAM=135.0
48
KBEAM=10.0
49
----
50
51
[[how-to-run]]
52
= How to run:
53
54
*./run_batch.sh * : Final states...(pi/p, pi/n, k/lambda)
55
56
↓ Below you can see an example for a pion and neutron final state
57
simulation ↓
58
59
60
+*In[7]:*+
61
[source, ipython3]
62
----
63
!./run_mesonMC.sh pi/n
64
----
65
66
67
+*Out[7]:*+
68
----
69
70
Pion with neutron final state selected
71
72
Warning in <TTree::Bronch>: TLorentzVector cannot be split, resetting splitlevel to 0
73
Warning in <TTree::Bronch>: TLorentzVector cannot be split, resetting splitlevel to 0
74
Warning in <TTree::Bronch>: TLorentzVector cannot be split, resetting splitlevel to 0
75
Warning in <TTree::Bronch>: TLorentzVector cannot be split, resetting splitlevel to 0
76
Warning in <TTree::Bronch>: TLorentzVector cannot be split, resetting splitlevel to 0
77
Warning in <TTree::Bronch>: TLorentzVector cannot be split, resetting splitlevel to 0
78
Your kinematics: [xBj_min:xBj_max] = [ 0.001000: 1.000000] 
79
Your kinematics: [Q2_min:Q2_max] = [ 1.000000:1100.000000] 
80
Incident Ion Mass   0.93827 GeV 
81
Incident Electron, Ion Momenta:  10.0000,   135.00 GeV/c | s_0 =  5400.1019 GeV^2 
82
Warning in <TTree::Bronch>: TLorentzVector cannot be split, resetting splitlevel to 0
83
Warning in <TTree::Bronch>: TLorentzVector cannot be split, resetting splitlevel to 0
84
Total of 57310 events out of 500000 Trials ============================] 100 %
85
(int) 57310
86
----
87
88
[[root-and-lund-outputs]]
89
= ROOT and LUND outputs:
90
91
In the *OUTPUTS* directory are the ROOT and LUND outputs for the
92
simulation for further analysis.
93
94
[[running-geant4]]
95
= Running GEANT4
96
97
Located in *g4e_files/* directory...
98
99
*./run_g4e.sh* : Will run the python script for the GEANT4 simulation
100
from the TDIS_lund.dat file *eic_g4e.py* : This python script will run
101
GEANT4 simulation for the lund file specified for detector='jleic' and
102
beamline='erhic'
103
104
_This code is maintained by Richard Trotta (trotta@cua.edu)._