2 # File: pmtTriggerproducer_sbnd.fcl
3 # Purpose: Simulates pmt hardware trigger
4 # Author: Erin Yandel (eyandel@fnal.gov)
5 # Date: October 26, 2021
8 # This is a module to simulate the PMT hardware trigger on simulated data.
9 # It takes a largeant file with optical detectors waveforms and produces a
10 # vector whose index is time within the trigger (beam) window and content
11 # is number of PMT pairs passsing the trigger threshold.
14 # - output from OpDetSim module (in particular, OpDetWaveforms)
17 # - std::vector<sbnd::comm::pmtTrigger> > : PMT trigger array
49 # Load the service that manages root files for histograms.
50 TFileService: {
fileName:
"pmtTrigger_hist.root" }
51 @table::sbnd_detsim_services
53 message: @local::sbnd_message_services_prod #
from messages_sbnd.fcl
54 FileCatalogMetadata: @local::sbnd_file_catalog_mc #
from sam_sbnd.fcl
55 LArFFT: @local::sbnd_larfft
61 #source is now a root file
69 #block to define where the output goes. if you defined a filter in the physics
70 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
71 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
82 # Define and configure some modules to do work on each event.
83 # First modules are defined; they are scheduled later.
84 # Modules are grouped by type.
94 #opdaq: @local::sbnd_opdetdigitizer
95 #ophit: @local::sbnd_ophit_finder_pmt
100 # define the producer and filter modules for this path, order matters,
101 # filters reject all following items. see lines starting physics.producers below
104 # define the output stream, there could be more than one if using filters
107 # trigger_paths is a keyword and contains the paths that modify the art::event,
108 # ie filters and producers
111 # end_paths is a keyword and contains the paths that do not modify the art::Event,
112 # ie analyzers and output streams. these all run simultaneously
118 ### Some potential overwrites below
120 #physics.producers.pmttriggerproducer.SaveHists: true
121 physics.producers.pmttriggerproducer.Verbose:
true
123 #physics.producers.pmttriggerproducer.PairLogic: "AND"
125 #physics.producers.pmttriggerproducer.OpDetsToPlot: ["pmt_coated", "pmt_uncoated"]
127 #physics.producers.pmttriggerproducer.WindowStart: -1510.0
128 #physics.producers.pmttriggerproducer.WindowEnd: 1510.0
services RandomNumberGenerator
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
BEGIN_PROLOG pandoraTrackRangeCryoW pandoraTrackRangeCryoW rns
process_name drop raw::OpDetWaveforms_DataApr2016RecoStage1_saturation_ * physics
physics producers trigslidewindowOR6mW physics effSlidingOR6mW physics end_paths
process_name can override from command line with o or output dataTier
BEGIN_PROLOG sbnd_signalshapingservice
required by fuzzyCluster table::sbnd_g4_services LArFFT
source drop raw::ubdaqSoftwareTriggerData_ *_ *_ * maxEvents
process_name standard_reco_uboone reco
BEGIN_PROLOG sbnd_rootoutput
BEGIN_PROLOG pmtTriggerProducer
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
services TFileService fileName
process_name showerreco Particles Coinciding wih the Vertex services ScanOptions nu_mu services ScanOptions Number
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