Skip to content
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
14 changes: 12 additions & 2 deletions JobConfig/pileup/MuBeamResampler.fcl
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,11 @@ physics: {
targetStopPath : [ @sequence::Pileup.beamResamplerSequence, @sequence::Common.g4Sequence, TargetStopPrescaleFilter, TargetMuonFinder, TargetStopFilter, compressPVTargetStops]
polyStopPath : [ @sequence::Pileup.beamResamplerSequence, @sequence::Common.g4Sequence, PolyStopPrescaleFilter, PolyMuonFinder, PolyStopFilter, compressPVPolyStops]
IPAStopPath : [ @sequence::Pileup.beamResamplerSequence, @sequence::Common.g4Sequence, IPAMuonFinder, IPAStopFilter, compressPVIPAStops]
IPAEndRingStopPath : [ @sequence::Pileup.beamResamplerSequence, @sequence::Common.g4Sequence, IPAEndRingMuonFinder, IPAEndRingStopFilter, compressPVIPAEndRingStops]
flashPath : [ @sequence::Pileup.beamResamplerSequence, @sequence::Common.g4Sequence, @sequence::Pileup.flashSequence, @sequence::Pileup.DetStepSequence ]
earlyFlashPath : [ @sequence::Pileup.beamResamplerSequence, @sequence::Common.g4Sequence, @sequence::Pileup.flashSequence, @sequence::Pileup.EarlyDetStepSequence ]
trigger_paths: [ flashPath, earlyFlashPath, targetStopPath, polyStopPath, IPAStopPath ]
outPath : [ FlashOutput, EarlyFlashOutput, TargetStopOutput, PolyStopOutput, IPAStopOutput ]
trigger_paths: [ flashPath, earlyFlashPath, targetStopPath, polyStopPath, IPAStopPath, IPAEndRingStopPath ]
outPath : [ FlashOutput, EarlyFlashOutput, TargetStopOutput, PolyStopOutput, IPAStopOutput, IPAEndRingStopOutput ]
end_paths: [outPath]
}

Expand Down Expand Up @@ -70,6 +71,15 @@ outputs: {
fileName : "sim.owner.IPAStops.version.sequencer.art"
}

IPAEndRingStopOutput : {
module_type : RootOutput
outputCommands: [ "drop *_*_*_*",
@sequence::Pileup.SimKeptProducts
]
SelectEvents : [IPAEndRingStopPath]
fileName : "sim.owner.IPAEndRingStops.version.sequencer.art"
}

FlashOutput : {
module_type: RootOutput
outputCommands: [ "drop *_*_*_*",
Expand Down
32 changes: 28 additions & 4 deletions JobConfig/pileup/prolog.fcl
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,16 @@ Pileup: {
verbosityLevel: 1
}

IPAEndRingMuonFinder : {
module_type : StoppedParticlesFinder
particleInput : "g4run"
useEventLevelVolumeInfo: true
physVolInfoInput: "g4run:eventlevel"
stoppingMaterial : "IPAPolystyrene"
particleTypes : [ 13, -13 ]
verbosityLevel: 1
}

stoppedMuonDaughters: {
module_type: SimParticleDaughterSelector
particleInput: "TargetMuonFinder"
Expand Down Expand Up @@ -122,14 +132,20 @@ Pileup: {
particleInputs : [ "TargetPiStopFilter" ]
}


compressPVIPAStops: {
module_type: CompressPhysicalVolumes
volumesInput : "g4run"
hitInputs : []
particleInputs : [ "IPAStopFilter" ]
}

compressPVIPAEndRingStops: {
module_type: CompressPhysicalVolumes
volumesInput : "g4run"
hitInputs : []
particleInputs : [ "IPAEndRingStopFilter" ]
}

protonTimeOffset : @local::CommonMC.protonTimeOffset

}
Expand Down Expand Up @@ -177,14 +193,20 @@ Pileup: {
mainSPPtrInputs: [ "TargetPionFinder" ]
}


IPAStopFilter: {
module_type: FilterG4Out
mainHitInputs: []
extraHitInputs: [ "g4run:virtualdetector" ]
mainSPPtrInputs: [ "IPAMuonFinder" ]
}

IPAEndRingStopFilter: {
module_type: FilterG4Out
mainHitInputs: []
extraHitInputs: [ "g4run:virtualdetector" ]
mainSPPtrInputs: [ "IPAEndRingMuonFinder" ]
}

FlashFilter: {
module_type: FilterG4Out
mainHitInputs: [ "g4run:tracker", "g4run:calorimeter", "g4run:CRV", "g4run:virtualdetector" ]
Expand All @@ -210,7 +232,8 @@ Pileup: {
wrapFiles: true
mu2e: {
writeEventIDs : true
MaxEventsToSkip: @nil
//MaxEventsToSkip: @nil
MaxEventsToSkip: 0
debugLevel : 0
products: {
genParticleMixer: { mixingMap: [ [ "generate", "" ] ] }
Expand All @@ -235,7 +258,8 @@ Pileup: {
wrapFiles: true
mu2e: {
writeEventIDs : true
MaxEventsToSkip: @nil
//MaxEventsToSkip: @nil
MaxEventsToSkip: 0

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I would change this back to @nil since we just hard-coded it to 0 for our tests

debugLevel : 0
products: {
genParticleMixer: { mixingMap: [ [ "generate", "" ] ] }
Expand Down