All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
sbnworkshop_detsim_icarus.fcl
Go to the documentation of this file.
3 ##include "triggersim_icarus.fcl"
4 ##include "opticaldetectorsim_icarus.fcl"
5 ##include "time_memory_tracker_icarus.fcl"
6 ##include "swtrigger_icarus.fcl"
7 
8 process_name: Detsim
9 
10 services:
11 {
12  scheduler: { defaultExceptions: false } # Make all uncaught exceptions fatal.
13  # Load the service that manages root files for histograms.
14  TFileService: { fileName: "detsim_hist.root" }
15  #TimeTracker: @local::icarus_time_tracker
16  #MemoryTracker: @local::icarus_memory_tracker
17  RandomNumberGenerator: {} #ART native random number generator
18  #FileCatalogMetadata: @local::art_file_catalog_mc
19  @table::icarus_common_services
20 }
21 
22 #source is now a root file
23 source:
24 {
25  module_type: RootInput
26  maxEvents: 10 # Number of events to create
28 }
29 
30 # Define and configure some modules to do work on each event.
31 # First modules are defined; they are scheduled later.
32 # Modules are grouped by type.
33 physics:
34 {
35 
36  producers:
37  {
38  daq: @local::icarus_simwire
39  rns: { module_type: "RandomNumberSaver" }
40  }
41 
42  #define the producer and filter modules for this path, order matters,
43  #filters reject all following items. see lines starting physics.producers below
45 
46  #define the output stream, there could be more than one if using filters
47  stream1: [ out1 ]
48 
49  #trigger_paths is a keyword and contains the paths that modify the art::event,
50  #ie filters and producers
52 
53  #end_paths is a keyword and contains the paths that do not modify the art::Event,
54  #ie analyzers and output streams. these all run simultaneously
55  end_paths: [stream1]
56 }
57 
58 # For SBN workshop revert to white noise in the simulation
59 physics.producers.daq.NoiseGenToolVec: [@local::WhiteNoiseTool, @local::WhiteNoiseTool, @local::WhiteNoiseTool]
60 physics.producers.daq.NoiseFactVec: [ [ 1.8, 1.8, 1.8, 1.8 ], [ 1.8, 1.8, 1.8, 1.8 ], [ 1.8, 1.8, 1.8, 1.8 ] ]
61 
62 #block to define where the output goes. if you defined a filter in the physics
63 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
64 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
65 outputs:
66 {
67  out1:
68  {
69  module_type: RootOutput
70  fileName: "%ifb_%tc_detsim.root"
71  dataTier: "detector-simulated"
73  compressionLevel: 1
74  fastCloning: false
75  }
76 }
77 
services RandomNumberGenerator
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
BEGIN_PROLOG pandoraTrackRangeCryoW pandoraTrackRangeCryoW rns
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
#define the
source drop raw::ubdaqSoftwareTriggerData_ *_ *_ * maxEvents
Definition: frame-shunt.fcl:6
BEGIN_PROLOG dataFFTHistosEW root
physics simulate
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
standard_singlep gaussian distribution ie ie ie gaussian gaussian gaussian larg4Main stream1
Definition: multigen.fcl:18
process_name keep raw::RawDigits_ *_ *_ * saveMemoryObjectThreshold
Definition: test_mchdb.fcl:5
process_name showerreco Particles Coinciding wih the Vertex services ScanOptions nu_mu services ScanOptions Number
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsWindowPair END_PROLOG trigslidewindowOR6m output outputs
process_name sequence::icarus_reco_cluster3d physics trigger_paths
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG process_name