Skip to content

Off by one issue in InteractionNumber #61

Description

@jdkio

The interaction numbers start at -1 instead of 0. This is in the file new mircoprod files. Specifically:
/pnfs/dune/persistent/users/abooth/nd-production/MicroProdN1p2/output/run-spill-build/MicroProdN1p2_NDLAr_1E18_RHC.spill.nu/EDEPSIM_SPILLS/0000000/0000100/MicroProdN1p2_NDLAr_1E18_RHC.spill.nu.0000102.EDEPSIM_SPILLS.root

root [1] EDepSimEvents->Scan("InteractionNumber")
***********************************
*    Row   * Instance * Interacti *
***********************************
*        0 *        0 *        -1 *
*        1 *        0 *         0 *
*        2 *        0 *         1 *
*        3 *        0 *         2 *
*        4 *        0 *         3 *
*        5 *        0 *         4 *
*        6 *        0 *         5 *
*        7 *        0 *         6 *
*        8 *        0 *         7 *
*        9 *        0 *         8 *
*       10 *        0 *         9 *

The interaction numbers were fixed in issue #54, but it seems like they're off by one now for some reason. Not sure why.

Actually, this sample is without rock files. So it's not the spill builder. Here's the same file pre-spill builder. Not sure why but it starts at -1

Attaching file /pnfs/dune/persistent/users/abooth/nd-production/MicroProdN1p2/output/run-edep-sim/MicroProdN1p2_NDLAr_1E18_RHC.edep.nu/EDE
PSIM/0000000/0000100/MicroProdN1p2_NDLAr_1E18_RHC.edep.nu.0000102.EDEPSIM.root as _file0...
(TFile *) 0x3df4840
root [1] EDepSimEvents->Scan("InteractionNumber")
***********************************
*    Row   * Instance * Interacti *
***********************************
*        0 *        0 *        -1 *
*        1 *        0 *         0 *
*        2 *        0 *         1 *
*        3 *        0 *         2 *
*        4 *        0 *         3 *
*        5 *        0 *         4 *
*        6 *        0 *         5 *

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions