RunRawDecoderShMem.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 services:
7 {
8  #message: @local::dune_message_services_prod_debug
9  TFileService: { fileName: "/scratch/OMoutput/np04_hist_run%06r_%#.root" }
10  PdspChannelMapService: {
11  FileName: "protoDUNETPCChannelMap_RCE_v4.txt"
12  FELIXFileName: "protoDUNETPCChannelMap_FELIX_v4.txt"
13  SSPFileName: "protoDUNESSPChannelMap_v1.txt"
14  LogLevel: 1
15  }
16 }
17 
18  physics:
19 {
20  producers:
21  {
22 
23  timingrawdecoder: @local::timing_raw_decoder
24  ssprawdecoder: @local::ssp_raw_decoder
25  rcerawdecoder: @local::rce_raw_decoder
26 
27  }
28 
29  #Create path to run module
30  produce: [ timingrawdecoder, ssprawdecoder, rcerawdecoder ]
31  #produce: [ timingrawdecoder, rcerawdecoder ]
32  output: [ out1 ]
33  trigger_paths : [ produce ]
34  end_paths: [ ]
35 }
36 
37 #services: {
38 #}
39 
40 outputs:
41 {
42  out1:
43  {
44  module_type: RootOutput
45  fileName: "RawDecoder.root"
46  }
47 
48 }
49 
50 #source:
51 #{
52 # module_type: RootInput
53 # fileNames: [ "/afs/cern.ch/user/s/sergiand/workspace/artdaq_devel/pdune_r1000077_sr01_20170629T181646_1_0.root" ]
54 # maxEvents : -1
55 #}
56 
57 source:
58 {
59 
60  module_type: TransferInput
61 
62  # The timeout shouldn't be much smaller than the period between events, otherwise
63  # there's a spew of timeout messages
64 
65  timeoutInUsecs: 10000000
66 
67  dispatcherHost: localhost
68  dispatcherPort: 5266
69 
70  transfer_plugin: {
71 
72  transferPluginType: Shmem
73 
74  unique_label: "shmem0"
75 
76  shm_key: 0x40471450
77 
78  max_fragment_size_words: 40971520
79  first_event_builder_rank: 0
80  }
81 }
82 
83 process_name: RunRawDecoder
84