how to add b tagging effeciency

Asked by sudesh gupta

Hi,
I'm a new user of Madanalysis5. I have two basic questions.
(1)How to add more than one background in ma5 script?
 I did in this way....

import signal.lhe.gz as sig
import back1.lhe.gz as back
import back2.lhe.gz as back
set sig.type=signal
set back.type=background

Then I'm getting cross-section for 20000 events (10 k for back1 and 10 k for back2) which is less than sum of cross section of both background. Why is it so? How can I resolve it?

(2)How can I add tagging efficiencies for reducible backgrounds in ma5 script.

Thanks

Question information

Language:
English Edit question
Status:
Answered
For:
MadAnalysis 5 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jack Y. Araz (jackaraz) said :
#1

Hi

> (1)How to add more than one background in ma5 script?
> I did in this way….
If your backgrounds are different samples, say ttbar, wjets etc I suggest naming them separately i.e.

import wjet.lhe.gz as wjet
import ttbar.lhe.gz as ttbar
set ttbar.type = background
set wjet.type = background

Giving the same name means that the sample will be treated as the same type of sample hence xsec is calculated by mean xsec over MC events.

> (2)How can I add tagging efficiencies for reducible backgrounds in ma5 script.
for tagging you will need to use showered events i.e. hepmc file. For details please see 2006.09387 <https://arxiv.org/abs/2006.09387> (table 7 for all possible options). Or tutorials can be found in here: https://madanalysis.irmp.ucl.ac.be/wiki/tutorials <https://madanalysis.irmp.ucl.ac.be/wiki/tutorials>

ready-to-use detector simulations can be found in `~/madanalysis5/madanalysis/input/` folder where we provide ATLAS_default.ma5 and CMS_default.ma5 cards. There you can find many more examples for tagging.

Cheers


Jack Y. Araz

> On Mar 9, 2021, at 6:05 PM, sudesh gupta <email address hidden> wrote:
>
> [EXTERNAL EMAIL]
>
> New question #695948 on MadAnalysis 5:
> https://answers.launchpad.net/madanalysis5/+question/695948
>
> Hi,
> I'm a new user of Madanalysis5. I have two basic questions.
> (1)How to add more than one background in ma5 script?
> I did in this way....
>
> import signal.lhe.gz as sig
> import back1.lhe.gz as back
> import back2.lhe.gz as back
> set sig.type=signal
> set back.type=background
>
> Then I'm getting cross-section for 20000 events (10 k for back1 and 10 k for back2) which is less than sum of cross section of both background. Why is it so? How can I resolve it?
>
>
> (2)How can I add tagging efficiencies for reducible backgrounds in ma5 script.
>
> Thanks
>
>
>
>
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
sudesh gupta (sudesh12) said :
#2

Thanks for your reply.
So tagging feature is not available for parton level analysis in madanalysis5, right?

Revision history for this message
Jack Y. Araz (jackaraz) said :
#3

Hi

Particle tagging without shower is not realistic; hence a the default feature. However you can do anything you like through expert mode.

cheers


Jack Y. Araz

> On Mar 11, 2021, at 4:30 AM, sudesh gupta <email address hidden> wrote:
>
> [EXTERNAL EMAIL]
>
> Question #695948 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/695948
>
> sudesh gupta posted a new comment:
> Thanks for your reply.
> So tagging feature is not available for parton level analysis in madanalysis5, right?
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
Jack Y. Araz (jackaraz) said :
#4

correction *not a default feature*


Jack Y. Araz

> On Mar 11, 2021, at 9:55 AM, Jack Y. Araz <email address hidden> wrote:
>
> [EXTERNAL EMAIL]
>
> Question #695948 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/695948
>
> Jack Y. Araz proposed the following answer:
> Hi
>
> Particle tagging without shower is not realistic; hence a the default
> feature. However you can do anything you like through expert mode.
>
> cheers
>
> —
> Jack Y. Araz
>
>
>> On Mar 11, 2021, at 4:30 AM, sudesh gupta <email address hidden> wrote:
>>
>> [EXTERNAL EMAIL]
>>
>> Question #695948 on MadAnalysis 5 changed:
>> https://answers.launchpad.net/madanalysis5/+question/695948
>>
>> sudesh gupta posted a new comment:
>> Thanks for your reply.
>> So tagging feature is not available for parton level analysis in madanalysis5, right?
>>
>> --
>> You received this question notification because you are an answer
>> contact for MadAnalysis 5.
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Can you help with this problem?

Provide an answer of your own, or ask sudesh gupta for more information if necessary.

To post a message you must log in.