Fork me on GitHub

Changeset 8497ac6 in git for modules


Ignore:
Timestamp:
Jun 26, 2015, 3:35:45 PM (10 years ago)
Author:
Pavel Demin <pavel.demin@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
10e33bc
Parents:
0ff1a44
Message:

fix comments in BTagging

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/BTagging.cc

    r0ff1a44 r8497ac6  
    194194    e = jetMomentum.E();
    195195
    196     // find an efficency formula
     196    // find an efficiency formula
    197197    itEfficiencyMap = fEfficiencyMap.find(jet->Flavor);
    198198    if(itEfficiencyMap == fEfficiencyMap.end())
     
    202202    formula = itEfficiencyMap->second;
    203203
    204     // apply an efficency formula
     204    // apply an efficiency formula
    205205    jet->BTag |= (gRandom->Uniform() <= formula->Eval(pt, eta, phi, e)) << fBitNumber;
    206206
    207     // find an efficency formula for algo flavor definition
     207    // find an efficiency formula for algo flavor definition
    208208    itEfficiencyMap = fEfficiencyMap.find(jet->FlavorAlgo);
    209209    if(itEfficiencyMap == fEfficiencyMap.end())
     
    213213    formula = itEfficiencyMap->second;
    214214
    215     // apply an efficency formula
     215    // apply an efficiency formula
    216216    jet->BTagAlgo |= (gRandom->Uniform() <= formula->Eval(pt, eta, phi, e)) << fBitNumber;
    217217
    218     // find an efficency formula for phys flavor definition
     218    // find an efficiency formula for phys flavor definition
    219219    itEfficiencyMap = fEfficiencyMap.find(jet->FlavorPhys);
    220220    if(itEfficiencyMap == fEfficiencyMap.end())
     
    224224    formula = itEfficiencyMap->second;
    225225
    226     // apply an efficency formula
     226    // apply an efficiency formula
    227227    jet->BTagPhys |= (gRandom->Uniform() <= formula->Eval(pt, eta, phi, e)) << fBitNumber;
    228228  }
Note: See TracChangeset for help on using the changeset viewer.