Skip to content

Conversation

@henrylay97
Copy link
Member

@henrylay97 henrylay97 commented Feb 28, 2025

Description

We don't need to pretend to simulate the PPS - assigning it to a random value for every piece of activity doesn't replicate what actually happens in data.

In data reconstruction we reference the T0 to the event trigger, thus replicating closely what T1 represents in the simulation. In aid of simplifying concepts and making data / MC comparisons easier I am suggesting we move to make T0 & T1 the same in MC.

Checklist

  • Added at least 1 label from available labels.
  • Assigned at least 1 reviewer under Reviewers,
  • Assigned all contributers including yourself under Assignees
  • Linked any relevant issues under Developement
  • Does this PR affect CAF data format? If so, please assign a CAF maintainer (PetrilloAtWork or JosiePaton) as additional reviewer.
  • Does this affect the standard workflow?

Relevant PR links (optional)

N/A

Link(s) to docdb describing changes (optional)

N/A

@henrylay97 henrylay97 added crt Cosmic Ray Tagger detsim Detector simulation labels Feb 28, 2025
@henrylay97 henrylay97 self-assigned this Feb 28, 2025
Copy link
Member

@marcodeltutto marcodeltutto left a comment

Choose a reason for hiding this comment

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

Makes sense :D Thank you!

@bear-is-asleep
Copy link
Contributor

trigger build LArSoft/lar*@LARSOFT_SUITE_v10_04_03 SBNSoftware/sbnanaobj@v09_23_03 SBNSoftware/sbnobj@v10_00_04 SBNSoftware/sbncode@v10_04_03

@FNALbuild
Copy link
Collaborator

✔️ CI build for LArSoft Succeeded on slf7 for e26:prof -- details available through the CI dashboard

@FNALbuild
Copy link
Collaborator

✔️ CI build for LArSoft Succeeded on slf7 for c14:prof -- details available through the CI dashboard

@FNALbuild
Copy link
Collaborator

❌ CI build for SBND Failed at phase build SBND on slf7 for c14:prof -- details available through the CI dashboard

🚨 For more details about the failed phase, check the build SBND phase logs

parent CI build details are available through the CI dashboard

@FNALbuild
Copy link
Collaborator

⚠️ CI build for SBND Warning at phase ci_tests SBND on slf7 for e26:prof -- details available through the CI dashboard

🚨 For more details about the warning phase, check the ci_tests SBND phase logs

parent CI build details are available through the CI dashboard

@bear-is-asleep
Copy link
Contributor

@henrylay97 can you verify these product size changes are expected?

@henrylay97
Copy link
Member Author

Agree - I would naively not expect any change so will investigate.

@henrylay97
Copy link
Member Author

Recreated offline with same differences.

The reason for the difference is the removal of the random throw line. There are other random throw lines in the algorithm (see L540-547 and L573-580) which replicate the resolution of our understanding of the detector effects. These random throws do impact the creation of AuxDetIDEs & FEBDatas. By removing one of the random throws we change the evolution of the set seed in the CI and thus the output of the other throw lines.

TL;DR this is understood and is okay.

@bear-is-asleep
Copy link
Contributor

Approved

@bear-is-asleep bear-is-asleep merged commit f12ad96 into develop Mar 10, 2025
3 of 4 checks passed
@bear-is-asleep bear-is-asleep moved this from Todo to In tagged release in SBND March 2025 production Mar 12, 2025
@henrylay97 henrylay97 mentioned this pull request Apr 3, 2025
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

crt Cosmic Ray Tagger detsim Detector simulation

Projects

Status: In tagged release

Development

Successfully merging this pull request may close these issues.

5 participants