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

Added Truth flags to decoded tracks #69

Open
wants to merge 10 commits into
base: 14_0_X
Choose a base branch
from

Conversation

pviscone
Copy link
Contributor

No description provided.

process.ntuple.objects,
label + 'NeutralHad_sel',
cms.string('charge == 0 && pdgId != 22'),
)
Copy link
Collaborator

Choose a reason for hiding this comment

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

why all this reformatting?
here it seems to make the code less readable, not more

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sorry, my editor just does it automatically, I will restore the old script with the newer additions

out->addColumn<float>("isLooselyGenuine", isLooselyGenuine, "");
out->addColumn<float>("isUnknown", isUnknown, "");
out->addColumn<float>("isCombinatoric", isCombinatoric, "");
out->addColumn<float>("isReal", isReal, "");
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't know if "isReal" is an appropriate name. This variable is 0 if the track is combinatoric, 1 if the track was generated by a tracking particle produced in the hard scattering, 2 if the track is due to pileup

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