how to plot lepton distribution with hepmc
Hi,
I generate p p > w- w+ h [QCD].
I use madspin to decay w- > l- vl~; w+ > l+ vl (l=e,mu); h> b b~ and use pythia8 to do the parton shower.
I set mu,ta,b stable in the shower_card.dat (tap_stable = T ; tam_stable = T; mup_stable = T ; mum_stable = T ).
Then I get the events.hepmc, the question is how to plot the pt(l-), pt(b) or pt_missing correctly.
I have tried three methods to get these plots
First, I use command ma5
>set main.mode = parton
>import events.hepmc
>plot PT(l-[1])
>plot PT(b[1])
>plot MET
>submit
Then I get the plots of PT(l-[1]) and MET, but the PT(b[1]) is empty. I think it is because I do not use fastjet to reconstruct b-jet.
Second, I use command ma5 -R
>ma5>define invisible = 12 14 16 -12 -14 -16
>ma5>set main.fastsim.
>ma5>set main.fastsim.
>ma5>set main.fastsim.radius = 0.4
>ma5>set main.fastsim.ptmin = 0.0
>ma5>set main.fastsim.
>ma5>set main.fastsim.
>ma5>set main.fastsim.
>ma5>set main.fastsim.
>ma5>set main.fastsim.
>ma5>set main.fastsim.
>import events.hepmc
>plot PT(l-[1])
>plot PT(b[1])
>plot MET
>set main.outputfile
>submit
Then I get these three plots, besides, I find PT(l-[1]) and MET are same with the first method.
Third, I use reconstruct.lhe which is produced by the second method. I use command ma5
>set main.mode = parton
>import reconstruct.lhe
>plot PT(l-[1])
>plot PT(b[1])
>plot MET
>set main.stacking_
>submit
It is strange that I have to use “set main.stacking_
So, which one is correct. If these three methods are all wrong, how to get the correct plots from .hepmc. Thank you very much!
Huanyu Bi
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask HuanyuBi for more information if necessary.