All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
standard_detsim_icarus.fcl
Go to the documentation of this file.
1 #
2 # Purpose: Runs detector digitisation simulation on G4 output.
3 #
4 #
5 # Optical detector noise is currently disabled.
6 #
7 #
8 # Input
9 # ------
10 #
11 # * `sim::SimChannel` collection (`largeant`): all TPC channels
12 # * `sim::SimPhoton` collection (`largeant`): all PMT channels
13 # * `sim::AuxDetSimChannel` collection (`largeant`): all CRT channels
14 #
15 #
16 # Output
17 # -------
18 #
19 # * `daq0:PHYSCRATEDATATPCEE`, `daq1:PHYSCRATEDATATPCEW`,
20 # `daq2:PHYSCRATEDATATPCWE`, `daq3:PHYSCRATEDATATPCWW`:
21 # TPC digitization waveforms (`raw::RawDigit` collections), one per TPC
22 # * `opdaq`: optical detector waveforms (`raw::OpDetWaveform` collection)
23 # * `crtdaq`: cosmic ray tagger hits (`icarus::crt::CRTData` collection)
24 #
25 #
26 
27 
28 # ------------------------------------------------------------------------------
30 #include "detsimmodules_ICARUS.fcl"
31 #include "opdetsim_pmt_icarus.fcl"
32 #include "crtsimmodules_icarus.fcl"
33 #include "rootoutput_icarus.fcl"
35 
36 
37 # ------------------------------------------------------------------------------
38 process_name: DetSim
39 
40 
41 # ------------------------------------------------------------------------------
42 services: {
43  IICARUSChannelMap: @local::icarus_channelmappinggservice
44  @table::icarus_detsim_services
45 }
46 
47 
48 # ------------------------------------------------------------------------------
49 physics:
50 {
51  producers:
52  {
53  # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
54  crtdaq: @local::icarus_crtsim
55 
56 
57  # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
58  opdaq: @local::icarus_simpmt_nonoise # turn off the noise so it runs more quickly
59 
60 
61  # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
62  daq0: @local::icarus_simreadoutboard
63  daq1: @local::icarus_simreadoutboard
64  daq2: @local::icarus_simreadoutboard
65  daq3: @local::icarus_simreadoutboard
66 
67  # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
68  rns: { module_type: "RandomNumberSaver" }
69 
70  # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
71 
72  } # physics
73 
74  simulate: [ rns, opdaq, daq0, daq1, daq2, daq3, crtdaq ]
75 
76  # define the output stream, there could be more than one if using filters
77  stream: [ rootoutput ]
78 
79 } # physics
80 
81 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
82 # point each of the SimWire instances to a different TPC set
83 #
84 physics.producers.daq0.OutputInstanceLabel: "PHYSCRATEDATATPCEE"
85 physics.producers.daq0.TPCVec: [ [0, 0], [0, 1] ]
86 physics.producers.daq1.OutputInstanceLabel: "PHYSCRATEDATATPCEW"
87 physics.producers.daq1.TPCVec: [ [0, 2], [0, 3] ]
88 physics.producers.daq2.OutputInstanceLabel: "PHYSCRATEDATATPCWE"
89 physics.producers.daq2.TPCVec: [ [1, 0], [1, 1] ]
90 physics.producers.daq3.OutputInstanceLabel: "PHYSCRATEDATATPCWW"
91 physics.producers.daq3.TPCVec: [ [1, 2], [1, 3] ]
92 
93 
94 # ------------------------------------------------------------------------------
95 outputs.rootoutput: @local::icarus_rootoutput
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
then echo fcl sbnd_project sbnd_project sbnd_project sbnd_project production production runs
#define the
physics simulate
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
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsWindowPair END_PROLOG trigslidewindowOR6m output outputs
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG process_name