runpdtriggerfilter.fcl
Go to the documentation of this file.
1 #include "ProtoDUNETriggerFilter.fcl"
2 
3 process_name: PDSPTrigerFilter
4 
5 services:
6 {
7  # Load the service that manages root files for histograms.
8  #TFileService: { fileName: "filtered_hist.root" }
9  TimeTracker: {}
10 # RandomNumberGenerator: {} #ART native random number generator
11 # message: @local::standard_warning
12 # user: @local::argoneut_services
13 }
14 
15 
16 #source is now a root file
17 source:
18 {
19  module_type: RootInput
20  #maxEvents: 10 # Number of events to create
21 }
22 
23 outputs:
24 {
25  out1:
26  {
27  module_type: RootOutput
28  fileName: "%ifb_filtered.root" #default file name, can override from command line with -o or --output
29  SelectEvents:[reco]
30  fastCloning: true
31  }
32 }
33 
34 # Define and configure some modules to do work on each event.
35 # First modules are defined; they are scheduled later.
36 # Modules are grouped by type.
37 physics:
38 {
39 
40  producers: { }
41 
42  filters: {
43  filter: @local::pdsp_trigfilter_beam
44  }
45 
46  #define the producer and filter modules for this path, order matters,
47  #filters reject all following items. see lines starting physics.producers below
48  reco: [ filter ]
49 # reco: []
50  #filter: [ muonfilter ]
51 
52  #define the output stream, there could be more than one if using filters
53  stream1: [ out1 ]
54 
55  #trigger_paths is a keyword and contains the paths that modify the art::event,
56  #ie filters and producers
57  trigger_paths: [ reco ]
58 
59  #end_paths is a keyword and contains the paths that do not modify the art::Event,
60  #ie analyzers and output streams. these all run simultaneously
61  end_paths: [ stream1 ]
62 }
63 #physics.filters.filter.TimingFlagSelectList: [0x8] #cosmic
64 #physics.filters.filter.TimingFlagSelectList: [0xc] #beam
65 #physics.filters.filter.TimingFlagSelectList: [0xd] #CRT