Skip to content

General fixes for Run 2 and 3 analyses#363

Open
sofiagiappichini wants to merge 9 commits intomainfrom
run2+3
Open

General fixes for Run 2 and 3 analyses#363
sofiagiappichini wants to merge 9 commits intomainfrom
run2+3

Conversation

@sofiagiappichini
Copy link
Contributor

This PR fixes the remaining producers with input before the output, a new combined producer for vs electron ID scale factors with a dependence on the era since the inputs for the JSON vary, and a fix of out of bound indeces access for Recoil corrections for Run2.

Copy link
Contributor

@moritzmolch moritzmolch left a comment

Choose a reason for hiding this comment

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

Some functions let the unittest config fail because of changes in some function signatures. Otherwise, the changes look fine to me.

const std::string &variation_dm1_pt20to40, const std::string &variation_dm1_pt40toInf,
const std::string &variation_dm10_pt20to40, const std::string &variation_dm10_pt40toInf,
const std::string &variation_dm11_pt20to40, const std::string &variation_dm11_pt40toInf);
ROOT::RDF::RNode Id_vsEle(
Copy link
Contributor

Choose a reason for hiding this comment

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

The unittest config needs to be modified here, so that it includes the era parameter in the function call. Otherwise, the build_project step of the GitHub workflow is failing, e.g., https://github.com/KIT-CMS/CROWN/actions/runs/21877079764/job/63148873701?pr=363.

const std::string &genpair);
const std::string &genindex_particle2);
ROOT::RDF::RNode
buildtruegenpair(ROOT::RDF::RNode df, const std::string &statusflags,
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess, that the unittest config will also fail here because of the modified function signature.

* @param genpairname name of the new column containing the GenDiTauPair
* @return a new Dataframe with the GenDiTauPair column
*/
ROOT::RDF::RNode buildgenpair(ROOT::RDF::RNode df, const std::string &recopair,
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess, that the unittest config will also fail here because of the modified function signature.

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.

2 participants