-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #126 from soleti/nofield
Geometry and configuration files for extracted position and field off
- Loading branch information
Showing
6 changed files
with
106 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# This configuration simulate cosmics with no field and extracted position | ||
# This is analogous to S1DSStops, so it needs to be included by another FCL | ||
# file that specifies the generator (e.g. physics.producers.generate : @local::Cosmic.generateCRY) | ||
# Stefano Roberto Soleti, 2021 | ||
|
||
#include "Offline/fcl/standardServices.fcl" | ||
#include "Production/JobConfig/common/prolog.fcl" | ||
#include "Production/JobConfig/primary/prolog.fcl" | ||
#include "Production/JobConfig/cosmic/prolog.fcl" | ||
|
||
process_name : Primary | ||
|
||
services: @local::Services.Sim | ||
|
||
physics: { | ||
producers : { | ||
@table::Common.producers | ||
@table::Primary.producers | ||
} | ||
|
||
filters : { | ||
@table::Common.filters | ||
@table::Primary.filters | ||
} | ||
|
||
analyzers: { | ||
@table::Primary.analyzers | ||
} | ||
|
||
PrimaryPath : [ @sequence::Common.generateSequence, @sequence::Common.g4Sequence, @sequence::Primary.PrimarySequence ] | ||
EndPath : @local::Primary.EndPath | ||
trigger_paths : [ PrimaryPath ] | ||
end_paths : [ EndPath ] | ||
} | ||
|
||
outputs : { Output : @local::Primary.Output } | ||
|
||
outputs.Output.fileName : "sim.owner.CosmicNoFieldExtracted.version.sequencer.art" | ||
outputs.Output.outputCommands : [@sequence::Primary.KeptProducts, "keep mu2e::CosmicLivetime_*_*_*", "keep mu2e::GenParticles_*_*_*"] | ||
|
||
physics.producers.g4run.TrajectoryControl: @local::mu2eg4DefaultTrajectories | ||
physics.producers.g4run.Mu2eG4CommonCut: @local::Cosmic.Mu2eG4CommonCutCosmicNoField | ||
physics.producers.FindMCPrimary.PrimaryGenIds: ["CosmicCRY", "CosmicCORSIKA"] | ||
|
||
# | ||
# final configuration | ||
# | ||
#include "Production/JobConfig/common/epilog.fcl" | ||
#include "Production/JobConfig/primary/epilog.fcl" | ||
|
||
physics.end_paths : [ EndPath ] | ||
# no histogram output | ||
services.TFileService.fileName : "/dev/null" | ||
services.SeedService.baseSeed : 773651 | ||
|
||
# Need this to increase the world volume. | ||
services.GeometryService.inputFile: "Production/JobConfig/cosmic/geom_extracted_nofield.txt" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#include "Production/JobConfig/cosmic/ExtractedNoField.fcl" | ||
|
||
source: { | ||
module_type: FromCorsikaBinary | ||
fileNames: ["/pnfs/mu2e/persistent/users/srsoleti/corsika/sim.srsoleti.corsika.v1.30001.csk"] | ||
runNumber : 1205 | ||
showerAreaExtension : 10000 | ||
projectToTargetBox : true | ||
targetBoxXmin: -10000 | ||
targetBoxXmax: 3000 | ||
targetBoxYmin: -5000 | ||
targetBoxYmax: 9880 # defined by CRV | ||
targetBoxZmin: 17105 # defined by CRV | ||
targetBoxZmax: 32220 # defined by Calo Z1 | ||
fluxConstant: 1.8e4 | ||
} | ||
|
||
physics.producers.generate : @local::Cosmic.generateCORSIKA | ||
|
||
outputs.Output.fileName : "sim.owner.CosmicCORSIKANoFieldExtracted.version.sequencer.art" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#include "Production/JobConfig/cosmic/ExtractedNoField.fcl" | ||
|
||
source.module_type: EmptyEvent | ||
physics.producers.generate : @local::Cosmic.generateCRY | ||
physics.producers.generate.inputFile : "Offline/EventGenerator/defaultConfigs/extractedCRYconfig.txt" | ||
outputs.Output.fileName : "sim.owner.CosmicCRYNoFieldExtracted.version.sequencer.art" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#include "Offline/Mu2eG4/geom/geom_common_extracted.txt" | ||
vector<string> bfield.innerMaps = { | ||
"BFieldMaps/Mau13/DS-nofield.txt", | ||
"BFieldMaps/Mau13/PSMap.header", | ||
"BFieldMaps/Mau13/TSuMap.header", | ||
"BFieldMaps/Mau13/TSdMap.header", | ||
"BFieldMaps/Mau13/PStoDumpAreaMap.header", | ||
"BFieldMaps/Mau13/ProtonDumpAreaMap.header", | ||
"BFieldMaps/Mau13/DSExtension.header" | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters