Changing PDF from the terminal

Asked by John Heal

Hello,

I am trying to find a way to run calchep from a c++ file using system calls. The issue is that I need to be able to change between a proton anti-proton collision and proton proton collision depending on my input parameters. My first thought would be to use the terminal calls which is how I change the parameters and momenta of the colliding particles for each case, but I cannot find anything in the manual on how I would be able to change one the the S.F. functions between proton and anti-proton before running the subproc_cycle.

Any help would be greatly appreciated.

Best wishes,
John Heal

Question information

Language:
English Edit question
Status:
Solved
For:
CalcHEP Edit question
Assignee:
No assignee Edit question
Solved by:
John Heal
Solved:
Last query:
Last reply:
Revision history for this message
Alexander Pukhov (pukhov) said :
#1

We assume that the user sets structure function in GUI session and have not script for this setting, exept of batch command.
It can be easily written using technique presented in section 6 of arXiv:1207.6082. Let us know if you have a problem to realize that.

By the way, in C++ you can generate matrix element and call it ( Section 10). But we still don't prepare interface for phase space integration is this way. Could it be interesting for your project?

Best
  Alexander Pukhov.

Revision history for this message
John Heal (john-heal) said :
#2

Thank-you for the reply. The blind mode method has solved the problem.

Best wishes!
John Heal.