Changeset dd514ae in git for modules/BTagging.cc
- Timestamp:
- Jun 10, 2015, 4:04:47 PM (9 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 8707eeb
- Parents:
- 6ec8d18 (diff), 9c491e1 (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/BTagging.cc
r6ec8d18 rdd514ae 171 171 { 172 172 Candidate *jet, *parton; 173 Double_t pt, eta, phi ;173 Double_t pt, eta, phi, e; 174 174 TObjArray *partonArray; 175 175 map< Int_t, DelphesFormula * >::iterator itEfficiencyMap; … … 194 194 phi = jetMomentum.Phi(); 195 195 pt = jetMomentum.Pt(); 196 196 e = jetMomentum.E(); 197 197 198 // loop over all input partons 198 199 itPartonArray.Reset(); … … 218 219 219 220 // apply an efficency formula 220 jet->BTag |= (gRandom->Uniform() <= formula->Eval(pt, eta )) << fBitNumber;221 } 222 } 223 224 //------------------------------------------------------------------------------ 221 jet->BTag |= (gRandom->Uniform() <= formula->Eval(pt, eta, phi, e)) << fBitNumber; 222 } 223 } 224 225 //------------------------------------------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.