Extract information from Fastjet

Asked by Olympia

Hi,

I generate a process in Madgraph with jets in the final state. I want to use Fastjet, so in the run_card I can change the parameters for the fastjet.

But I want to know if there is a way to extract informations for the kinematic properties of the jets(for other particles it is easy because I can recognize them from their PID) and stored them in simple NTuples in the class I have create, in order to draw histograms etc.

Thanks,
Olympia

Question information

Language:
English Edit question
Status:
Answered
For:
MadGraph5_aMC@NLO Edit question
Assignee:
Paolo Torrielli Edit question
Last query:
Last reply:
Revision history for this message
Paolo Torrielli (paolo-torrielli) said :
#1

Dear Olympia,

if I understand your question correctly, you want a code
that combines the light partons into jets through fastjet.

Examples of such codes (in fortran) are for instance in
FixedOrderAnalysis/analysis_HwU_pp_tj.f
where at lines 117 to 212 you can find the definition of
particles to be clustered, the call to fastjet, the definition
of some observables with jet momenta.
This code works if you are doing fixed-order NLO simulation.
For NLO matching to parton shower, please refer to the
analogous code
MCatNLO/HWAnalyzer/vim mcatnlo_hwan_pp_tj.f

In general, the fastjet routines that perform the clustering
can be found in
MCatNLO/srcCommon/myfastjetfortran.cc,
SubProcesses/fastjetfortran_madfks_full.f
or similar.

Cheers,
Paolo

Revision history for this message
Olympia (olympiadartsi) said :
#2

Hi Paolo,

 the process that I generate is p p > y > z z , z > mu+ mu- , z > d d~ y, d > j , d~ > j. After the parton shower-hadronization I convert the .hep file into a .root file, from which I create a class ( .C and .h). In this file I write my code, so I have already take kinematic information from the d-quarks and the muons ( I calculate the invariant mass,etc.) but I have problem with the jets, I don't understand how to take the same informations from the jets. So I ask for fastjet because as far as I understand I can calculate the ΔR between them and their pT???

 I hope that this make it more clear to you.

Thanks,
Olympia.

Revision history for this message
Paolo Torrielli (paolo-torrielli) said :
#3

Dear Olympia,

the fastjet routines (like the one I mentioned before) take all partons
(or whatever particle you tell them) in the shower output, cluster them
into jets, and assign a four-momentum to each jet.
Namely the main output of the fastjet routines is the set of momenta of
the jets, that you can use to build your observables (like DeltaR etc.).

So if you have the parton momenta out of the shower, you just need to feed
the fastjet routines with this momenta, and get the jet momenta as output.

I don’t know the details of how to link the fastjet routines in your class,
because these details are specific to your class, but the fastjet documentation
should be of help in this.

Note also that in principle one should cluster hadrons rather than partons,
so I would just feed fastjet with the set of hadron momenta that come out
of the shower.

Cheers.
Paolo

On 28 Jan 2016, at 16:12, Olympia <email address hidden> wrote:

> Question #283840 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/283840
>
> Olympia posted a new comment:
> Hi Paolo,
>
> the process that I generate is p p > y > z z , z > mu+ mu- , z > d d~
> y, d > j , d~ > j. After the parton shower-hadronization I convert the
> .hep file into a .root file, from which I create a class ( .C and .h).
> In this file I write my code, so I have already take kinematic
> information from the d-quarks and the muons ( I calculate the invariant
> mass,etc.) but I have problem with the jets, I don't understand how to
> take the same informations from the jets. So I ask for fastjet because
> as far as I understand I can calculate the ΔR between them and their
> pT???
>
> I hope that this make it more clear to you.
>
> Thanks,
> Olympia.
>
> --
> You received this question notification because you are subscribed to
> the question.

Revision history for this message
Olympia (olympiadartsi) said :
#4

Thanks Paolo! It became more clear now.

Olympia.

Can you help with this problem?

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

To post a message you must log in.