Changeset fbad4c7 in git for modules/TauTagging.cc
- Timestamp:
- May 24, 2018, 9:12:31 PM (6 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 4689481
- Parents:
- 4fd4f01 (diff), 792092a (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/TauTagging.cc
r4fd4f01 rfbad4c7 195 195 Candidate *jet, *tau, *daughter; 196 196 TLorentzVector tauMomentum; 197 Double_t pt, eta, phi, e ;197 Double_t pt, eta, phi, e, eff; 198 198 TObjArray *tauArray; 199 199 map< Int_t, DelphesFormula * >::iterator itEfficiencyMap; … … 255 255 256 256 // apply an efficency formula 257 jet->TauTag |= (gRandom->Uniform() <= formula->Eval(pt, eta, phi, e)) << fBitNumber; 258 257 eff = formula->Eval(pt, eta, phi, e); 258 jet->TauTag |= (gRandom->Uniform() <= eff) << fBitNumber; 259 jet->TauWeight = eff; 260 259 261 // set tau charge 260 262 jet->Charge = charge;
Note:
See TracChangeset
for help on using the changeset viewer.