Skip to content

Added Truth flags to decoded tracks#69

Open
pviscone wants to merge 10 commits intop2l1pfp:14_0_Xfrom
pviscone:14_0_X_MCTruth
Open

Added Truth flags to decoded tracks#69
pviscone wants to merge 10 commits intop2l1pfp:14_0_Xfrom
pviscone:14_0_X_MCTruth

Conversation

@pviscone
Copy link
Copy Markdown
Contributor

No description provided.

process.ntuple.objects,
label + 'NeutralHad_sel',
cms.string('charge == 0 && pdgId != 22'),
)
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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