RunPDSPMatch.fcl
Go to the documentation of this file.
1 #include "protoDUNE_reco_data_Dec2018.fcl"
2 #include "services_dune.fcl"
3 #include "opticaldetectormodules_dune.fcl"
4 #include "opticaldetectorservices_dune.fcl"
5 
6 #include "tools_dune.fcl"
7 #include "protodune_tools_dune.fcl"
8 
9 process_name: RunPDSPMatch
10 
11 services:
12 {
13  #message: @local::dune_message_services_prod_debug
14 
15  TimeTracker: {}
16  RandomNumberGenerator: {}
17 
18  @table::protodune_rawdecoding_services
19  @table::protodune_data_reco_services
20 
21  TFileService: {
22  closeFileFast: true # default
23  fileName: "%ifb_match.root"
24  tmpDir: "<parent-path-of-filename>" # default
25  }
26 
27  IFDH: {}
28 }
29 
30 #protodune_match:
31 #{
32 # module_type: "PDSPmatch"
33 # CTBLabel: "ctbrawdecoder:daq"
34 #}
35 
36 physics:
37 {
38  producers:
39  {
40  @table::protoDUNE_rawdecoding_producers
41  #ophitInternal: @local::protodune_ophit_data_internal #recoadd
42  ophitExternal: @local::protodune_ophit_data_external #recoadd
43  #opflashInternal: @local::protodune_opflash_data_internal #recoadd
44  opflashExternal: @local::protodune_opflash_data_external #recoadd
45  rns: { module_type: "RandomNumberSaver" } #recoadd
46 
47  }
48 
49  analyzers:
50  {
51  protodunematch:
52  {
53  module_type: "PDSPmatch"
54  TimingLabel: "timingrawdecoder:daq"
55  CTBLabel: "ctbrawdecoder:daq"
56  CRTLabel: "crtrawdecoder"
57  OpHitLabel: "ophitExternal"
58  PandoraLabel: "pandoraTrack"
59  PFParListLabel: "pandora"
60 
61  CRTCTBOffset: -87
62  CRTWindow: 12
63  MC: true
64 
65  SelectEvents: [ produce ]
66  }
67 
68  opflashanaExternal: @local::standard_opflashana
69  }
70  #Create path to run module
71  #add ctbrawdecoder when it is tested
72  #produce: [ @sequence::protoDUNE_rawdecoding ]
73  produce: [
74  "timingrawdecoder",
75  "ssprawdecoder",
76  "crtrawdecoder",
77  "ctbrawdecoder",
78  ophitExternal
79  ]
80  analyze: [ protodunematch ]
81  output: [ out1 ]
82  trigger_paths : [ produce ]
83  end_paths: [ analyze ]
84 }
85 
86 outputs:
87 {
88  out1:
89  {
90  outputCommands: [ "keep *", "drop artdaq::Fragments_*_*_*" ]
91  compressionLevel: 1
92  module_type: RootOutput
93  fileName: "%ifb_match.root"
94  dataTier: "full-reconstructed"
95  }
96 
97 }
98 
99 
100 
101 source:
102 {
103  module_type: RootInput
104  fileNames: [ "/afs/cern.ch/user/s/sergiand/workspace/artdaq_devel/pdune_r1000077_sr01_20170629T181646_1_0.root" ]
105  maxEvents : -1
106 }
107 
108 
109 physics.analyzers.opflashanaExternal.OpHitModuleLabel: "ophitExternal"