CMS-PD / ALPHA

A Light Post Heppy Analyzer
0 stars 10 forks source link

b-tag cut - int vs float #135

Open MDallOsso opened 8 years ago

MDallOsso commented 8 years ago

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