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 dead strips from strip quality #24

Closed
wants to merge 2 commits into from

Conversation

cerati
Copy link
Collaborator

@cerati cerati commented Jun 9, 2021

PR description:

Gets input of dead modules from StripQuality event setup record to mkFit.

Notes / limitations:

  • this done in MkFitHitConverter.cc, so once per event - ideally it should be done only when conditions change but it's probably not a big deal
  • for now we only get the strip information, not pixels
  • we are treating both fully- and partially-inactive modules the same, i.e. considering the full module as potentially dead

PR validation:

http://uaf-10.t2.ucsd.edu/~cerati/deadmodules/

@cerati
Copy link
Collaborator Author

cerati commented Jun 9, 2021

link to mkFit PR: trackreco/mkFit#319

deadvectors[ilay].push_back({surf.phiSpan().first,surf.phiSpan().second,
(isBarrel ? surf.zSpan().first : surf.rSpan().first),(isBarrel ? surf.zSpan().second : surf.rSpan().second)});
}
mkfit::StdSeq::LoadDeads(hitWrapper.eventOfHits(), deadvectors);
Copy link
Collaborator

Choose a reason for hiding this comment

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

I suppose this code would go in MkFitEventOfHitsProducer in trackreco/cmssw:mkFitIntegration.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

to be honest, I did not realize the branch I was using diverged from the main PR to central CMSSW. I am open to discuss what the best way to proceed is.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't actually have strong opinions between this PR or #20 going in first. The changes are simple-enough to fix in #20.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Following the merge of #20 this PR should be rebased (or re-worked in MkFitEventOfHitsProducer.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I can re-work it MkFitEventOfHitsProducer. What is the correct branch to use for development and for the PR?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I have reworked the changes in MkFitEventOfHitsProducer:
CMSSW_11_2_0_mkFit_X...cerati:dead-modules-MkFitEventOfHitsProducer
I can close this PR and open a new one, please let me know. (However, looks like RecoTracker/MkFit/test/reco_cfg.py is currently broken, I am checking what is going on -- it complains about "No module named mkFitHitConverterDefault_cfi" maybe this is related to #20?)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

(was mkFitHitConverterDefault_cfi automatically created by RecoTracker/MkFit/plugins/MkFitHitConverter.cc? which has been removed in #20?)

Copy link
Collaborator

Choose a reason for hiding this comment

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

Certainly related to #20, I'll fix that, thanks. You can either force-push into your current dead-modules branch or create a new PR, whichever works.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Certainly related to #20, I'll fix that, thanks

Fixed in #25 (merged already).

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

closing this PR, see #26

per Matti's suggestion

Co-authored-by: Matti Kortelainen <matti.kortelainen@cern.ch>
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