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

Allow CompressDetStepMCs to take in more than one SimParticleCollection #669

Merged
merged 1 commit into from
Dec 7, 2021

Conversation

AndrewEdmonds11
Copy link
Contributor

For the cosmic ray simulations, we currently write out CRV StepPointMCs at the end of stage 1. Then in stage 2 we resample and create CrvSteps, along with StrawGasSteps and CaloShowerSteps, and then run CompressDetStepMCs.

To reduce the output file size in stage 1, we want to create CrvSteps and run CompressDetStepMCs at the end of stage 1. Then in stage 2, we would create StrawGasSteps and CaloShowerSteps and run CompressDetStepMCs again.

The only thing preventing this from being done is that CompressDetStepMCs can only take one SimParticleCollection as input. This PR changes that and allows for multiple input SimParticleCollections.

A few more points:

  • this is an already-solved problem since we allow for multiple input SimParticleCollections in CompressDigiMCs and so I copied the relevant code from there
  • there are changes needed to the fhicl configuration in the Production repo. I will put a PR in there shortly
  • I tested on 10k events from a fhicl file Dave provided, It ran through digitization and reconsturction with no problems

Let me know if you have any questions or comments :)

@FNALbuild
Copy link
Collaborator

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

  • Compression

which require these tests: build.

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

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

About FNALbuild. Code review on Mu2e/Offline.

@FNALbuild
Copy link
Collaborator

☔ The tests failed for bf8edeb.

Test Result Details
merge Merged bf8edeb at 9aaef54
build (prof) Log file. Build time: 29 min 50 sec
ceSimReco Log file. Return Code 9.
g4test_03MT Log file.
transportOnly Log file.
POT Log file.
g4study Log file.
cosmicSimReco Log file.
cosmicOffSpill Log file.
ceSteps Log file. Return Code 9.
ceDigi Log file. Return Code 24.
muDauSteps Log file. Return Code 9.
ceMix Log file. Return Code 24.
rootOverlaps Log file.
g4surfaceCheck Log file.
FIXME, TODO TODO (0) FIXME (0) in 1 files
clang-tidy 〰️ 0 errors 0 warnings

N.B. These results were obtained from a build of this Pull Request at bf8edeb after being merged into the base branch at 9aaef54.

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.

@AndrewEdmonds11
Copy link
Contributor Author

@FNALbuild run build tests with Mu2e/Production#144

@FNALbuild
Copy link
Collaborator

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

@FNALbuild
Copy link
Collaborator

☔ The tests failed for bf8edeb.

Test Result Details
test with Included Mu2e/Production#144 @ 74f69f2ba2211c9861464fafad16252ab9ee52c9 by merge
merge Merged bf8edeb at 9aaef54
build (prof) Log file. Build time: 13 min 24 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. Return Code 9.
ceMix Log file. Return Code 1.
rootOverlaps Log file.
g4surfaceCheck Log file.
FIXME, TODO TODO (0) FIXME (0) in 1 files
clang-tidy 〰️ 0 errors 0 warnings

N.B. These results were obtained from a build of this Pull Request at bf8edeb after being merged into the base branch at 9aaef54.

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
Copy link
Collaborator

brownd1978 commented Dec 7, 2021 via email

@AndrewEdmonds11
Copy link
Contributor Author

Thanks, Dave. Looks like I had a typo in pileup/prolog.fcl. Let me try again...

@AndrewEdmonds11
Copy link
Contributor Author

@FNALbuild run build tests with Mu2e/Production#144

@FNALbuild
Copy link
Collaborator

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

@FNALbuild
Copy link
Collaborator

☀️ The tests passed at bf8edeb.

Test Result Details
test with Included Mu2e/Production#144 @ 777c217ffee3b07c389aa7b80836d8136145e8c4 by merge
merge Merged bf8edeb at 9aaef54
build (prof) Log file. Build time: 12 min 53 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 1 files
clang-tidy 〰️ 0 errors 0 warnings

N.B. These results were obtained from a build of this Pull Request at bf8edeb after being merged into the base branch at 9aaef54.

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 4271523 into Mu2e:main Dec 7, 2021
@AndrewEdmonds11 AndrewEdmonds11 deleted the compression-update branch July 9, 2024 17:33
# 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.

3 participants