All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
detsim_calorimetry_workshop2020_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 "rootoutput_sbnd.fcl"
45 #include "opdetdigitizer_sbnd.fcl"
46 
47 
48 
49 process_name: DetSim
50 
51 services:
52 {
53  TFileService: { fileName: @local::sbnd_tfileoutput.fileName }
54  @table::sbnd_detsim_services
55  FileCatalogMetadata: @local::sbnd_file_catalog_mc
56  AuxDetExptGeoHelperInterface: { service_provider: "sbndcode/CRT/CRTGeometryHelper" }
57  AuxDetGeometry: { @table::sbnd_geo_source }
58 }
59 
60 
61 source:
62 {
63  module_type: RootInput
64 }
65 
66 
67 # Define and configure some modules to do work on each event.
68 # First modules are defined; they are scheduled later.
69 # Modules are grouped by type.
70 physics:
71 {
72 
73  producers:
74  {
75  rns: { module_type: "RandomNumberSaver" }
77  crt: @local::sbnd_crtsim
79  }
80 
81  #define the producer and filter modules for this path, order matters,
83 
84  #define the output stream, there could be more than one if using filters
85  stream1: [ out1 ]
86 
87  #ie analyzers and output streams. these all run simultaneously
88  end_paths: [stream1]
89 }
90 
91 # block to define where the output goes. if you defined a filter in the physics
92 # block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
93 # entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
94 outputs:
95 {
96  out1:
97  {
98  @table::sbnd_rootoutput # inherit shared settings
99  dataTier: "simulated"
100  compressionLevel: 1 # TODO better to use no compression here and Huffman encoding
101  }
102 }
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
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