diff --git a/JobConfig/pileup/MuBeamResampler.fcl b/JobConfig/pileup/MuBeamResampler.fcl index c6a389f1..d0d3d5ec 100644 --- a/JobConfig/pileup/MuBeamResampler.fcl +++ b/JobConfig/pileup/MuBeamResampler.fcl @@ -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] } @@ -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 *_*_*_*", diff --git a/JobConfig/pileup/prolog.fcl b/JobConfig/pileup/prolog.fcl index 29b0076a..3699a65a 100644 --- a/JobConfig/pileup/prolog.fcl +++ b/JobConfig/pileup/prolog.fcl @@ -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" @@ -122,7 +132,6 @@ Pileup: { particleInputs : [ "TargetPiStopFilter" ] } - compressPVIPAStops: { module_type: CompressPhysicalVolumes volumesInput : "g4run" @@ -130,6 +139,13 @@ Pileup: { particleInputs : [ "IPAStopFilter" ] } + compressPVIPAEndRingStops: { + module_type: CompressPhysicalVolumes + volumesInput : "g4run" + hitInputs : [] + particleInputs : [ "IPAEndRingStopFilter" ] + } + protonTimeOffset : @local::CommonMC.protonTimeOffset } @@ -177,7 +193,6 @@ Pileup: { mainSPPtrInputs: [ "TargetPionFinder" ] } - IPAStopFilter: { module_type: FilterG4Out mainHitInputs: [] @@ -185,6 +200,13 @@ Pileup: { 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" ] @@ -210,7 +232,8 @@ Pileup: { wrapFiles: true mu2e: { writeEventIDs : true - MaxEventsToSkip: @nil + //MaxEventsToSkip: @nil + MaxEventsToSkip: 0 debugLevel : 0 products: { genParticleMixer: { mixingMap: [ [ "generate", "" ] ] } @@ -235,7 +258,8 @@ Pileup: { wrapFiles: true mu2e: { writeEventIDs : true - MaxEventsToSkip: @nil + //MaxEventsToSkip: @nil + MaxEventsToSkip: 0 debugLevel : 0 products: { genParticleMixer: { mixingMap: [ [ "generate", "" ] ] }