Fork me on GitHub

Opened 9 years ago

Last modified 9 years ago

#880 new How to

Same Delphes simulation with different jet clustering

Reported by: Matias Vazquez Owned by:
Priority: minor Milestone:
Component: Delphes code Version: Delphes 3
Keywords: jet clustering Cc:

Description

Dear Delphes developers,

I am new with the Delphes package so my question might be trivial...
Suppose that I generate events using MG5+pythia, being the result of this a pythia_events.hep file. Then I want to run a detector simulation with Delphes, but when doing the jet clustering via FastJet (inside delphes), I want two (or more) different outputs: one with the parameterR for the Jet finding = 0.6 , say, and another one with a different one, e.g. 0.2. One solution could be just running Delphes twice on the events file, but my impression is that there is some MC, therefore random stuff, going on inside the detector simulation, thus both outputs are not really comparable.

Am I correct? how can I run 2 different jet clustering algorithms with the same detector simulation?

Many thanks in advance!
Matias.

Change History (4)

comment:1 by Michele Selvaggi, 9 years ago

Hi Matias,

If you want to run two identical simulations you should add

set RandomSeed 123

at the beginning of the card.
This said you can always change the card in a way that the output contains two jet collections.

Michele

comment:2 by Matias Vazquez, 9 years ago

Hi Michele,

Thank you very much for your reply. So, if I understood well, you propose to run delphes twice on the events, each run with different options in the 'Jet finder' block but adding in both cards this RandomSeed 123 thing at the beggining. This way it guarantees that both simulations will have identical results, is that it?

Thanks!

Matias

in reply to:  1 comment:3 by Matias Vazquez, 9 years ago

Replying to mselvaggi:

Hi Matias,

If you want to run two identical simulations you should add

set RandomSeed 123

at the beginning of the card.
This said you can always change the card in a way that the output contains two jet collections.

Michele

Hi Michele,

Thank you very much for your reply. So, if I understood well, you propose to run delphes twice on the events, each run with different options in the 'Jet finder' block but adding in both cards this RandomSeed? 123 thing at the beggining. This way it guarantees that both simulations will have identical results, is that it?

Thanks!

Matias

comment:4 by Michele Selvaggi, 9 years ago

Hi Matias,

yes setting the seed to some fixed value ensures that the same set of random numbers will be thrown during the simulation every time, which will result in the same output, if all other things are kept unchanged.

Michele

Note: See TracTickets for help on using tickets.