runGENIEHelperTest.fcl
Go to the documentation of this file.
1 #include "TestGENIEHelper.fcl"
2 
3 process_name: GenieHelper
4 
5 services:
6 {
7  # Load the service that manages root files for histograms.
8  TFileService: { fileName: "geniehelpertest.hist.root"
9  closeFileFast: false }
10  RandomNumberGenerator: {} #ART native random number generator
11  scheduler: { wantTracer: true wantSummary: true }
12 
13  # using IFDH as a service, so it needs something here
14  # we don't actually use this URI in this job
15  IFDH: {
16  IFDH_BASE_URI: "http://samweb.fnal.gov:8480/sam/nova/api"
17  }
18 
19 # newer versions of art want a definition of "scheduler" or one gets:
20 # %MSG-s StdLibException: Early 06-Dec-2018 15:32:04 CST JobSetup
21 # Standard library exception caught in art
22 # Any parameters prefaced with '#' are optional.
23 # Unsupported parameters:
24 # + wantTracer [ <file.fcl> ]
25  scheduler: { }
26 
27 ## https://cdcvs.fnal.gov/redmine/projects/art/wiki/ART_available_services
28 
29 # Always-present services; configuration optional.
30 # #rwh# floating_point_control: { ... }
31 
32 # scheduler: # options block in the old system
33 # {
34 # # see other parts of this page for the complete table or options and defaults
35 # Rethrow: ['OtherArt','StdException','Unknown','BadAlloc',
36 # 'BadExceptionType','ProductNotFound','DictionaryNotFound',
37 # 'InsertFailure','Configuration','LogicError',
38 # 'UnimplementedFeature','InvalidReference','NullPointerError',
39 # 'NoProductSpecified','EventTimeout','DataCorruption',
40 # 'ScheduleExecutionFailure','EventProcessorFailure',
41 # 'FileInPathError','FileOpenError','FileReadError',
42 # 'FatalRootError','MismatchedInputFiles',
43 # 'ProductDoesNotSupportViews','ProductDoesNotSupportPtr',
44 # 'NotFound']
45 # IgnoreCompletely: []
46 # wantSummary: true
47 # #rwh# wantTracer: true #rwh# false
48 # handleEmptyRuns: true
49 # handleEmptySubRuns: true
50 # #rwh# enableSigInt: true
51 # #rwh# unloadRootSigHandler: false
52 # #rwh# resetRootErrHandler: true
53 # }
54 
55 }
56 
57 # Start each new event with an empty event.
58 source:
59 {
60  module_type: EmptyEvent
61  firstRun: 1000001 # Run number to use for this file
62  firstSubRun: 1 # Subrun number to use for this file
63  firstEvent: 1 # number of first event in the file
64 }
65 
66 # Define and configure some modules to do work on each event.
67 # First modules are defined; they are scheduled later.
68 # Modules are grouped by type.
69 physics:
70 {
71 
72  producers:
73  {
74  generator: @local::geniehelpertest_dune_dk2nu
75 ### alternative tests
76 ### change filenames below (at bottom of file)
77 # generator: @local::geniehelpertest_nova_dk2nu
78 # generator: @local::geniehelpertest_dune_atmos # BARTOL
79 # generator: @local::geniehelpertest_dune_atmos_honda_rotfd
80 # generator: @local::geniehelpertest_func
81 
82  }
83 
84  filters:
85  {
86  }
87 
88  analyzers:
89  {
90  }
91 
92  #list the modules for this path, order matters
93  simulate: [ generator ]
94  stream1: [ out1 ] #could have multiple paths
95 
96  #things that modify the art::Event, filters and producers go here
97  trigger_paths: [ simulate ]
98 
99  #end_path are things that do not modify art::Event,
100  #includes analyzers and output modules. all items here can be run simultaneously
101  end_paths: [ stream1 ]
102 }
103 
104 #block to define where the output goes. if you defined a filter in the physics
105 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
106 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
107 outputs:
108 {
109  out1:
110  {
111  module_type: RootOutput
112  #default file name, can override from command line with -o or --output
113  fileName: "geniehelpertest.artgenie.root"
114  SelectEvents: [ simulate ]
115  }
116 }
117 
118 #services.TFileService.fileName: "bartol_dune.hist.root"
119 #out1.fileName: "bartol_dune.artgenie.root"
120 #services.TFileService.fileName: "honda_dune_rotfd.hist.root"
121 #outputs.out1.fileName: "honda_dune_rotfd.artgenie.root"
122 #services.TFileService.fileName: "test_func_ccqe.hist.root"
123 #outputs.out1.fileName: "test_func_ccqe.artgenie.root"
124 
125 # test for R-2_12_10
126 #physics.producers.generator.EventGeneratorList: "Default+CCMEC+NCMEC"
127 # test catching unsupported obsolete feature
128 #physics.producers.generator.Environment: [
129 # "GEVGL", "Default+CCMEC+NCMEC",
130 # "GSPLOAD", "SomeArbitraryFile",
131 # "GPRODMODE", "yes"
132 # ]
133 physics.producers.generator.GlobalTimeOffset: 500.
134 physics.producers.generator.SpillTimeConfig: " evgb::EvtTimeFNALBeam booster
135 intensity [ +1 2.0 -2 3e0 ] global=1234"
136 
137 # NuMI nfilled 99 nperbatch 89 dtbucket 18.8313 dtbucket 18.1234 nosuchkey
138 # sigma=2.5 fwhm -1.76625 global 123456
139 
140 
141 # end-of-fcl