Fork me on GitHub

Changeset f25215c in git for modules


Ignore:
Timestamp:
May 23, 2018, 11:48:25 AM (7 years ago)
Author:
GitHub <noreply@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
95fbe30
Parents:
5528bfe (diff), 7429c6a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Pavel Demin <pavel-demin@…> (05/23/18 11:48:25)
git-committer:
GitHub <noreply@…> (05/23/18 11:48:25)
Message:

Merge pull request #51 from mflechl/master

Adding TauWeight variable

Location:
modules
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • modules/TauTagging.cc

    r5528bfe rf25215c  
    255255
    256256    // apply an efficency formula
    257     jet->TauTag |= (gRandom->Uniform() <= formula->Eval(pt, eta, phi, e)) << fBitNumber;
    258    
     257    Double_t eff=formula->Eval(pt, eta, phi, e);
     258    jet->TauTag |= (gRandom->Uniform() <= eff) << fBitNumber;
     259    jet->TauWeight = eff;     
     260
    259261    // set tau charge
    260262    jet->Charge = charge;
  • modules/TreeWriter.cc

    r5528bfe rf25215c  
    651651
    652652    entry->TauTag = candidate->TauTag;
     653    entry->TauWeight = candidate->TauWeight;
    653654
    654655    entry->Charge = candidate->Charge;
Note: See TracChangeset for help on using the changeset viewer.