Skip to content

Segmentation fault in gen matching on W+jets #37

@pieterdavid

Description

@pieterdavid

I tried to run (a slightly modified copy of) the TTAnalyzer on a W+jets sample, and got a segmentation fault. I did not go through all the details, but I guess that this is because there is no top quark in the event - comparing to -1 (the initial value of gen_t etc. somewhere above) instead of to 0 on https://github.com/cp3-llbb/TTAnalysis/blob/master/plugins/TTAnalyzer.cc#L1093 seems to fix the problem. Does that make sense? (if yes I can create pull request)

Metadata

Metadata

Assignees

No one assigned

    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