All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
legacy_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 # Author: Gianluca Petrillo (petrillo@fnal.gov)
5 # Date: December 23, 2016
6 # Version: 1.1
7 #
8 # This configuration runs event generation, simulation of propagation through
9 # matter and readout simulation.
10 #
11 # Input:
12 # - output from LArG4 module (in particular, SimChannels)
13 #
14 # Output:
15 # - daq: RawDigit collection with simulated TPC readout response as waveforms
16 # - includes the whole input data
17 #
18 #
19 # Dependencies:
20 # - uses the bundle of SBND simulation services for readout simulation
21 #
22 # Changes:
23 # 20160601 (petrillo@fnal.gov) [v1.0]
24 # first version
25 #
26 # 20161223 (petrillo@fnal.gov) [v1.1]
27 # - adopted shared root output configuration
28 #
29 #
30 
31 #
32 # services
33 #
34 
36 #include "messages_sbnd.fcl"
37 
38 #
39 # modules
40 #
41 
42 #include "detsimmodules_sbnd.fcl"
43 #include "crtsimmodules_sbnd.fcl"
44 #include "crtslimmer_sbnd.fcl"
45 #include "rootoutput_sbnd.fcl"
46 #include "opdetdigitizer_sbnd.fcl"
47 
48 
49 
50 process_name: DetSim
51 
52 services:
53 {
54  TFileService: { fileName: @local::sbnd_tfileoutput.fileName }
55  @table::sbnd_detsim_services
56  FileCatalogMetadata: @local::sbnd_file_catalog_mc
57  AuxDetExptGeoHelperInterface: { service_provider: "sbndcode/CRT/CRTGeometryHelper" }
58  AuxDetGeometry: { @table::sbnd_geo_source }
59 }
60 
61 
62 source:
63 {
64  module_type: RootInput
65 }
66 
67 
68 # Define and configure some modules to do work on each event.
69 # First modules are defined; they are scheduled later.
70 # Modules are grouped by type.
71 physics:
72 {
73 
74  producers:
75  {
76  rns: { module_type: "RandomNumberSaver" }
77  daq: @local::sbnd_simwire_legacy
78  crtsim: @local::sbnd_crtsim
79  crt: @local::sbnd_crtslimmer
80  opdaq: @local::sbnd_opdetdigitizer_legacy
81  }
82 
83  #define the producer and filter modules for this path, order matters,
85 
86  #define the output stream, there could be more than one if using filters
87  stream1: [ out1 ]
88 
89  #ie analyzers and output streams. these all run simultaneously
90  end_paths: [stream1]
91 }
92 
93 # block to define where the output goes. if you defined a filter in the physics
94 # block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
95 # entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
96 outputs:
97 {
98  out1:
99  {
100  @table::sbnd_rootoutput # inherit shared settings
101  dataTier: "simulated"
102  compressionLevel: 1 # TODO better to use no compression here and Huffman encoding
103  }
104 }
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
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