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

Change track muon dataformats scouting #31962

Merged
merged 40 commits into from
Nov 25, 2020

Conversation

jsalfeld
Copy link
Contributor

PR description:

-- For the upcoming Scouting Sample Production Campaign, added covariance matrix elements to scouting tracks and muons. This will allow vertex fitting after data taking. Also made a quick hltPixelVertex to hltPixelTrack association and introduced the vertex index in the corresponding collection.

-- while I introduced an option of reducing relevant bits to store information, the scouting track collection will need significant storage space and we will need to double check in the next iteration what exactly will be needed
--->

* Common base class to all track types, including Muon fits.

Indicates roughly 20 parameters are needed

observations:
-- about on average 2-3% of the tracks are incorrectly associated to vertices via the method of minimising dz^2 - this is measured on ttbar events with roughly 600 tracks per event. (the vertices are only clustered in Z)
-- all tracks in the associated track collection of vertices, are quadruplets
-- not all quadruplets are in the list of tracks associated to vertices
-- via the matching performed in this producer, all tracks (triplets & quadruplets) will be matched to vertices if dxy^2+dz^2 < 0.015.

PR validation:

if this PR is a backport please specify the original PR and why you need to backport that PR:

scram b distclean
git cms-checkdeps -a -A
scram b -j 8
scram b runtests

scram build code-checks
scram build code-format

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-31962/19418

  • This PR adds an extra 24KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @jsalfeld (Jakob Salfeld-Nebgen) for master.

It involves the following packages:

DataFormats/Scouting
HLTrigger/Muon

@smuzaffar, @Dr15Jones, @makortel, @cmsbuild, @Martin-Grunewald, @fwyzard can you please review it and eventually sign? Thanks.
@abbiendi, @Fedespring, @Martin-Grunewald, @calderona, @HuguesBrun, @jhgoh, @rovere, @trocino, @cericeci this is something you requested to watch as well.
@silviodonato, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@fwyzard
Copy link
Contributor

fwyzard commented Oct 28, 2020

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 28, 2020

The tests are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

-1

Tested at: 641854b

CMSSW: CMSSW_11_2_X_2020-10-27-2300
SCRAM_ARCH: slc7_amd64_gcc820
You can see the results of the tests here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-35cd8e/10340/summary.html

I found follow errors while testing this PR

Failed tests: ClangBuild

  • Clang:

I found compilation warning while trying to compile with clang. Command used:

USER_CUDA_FLAGS='--expt-relaxed-constexpr' USER_CXXFLAGS='-Wno-register -fsyntax-only' scram build -k -j 32 COMPILER='llvm compile'

See details on the summary page.

@cmsbuild
Copy link
Contributor

Comparison not run due to Build errors/Fireworks only changes/No short matrix requested (RelVals and Igprof tests were also skipped)

@jsalfeld
Copy link
Contributor Author

const edm::EDGetTokenT<reco::VertexCollection> vertexCollection_;

const int mantissaPrecision;
const int vtxMinDist;
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
const int vtxMinDist;
const float vtxMinDist;

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ah here I now took "const double vtxMinDist", following same type for "vtxMinDist" in Line 59 and 144. Shall I take float?

Copy link
Contributor

Choose a reason for hiding this comment

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

I think the difference is negligible.

: otherTrackCollection_(consumes<reco::TrackCollection>(iConfig.getParameter<edm::InputTag>("OtherTracks"))),
vertexCollection_(consumes<reco::VertexCollection>(iConfig.getParameter<edm::InputTag>("vertexCollection"))),
mantissaPrecision(iConfig.getParameter<int>("mantissaPrecision")),
vtxMinDist(iConfig.getParameter<int>("vtxMinDist")) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
vtxMinDist(iConfig.getParameter<int>("vtxMinDist")) {
vtxMinDist(iConfig.getParameter<double>("vtxMinDist")) {

desc.add<edm::InputTag>("vertexCollection", edm::InputTag("hltPixelVertices"));

desc.add<int>("mantissaPrecision", 23);
desc.add<int>("vtxMinDist", 0.01);
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
desc.add<int>("vtxMinDist", 0.01);
desc.add<double>("vtxMinDist", 0.01);

@cmsbuild
Copy link
Contributor

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-35cd8e/10991/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 37
  • DQMHistoTests: Total histograms compared: 2961011
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2960988
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 36 files compared)
  • Checked 158 log files, 34 edm output root files, 37 DQM output files

@cmsbuild
Copy link
Contributor

+1
Tested at: 16d8138
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-35cd8e/11001/summary.html
CMSSW: CMSSW_11_2_X_2020-11-23-2300
SCRAM_ARCH: slc7_amd64_gcc820

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-35cd8e/11001/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 37
  • DQMHistoTests: Total histograms compared: 2961011
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2960988
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 36 files compared)
  • Checked 158 log files, 34 edm output root files, 37 DQM output files

@makortel
Copy link
Contributor

+1

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @silviodonato, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2)

@fwyzard
Copy link
Contributor

fwyzard commented Nov 24, 2020

urgent

@fwyzard
Copy link
Contributor

fwyzard commented Nov 24, 2020

please integrate in 11.2.0-pre10

@qliphy
Copy link
Contributor

qliphy commented Nov 25, 2020

+1

@cmsbuild cmsbuild merged commit 987c31a into cms-sw:master Nov 25, 2020
@makortel
Copy link
Contributor

@jsalfeld The #32217 was merged already earlier, could you change the code back to use ESGetToken soon? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.