All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
sbndcode/sbndcode/Commissioning/fcls/run_hitdumper.fcl
Go to the documentation of this file.
1 #
2 # service configuration
3 #
4 
5 #include "services_sbnd.fcl"
6 #include "messages_sbnd.fcl"
7 #include "sam_sbnd.fcl"
8 #include "larfft_sbnd.fcl"
10 #include "rootoutput_sbnd.fcl"
11 
12 #
13 # module configuration
14 #
15 #include "caldata_sbnd.fcl"
17 #include "cluster_sbnd.fcl"
19 #include "calorimetry_sbnd.fcl"
20 #include "showerfindermodules.fcl"
21 #include "databaseutil_sbnd.fcl"
22 #include "vertexfindermodules.fcl"
23 #include "hitdumpermodule.fcl"
24 #include "ophit_finder_sbnd.fcl"
25 
26 process_name: HitDumper
27 
28 services:
29 {
30  # Load the service that manages root files for histograms.
31  TFileService: { fileName: "hitdumper_tree.root" }
32  RandomNumberGenerator: {} # required by fuzzyCluster
33  message: @local::sbnd_message_services_prod # from messages_sbnd.fcl
34  FileCatalogMetadata: @local::sbnd_file_catalog_mc # from sam_sbnd.fcl
35  @table::sbnd_services # from services_sbnd.fcl
36  LArFFT: @local::sbnd_larfft
37  SignalShapingServiceSBND: @local::sbnd_signalshapingservice # from signalservices_sbnd.fcl
38 }
39 
40 
41 #source is now a root file
42 source:
43 {
44  module_type: RootInput
45  maxEvents: -1 # Number of events to create
46 }
47 
48 
49 #block to define where the output goes. if you defined a filter in the physics
50 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
51 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
52 outputs:
53 {
54  out1:
55  {
57  dataTier: "reconstructed"
58  SelectEvents: ["reco2"]
59  }
60 }
61 
62 # Define and configure some modules to do work on each event.
63 # First modules are defined; they are scheduled later.
64 # Modules are grouped by type.
65 physics:
66 {
67  producers:
68  {
69  ### calwire producers
70  # caldata: @local::sbnd_calwire
71 
72  ### hit-finder producers
73  # gaushit: @local::sbnd_gaushitfinder
74  fasthit: @local::standard_fasthitfinder
75  ophitpmt: @local::sbnd_ophit_finder_pmt
76  ophitarapuca: @local::sbnd_ophit_finder_arapuca
77 
78  }
79  analyzers:
80  {
82  }
83 
84  #define the producer and filter modules for this path, order matters,
85  #filters reject all following items. see lines starting physics.producers below
86  reco2: [
88  ophitpmt,
90  ]
91 
92  ana: [hitdumper]
93 
94  # define the output stream, there could be more than one if using filters
95  stream1: [out1]
96 
97  # trigger_paths is a keyword and contains the paths that modify the art::event,
98  # ie filters and producers
99  # trigger_paths: []
101 
102  # end_paths is a keyword and contains the paths that do not modify the art::Event,
103  # ie analyzers and output streams. these all run simultaneously
104  #
105  end_paths: [ana, stream1]
106  # end_paths: [ana]
107 }
108 
109 
110 physics.analyzers.hitdumper.pmtSoftTriggerModuleLabel: "SoftwareTriggerMetric"
111 physics.analyzers.hitdumper.crtSoftTriggerModuleLabel: "SoftwareTriggerMetric"
112 physics.analyzers.hitdumper.HitsModuleLabel: "fasthit"
113 physics.analyzers.hitdumper.keepCRThits: false
114 physics.analyzers.hitdumper.keepCRTstrips: true
115 physics.analyzers.hitdumper.makeCRTtracks: true
116 physics.analyzers.hitdumper.readCRTtracks: false
117 physics.analyzers.hitdumper.readcrtSoftTrigger: true
118 
119 # set thresholds
120 physics.producers.fasthit.MinSigInd: 15.0
121 physics.producers.fasthit.MinSigCol: 15.0
122 physics.producers.fasthit.SkipInd: false
123 # parameter below enlarges the window of the hit symmetrically by adding
124 # this many widths to each side. Original window is above threshold.
125 # Both thresh and larger window in this file are appropriate only when
126 # noise is turned off.
127 physics.producers.fasthit.IncludeMoreTail: 3.0
128 physics.producers.fasthit.ColMinWidth: 100.0
129 physics.producers.fasthit.UncompressWithPed: false
130 
131 #services.DetectorClocksService.TriggerOffsetTPC: 100
services RandomNumberGenerator
BEGIN_PROLOG hitdumper
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
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
BEGIN_PROLOG sbnd_signalshapingservice
required by fuzzyCluster table::sbnd_g4_services LArFFT
Definition: reco_sbnd.fcl:182
process_name opflashCryoW ana
source drop raw::ubdaqSoftwareTriggerData_ *_ *_ * maxEvents
Definition: frame-shunt.fcl:6
required by fuzzyCluster table::sbnd_g4_services fasthit
Definition: reco_sbnd.fcl:182
required by fuzzyCluster table::sbnd_g4_services ophitarapuca
Definition: reco_sbnd.fcl:182
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
required by fuzzyCluster table::sbnd_g4_services gaushitTruthMatch caloskimCalorimetry drop raw::OpDetWaveforms_ *_ *_ drop *raw::RawDigits *_ *_ *_ drop sim::OpDetBacktrackerRecords_ *_ *_ drop *_linecluster_ *_ drop *_fasthit_ *_ *physics reco2
Definition: reco_sbnd.fcl:182
standard_singlep gaussian distribution ie ie ie gaussian gaussian gaussian larg4Main stream1
Definition: multigen.fcl:18
process_name analyzers
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