1. Compile a model file.
2. Generate Events with CalcHEP.
Let's assume that your model file (in this case, "mc4bsm.mdl") in the mdl directory in the lanhep315 folder.
Usually, it would be better to make a separate folder for a complied model files.I
In the lanhep315 folder, let's make a tutorial folder
mkdir tutorial
Compile the model file by run lhep executable file,
./lhep -OutDir tutorial mdl/mc4bsm.mdl -CalcHEP
The above command will compile mc4bsm.mdl file in the mdl folder and produce files for calchep in a tutorial folder.
From now on, we will assume that your lanhep is installed in the following folder,
$HOME/MC4BSM/lanhep315
Launch CalcHEP in the CalcHEP user directory.
After launch CalcHEP,
Go to "IMPORT MODEL" section, enter
Keep pushing enter keys
DONE! After importing a model file, you can exit by push 'esc' button.
Now, we can do "Physics" with our own model.
Explained in the following tutorial by Neil Christensen HERE
But we need to modify batch_file as followings, (Due to the difference for the notation of anti-particles)
bath_lanhep
Model: MC4BSM_feynman
Gauge: Feynman
Process: p,p->uv,Uv
Decay: uv->u,p1
Decay: Uv->U,p1
Decay: uv->u,p2
Decay: Uv->U,p2
Decay: p2->e,Ev
Decay: p2->E,ev
Decay: ev->e,p1
Decay: Ev->E,p1
Composite: p=u,U,d,D,G
pdf1: cteq6l (proton)
pdf2: cteq6l (proton)
p1: 4000
p2: 4000
Number of events (per run step): 10000
Filename: MC4BSM
Parallelization method: local
Max number of cpus: 2
sleep time: 1
nSess_1: 5
nCalls_1: 10000
nSess_2: 5
nCalls_2: 100000
Let's save this file with different name from the one in CalcHEP tutorial. save it "batch_file_lanhep"
In the CalcHEP user directory,
./calchep_batch batch_file_lanhep
You can download at the bottom of this webpage:
mc4bsmLanHEP.tar.gz : A model file for CalcHEP (Generated by LanHEP)
batch_file_lanhep : A batch file for CalcHEP to generate events