Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implemented charge requirement in tripleselection algorithm #251

Merged
merged 2 commits into from
Feb 29, 2024

Conversation

ralfschmieder
Copy link
Contributor

Previously the charge requirements for the objects were enforced in the shape producer. To ensure, we do not loose any pair, we require no the Higgs decay products to be opposite charge and light leptons to be same charge

@@ -685,6 +695,8 @@ auto TripleSelectionAlgo(const float &mindeltaR_leptau,
// muon are contained in the event, the most isolated muons from the
// base muon selection are chosen first for the triple (for fake rate
// estimation)
// selected_mu_indices.push_back(ind_good_muons.at(0));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove commented lines if not needed anymore

static_cast<int>(selected_mu_indices.at(i)),
static_cast<int>(
original_tau_indices.at(candidate_tau))};
if (((ss_or_os == "os") && (mu1_charge*mu2_charge<0.0)) or ((ss_or_os == "ss") && (mu1_charge*mu2_charge>0.0 && ((mu1_charge*tauh_charge)<0.0)))) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

formatted ?

Copy link
Member

@conformist89 conformist89 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with Sebastian's comments

@harrypuuter harrypuuter merged commit a1872e1 into main Feb 29, 2024
3 of 7 checks passed
@harrypuuter harrypuuter deleted the wh_htt_tripleselection branch February 29, 2024 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants