All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
legacy_g4_sbnd.fcl
Go to the documentation of this file.
1 #
2 # File: standard_g4_sbnd.fcl
3 # Purpose: Propagation of generated particle through matter (Geant4 simulation)
4 # Version: 1.2
5 #
6 # This configuration runs:
7 # - LArG4: produces:
8 # * MCParticle's (particles produced by interaction with matter)
9 # * SimChannels (charge and energy deposited by each particle reaching
10 # each TPC readout channel)
11 # * SimPhotons (photons reaching each optical readout channel)
12 # - MCReco: produces:
13 # * MCTrack, MCShower: deposited energy from each MCParticle
14 #
15 # Input: a file with generated particles; all MCTruth data products in the input
16 # file are processed.
17 #
18 # Dependencies:
19 # - uses the bundle of SBND simulation services
20 # - will require flux files for Genie and Corsika
21 #
22 # Changes:
23 # 20160707 (petrillo@fnal.gov) [v1.1]
24 # - uniformed to prodsingle_sbnd.fcl
25 #
26 # 20161223 (petrillo@fnal.gov) [v1.2]
27 # - adopted shared root output configuration
28 #
29 
30 #
31 # services
32 #
34 
35 #
36 # algorithms
37 #
39 #include "mcreco.fcl"
40 #include "rootoutput_sbnd.fcl"
41 
42 
43 process_name: G4
44 
45 services:
46 {
47  # Load the service that manages root files for histograms.
48  TFileService: { fileName: @local::sbnd_tfileoutput.fileName }
49  @table::sbnd_g4_services
50  FileCatalogMetadata: @local::sbnd_file_catalog_mc
51 }
52 
53 #source is now a root file
54 source:
55 {
56  module_type: RootInput
57 }
58 
59 # Define and configure some modules to do work on each event.
60 # First modules are defined; they are scheduled later.
61 # Modules are grouped by type.
62 physics:
63 {
64 
65  producers:
66  {
67  rns: { module_type: "RandomNumberSaver" }
68  largeant: @local::sbnd_largeant
69  mcreco: @local::standard_mcreco
70  }
71 
72  #define the producer and filter modules for this path, order matters,
73  #filters reject all following items. see lines starting physics.producers below
75 
76  #define the output stream, there could be more than one if using filters
77  stream1: [ out1 ]
78 
79  #trigger_paths is a keyword and contains the paths that modify the art::event,
80  #ie filters and producers
82 
83  #end_paths is a keyword and contains the paths that do not modify the art::Event,
84  #ie analyzers and output streams. these all run simultaneously
85  end_paths: [stream1]
86 }
87 
88 #block to define where the output goes. if you defined a filter in the physics
89 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
90 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
91 outputs:
92 {
93  out1:
94  {
95  @table::sbnd_rootoutput # inherit shared settings
96  dataTier: "simulated"
97  }
98 }
99 
100 # only keep MCParticles that cross the cryostat;
101 # this is relevant in extensive cosmic ray generators (like Corsika)
102 physics.producers.largeant.KeepParticlesInVolumes: ["volCryostat", "volTaggerTopHigh", "volTaggerTopLow", "volTaggerSideLeft", "volTaggerSideRight", "volTaggerFaceFront", "volTaggerFaceBack", "volTaggerBot"]
103 physics.producers.largeant.SparsifyTrajectories: "true"
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
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
physics simulate
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 sequence::icarus_reco_cluster3d physics trigger_paths
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG process_name