prod_Ni59Calib.fcl
Go to the documentation of this file.
1 #include "services_dune.fcl"
2 #include "dune_radiological_model.fcl"
3 
4 process_name: BackgroundGen
5 
6 services:
7 {
8  # Load the service that manages root files for histograms.
9  TFileService: { fileName: "prodbackground_hist.root" }
10  TimeTracker: {}
11  #MemoryTracker: { ignoreTotal: 1 } # 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: 20000061 # Run number to use for this file
24  firstEvent: 1 # number of first event in the file
25 }
26 
27 #######################################################################################################################################
28 # Define and configure some modules to do work on each event.
29 # First modules are defined; they are scheduled later.
30 # Modules are grouped by type.
31 
32 
33 services.Geometry: @local::dune10kt_1x2x6_v3_geo
34 
35 physics:
36 {
37 
38  producers:
39  {
40  generator: {
41  BqPercc: [ 10000 ]
42  Material: [ ".*" ]
43  Nuclide: [ "59Ni" ]
44  T0: [ 0.0 ]
45  T1: [ 1.6e6 ]
46  X0: [ 219.5 ]
47  X1: [ 220.5 ]
48  Y0: [ 299.5 ]
49  Y1: [ 300.5 ]
50  Z0: [ -40.5 ]
51  Z1: [ -39.5 ]
52  module_label: "apaGen"
53  module_type: "RadioGen"
54  }
55 
56  arGen: @local::dune10kt_1x2x6_39ar
57  rnGen: @local::dune10kt_1x2x6_222rn
58  apaGen: @local::dune10kt_1x2x6_APA
59  cpaGen: @local::dune10kt_1x2x6_CPA
60  poGen: @local::dune10kt_1x2x6_210po
61  krGen: @local::dune10kt_1x2x6_85kr
62  neutronGen: @local::dune10kt_1x2x6_neutron
63  rns: { module_type: "RandomNumberSaver" }
64  }
65 
66  # Define the producer and filter modules for this path, order matters,
67  simulate: [ rns, generator ]
68 
69  # Define the output stream, there could be more than one if using filters
70  stream1: [ out1 ]
71 
72  # Trigger_paths is a keyword and contains the paths that modify the art::event,
73  # ie filters and producers
74  trigger_paths: [ simulate ]
75 
76  # end_paths is a keyword and contains the paths that do not modify the art::Event,
77  # ie analyzers and output streams. These all run simultaneously
78  end_paths: [ stream1 ]
79 }
80 
81 # Block to define where the output goes. If you defined a filter in the physics
82 # block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
83 # entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
84 outputs:
85 {
86  out1:
87  {
88  module_type: RootOutput
89  fileName: "prodbackground_dune10kt_1x2x6_gen.root" # Default file name, can override from command line with -o or --output
90  dataTier: "generated"
91  compressionLevel: 1
92  }
93 }
94 
95 ##########Sync times. We start from 0 to make sure none of the calibration source comes in outside of our readout time. This allows us to do accurate wall time measurements.
96 physics.producers.arGen.T0: [ 0.0 ]
97 physics.producers.rnGen.T0: [ 0.0 ]
98 physics.producers.apaGen.T0: [ 0.0 ]
99 physics.producers.cpaGen.T0: [ 0.0 ]
100 physics.producers.poGen.T0: [ 0.0 ]
101 physics.producers.krGen.T0: [ 0.0 ]
102 physics.producers.neutronGen.T0: [ 0.0, 0.0, 0.0, 0.0 ]