User Tools

Site Tools


davinci:positiveid

This is an old revision of the document!


Revert particle ID to a positive number in DecayTreeTuple

Idea

It may sometimes be useful to store particles always under the same label, for instance always as muminus and not as muplus and muminus in the nTuple. This will allow to chain or merge the root files in an easy way afterwards.

How to

If you have something like

myTuple = DecayTreeTuple("myTuple")

add

myTuple.RevertToPositiveID = True

Which will do the job.

davinci/positiveid.1245230347.txt.gz · Last modified: 2009/06/17 11:19 by decianm