Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

FlagBkg clustering hit fix #660

Merged
merged 1 commit into from
Nov 19, 2021
Merged

FlagBkg clustering hit fix #660

merged 1 commit into from
Nov 19, 2021

Conversation

bechenard
Copy link
Contributor

A fix for the bug Richie encountered with the FlagBkgHit module, making the module independent of the "microbunch length". I took the opportunity to do some cleaning as well. Check that the track reco performance is essentially unchanged (there is a small change in the hit flagging algo but the impact is very limited)

@FNALbuild
Copy link
Collaborator

Hi @bechenard,
You have proposed changes to files in these packages:

  • TrkReco
  • TrkHitReco

which require these tests: build.

@Mu2e/write, @Mu2e/fnalbuild-users have access to CI actions on main.

⌛ The following tests have been triggered for 404cc08: build (Build queue is empty)

About FNALbuild. Code review on Mu2e/Offline.

@FNALbuild
Copy link
Collaborator

☀️ The tests passed at 404cc08.

Test Result Details
merge Merged 404cc08 at bea231a
build (prof) Log file. Build time: 15 min 52 sec
ceSimReco Log file.
g4test_03MT Log file.
transportOnly Log file.
POT Log file.
g4study Log file.
cosmicSimReco Log file.
cosmicOffSpill Log file.
ceSteps Log file.
ceDigi Log file.
muDauSteps Log file.
ceMix Log file.
rootOverlaps Log file.
g4surfaceCheck Log file.
FIXME, TODO 〰️ TODO (0) FIXME (1) in 6 files
clang-tidy 〰️ 0 errors 0 warnings

N.B. These results were obtained from a build of this Pull Request at 404cc08 after being merged into the base branch at bea231a.

For more information, please check the job page here.
Build artifacts are deleted after 5 days. If this is not desired, select Keep this build forever on the job page.

@kutschke
Copy link
Contributor

Bertrand: Any suggestions for appropriate reviewers?

@FNALbuild
Copy link
Collaborator

📝 The HEAD of main has changed to 6725199. Tests are now out of date.

@kutschke
Copy link
Contributor

@FNALbuild run build test

@FNALbuild
Copy link
Collaborator

⌛ The following tests have been triggered for 404cc08: build (Build queue has 1 jobs)

@bechenard
Copy link
Contributor Author

bechenard commented Nov 18, 2021 via email

@kutschke
Copy link
Contributor

I did a lot of cleanup, and the real changes are minimal. Anyone who can read code could do it.

I had a quick look. My impression is that "cleanup" means just removal of obsolete code. Is that right?

Do you expect changes to nightly validation. I don't think that we make any Offspill digs during nightly validation.

@FNALbuild
Copy link
Collaborator

☀️ The tests passed at 404cc08.

Test Result Details
merge Merged 404cc08 at 6725199
build (prof) Log file. Build time: 17 min 27 sec
ceSimReco Log file.
g4test_03MT Log file.
transportOnly Log file.
POT Log file.
g4study Log file.
cosmicSimReco Log file.
cosmicOffSpill Log file.
ceSteps Log file.
ceDigi Log file.
muDauSteps Log file.
ceMix Log file.
rootOverlaps Log file.
g4surfaceCheck Log file.
FIXME, TODO 〰️ TODO (0) FIXME (1) in 6 files
clang-tidy 〰️ 0 errors 0 warnings

N.B. These results were obtained from a build of this Pull Request at 404cc08 after being merged into the base branch at 6725199.

For more information, please check the job page here.
Build artifacts are deleted after 5 days. If this is not desired, select Keep this build forever on the job page.

@kutschke
Copy link
Contributor

What tests have you done to check the behaviour of this change? I can see that it should work well for reco.fcl since the events are mixed and I bet that maxtime is stable to within a few ns. I can see possible pathologies with both ceSimReco and with reco of offline simulated offline events; when the only hits in the event are from track of interest, track will be pegged to maxtime - is that an issue?

@bechenard
Copy link
Contributor Author

bechenard commented Nov 18, 2021 via email

@kutschke
Copy link
Contributor

Thanks Bertrand. Please also try ceSimReco - probably 1k or 2k events is fine.

@bechenard
Copy link
Contributor Author

bechenard commented Nov 18, 2021 via email

@brownd1978 brownd1978 self-assigned this Nov 18, 2021
@brownd1978 brownd1978 requested a review from bonventre November 18, 2021 23:06
@kutschke
Copy link
Contributor

Could you send me the command, I forgot what it is... Bertrand

mu2e -c Production/Validation/ceSimReco.fcl -n 2000

Copy link
Contributor

@bonventre bonventre left a comment

Choose a reason for hiding this comment

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

This should fix the VST data crashes too - worst case when there's a bad hit time now it will just create spurious clusters

Copy link
Collaborator

@brownd1978 brownd1978 left a comment

Choose a reason for hiding this comment

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

This looks good to me. It makes sense to use the hits themselves to define the time window, that minimizes the places where we need to explicitly keep track of on/offspill and such. I'm glad that you're pruning out obsolete methods. We will need to generate some OffSpill MDC data before this can be fully tested.

@kutschke
Copy link
Contributor

kutschke commented Nov 18, 2021 via email

@brownd1978 brownd1978 requested a review from kutschke November 19, 2021 00:14
@bechenard
Copy link
Contributor Author

bechenard commented Nov 19, 2021 via email

@FNALbuild
Copy link
Collaborator

📝 The HEAD of main has changed to a65549b. Tests are now out of date.

Copy link
Contributor

@kutschke kutschke left a comment

Choose a reason for hiding this comment

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

I accidentally got Bertrand and myself into an offline thread. He ran valCompare on the output of ceSimReco and reports:

"Slight changes in all plots but the results are globally compatible. this is what I would expect if i tweaked the hit clustering algo parameters."

Thanks for checking this for me.

@brownd1978
Copy link
Collaborator

@FNALbuild run build test

@FNALbuild
Copy link
Collaborator

⌛ The following tests have been triggered for 404cc08: build (Build queue is empty)

@FNALbuild
Copy link
Collaborator

☀️ The tests passed at 404cc08.

Test Result Details
merge Merged 404cc08 at a65549b
build (prof) Log file. Build time: 28 min 00 sec
ceSimReco Log file.
g4test_03MT Log file.
transportOnly Log file.
POT Log file.
g4study Log file.
cosmicSimReco Log file.
cosmicOffSpill Log file.
ceSteps Log file.
ceDigi Log file.
muDauSteps Log file.
ceMix Log file.
rootOverlaps Log file.
g4surfaceCheck Log file.
FIXME, TODO 〰️ TODO (0) FIXME (1) in 6 files
clang-tidy 〰️ 0 errors 0 warnings

N.B. These results were obtained from a build of this Pull Request at 404cc08 after being merged into the base branch at a65549b.

For more information, please check the job page here.
Build artifacts are deleted after 5 days. If this is not desired, select Keep this build forever on the job page.

@brownd1978 brownd1978 merged commit a62d09b into Mu2e:main Nov 19, 2021
@bechenard bechenard deleted the ClusterFix branch October 11, 2023 20:51
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants