All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
standard_g4_sbnd.fcl
Go to the documentation of this file.
1 # File: standard_g4_sbnd.fcl
2 # Purpose: Propagation of generated particle through matter (Geant4 simulation)
3 #
4 # This runs the new, refactored, LArG4 simulation.
5 #
6 # This configuration runs:
7 # - LArG4: produces:
8 # * MCParticle's (particles produced by interaction with matter)
9 # * SimEnergyDeposit (energy deposited)
10 # - IonizationAndScintillation: produces:
11 # * SimEnergyDeposit (photons and electrons)
12 # * SimEnergyDeposit before SCE (photons and electrons)
13 # - OpticalFastSimulation: produces:
14 # * SimPhoton or SimPhotonLite (photons at the optical detectors)
15 # - ElectronDrift: produces:
16 # * SimChannels (energy and charge at the wires)
17 # - GenericCRT: produces:
18 # * AuxDetSimChannels (from LArG4 AuxDetHits)
19 # - MCReco: produces:
20 # * MCTrack, MCShower: deposited energy from each MCParticle
21 #
22 # Input: a file with generated particles; all MCTruth data products in the input
23 # file are processed.
24 
25 
26 #
27 # services
28 #
30 
31 #
32 # modules
33 #
34 #include "larg4_sbnd.fcl"
35 #include "ionandscint_sbnd.fcl"
36 #include "PDFastSim_sbnd.fcl"
37 #include "simdrift_sbnd.fcl"
38 #include "mcreco_sbnd.fcl"
39 #include "rootoutput_sbnd.fcl"
40 #include "config_genericCRT.fcl"
41 
42 
43 process_name: G4
44 
45 
46 services:
47 {
48  TFileService: { fileName: @local::sbnd_tfileoutput.fileName }
49  FileCatalogMetadata: @local::sbnd_file_catalog_mc
50  @table::sbnd_g4_services
51 }
52 
53 
54 source:
55 {
56  module_type: RootInput
57 }
58 
59 
60 physics:
61 {
62 
63  producers:
64  {
65  rns: { module_type: "RandomNumberSaver" }
66 
67  # A dummy module that forces the G4 physics list to be loaded
68  loader: { module_type: "PhysListLoader" }
69 
70  # The geant4 step
71  largeant: @local::sbnd_larg4
72 
73  # Creation of ionization electrons and scintillation photons, inside the active volume
75 
76  # Creation of ionization electrons and scintillation photons, outside the active volume
77  ionandscintout: @local::sbnd_ionandscint_out
78 
79  # Light propogation inside the active volume
80  pdfastsim: @local::sbnd_pdfastsim_par
81 
82  # Light propogation outside the active volume
83  pdfastsimout: @local::sbnd_pdfastsim_pvs
84 
85  # Electron propogation
86  simdrift: @local::sbnd_simdrift
87 
88  # Truth-level reconstruction
89  mcreco: @local::sbnd_mcreco
90 
91  # Generic CRT
92  genericcrt: @local::sbnd_genericCRT
93 
94  }
95 
96  # All producers and filters modules for this path, order matters
97  simulate: [ rns
99  , largeant
100  , ionandscint
102  , pdfastsim
103  , pdfastsimout
104  , simdrift
105  , mcreco
106  , genericcrt
107  ]
108 
109  # The output stream, there could be more than one if using filters
110  stream1: [ out1 ]
111 
112  # Contains the paths that modify the art::event
114 
115  # Contains the paths that do not modify the art::Event
116  end_paths: [ stream1 ]
117 }
118 
119 
120 outputs:
121 {
122  out1:
123  {
125  dataTier: "simulated"
126  outputCommands: [ "keep *_*_*_*"
127  # Drop the SimEnergyDeposits made by LArG4
128  , "drop sim::SimEnergyDeposits_largeant_*_*"
129  # Drop the IonAndScint w/ SCE offsets applied
130  , "drop *_ionandscint_*_*"
131  # Drop LArG4 AuxDetHits, now replaced by AuxDetSimChannels
132  , "drop sim::AuxDetHits_*_*_*"
133  ]
134  }
135 }
136 
137 
BEGIN_PROLOG sbnd_ionandscint
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
physics producers larg4outtime physics producers ionandscintouttime physics producers simdriftouttime physics producers genericcrt
process_name pdfastsim
BEGIN_PROLOG pandoraTrackRangeCryoW pandoraTrackRangeCryoW rns
process_name drop raw::OpDetWaveforms_DataApr2016RecoStage1_saturation_ * physics
tuple loader
Definition: demo.py:7
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
process_name larg4outtime largeant
process_name mcreco
process_name ionandscint
physics filters pdfastsimout
physics filters ionandscintout
physics simulate
outputs out1 outputCommands
BEGIN_PROLOG sbnd_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 module_type
standard_singlep gaussian distribution ie ie ie gaussian gaussian gaussian larg4Main stream1
Definition: multigen.fcl:18
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsWindowPair END_PROLOG trigslidewindowOR6m output outputs
process_name simdrift
process_name sequence::icarus_reco_cluster3d physics trigger_paths
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG process_name