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

changed CRV gap size for extracted position #1226

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

ehrlich-uva
Copy link
Contributor

Should be merged after all changes w.r.t. the redigitization of MDC2020 are done.

@FNALbuild
Copy link
Collaborator

Hi @ehrlich-uva,
You have proposed changes to files in these packages:

  • Mu2eG4

which require these tests: build.

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

The following users requested to be notified about changes to these packages:
@resnegfk

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

About FNALbuild. Code review on Mu2e/Offline.

@FNALbuild
Copy link
Collaborator

☀️ The build tests passed at 2d018be.

Test Result Details
test with Command did not list any other PRs to include
merge Merged 2d018be at c5b77ad
build (prof) Log file. Build time: 14 min 05 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 (0) in 0 files
clang-tidy 0 errors 0 warnings
whitespace check no whitespace errors found

N.B. These results were obtained from a build of this Pull Request at 2d018be after being merged into the base branch at c5b77ad.

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 kutschke self-assigned this Mar 27, 2024
@kutschke kutschke self-requested a review March 27, 2024 13:45
Copy link
Collaborator

@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.

Please remove the historical comments. git diff easily shows the changes.

My experience is that comments like these are not maintained after the next change.

@kutschke
Copy link
Collaborator

Should be merged after all changes w.r.t. the redigitization of MDC2020 are done.

Just to make sure I understand: the intention is to hold off on the merge until we define an MDC2020 legacy branch in Offline. Then merge this into the branch that will be used for MDC2024. Is that correct?

@brownd1978
Copy link
Collaborator

brownd1978 commented Mar 27, 2024 via email

@FNALbuild
Copy link
Collaborator

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

@kutschke
Copy link
Collaborator

@ehrlich-uva this is a low priority comment since this PR is waiting for the first round of MDC2024 commits. When you get a chance please followup on the one comment, to remove historical comments. Thanks.

@brownd1978
Copy link
Collaborator

Lets clear out the current list of other PRs to Offline, except 1252, then declare MDC202o to be closed.

@kutschke
Copy link
Collaborator

Lets clear out the current list of other PRs to Offline, except 1252, then declare MDC202o to be closed.

and then merge this one after a round of tags of final MDC2020 tags.

That works for me.

When you are ready sign off on Giani's 3 PRs and will look after the final CI and merges.

@brownd1978
Copy link
Collaborator

@kutschke your review still 'requests changes', can you please update that?
We agreed in the production meeting today to approve this PR and remake the extracted sample in MDC2020, so this can be merged to main.

@brownd1978
Copy link
Collaborator

@FNALbuild run build test

@FNALbuild
Copy link
Collaborator

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

@FNALbuild
Copy link
Collaborator

☀️ The build tests passed at 2d018be.

Test Result Details
test with Command did not list any other PRs to include
merge Merged 2d018be at 3661cc3
build (prof) Log file. Build time: 04 min 13 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 (0) in 0 files
clang-tidy 0 errors 0 warnings
whitespace check no whitespace errors found

N.B. These results were obtained from a build of this Pull Request at 2d018be after being merged into the base branch at 3661cc3.

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
Collaborator

kutschke commented Aug 7, 2024

@kutschke your review still 'requests changes', can you please update that? We agreed in the production meeting today to approve this PR and remake the extracted sample in MDC2020, so this can be merged to main.

@ehrlich-uva Ralf: my one comment was to ask you to remove the comments with historical values. Comments to say where the current values come from are good. My reason is that comments of this type create multiple points of maintenance that are often missed - so after the next edit the comments become misleading. We can always find historical values with git log and git diff.

@kutschke
Copy link
Collaborator

kutschke commented Aug 9, 2024

@ehrlich-uva The plan has changed. Since this only affects the extracted position Dave has decided to merge into main rather than waiting for a new branch for breaking changes. Please make the requested changes to the comments and I will approve and merge.

Copy link
Collaborator

@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 have a followup question.

