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 CCC #10

Merged
merged 3 commits into from
Jan 18, 2019
Merged

Conversation

areinsvo
Copy link

Could probably be improved by making the exact cut value configurable, but for now it works.

Copy link
Owner

@makortel makortel left a comment

Choose a reason for hiding this comment

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

Thanks!

RecoTracker/MkFit/plugins/MkFitProducer.cc Outdated Show resolved Hide resolved
RecoTracker/MkFit/plugins/MkFitProducer.cc Outdated Show resolved Hide resolved
RecoTracker/MkFit/plugins/MkFitProducer.cc Outdated Show resolved Hide resolved
@makortel
Copy link
Owner

I'll try to apply the changes.

@makortel makortel merged commit cc73874 into makortel:mkfit_1020pre3 Jan 18, 2019
makortel pushed a commit that referenced this pull request Feb 6, 2019
makortel pushed a commit that referenced this pull request Feb 13, 2019
makortel pushed a commit that referenced this pull request Feb 14, 2019
@@ -491,6 +495,14 @@ std::vector<const DetLayer *> MkFitProducer::createDetLayers(const mkfit::LayerN
return dets;
}

bool MkFitProducer::passCCC(const SiStripRecHit2D& hit, const DetId hitId) const {
return (siStripClusterTools::chargePerCM(hitId,hit.firstClusterRef().stripCluster()) < 1620 );
Copy link
Owner

Choose a reason for hiding this comment

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

Should have been

  return (siStripClusterTools::chargePerCM(hitId,hit.firstClusterRef().stripCluster()) >= 1620 );

Lesson learned: don't merge anything without a round of validation.

makortel pushed a commit that referenced this pull request Mar 15, 2019
makortel pushed a commit that referenced this pull request Mar 25, 2019
makortel pushed a commit that referenced this pull request Jun 10, 2019
makortel pushed a commit that referenced this pull request Aug 13, 2019
makortel pushed a commit that referenced this pull request Nov 20, 2019
makortel pushed a commit that referenced this pull request Oct 11, 2021
makortel pushed a commit that referenced this pull request Sep 20, 2023
make startup allocations safe on platforms where dlsym allocates memory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants