Skip to content

b-tag cut - int vs float #135

Description

@MDallOsso

The b-tag cut is passed as int the code (0,1,2,3 == no, loose, medium, tight)
and it is compared with the cmssw "jet.bDiscriminator" which instead return a float.

JetAnalyzer.cc -- ln 224:
// b-tagging if(BTagTh==1 && jet.bDiscriminator(BTag)<BTagTh) continue;

Proposal is to change b-tag cut to float or better to add a 'translation' map.
Martino

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions