1 #include "services_dune.fcl"
2 #include "caldata_dune.fcl"
3 #include "hitfindermodules_dune.fcl"
4 #include "cluster_dune.fcl"
5 #include "trackfindermodules_dune.fcl"
6 #include "pandoramodules_dune.fcl"
7 #include "calorimetry_dune10kt.fcl"
8 #include "mctrutht0matching.fcl"
10 #include "particleid.fcl"
11 #include "showerfindermodules_dune.fcl"
12 #include "opticaldetectormodules_dune.fcl"
13 #include "opticaldetectorservices_dune.fcl"
15 #include "tools_dune.fcl"
21 # Load the service that manages root files for histograms.
22 TFileService: { fileName: "%ifb_reco_hist.root" }
25 RandomNumberGenerator: {} #ART native random number generator
26 message: @local::dune_message_services_prod_debug
27 FileCatalogMetadata: @local::art_file_catalog_mc
28 @table::dunefddphase_simulation_services_legacy
29 # @table::dunefddphase_reco_services_legacy
30 PhotonVisibilityService: @local::dunefddphase_PhotonVisibilityService
33 services.DetectorPropertiesService.Electronlifetime: 1000.0e3 #in us
34 # services.message.destinations.LogStandardOut.threshold: "INFO"
36 #source is now a root file
39 module_type: RootInput
41 fileNames: ["detsim.root"]
44 # Define and configure some modules to do work on each event.
45 # First modules are defined; they are scheduled later.
46 # Modules are grouped by type.
52 rns: { module_type: RandomNumberSaver }
56 module_type: "OpHitFinder"
57 GenModule: "generator"
61 HitThreshold: 0.5 # PE
62 UseCalibrator: false # If set to false, SPE parameters below
64 AreaToPE: true # Use area to calculate number of PEs
65 SPEArea: 4.1 # If AreaToPE is true, this number is
66 # used as single PE area (in ADC counts)
67 SPEShift: 0 # Baseline offset in ADC->SPE conversion
68 reco_man: @local::standard_preco_manager
69 HitAlgoPset: @local::standard_algo_threshold
73 BeamGateSamples : 1500
74 # You need to include parameters fed to PedTruncatedMean since that
75 # algo is called for beam gate sample as well
76 # Sliding mean number of samples
83 # RandomRangeDivisions: 4.0
85 # Number of ADC count to shift during random sampling
86 # RandomRangeShift: -0.5
87 # This parameter get's multiplied by mode_sigma to determine
88 # whether or not samples are close enough to be filled with random baseline
90 DiffBetweenGapsThreshold: 2
97 module_type: "OpFlashFinder"
99 BinWidth: 1 # us | Pulse finding parameters
100 FlashThreshold: 2 # PE
101 WidthTolerance: 0.5 # unitless
102 TrigCoinc: 2.5 # in microseconds!
106 #define the producer and filter modules for this path, order matters,
107 #filters reject all following items. see lines starting physics.producers below
108 reco: [ rns, ophit,opflash ]
112 opdigiana: @local::dunefddphase_opdigiana
113 opflashana: @local::dunefd_opflashana
117 #define the output stream, there could be more than one if using filters
118 stream1: [ opdigiana, opflashana, out1 ]
120 #trigger_paths is a keyword and contains the paths that modify the art::event,
121 #ie filters and producers
122 trigger_paths: [reco]
124 #end_paths is a keyword and contains the paths that do not modify the art::Event,
125 #ie analyzers and output streams. these all run simultaneously
129 #block to define where the output goes. if you defined a filter in the physics
130 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
131 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
136 module_type: RootOutput
137 fileName: "%ifb_reco.root"
138 dataTier: "full-reconstructed"
144 services.OpDetResponseInterface.QuantumEfficiency: 0.2
145 services.LArPropertiesService.ScintPreScale: 1