- Timestamp:
- Jun 26, 2015, 3:35:45 PM (9 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 10e33bc
- Parents:
- 0ff1a44
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/BTagging.cc
r0ff1a44 r8497ac6 194 194 e = jetMomentum.E(); 195 195 196 // find an effic ency formula196 // find an efficiency formula 197 197 itEfficiencyMap = fEfficiencyMap.find(jet->Flavor); 198 198 if(itEfficiencyMap == fEfficiencyMap.end()) … … 202 202 formula = itEfficiencyMap->second; 203 203 204 // apply an effic ency formula204 // apply an efficiency formula 205 205 jet->BTag |= (gRandom->Uniform() <= formula->Eval(pt, eta, phi, e)) << fBitNumber; 206 206 207 // find an effic ency formula for algo flavor definition207 // find an efficiency formula for algo flavor definition 208 208 itEfficiencyMap = fEfficiencyMap.find(jet->FlavorAlgo); 209 209 if(itEfficiencyMap == fEfficiencyMap.end()) … … 213 213 formula = itEfficiencyMap->second; 214 214 215 // apply an effic ency formula215 // apply an efficiency formula 216 216 jet->BTagAlgo |= (gRandom->Uniform() <= formula->Eval(pt, eta, phi, e)) << fBitNumber; 217 217 218 // find an effic ency formula for phys flavor definition218 // find an efficiency formula for phys flavor definition 219 219 itEfficiencyMap = fEfficiencyMap.find(jet->FlavorPhys); 220 220 if(itEfficiencyMap == fEfficiencyMap.end()) … … 224 224 formula = itEfficiencyMap->second; 225 225 226 // apply an effic ency formula226 // apply an efficiency formula 227 227 jet->BTagPhys |= (gRandom->Uniform() <= formula->Eval(pt, eta, phi, e)) << fBitNumber; 228 228 }
Note:
See TracChangeset
for help on using the changeset viewer.