dunedp_4x2_marley_monoenergetic_gen.fcl
Go to the documentation of this file.
1 #include "services_dune.fcl"
2 #include "marley_dune.fcl"
3 #include "photpropservices_dune.fcl"
4 #include "opticaldetectormodules_dune.fcl"
5 #include "largeantmodules_dune.fcl"
6 #include "tools_dune.fcl"
7 
8 process_name: MARLEYGen
9 
10 services:
11 {
12  # Load the service that manages root files for histograms.
13  TFileService: { fileName: "off.root" }
14  TimeTracker: {}
15  MemoryTracker: { } # default is one
16  RandomNumberGenerator: {} # ART native random number generator
17  FileCatalogMetadata: @local::art_file_catalog_mc
18  @table::dunefddphase_simulation_services_legacy
19  NuRandomService: @local::random_NuRandomService # seedservice.fcl
20  Geometry: @local::dunedphase10kt_workspace4x2_geo
21 }
22 
23 
24 services.LArG4Parameters.FillSimEnergyDeposits: true
25 
26 # Start each new event with an empty event.
27 source:
28 {
29  module_type: EmptyEvent
30  timestampPlugin: { plugin_type: "GeneratedEventTimestamp" }
31  maxEvents: 1 # Number of events to create
32  firstRun: 1 # Run number to use for this file
33  firstEvent: 1 # number of first event in the file
34 }
35 physics:
36 {
37 
38  producers:
39  {
40  generator: @local::dune_marley_monoenergetic
41  rns: { module_type: "RandomNumberSaver" }
42  }
43 
44  simulate: [ rns, generator]
45  stream1: [ out1 ]
46 
47  trigger_paths: [ simulate ]
48  end_paths: [ stream1 ]
49 }
50 
51 outputs:
52 {
53  out1:
54  {
55  module_type: RootOutput
56  fileName: "dunedp_marley_FD_geng4detsim_TO_CHANGE_ENERGYMeV.root" # Default file name, can override from command line with -o or --output
57  dataTier: "detsim"
58  compressionLevel: 1
59  }
60 }
61 
62 physics.producers.generator.marley_parameters.source.energy: 15 #MeV
63 
64 #physics.producers.generator.vertex: { type: "fixed" position: [ 550., 0., 3000. ]}