RunRawDecoderIfCRTTrigger.fcl
Go to the documentation of this file.
1 #include "services_dune.fcl"
2 
3 #This is the default configuration file
4 #include "RawDecoder.fcl"
5 
6 #This is for parsing beam info
7 #include "BeamEvent.fcl"
8 
9 #This is for using a filter to stop processing on
10 #events that weren't triggered by the CRT.
11 #include "ProtoDUNETriggerFilter.fcl"
12 
13 services:
14 {
15  #message: @local::dune_message_services_prod_debug
16 
17  TimeTracker: {}
18  RandomNumberGenerator: {}
19 
20  @table::protodune_rawdecoding_services
21 
22  TFileService: {
23  closeFileFast: true # default
24  fileName: "RunRawDecoderTFile.root"
25  tmpDir: "<parent-path-of-filename>" # default
26  }
27 
28  IFBeam: {}
29 
30 }
31 
32 physics:
33 {
34  producers:
35  {
36 
37  timingrawdecoder: @local::timing_raw_decoder
38  ssprawdecoder: @local::ssp_raw_decoder_split
39  tpcrawdecoder: @local::pdsp_tpc_raw_decoder
40  crtrawdecoder: @local::crt_raw_decoder
41  ctbrawdecoder: @local::ctb_raw_decoder
42  beamevent: @local::proto_beamevent
43 
44  }
45  filters:
46  {
47  isCRT: @local::pdsp_trigfilter_crt
48  }
49 
50  #Create path to run module
51  #add ctbrawdecoder when it is tested
52  produce: [ timingrawdecoder, isCRT, ssprawdecoder, tpcrawdecoder, crtrawdecoder, ctbrawdecoder, beamevent ]
53  output: [ out1 ]
54  trigger_paths : [ produce ]
55  end_paths: [ output ]
56 }
57 
58 outputs:
59 {
60  out1:
61  {
62  outputCommands: [ "keep *", "drop artdaq::Fragments_*_*TPC_*", "drop artdaq::Fragments_*_*FELIX_*" ]
63  compressionLevel: 1
64  module_type: RootOutput
65  fileName: "%ifb_decode.root"
66  SelectEvents: [ produce ]
67  }
68 
69 }
70 
71 source:
72 {
73  module_type: RootInput
74  fileNames: [ "/afs/cern.ch/user/s/sergiand/workspace/artdaq_devel/pdune_r1000077_sr01_20170629T181646_1_0.root" ]
75  maxEvents : -1
76 }
77 
78 process_name: RunRawDecoder
79