vhbb / cmssw

CMS Offline Software
cms-sw.github.io/cmssw
4 stars 5 forks source link

fix PFID and btagWP #627

Closed cvernier closed 7 years ago

cvernier commented 7 years ago

https://twiki.cern.ch/twiki/bin/view/CMS/JetID13TeVRun2016 https://twiki.cern.ch/twiki/bin/viewauth/CMS/BtagRecommendation80XReReco

arizzi commented 7 years ago

it seems to me an "and" should be an "or" can you break on multiple lines the and or grouping so that the code is readable... if I grouped correctly the current one is: ( (eta<2.7 and ((npr>1 and phf<0.99 and nhf<0.99) and (eta>2.4 or (elf<0.99 and chf>0 and chm>0)))) and (eta>2.7 and eta<3.0 and (nhf<0.98 and phf>0.01 and npn>2)) or (eta>3.0 and (phf<0.90 and npn>10))

);