prodmarley_nue_spectrum_timedep_hudepohl_11.2M_dune10kt_1x2x6.fcl
Go to the documentation of this file.
1 #include "services_dune.fcl"
2 #include "marley_dune.fcl"
3 
4 process_name: MARLEYGen
5 
6 services:
7 {
8  # Load the service that manages root files for histograms.
9  TFileService: { fileName: "prodmarley_integrated-hudepohl-shen-cooling-s11.2co_hist.root" }
10  TimeTracker: {}
11  MemoryTracker: { } # default is one
12  RandomNumberGenerator: {} # ART native random number generator
13  FileCatalogMetadata: @local::art_file_catalog_mc
14  @table::dunefd_services
15 }
16 
17 # Start each new event with an empty event.
18 source:
19 {
20  module_type: EmptyEvent
21  timestampPlugin: { plugin_type: "GeneratedEventTimestamp" }
22  maxEvents: 10 # Number of events to create
23  firstRun: 20000047 # Run number to use for this file
24  firstEvent: 1 # number of first event in the file
25 }
26 
27 # Define and configure some modules to do work on each event.
28 # First modules are defined; they are scheduled later.
29 # Modules are grouped by type.
30 physics:
31 {
32 
33  producers:
34  {
35  marley: { @table::standard_marley
36  module_type: "MARLEYTimeGen"
37 
38  # Sample neutrino arrival times and energies directly from the
39  # histogram (after reweighting by the reaction cross section).
40  # If you'd like to perform biased sampling, you may also choose
41  # "uniform time" or "uniform energy" for the sampling mode.
42  sampling_mode: "histogram"
43 
44  # File containing fit parameters that describe the incident
45  # (i.e., not cross-section-weighted) supernova neutrino flux
46  spectrum_file: "SupernovaModels/Huedepohl-Cooling-Shen-s11.2co_parameters.dat"
47 
48  spectrum_file_format: "fit"
49  pinching_parameter_type: "alpha"
50  fit_Emin: 0. # MeV
51  fit_Emax: 100. # MeV
52 
53  # The number of neutrino vertices that should be produced by MARLEY in each art::Event
54  nu_per_event: 1
55  }
56  rns: { module_type: "RandomNumberSaver" }
57  }
58 
59  # Define the producer and filter modules for this path, order matters,
60  # filters reject all following items. See lines starting physics.producers below
61  simulate: [ rns, marley ]
62 
63  # Define the output stream, there could be more than one if using filters
64  stream1: [ out1 ]
65 
66  # Trigger_paths is a keyword and contains the paths that modify the art::event,
67  # ie filters and producers
68  trigger_paths: [ simulate ]
69 
70  # end_paths is a keyword and contains the paths that do not modify the art::Event,
71  # ie analyzers and output streams. These all run simultaneously
72  end_paths: [ stream1 ]
73 }
74 
75 # Block to define where the output goes. If you defined a filter in the physics
76 # block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
77 # entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
78 outputs:
79 {
80  out1:
81  {
82  module_type: RootOutput
83  fileName: "prodmarley_integrated-hudepohl-shen-cooling-s11.2co_dune10kt_1x2x6_gen.root" # Default file name, can override from command line with -o or --output
84  dataTier: "generated"
85  compressionLevel: 1
86  }
87 }
88 
89 services:
90 {
91  @table::services
92  @table::dunefd_1x2x6_services
93 }
94