Changeset 2075bc1 in git
- Timestamp:
- Aug 26, 2016, 11:51:33 AM (8 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- e699329
- Parents:
- bba5aca
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/Validation.cpp
rbba5aca r2075bc1 328 328 if(deltaR < 0.3) 329 329 { 330 pt = bestGenMomentum. Pt();330 pt = bestGenMomentum.E(); 331 331 eta = TMath::Abs(bestGenMomentum.Eta()); 332 332 … … 335 335 if(pt > histos->at(bin).ptmin && pt < histos->at(bin).ptmax && eta < 2.5) 336 336 { 337 if (eta < 1.5) {histos->at(bin).cenResolHist->Fill(recoMomentum. Pt()/bestGenMomentum.Pt());}338 else if (eta < 2.5) {histos->at(bin).fwdResolHist->Fill(recoMomentum. Pt()/bestGenMomentum.Pt());}337 if (eta < 1.5) {histos->at(bin).cenResolHist->Fill(recoMomentum.E()/bestGenMomentum.E());} 338 else if (eta < 2.5) {histos->at(bin).fwdResolHist->Fill(recoMomentum.E()/bestGenMomentum.E());} 339 339 } 340 340 }
Note:
See TracChangeset
for help on using the changeset viewer.