Skip to content

Commit

Permalink
fix: all GetEventQ2Weight must respect inLookup
Browse files Browse the repository at this point in the history
  • Loading branch information
c-dilks committed Sep 27, 2022
1 parent 23f6184 commit 4e41938
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions datarec/xsec/xsec.dat
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ pythia8:18x275/minQ2=1 7.4167e+05 0.00277
#label cross_section_[pb] relative_uncertainty
pythia6:ep-5x41 3.189e+05 0.0011 # general Q2
pythia6:ep-5x41-q2-low 3.187e+05 0.0009 # 1 < Q2 < 100
pythia6:ep-5x41-q2-high 1.622e+02 0.0111 # 1 < Q2 < 100
pythia6:ep-5x41-q2-high 1.622e+02 0.0111 # 100 < Q2
pythia6:ep-10x100 5.797e+05 0.0011 # general Q2
pythia6:ep-10x100-q2-low 5.784e+05 0.0010 # 1 < Q2 < 100
pythia6:ep-10x100-q2-high 1.159e+03 0.0114 # 100 < Q2
pythia6:ep-10x100-q2-high 1.159e+03 0.0114 # 100 < Q2
pythia6:ep-18x275 8.830e+05 0.0011 # general Q2
pythia6:ep-18x275-q2-low 8.796e+05 0.0006 # 1 < Q2 < 100
pythia6:ep-18x275-q2-high 3.092e+03 0.0475 # 100 < Q2
2 changes: 1 addition & 1 deletion src/AnalysisDelphes.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ void AnalysisDelphes::Execute() {
if(useBreitJets) kin->GetBreitFrameJets(itEFlowTrack, itEFlowPhoton, itEFlowNeutralHadron, itParticle);
#endif

Double_t Q2weightFactor = GetEventQ2Weight(kinTrue->Q2, chain->GetTreeNumber());
Double_t Q2weightFactor = GetEventQ2Weight(kinTrue->Q2, inLookup[chain->GetTreeNumber()]);
wJet = Q2weightFactor * weightJet->GetWeight(*kinTrue); // TODO: should we separate weights for breit and non-breit jets?
wJetTotal += wJet;

Expand Down

0 comments on commit 4e41938

Please sign in to comment.