1 #include "services_dune.fcl"
2 #include "PDSPDataDrivenBeam.fcl"
4 process_name: PDSPDataDrivenBeamGen
8 # Load the service that manages root files for histograms.
10 RandomNumberGenerator: {} #ART native random number generator
11 FileCatalogMetadata: @local::art_file_catalog_mc
12 @table::protodune_simulation_services
13 TFileService: { #closeFileFast: true
14 fileName: "datadriven_hist.root" #can be overridden by '-T'
18 #Start each new event with an empty event.
21 module_type: EmptyEvent
22 timestampPlugin: { plugin_type: "GeneratedEventTimestamp" }
24 firstRun: 1 # Run number to use for this file
25 firstEvent: 1 # number of first event in the file
32 generator: @local::datadriven_beam
33 rns: { module_type: "RandomNumberSaver" }
35 simulate: [ rns, generator ]
37 trigger_paths: [simulate]
45 module_type: RootOutput
46 fileName: "genBeam_dataDriven.root" #default file name, can override from command line with -o or --output
52 physics.producers.generator.InputFileName: "p100.root"
53 physics.producers.generator.ResolutionFileName: "2D_res.root" #"beam_res.root"
54 physics.producers.generator.NGenerate: 5
55 physics.producers.generator.UnsmearType: 2
56 source.maxEvents: @local::physics.producers.generator.NGenerate
57 physics.producers.generator.Verbose: false