Fork me on GitHub

Opened 7 years ago

Closed 7 years ago

#1256 closed Task (fixed)

Commenting out some module in TreeWriter

Reported by: amit Owned by:
Priority: major Milestone:
Component: Delphes code Version: Delphes 3
Keywords: Cc:

Description

Hi,

I do not want to write the particle information in the root file, because it makes the root file size bigger. So, in the 'TreeWriter' module section of tcl card, I commented the following line --

# add Branch Delphes/allParticles Particle GenParticle

and made the root file. But now, when I make the lhco file and compare both, I find that pt, eta, phi ... values has changed. Is this expected/Wrong?

This 'TreeWriter' section is only for printing to the root file. Isn't it? Commenting out one module shouldn't affect the other modules.

Thanks,
Amit

Change History (3)

comment:1 by Pavel Demin, 7 years ago

But now, when I make the lhco file and compare both, I find that pt, eta, phi ... values has changed. Is this expected/Wrong?

Delphes randomly smears the momenta of all the simulated objects. So, I'd say that it's expected.

If exactly the same results are needed when running Delphes multiple times over the same input file, then the RandomSeed parameter should be set to a fixed nonzero value.

comment:2 by amit, 7 years ago

As you said, I changed in the card and I got same distributions. Thank you very much.

comment:3 by amit, 7 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.