collect S/B result for many runs

Asked by daniel camargo

Dear Experts,

I already have an script that makes ma5 run many times varying the cross-section of the signal (just to be clear why I use the same .lhco, that is because I just rescaled it for different phase-space points of my physical system ). Now, I want to collect the S/B end results after all the cuts passing, I've thought searching it by force in the main.tex counting column and lines and then printing the column and line where the S/B results holds, but that its not functional because if the numbers of cuts change that script will not work any more unless it change it too. So, How I can collect that in a more clever way? I mean, maybe inside the ma5 code there is the possibility to print the S/B result in another site or something, what do you think?

Thank you in advance!

Question information

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

HI Daniel,

You can indeed hack the output method. Please have a look here:
  madanalysis/IOinterface

Cheers,

Benjamin

On 20 Nov 2016, at 20:08 , daniel camargo <email address hidden> wrote:

> New question #404240 on MadAnalysis 5:
> https://answers.launchpad.net/madanalysis5/+question/404240
>
> Dear Experts,
>
> I already have an script that makes ma5 run many times varying the cross-section of the signal (just to be clear why I use the same .lhco, that is because I just rescaled it for different phase-space points of my physical system ). Now, I want to collect the S/B end results after all the cuts passing, I've thought searching it by force in the main.tex counting column and lines and then printing the column and line where the S/B results holds, but that its not functional because if the numbers of cuts change that script will not work any more unless it change it too. So, How I can collect that in a more clever way? I mean, maybe inside the ma5 code there is the possibility to print the S/B result in another site or something, what do you think?
>
> Thank you in advance!
>
>
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
daniel camargo (dacamargov) said :
#2

Now I get it but hacking it into the layout folder, thanks!