All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
prodmarleytime.fcl
Go to the documentation of this file.
1 # Generates time-dependent events in the DUNE 10kt 1x2x6 geometry
2 
3 #include "marley.fcl"
4 #include "services_dune.fcl"
5 
6 process_name: MARLEYTimeGen
7 
9 {
10  # Load the service that manages root files for histograms.
11  TFileService: { fileName: "marley_time_hist.root" }
12  TimeTracker: {}
13  RandomNumberGenerator: {} #ART native random number generator
14  @table::dunefd_simulation_services
15  Geometry: @local::dune10kt_1x2x6_geo
16 }
17 
18 
19 #Start each new event with an empty event.
20 source:
21 {
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
27 }
28 
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.
32 physics:
33 {
34 
35  producers:
36  {
37  # Generate events using MARLEY
38  generator: { @table::standard_marley
39  module_type: "MARLEYTimeGen"
40  sampling_mode: "histogram"
41  nu_per_event: 1
42 
43  spectrum_file: "SupernovaModels/Huedepohl-Accretion-LS220-s11.2_parameters.dat"
44  spectrum_file_format: "fit"
45  pinching_parameter_type: "alpha"
46  fit_Emin: 0. # MeV
47  fit_Emax: 100. # MeV
48 
49  #spectrum_file: "nusperbin2d.root"
50  #spectrum_file_format: "th2d"
51  #namecycle: "nusperbin2d_nue"
52  }
53  # Save the state of the LArSoft random number generators
54  rns: { module_type: "RandomNumberSaver" }
55  }
56 
57  # define the producer and filter modules for this path, order matters, filters
58  # reject all following items. see lines starting physics.producers below
60 
61  # define the output stream, there could be more than one if using filters
62  stream1: [ out1 ]
63 
64  # trigger_paths is a keyword and contains the paths that modify the
65  # art::event, ie filters and producers
67 
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
71 }
72 
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)
77 outputs:
78 {
79  out1:
80  {
81  module_type: RootOutput
82  # default file name, can override from command line with -o or --output
83  fileName: "marley_time_gen.root"
84  }
85 }
services RandomNumberGenerator
BEGIN_PROLOG triggeremu_data_config_icarus settings PMTADCthresholds sequence::icarus_stage0_multiTPC_TPC physics sequence::icarus_stage0_EastHits_TPC physics sequence::icarus_stage0_WestHits_TPC physics producers purityana0 caloskimCalorimetryCryoE physics caloskimCalorimetryCryoW physics sequence::physics pathW services
BEGIN_PROLOG pandoraTrackRangeCryoW pandoraTrackRangeCryoW rns
process_name drop raw::OpDetWaveforms_DataApr2016RecoStage1_saturation_ * physics
do source
* file
Definition: file_to_url.sh:69
physics producers trigslidewindowOR6mW physics effSlidingOR6mW physics end_paths
#define the
source drop raw::ubdaqSoftwareTriggerData_ *_ *_ * maxEvents
Definition: frame-shunt.fcl:6
A value measured in the specified unit.
Definition: quantities.h:566
physics simulate
BEGIN_PROLOG triggeremu_data_config_icarus settings PMTADCthresholds sequence::icarus_stage0_multiTPC_TPC physics sequence::icarus_stage0_EastHits_TPC physics sequence::icarus_stage0_WestHits_TPC physics producers purityana0 module_type
if &&[-z"$BASH_VERSION"] then echo Attempting to switch to bash bash shellSwitch exit fi &&["$1"= 'shellSwitch'] shift declare a IncludeDirectives for Dir in
standard_singlep gaussian distribution ie ie ie gaussian gaussian gaussian larg4Main stream1
Definition: multigen.fcl:18
process_name showerreco Particles Coinciding wih the Vertex services ScanOptions nu_mu services ScanOptions Number
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsWindowPair END_PROLOG trigslidewindowOR6m output outputs
process_name sequence::icarus_reco_cluster3d physics trigger_paths
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG process_name