Processing a SAF file

Asked by Nicolas Deutschmann

Hello,

I am trying to change an analysis generated in the non-expert mode to add other cuts. I managed to do that but do not know how to update the reports from the SAF file generated by MadAnalysis5Job.

From slides I found on your website I figure this is done by the python interface, right ? How should I use it to produce a new TeX report ?

Cheers,
Nicolas Deutschmann.

Question information

Language:
English Edit question
Status:
Solved
For:
MadAnalysis 5 Edit question
Assignee:
No assignee Edit question
Solved by:
Nicolas Deutschmann
Solved:
Last query:
Last reply:
Revision history for this message
Benjamin Fuks (fuks) said :
#1

Hi Nicolas,

For the moment, it is not possible to import an analysis result in the python mode. This is on our to-do list, but this may take time. I suggest that you write your own routine for analyzing the SAF output. Another option would be to let us know the variable(s) you are interested in and we could help integrating them at the python level (if doable).

Cheers,

Benjamin

PS: a new version of the expert mode should appear in v1.1.10 that could help you, but I am not sure this will be there before Xmas.

Revision history for this message
Nicolas Deutschmann (ndeutschmann) said :
#2

Hi Benjamin,

Ok thanks for the answer. I'll process the file myself then
I am making a cut on hadronic transverse momentum in a DeltaR cone around leptons with a condition scalarsum(pt(H),H with DeltaR(H,l)<0.3)<0.x*pt(l). This might be too specific to implement while simple to code so I'm not sure it's worth integrating it at the python level, but that is your call :)

Cheers,
Nicolas.

Revision history for this message
Benjamin Fuks (fuks) said :
#3

Hi Nicolas,

This kind of variables is actually on our to-do list, but with a low priority (maybe in a few months).

Cheers,

Benjamin