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

Add RMC to the muon stop pileup capture products, and add a test script #368

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions JobConfig/pileup/MuStopPileup.fcl
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,19 @@ physics : {
spectrumShape: "flat"
}
tool_type: "MuCapPhotonGenerator"
},
Copy link
Collaborator

Choose a reason for hiding this comment

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

This configuration is for 'external', does that mean it generates photons? Is that redundant with the flat spectrum above?
What about internal conversion? Should there be a 2nd tool instance for that?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, we would need to have a second tool in the list for internal conversions. I can add this as well if this makes sense to you. Its rate will be reduced by 0.0069 with respect to the real photons for reference. I can also consider updating the RMC generator tool to randomly generate internal instead of external conversions at this relative rate if this makes more sense.

{
spectrum: {
elow : 0.0
ehi : 90.1
kMaxUser : 90.1
kMaxUserSet : true
external : true
spectrumShape : "RMC"
spectrumResolution: 0.1
useRate : true
}
tool_type: "RMCGenerator"
}
]
decayProducts: [
Expand Down
7 changes: 7 additions & 0 deletions Tests/MuStopPileup.fcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#include "Production/JobConfig/pileup/MuStopPileup.fcl"
#include "Production/Tests/MuonStopConfig.fcl"

services.SeedService.baseSeed : @local::Common.BaseSeed
services.TFileService.fileName: "nts.owner.MuStopPileup.version.sequencer.root"
physics.producers.generate.captureProducts[4].spectrum.makeHistograms: true #Turn on RMC histogramming