addgeniejob.fcl
Go to the documentation of this file.
1 # nope #include "services.fcl"
2 
3 #include "AddGenieEventsToArt.fcl"
4 #include "GenieOutput.fcl"
5 
6 process_name: MoreGenie
7 
8 services:
9 {
10  # Load the service that manages root files for histograms.
11  TFileService: { fileName: "addgenie_hist.root" closeFileFast: false }
12  RandomNumberGenerator: {} #ART native random number generator
13  scheduler: { wantTracer: true wantSummary: true }
14 
15  # IFDH: {IFDH_BASE_URI: "http://samweb.fnal.gov:8480/sam/nova/api"}
16  # nope @table::standard_services
17 }
18 
19 # Edit here to generate in a different detector. See Geometry.fcl
20 # If this is changed be sure to change the GENIE flux (below) to match
21 # services.Geometry: @local::nd_geo
22 
23 #Start each new event with an empty event.
24 source:
25 {
26  module_type: EmptyEvent
27  firstRun: 1000001 # Run number to use for this file
28  firstSubRun: 1 # Subrun number to use for this file
29  firstEvent: 1 # number of first event in the file
30 }
31 
32 # Define and configure some modules to do work on each event.
33 # First modules are defined; they are scheduled later.
34 # Modules are grouped by type.
35 physics:
36 {
37 
38  producers:
39  {
40  # when fetched from file by dump module they'll come back
41  # ordered alphabetically by label, so for convenience put
42  # them in in that order (easing comparisons)
43 ## cosmic: @local::standard_add_genie
44  dk2nu: @local::standard_add_genie
45 # gnumi: @local::standard_add_genie
46 # gsimple: @local::standard_add_genie
47 ## nuone: @local::standard_add_genie
48 # protondk: @local::standard_add_genie
49 ## rock: @local::standard_add_genie
50  }
51 
52  analyzers:
53  {
54  outputgenie: @local::standard_genie_output
55  }
56 
57 ## simulate: [ cosmic, dk2nu, gnumi, gsimple, nuone, protondk, rock ]
58 # simulate: [ dk2nu, gnumi, gsimple, protondk ]
59 # simulate: [ protondk ]
60  simulate: [ dk2nu ]
61 
62  stream1: [ outputgenie, out1 ]
63 
64  trigger_paths: [ simulate ]
65  end_paths: [ stream1 ]
66 
67 }
68 
69 outputs:
70 {
71  out1:
72  {
73  module_type: RootOutput
74  fileName: "addgenie.root" # default name, override w/ -o --output
75  SelectEvents: [ simulate ]
76  }
77 }
78 
79 ##physics.producers.cosmic.fileList: [ "genie_samples/*cosmic*.ghep.root" ]
80 ##physics.producers.cosmic.timeConfig: "none"
81 ##physics.producers.cosmic.addMCFlux: false
82 ##physics.producers.cosmic.countConfig: "fixed: 1" # always exactly 1
83 
84 ### these fake files should have dk2nu flux info
85 physics.producers.dk2nu.fileList: [ "genie_samples/*dk2nu*.ghep.root" ]
86 physics.producers.dk2nu.timeConfig: "NuMI"
87 physics.producers.dk2nu.addMCFlux: true
88 physics.producers.dk2nu.countConfig: "gauss: 2.0 1.5"
89 
90 ### these fake files should have gnumi flux info
91 #physics.producers.gnumi.fileList: [ "genie_samples/*gnumi*.ghep.root" ]
92 #physics.producers.gnumi.timeConfig: "NuMI"
93 #physics.producers.gnumi.addMCFlux: true
94 #physics.producers.gnumi.countConfig: "poisson: 1.25"
95 
96 ### these fake files should have gsimple flux info
97 #physics.producers.gsimple.fileList: [ "genie_samples/*gsimple*.ghep.root" ]
98 #physics.producers.gsimple.timeConfig: "NuMI"
99 #physics.producers.gsimple.addMCFlux: true
100 #physics.producers.gsimple.countConfig: "poisson-1: 2.4"
101 
102 ### these nu on electron files should have gsimple flux info
103 ##physics.producers.nuone.fileList: [ "genie_samples/*nuone*.ghep.root" ]
104 ##physics.producers.nuone.timeConfig: "NuMI"
105 ##physics.producers.nuone.addMCFlux: true
106 ##physics.producers.nuone.countConfig: "fixed: 1"
107 
108 ### obviously no flux ...
109 #physics.producers.protondk.fileList: [ "genie_samples/*protondk*.ghep.root" ]
110 #physics.producers.protondk.timeConfig: "flat 100000"
111 #physics.producers.protondk.addMCFlux: false
112 #physics.producers.protondk.countConfig: "flat 4 8"
113 ### also need to be scattered about
114 #physics.producers.protondk.vtxOffsets: {
115 # xlo: -1 # meters
116 # xhi: 1
117 # ylo: -1
118 # yhi: 1
119 # zlo: 1
120 # zhi: 5
121 #}
122 
123 ### these fake files don't have flux info (generated w/ gevgen)
124 ##physics.producers.rock.fileList: [ "genie_samples/*rock*.ghep.root" ]
125 ##physics.producers.rock.timeConfig: "NuMI"
126 ##physics.producers.rock.addMCFlux: false # true
127 ##physics.producers.rock.countConfig: "poisson: 4.2"
128 
129 physics.analyzers.outputgenie.dumpFilePattern: "cout"
130 physics.analyzers.outputgenie.dumpMCTruth: true
131 physics.analyzers.outputgenie.dumpGTruth: true
132 physics.analyzers.outputgenie.dumpMCFlux: true
133 
134 # end-of-fcl