All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
test_trigger_decode.fcl
Go to the documentation of this file.
3 #include "decoderdefs_icarus.fcl"
4 #include "recowire_icarus.fcl"
6 #include "icarus_ophitfinder.fcl"
7 
9 
10 services:
11 {
12  TFileService: { }
13  IICARUSChannelMap: @local::icarus_channelmappinggservice
14  @table::icarus_calibration_services
15  @table::icarus_wirecalibration_services
16 }
17 
18 #Look at the input files
19 source:
20 {
21  module_type: RootInput
22  fileNames: [ "data.root" ]
23  maxEvents: -1 # Number of events to create
24 }
25 
26 # Make sure to get rid of NuRandomSvc (not thread save)
27 services.NuRandomService: @erase
28 
29 physics:
30 {
31  // now also have something produce the digits and headers
32  producers:
33  {
34  #daqPMT: @local::decodePMT
35  daqTrigger: @local::decodeTriggerV2
36 
37  }
38 
39  analyzers: {}
40  #my_producer_modules: [daqTPC, daqPMT, daqTrigger]
41  my_producer_modules: [ daqTrigger ]
42  a: [rootout]
43  end_paths: [a]
44 }
45 
46 # turn off the sam metadata for testing
47 services.FileCatalogMetadata: {}
48 
49 # Use this to setup the decoder module
50 
51 physics.producers.ophit.InputModule: "daqPMT"
52 physics.producers.ophit.InputLabels: []
53 
54 
55 outputs: {
56  rootout: {
57  module_type: "RootOutput"
58  dataTier: "decoded"
59  fileName: "%ifb_%tc-%p.root"
60  }
61 }
62 
63 # Drop the artdaq format files on output
64 outputs.rootout.outputCommands: ["keep *_*_*_*", "drop *_*_*_DAQ*" ]
BEGIN_PROLOG triggeremu_data_config_icarus settings PMTADCthresholds sequence::icarus_stage0_multiTPC_TPC physics sequence::icarus_stage0_EastHits_TPC physics sequence::icarus_stage0_WestHits_TPC physics producers purityana0 caloskimCalorimetryCryoE physics caloskimCalorimetryCryoW physics sequence::physics pathW services
process_name drop raw::OpDetWaveforms_DataApr2016RecoStage1_saturation_ * physics
do source
physics producers trigslidewindowOR6mW physics effSlidingOR6mW physics end_paths
process_name can override from command line with o or output dataTier
Definition: runPID.fcl:28
source drop raw::ubdaqSoftwareTriggerData_ *_ *_ * maxEvents
Definition: frame-shunt.fcl:6
process_name gaushit a
void decode(std::any const &src, Interval< Args...> &iv)
Decodes an interval.
process_name daqTrigger
BEGIN_PROLOG triggeremu_data_config_icarus settings PMTADCthresholds sequence::icarus_stage0_multiTPC_TPC physics sequence::icarus_stage0_EastHits_TPC physics sequence::icarus_stage0_WestHits_TPC physics producers purityana0 module_type
process_name analyzers
process_name showerreco Particles Coinciding wih the Vertex services ScanOptions nu_mu services ScanOptions Number
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsWindowPair END_PROLOG trigslidewindowOR6m output outputs
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG process_name