1 # Generates time-dependent events in the DUNE 10kt 1x2x6 geometry
4 #include "services_dune.fcl"
6 process_name: MARLEYTimeGen
10 # Load the service that manages root files for histograms.
11 TFileService: { fileName: "marley_time_hist.root" }
13 RandomNumberGenerator: {} #ART native random number generator
14 @table::dunefd_simulation_services
15 Geometry: @local::dune10kt_1x2x6_geo
19 #Start each new event with an empty event.
22 module_type: EmptyEvent
23 timestampPlugin: { plugin_type: "GeneratedEventTimestamp" }
24 maxEvents: 100 # Number of events to create
25 firstRun: 1 # Run number to use for this file
26 firstEvent: 1 # Number of first event in the file
29 # Define and configure some modules to do work on each event.
30 # First modules are defined; they are scheduled later.
31 # Modules are grouped by type.
37 # Generate events using MARLEY
38 generator: { @table::standard_marley
39 module_type: "MARLEYTimeGen"
40 sampling_mode: "histogram"
43 spectrum_file: "SupernovaModels/Huedepohl-Accretion-LS220-s11.2_parameters.dat"
44 spectrum_file_format: "fit"
45 pinching_parameter_type: "alpha"
49 #spectrum_file: "nusperbin2d.root"
50 #spectrum_file_format: "th2d"
51 #namecycle: "nusperbin2d_nue"
53 # Save the state of the LArSoft random number generators
54 rns: { module_type: "RandomNumberSaver" }
57 # define the producer and filter modules for this path, order matters, filters
58 # reject all following items. see lines starting physics.producers below
59 simulate: [ rns, generator ]
61 # define the output stream, there could be more than one if using filters
64 # trigger_paths is a keyword and contains the paths that modify the
65 # art::event, ie filters and producers
66 trigger_paths: [simulate]
68 # end_paths is a keyword and contains the paths that do not modify the
69 # art::Event, ie analyzers and output streams. these all run simultaneousy
73 # block to define where the output goes. if you defined a filter in the
74 # physics block and put it in the trigger_paths then you need to put a
75 # SelectEvents: {SelectEvents: [XXX]} entry in the output stream you want those
76 # to go to, where XXX is the label of the filter module(s)
81 module_type: RootOutput
82 # default file name, can override from command line with -o or --output
83 fileName: "marley_time_gen.root"