2 # File: split_tpc_nu.fcl
3 # Purpose: Take in pregenerated GENIE events that contain both TPC and dirt events and split
4 # them into two output streams based on whether they had a TPC interaction or not
7 # Input: File with GENIE run as generator and largeant to track energy depositions
10 # - uses the bundle of SBND simulation services
31 TFileService: {
fileName:
"hists_split_tpc_nu_sbnd_%p-%tc.root" }
32 @table::sbnd_simulation_services # load simulation
services in bulk
35 #source is now a root file
42 # Define and configure some modules to do work on each event.
43 # First modules are defined; they are scheduled later.
44 # Modules are grouped by type.
50 # Filter events that have an interaction in the TPC
54 # Note we assume that every event has already been filtered to require a tpc interaction
55 # or a dirt interaction previously. Therefore, anything without a tpc interaction is
58 filterdirt: [
"!tpcfilter" ]
60 # Split the outputs into those with/without TPC interactions
63 #ie analyzers and output streams. these all run simultaneously
69 # Keep only the events with a TPC neutrino
70 # N.B. These events will still have some random coincidence of dirt interactions
79 # Keep only the events that have a no TPC neutrino but a dirt interaction
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
process_name local::throughgoing_selection SelectEvents
process_name drop raw::OpDetWaveforms_DataApr2016RecoStage1_saturation_ * physics
process_name gaushitTPC3 gaushitTPC3 filters
physics producers trigslidewindowOR6mW physics effSlidingOR6mW physics end_paths
process_name can override from command line with o or output dataTier
source drop raw::ubdaqSoftwareTriggerData_ *_ *_ * maxEvents
physics producers tpcfilter
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
if &&[-z"$BASH_VERSION"] then echo Attempting to switch to bash bash shellSwitch exit fi &&["$1"= 'shellSwitch'] shift declare a IncludeDirectives for Dir in
services TFileService fileName
standard_singlep gaussian distribution ie ie ie gaussian gaussian gaussian larg4Main stream1
process_name showerreco Particles Coinciding wih the Vertex services ScanOptions nu_mu services ScanOptions Number
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsWindowPair END_PROLOG trigslidewindowOR6m output outputs
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG process_name