cross section of dataset with several samples

Asked by Giancarlo Panizzo

Dear MadAnalysts,

suppose I have two samples which I need to add in the same dataset for some reasons. The two samples have the same number of events, but different cross sections. Is there a way to correctly retrieve the correct cross section for the merged dataset, instead of just the average cross section (which is ok only if the two samples have the same xsec)?

Thanks

Giancarlo Panizzo

Question information

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

Dreat Giancarlo,

At this stage, it may be better to add them as two different dataset, possibly with the same color lines in the plot. This is at least what I would do.

Cheers,

Benj

> On 14 Mar 2017, at 19:23 , Giancarlo Panizzo <email address hidden> wrote:
>
> New question #559551 on MadAnalysis 5:
> https://answers.launchpad.net/madanalysis5/+question/559551
>
> Dear MadAnalysts,
>
> suppose I have two samples which I need to add in the same dataset for some reasons. The two samples have the same number of events, but different cross sections. Is there a way to correctly retrieve the correct cross section for the merged dataset, instead of just the average cross section (which is ok only if the two samples have the same xsec)?
>
> Thanks
>
> Giancarlo Panizzo
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
Giancarlo Panizzo (giancarlo-panizzo-h) said :
#2

Dear Benjamin,

Thanks, but this solution doesn't work for me, one sample is the negative
interference between signal and background, picked up collecting terms in
the relevant Alfa strong expansion of the squared amplitude.
Giancarlo

On 15 Mar 2017 06:13, "Benjamin Fuks" <email address hidden>
wrote:

> Your question #559551 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/559551
>
> Status: Open => Answered
>
> Benjamin Fuks proposed the following answer:
> Dreat Giancarlo,
>
> At this stage, it may be better to add them as two different dataset,
> possibly with the same color lines in the plot. This is at least what I
> would do.
>
> Cheers,
>
> Benj
>
>
> > On 14 Mar 2017, at 19:23 , Giancarlo Panizzo <question559551@answers.
> launchpad.net> wrote:
> >
> > New question #559551 on MadAnalysis 5:
> > https://answers.launchpad.net/madanalysis5/+question/559551
> >
> > Dear MadAnalysts,
> >
> > suppose I have two samples which I need to add in the same dataset for
> some reasons. The two samples have the same number of events, but
> different cross sections. Is there a way to correctly retrieve the correct
> cross section for the merged dataset, instead of just the average cross
> section (which is ok only if the two samples have the same xsec)?
> >
> > Thanks
> >
> > Giancarlo Panizzo
> >
> > --
> > You received this question notification because you are an answer
> > contact for MadAnalysis 5.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/madanalysis5/+question/559551/
> +confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/madanalysis5/+question/559551
>
> You received this question notification because you asked the question.
>

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

Hi Giancarlo,

I see. The option may be to use the text output of the program, and design your own plotting code from that.

Cheers,

Benjamin

> On 15 Mar 2017, at 06:28 , Giancarlo Panizzo <email address hidden> wrote:
>
> Question #559551 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/559551
>
> Status: Answered => Open
>
> Giancarlo Panizzo is still having a problem:
> Dear Benjamin,
>
> Thanks, but this solution doesn't work for me, one sample is the negative
> interference between signal and background, picked up collecting terms in
> the relevant Alfa strong expansion of the squared amplitude.
> Giancarlo
>
> On 15 Mar 2017 06:13, "Benjamin Fuks" <email address hidden>
> wrote:
>
>> Your question #559551 on MadAnalysis 5 changed:
>> https://answers.launchpad.net/madanalysis5/+question/559551
>>
>> Status: Open => Answered
>>
>> Benjamin Fuks proposed the following answer:
>> Dreat Giancarlo,
>>
>> At this stage, it may be better to add them as two different dataset,
>> possibly with the same color lines in the plot. This is at least what I
>> would do.
>>
>> Cheers,
>>
>> Benj
>>
>>
>>> On 14 Mar 2017, at 19:23 , Giancarlo Panizzo <question559551@answers.
>> launchpad.net> wrote:
>>>
>>> New question #559551 on MadAnalysis 5:
>>> https://answers.launchpad.net/madanalysis5/+question/559551
>>>
>>> Dear MadAnalysts,
>>>
>>> suppose I have two samples which I need to add in the same dataset for
>> some reasons. The two samples have the same number of events, but
>> different cross sections. Is there a way to correctly retrieve the correct
>> cross section for the merged dataset, instead of just the average cross
>> section (which is ok only if the two samples have the same xsec)?
>>>
>>> Thanks
>>>
>>> Giancarlo Panizzo
>>>
>>> --
>>> You received this question notification because you are an answer
>>> contact for MadAnalysis 5.
>>
>> --
>> If this answers your question, please go to the following page to let us
>> know that it is solved:
>> https://answers.launchpad.net/madanalysis5/+question/559551/
>> +confirm?answer_id=0
>>
>> If you still need help, you can reply to this email or go to the
>> following page to enter your feedback:
>> https://answers.launchpad.net/madanalysis5/+question/559551
>>
>> You received this question notification because you asked the question.
>>
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
Giancarlo Panizzo (giancarlo-panizzo-h) said :
#4

Thanks Benjamin Fuks, that solved my question.