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

add cluster size to phase1 hits #102

Conversation

cerati
Copy link

@cerati cerati commented Sep 13, 2019

No description provided.

@@ -2657,6 +2672,8 @@ void TrackingNtuple::fillPixelHits(const edm::Event& iEvent,
pix_zx .push_back( ttrh->globalPositionError().czx() );
pix_radL .push_back( ttrh->surface()->mediumProperties().radLen() );
pix_bbxi .push_back( ttrh->surface()->mediumProperties().xi() );
pix_clustSizeCol.push_back( hit->cluster()->sizeY() );
pix_clustSizeRow.push_back( hit->cluster()->sizeX() );
Copy link
Owner

Choose a reason for hiding this comment

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

note to self of where the naming is from

// Return cluster dimension in the x direction.
int sizeX() const { return rowSpan() + 1; }
// Return cluster dimension in the y direction.
int sizeY() const { return colSpan() + 1; }

@slava77 slava77 merged commit 925bb57 into slava77:CMSSW_10_4_0_patch1/tkNtuple4micNtkLayout-pull26028-0a6f9ed-fixClusterTP Sep 13, 2019
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