[Python] Combining root files with weights

Discussão em 'Python' iniciado por Stack, Março 20, 2025.

  1. Stack

    Stack Membro Participativo

    I have two root files file1.root and file2.root. I need to combine them so that I get file3.root, which I will then use to continue my analysis. The problem is, is that I need to merge the root files by weighting them accordingly.

    For context:

    • file1.root contains Z(longitudinal)Z(transverse) events file2.root contains Z(longitudinal)Z(longitudinal) events I need file3.root to give me Z(longitudinal)Z(unpolarised) events.

    The tree structures are the same for both root files. I do not know where to start, as I believe I cannot use hdd.

    ROOT Version: 6.30/02 Platform: Mac

    Continue reading...

Compartilhe esta Página