@@ -16,8 +16,8 @@ double crs.scintillatorBarLengthT2 = 3200; //2 CRV-L endcap mod
double crs.scintillatorBarThickness = 19.8; //mm
double crs.scintillatorBarWidth = 51.3; //mm
double crs.layerOffset = 42; //mm
double crs.gapLarge = 0.5; //mm
double crs.gapSmall = 0.0875; //mm
double crs.gapLarge = 0.2; //mm //0.366 according to crv_parameters.xlsx
Copy link
Collaborator

Choose a reason for hiding this comment

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

What's going on here - the value of the parameter is different than the value given in the reference?
This confuses me.

Copy link
Contributor Author

@ehrlich-uva ehrlich-uva Aug 9, 2024

Choose a reason for hiding this comment

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

Our Wideband studies found that a gap of 0.2mm matches our data better than the previously estimated 0.366mm (which are also used in the reference). That's why we want to go forward with 0.2mm for the KPP simulations. We are continuing our Wideband studies, but we think that a 0.2mm effective gap is the best value to use. The main source of the disagreement is the non-uniform thickness of the TiO2 coating of the CRV counters. We will eventually make new CRV lookup tables that will take our findings into consideration.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Is there a reference that discusses this? If so, update the comment to point to it. If not update the comment to say that this an empirically determined effective value or something like that. For long comments, my preferred style is to put numbered notes at the top of the file and for the inline comment say "See note 1)". This allows you to write as much as you need to tell the story well without breaking up the visually appearance at the point of the comment.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Is a change actually requested here? Ralf answered your question. Should we block this PR because of a comment?

@brownd1978
Copy link
Collaborator

Ralf, can you confirm that these changes don't affect CRV reconstruction? If so, I think we can merge them.

@ehrlich-uva
Copy link
Contributor Author

Hi Dave, it affects the simulation and reconstruction of the extracted position, but not the regular CRV.

@brownd1978
Copy link
Collaborator

brownd1978 commented Sep 13, 2024 via email

@brownd1978
Copy link
Collaborator

@FNALbuild run build test

@FNALbuild
Copy link
Collaborator

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

@brownd1978 brownd1978 assigned brownd1978 and unassigned kutschke Oct 14, 2024
@FNALbuild
Copy link
Collaborator

☀️ The build tests passed at 3a0399e.

Test Result Details
test with Command did not list any other PRs to include
merge Merged 3a0399e at 305a8d6
build (prof) Log file. Build time: 04 min 15 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 (0) in 0 files
clang-tidy 0 errors 0 warnings
whitespace check no whitespace errors found

N.B. These results were obtained from a build of this Pull Request at 3a0399e after being merged into the base branch at 305a8d6.

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.

@FNALbuild
Copy link
Collaborator

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

@brownd1978 brownd1978 requested review from kutschke and removed request for kutschke October 14, 2024 15:33
@@ -16,8 +16,8 @@ double crs.scintillatorBarLengthT2 = 3200; //2 CRV-L endcap mod
double crs.scintillatorBarThickness = 19.8; //mm
double crs.scintillatorBarWidth = 51.3; //mm
double crs.layerOffset = 42; //mm
double crs.gapLarge = 0.5; //mm
double crs.gapSmall = 0.0875; //mm
double crs.gapLarge = 0.2; //mm //0.366 according to crv_parameters.xlsx
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is there a reference that discusses this? If so, update the comment to point to it. If not update the comment to say that this an empirically determined effective value or something like that. For long comments, my preferred style is to put numbered notes at the top of the file and for the inline comment say "See note 1)". This allows you to write as much as you need to tell the story well without breaking up the visually appearance at the point of the comment.

@kutschke
Copy link
Collaborator

@FNALbuild run build test

@FNALbuild
Copy link
Collaborator

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

@FNALbuild
Copy link
Collaborator

☀️ The build tests passed at a484929.

Test Result Details
test with Command did not list any other PRs to include
merge Merged a484929 at 95d61ac
build (prof) Log file. Build time: 04 min 14 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 (0) in 0 files
clang-tidy 0 errors 0 warnings
whitespace check no whitespace errors found

N.B. These results were obtained from a build of this Pull Request at a484929 after being merged into the base branch at 95d61ac.

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.

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.

4 participants