All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
standard_detsim_sbnd.fcl
Go to the documentation of this file.
1 #
2 # File: standard_detsim_sbnd.fcl
3 # Purpose: Simulates readout response to induced and collected charge
4 #
5 # This configuration runs the detector simulation
6 #
7 # Input:
8 # - output of OpticalFastSimulation and ElectronDrift modules
9 #
10 # Output:
11 # - daq: RawDigit collection with simulated TPC readout response as waveforms
12 # - includes the whole input data
13 #
14 #
15 # Dependencies:
16 # - uses the bundle of SBND simulation services for readout simulation
17 
18 
19 #
20 # services
21 #
22 
24 #include "messages_sbnd.fcl"
25 
26 #
27 # modules
28 #
29 
30 #include "detsimmodules_sbnd.fcl"
31 #include "crtsimmodules_sbnd.fcl"
32 #include "crtslimmer_sbnd.fcl"
33 #include "opdetdigitizer_sbnd.fcl"
34 #include "rootoutput_sbnd.fcl"
35 
36 
37 process_name: DetSim
38 
39 services:
40 {
41  TFileService: { fileName: @local::sbnd_tfileoutput.fileName }
42  @table::sbnd_detsim_services
43  FileCatalogMetadata: @local::sbnd_file_catalog_mc
44  AuxDetExptGeoHelperInterface: { service_provider: "sbndcode/CRT/CRTGeometryHelper" }
45  AuxDetGeometry: { @table::sbnd_geo_source }
46 }
47 
48 
49 source:
50 {
51  module_type: RootInput
52 }
53 
54 
55 # Define and configure some modules to do work on each event.
56 # First modules are defined; they are scheduled later.
57 # Modules are grouped by type.
58 physics:
59 {
60 
61  producers:
62  {
63  rns: { module_type: "RandomNumberSaver" }
65  crtsim: @local::sbnd_crtsim
66  crt: @local::sbnd_crtslimmer
68  }
69 
70  #define the producer and filter modules for this path, order matters,
72 
73 
74  #define the output stream, there could be more than one if using filters
75  stream1: [ out1 ]
76 
77  #ie analyzers and output streams. these all run simultaneously
79 }
80 
81 # block to define where the output goes. if you defined a filter in the physics
82 # block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
83 # entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
84 outputs:
85 {
86  out1:
87  {
88  @table::sbnd_rootoutput # inherit shared settings
89  dataTier: "simulated"
90  compressionLevel: 1 # TODO better to use no compression here and Huffman encoding
91  }
92 }
93 
94 
95 
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
TString compression(pset.get< std::string >("CompressionType"))
BEGIN_PROLOG pandoraTrackRangeCryoW pandoraTrackRangeCryoW rns
process_name drop raw::OpDetWaveforms_DataApr2016RecoStage1_saturation_ * physics
process_name crtsim
Definition: crtsim_sbnd.fcl:53
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
services AuxDetGeometry
BEGIN_PROLOG sbnd_simwire
BEGIN_PROLOG sbnd_opdetdigitizer
return match has_match and(match.match_pdg==11 or match.match_pdg==-11)
physics simulate
BEGIN_PROLOG Ave chg rms true true true set to to turn off had been working not larger is probably better
BEGIN_PROLOG sbnd_rootoutput
process_name opdaq
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 crt
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsWindowPair END_PROLOG trigslidewindowOR6m output outputs
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG process_name