@@ -63,6 +63,7 @@ struct JetSpectraCharged {
6363 Configurable<float > pTHatMaxMCD{" pTHatMaxMCD" , 999.0 , " maximum fraction of hard scattering for jet acceptance in detector MC" };
6464 Configurable<float > pTHatMaxMCP{" pTHatMaxMCP" , 999.0 , " maximum fraction of hard scattering for jet acceptance in particle MC" };
6565 Configurable<float > pTHatExponent{" pTHatExponent" , 6.0 , " exponent of the event weight for the calculation of pTHat" };
66+ Configurable<float > simPtRef{" simPtRef" , 10.0 , " reference pT for the back-calculation of pTHat from the event weight" };
6667 Configurable<float > pTHatAbsoluteMin{" pTHatAbsoluteMin" , -99.0 , " minimum value of pTHat" };
6768 Configurable<double > jetPtMax{" jetPtMax" , 200 ., " set jet pT bin max" };
6869 Configurable<float > jetEtaMin{" jetEtaMin" , -0.7 , " minimum jet pseudorapidity" };
@@ -83,7 +84,6 @@ struct JetSpectraCharged {
8384
8485 std::vector<int > eventSelectionBits;
8586 int trackSelection = -1 ;
86- float simPtRef = 10 .;
8787
8888 bool doSumw2 = false ;
8989
@@ -262,6 +262,7 @@ struct JetSpectraCharged {
262262 if (doprocessJetsMatchedAreaSub || doprocessJetsMatchedAreaSubWeighted) {
263263 registry.add (" h2_jet_pt_mcd_jet_pt_mcp_matchedgeo_rhoareasubtracted_mcdetaconstraint" , " corr pT mcd vs. corr cpT mcp;#it{p}_{T,jet}^{mcd} (GeV/#it{c});#it{p}_{T,jet}^{mcp} (GeV/#it{c})" , {HistType::kTH2F , {jetPtAxisRhoAreaSub, jetPtAxisRhoAreaSub}}, doSumw2);
264264 registry.add (" h2_jet_pt_mcd_jet_pt_mcp_matchedgeo_rhoareasubtracted_mcpetaconstraint" , " corr pT mcd vs. corr cpT mcp;#it{p}_{T,jet}^{mcd} (GeV/#it{c});#it{p}_{T,jet}^{mcp} (GeV/#it{c})" , {HistType::kTH2F , {jetPtAxisRhoAreaSub, jetPtAxisRhoAreaSub}}, doSumw2);
265+ registry.add (" h2_jet_pt_mcd_rhoareasubtracted_jet_pt_mcp_matchedgeo_mcdetaconstraint" , " UEsub pT mcd vs. raw pT mcp;#it{p}_{T,jet}^{mcd} - #rho#it{A} (GeV/#it{c});#it{p}_{T,jet}^{mcp} (GeV/#it{c})" , {HistType::kTH2F , {jetPtAxisRhoAreaSub, jetPtAxis}}, doSumw2);
265266 registry.add (" h2_jet_pt_mcp_jet_pt_diff_matchedgeo_rhoareasubtracted" , " jet mcp corr pT vs. corr delta pT / jet mcp corr pt;#it{p}_{T,jet}^{mcp} (GeV/#it{c}); (#it{p}_{T,jet}^{mcp} (GeV/#it{c}) - #it{p}_{T,jet}^{mcd} (GeV/#it{c})) / #it{p}_{T,jet}^{mcp} (GeV/#it{c})" , {HistType::kTH2F , {jetPtAxisRhoAreaSub, {1000 , -5.0 , 5.0 }}}, doSumw2);
266267 registry.add (" h2_jet_pt_mcd_jet_pt_diff_matchedgeo_rhoareasubtracted" , " jet mcd corr pT vs. corr delta pT / jet mcd corr pt;#it{p}_{T,jet}^{mcd} (GeV/#it{c}); (#it{p}_{T,jet}^{mcd} (GeV/#it{c}) - #it{p}_{T,jet}^{mcp} (GeV/#it{c})) / #it{p}_{T,jet}^{mcd} (GeV/#it{c})" , {HistType::kTH2F , {jetPtAxisRhoAreaSub, {1000 , -5.0 , 5.0 }}}, doSumw2);
267268 registry.add (" h2_jet_pt_mcp_jet_pt_ratio_matchedgeo_rhoareasubtracted" , " jet mcp corr pT vs. jet mcd corr pT / jet mcp corr pt;#it{p}_{T,jet}^{mcp} (GeV/#it{c}); #it{p}_{T,jet}^{mcd} (GeV/#it{c}) / #it{p}_{T,jet}^{mcp} (GeV/#it{c})" , {HistType::kTH2F , {jetPtAxisRhoAreaSub, {1000 , -5.0 , 5.0 }}}, doSumw2);
@@ -677,6 +678,7 @@ struct JetSpectraCharged {
677678 double dcorrpt = corrBasejetpt - corrTagjetpt;
678679 if (jetfindingutilities::isInEtaAcceptance (jetMCD, jetEtaMin, jetEtaMax, trackEtaMin, trackEtaMax)) {
679680 registry.fill (HIST (" h2_jet_pt_mcd_jet_pt_mcp_matchedgeo_rhoareasubtracted_mcdetaconstraint" ), corrBasejetpt, corrTagjetpt, weight);
681+ registry.fill (HIST (" h2_jet_pt_mcd_rhoareasubtracted_jet_pt_mcp_matchedgeo_mcdetaconstraint" ), corrBasejetpt, jetMCP.pt (), weight);
680682 registry.fill (HIST (" h2_jet_pt_mcd_jet_pt_diff_matchedgeo_rhoareasubtracted" ), corrBasejetpt, dcorrpt / corrBasejetpt, weight);
681683 }
682684 if (jetfindingutilities::isInEtaAcceptance (jetMCP, jetEtaMin, jetEtaMax, trackEtaMin, trackEtaMax)) {
0 commit comments