dunedp_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 }
21 
22 services.LArG4Parameters.FillSimEnergyDeposits: true
23 
24 # Start each new event with an empty event.
25 source:
26 {
27  module_type: EmptyEvent
28  timestampPlugin: { plugin_type: "GeneratedEventTimestamp" }
29  maxEvents: 1 # Number of events to create
30  firstRun: 1 # Run number to use for this file
31  firstEvent: 1 # number of first event in the file
32 }
33 physics:
34 {
35 
36  producers:
37  {
38  generator: @local::dune_marley_monoenergetic
39  rns: { module_type: "RandomNumberSaver" }
40  }
41 
42  simulate: [ rns, generator]
43  stream1: [ out1 ]
44 
45  trigger_paths: [ simulate ]
46  end_paths: [ stream1 ]
47 }
48 
49 outputs:
50 {
51  out1:
52  {
53  module_type: RootOutput
54  fileName: "dunedp_marley_FD_geng4detsim_TO_CHANGE_ENERGYMeV.root" # Default file name, can override from command line with -o or --output
55  dataTier: "detsim"
56  compressionLevel: 1
57  }
58 }
59 
60 physics.producers.generator.marley_parameters.source.energy: 15 #MeV
61 
62 #physics.producers.generator.vertex: { type: "fixed" position: [ 550., 0., 3000. ]}