All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
stage1_icarus_defs.fcl
Go to the documentation of this file.
1 ##
2 ## ICARUS definitions for the second stage (stage1) of data processing
3 ## modeled on standard version
4 ##
5 
7 
8 #include "cluster_icarus.fcl"
11 #include "icarus_flashfinder.fcl"
13 #include "icarus_opana_modules.fcl"
15 ### JCZ: Add simple flashmatch to this area
17 #include "crtsimhitproducer.fcl"
21 #include "crtt0producer_icarus.fcl"
22 
23 
24 BEGIN_PROLOG
25 
26 ### This is the complete list of all producers! ###
28 {
29  ### Cluster3D
30  cluster3DCryoW: @local::icarus_cluster3d
31  cluster3DCryoE: @local::icarus_cluster3d
32 
33  ### pandora
34  pandoraGausCryoW: @local::icarus_pandora
35  pandoraTrackGausCryoW: @local::icarus_pandoraTrackCreation
36  pandoraGausCryoE: @local::icarus_pandora
37  pandoraTrackGausCryoE: @local::icarus_pandoraTrackCreation
38 
39  ### PM algorithm for pandora
40  pandoraKalmanTrackGausCryoW: @local::icarus_pandora_kalmantrack
41  pandoraKalmanTrackGausCryoE: @local::icarus_pandora_kalmantrack
42 
43  ### Showers
44  SBNShowerGausCryoW: @local::icarus_pandorashower_3dTraj
45  SBNShowerGausCryoE: @local::icarus_pandorashower_3dTraj
46 
47  # pandora CALO and PID
48 # pandoraGausCaloCryoW: @local::icarus_calomc
49 # pandoraGausPidCryoW: @local::icarus_chi2pid
50 # pandoraGausCaloCryoE: @local::icarus_calomc
51 # pandoraGausPidCryoE: @local::icarus_chi2pid
52 
53  # Placeholder uncalibrated calorimetry
56 
57  ## Attempt to include simple flash matching here
58  ## Simple Flash Matching, right now cryo0 and 1 are identical
60  fmatchCryoW: @local::icarus_simple_flashmatch_1
61 
62  ## crt producer
63  crthit: @local::standard_crthitproducer
64  crttrack: @local::standard_crttrackproducer
65  CRTT0Matching: @local::standard_crtt0producer
66 }
67 
68 icarus_stage1_filters:
69 {
70  flashfilter: { module_type: "FilterOpFlash"
71  OpFlashProducerList: ["opflashCryoW","opflashCryoE"]
72 # WindowStartTime: -1489.6 # -1489.4 - 0.2us safe margin
73 # WindowEndTime: -1487.6 # -1487.8 + 0.2us safe margin
74  WindowStartTime: -1490.8 # 9.6 us - 1500 us offset - 0.4us safe margin
75  WindowEndTime: -1488.4 # 11.2 -1500 us offset + 0.4us safe margin
76  }
77 
79  TPCHitFilterCryoW: @local::icarus_FilterNumberTPCHits
80  TPCHitFilterCryoE: @local::icarus_FilterNumberTPCHits
81 }
82 
83 icarus_stage1_analyzers:
84 {
86  caloskimW: @local::caloskim_cryow_nodigits_goldentracks
87  simpleLightAna: @local::ICARUSFlashAssAna
88  CRTDataAnalysis:
89  {
90  module_type: "CRTDataAnalysis"
91  CRTHitLabel: "crthit"
92  CRTDAQLabel: "daqCRT"
93  TriggerLabel: "daqTrigger"
94  QPed: 60 # Pedestal offset [ADC]
95  QSlope: 70 # Pedestal slope [ADC/photon]
96  PEThresh: 7.5 # PE threshold above which charge amplitudes used
97  CrtWindow: 3e6 # time window for looking data within trigger timestamp [ns]
98  }
99  }
100 
101 icarus_stage1_analyzers.caloskimE.SelectEvents: [reco]
102 icarus_stage1_analyzers.caloskimE.CALOproducer: caloskimCalorimetryCryoE
103 
104 icarus_stage1_analyzers.caloskimW.SelectEvents: [reco]
105 icarus_stage1_analyzers.caloskimW.CALOproducer: caloskimCalorimetryCryoW
106 
107 ### Below are a list of convenient sequences that can be used for production/typical users. ###
108 
109 # Set up filtering of cluster3D hits by cryostat
110 icarus_filter_cluster3DCryoW: [ cluster3DCryoW,
111  TPCHitFilterCryoW
112  ]
113 
114 icarus_filter_cluster3DCryoE: [ cluster3DCryoE,
115  TPCHitFilterCryoE
116  ]
117 
118 icarus_filter_cluster3D: [ @sequence::icarus_filter_cluster3DCryoW,
120  ]
121 
122 icarus_reco_cluster3DCryoW: [ cluster3DCryoW ]
123 
124 icarus_reco_cluster3DCryoE: [ cluster3DCryoE ]
125 
126 icarus_reco_pandoraGausCryoW: [ pandoraGausCryoW,
129  SBNShowerGausCryoW
130  ]
131 
132 icarus_reco_pandoraGausCryoE: [ pandoraGausCryoE,
135  SBNShowerGausCryoE
136  ]
137 
140  @sequence::icarus_reco_pandoraGausCryoW
141  ]
142 
144  @sequence::icarus_reco_cluster3DCryoE,
146  ]
147 
150  @sequence::icarus_reco_pandoraGausCryoW
151  ]
152 
153 #Add flash matching
155  fmatchCryoW ]
156 
158 
159 icarus_crtt0match: [CRTT0Matching]
160 
161 ### Below we include overrides for the modules above
162 
163 ## Overrides for filtering of cluster3D hits
164 icarus_stage1_filters.TPCHitFilterCryoW.HitDataLabelVec: ["cluster3DCryoW"]
165 icarus_stage1_filters.TPCHitFilterCryoW.MaximumHits: 60000
166 
167 icarus_stage1_filters.TPCHitFilterCryoE.HitDataLabelVec: ["cluster3DCryoE"]
168 icarus_stage1_filters.TPCHitFilterCryoE.MaximumHits: 60000
169 
170 ## Definitions for running the 3D clustering by Cryostat
171 icarus_stage1_producers.cluster3DCryoW.Hit3DBuilderAlg.HitFinderTagVec: ["gaushitTPCWW", "gaushitTPCWE"]
172 icarus_stage1_producers.cluster3DCryoW.Hit3DBuilderAlg.PulseHeightFraction: 0. #0.75 #0.25
173 icarus_stage1_producers.cluster3DCryoW.Hit3DBuilderAlg.PHLowSelection: 0. #4.0 # 20.
174 icarus_stage1_producers.cluster3DCryoW.Hit3DBuilderAlg.MaxHitChiSquare: 1000000.
175 icarus_stage1_producers.cluster3DCryoW.Hit3DBuilderAlg.OutputHistograms: false
176 
177 icarus_stage1_producers.cluster3DCryoE.Hit3DBuilderAlg.HitFinderTagVec: ["gaushitTPCEW", "gaushitTPCEE"]
178 icarus_stage1_producers.cluster3DCryoE.Hit3DBuilderAlg.PulseHeightFraction: 0. #0.75 #0.25
179 icarus_stage1_producers.cluster3DCryoE.Hit3DBuilderAlg.PHLowSelection: 0. #4.0 # 20.
180 icarus_stage1_producers.cluster3DCryoE.Hit3DBuilderAlg.MaxHitChiSquare: 1000000.
181 icarus_stage1_producers.cluster3DCryoE.Hit3DBuilderAlg.OutputHistograms: false
182 
183 ### Definitions for a pandora by cryostat
184 icarus_stage1_producers.pandoraGausCryoW.HitFinderModuleLabel: "cluster3DCryoW"
185 icarus_stage1_producers.pandoraTrackGausCryoW.PFParticleLabel: "pandoraGausCryoW"
186 icarus_stage1_producers.pandoraKalmanTrackGausCryoW.inputCollection: "pandoraGausCryoW"
187 icarus_stage1_producers.pandoraKalmanTrackGausCryoW.trackInputTag: "pandoraTrackGausCryoW"
188 
189 icarus_stage1_producers.pandoraGausCryoE.HitFinderModuleLabel: "cluster3DCryoE"
190 icarus_stage1_producers.pandoraTrackGausCryoE.PFParticleLabel: "pandoraGausCryoE"
191 icarus_stage1_producers.pandoraKalmanTrackGausCryoE.inputCollection: "pandoraGausCryoE"
192 icarus_stage1_producers.pandoraKalmanTrackGausCryoE.trackInputTag: "pandoraTrackGausCryoE"
193 
194 icarus_stage1_producers.caloskimCalorimetryCryoE.TrackModuleLabel: "pandoraTrackGausCryoE"
195 icarus_stage1_producers.caloskimCalorimetryCryoW.TrackModuleLabel: "pandoraTrackGausCryoW"
196 
197 ## Switch pandora back to just gaushits?
198 #icarus_stage1_producers.pandoraGausCryoW.ConfigFile: "PandoraSettings_Master_ICARUS_RawICARUS.xml"
199 #icarus_stage1_producers.pandoraGausCryoE.ConfigFile: "PandoraSettings_Master_ICARUS_RawICARUS.xml"
200 
201 ## Definitions for shower finding (both single and by cryostat)
202 icarus_stage1_producers.SBNShowerGausCryoW.PFParticleLabel: "pandoraGausCryoW"
203 icarus_stage1_producers.SBNShowerGausCryoE.PFParticleLabel: "pandoraGausCryoE"
204 
205 END_PROLOG
BEGIN_PROLOG opflashCryoE TPCHitFilterCryoW icarus_filter_cluster3DCryoE
process_name can override from command line with o or output photon
Definition: runPID.fcl:28
BEGIN_PROLOG TPC Trig offset(g4 rise time) ProjectToHeight
Definition: CORSIKAGen.fcl:7
BEGIN_PROLOG local::throughgoing_selection caloskim_cryoe_nodigits_goldentracks
BEGIN_PROLOG opflashCryoE TPCHitFilterCryoW TPCHitFilterCryoE sequence::icarus_filter_cluster3DCryoE SBNShowerGausCryoW pandoraTrackGausCryoE
BEGIN_PROLOG opflashCryoE TPCHitFilterCryoW TPCHitFilterCryoE sequence::icarus_filter_cluster3DCryoE icarus_reco_cluster3DCryoW
BEGIN_PROLOG opflashCryoE TPCHitFilterCryoW TPCHitFilterCryoE sequence::icarus_filter_cluster3DCryoE SBNShowerGausCryoW SBNShowerGausCryoE sequence::icarus_reco_pandoraGausCryoW sequence::icarus_reco_pandoraGausCryoE sequence::icarus_reco_pandoraGausCryoW icarus_reco_fm
BEGIN_PROLOG opflashCryoE TPCHitFilterCryoW TPCHitFilterCryoE sequence::icarus_filter_cluster3DCryoE SBNShowerGausCryoW icarus_reco_pandoraGausCryoE
BEGIN_PROLOG opflashCryoE TPCHitFilterCryoW TPCHitFilterCryoE sequence::icarus_filter_cluster3DCryoE pandoraKalmanTrackGausCryoW
BEGIN_PROLOG caloskim_calorimetry
BEGIN_PROLOG icarus_simple_flashmatch_0
process_name caloskimCalorimetryCryoW physics simpleLightAna
BEGIN_PROLOG opflashCryoE TPCHitFilterCryoW TPCHitFilterCryoE sequence::icarus_filter_cluster3DCryoE SBNShowerGausCryoW pandoraKalmanTrackGausCryoE
required by fuzzyCluster table::sbnd_g4_services gaushitTruthMatch crttrack
Definition: reco_sbnd.fcl:182
process_name caloskimCalorimetryCryoE
process_name caloskimCalorimetryCryoW
BEGIN_PROLOG opflashCryoE TPCHitFilterCryoW TPCHitFilterCryoE sequence::icarus_filter_cluster3DCryoE SBNShowerGausCryoW SBNShowerGausCryoE sequence::icarus_reco_pandoraGausCryoW icarus_reco_Gauss_CryoE
process_name standard_reco_uboone reco
BEGIN_PROLOG opflashCryoE TPCHitFilterCryoW TPCHitFilterCryoE sequence::icarus_filter_cluster3DCryoE SBNShowerGausCryoW SBNShowerGausCryoE sequence::icarus_reco_pandoraGausCryoW sequence::icarus_reco_pandoraGausCryoE sequence::icarus_reco_pandoraGausCryoW fmatchCryoW crttrack icarus_crtt0match
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 fmatchCryoE
BEGIN_PROLOG opflashCryoW WindowStartTime
BEGIN_PROLOG opflashCryoE TPCHitFilterCryoW TPCHitFilterCryoE sequence::icarus_filter_cluster3DCryoE pandoraTrackGausCryoW
BEGIN_PROLOG opflashTPC3 mcopflashTPC3 sequence::icarus_reco_flash sequence::icarus_mc_reco_opt gaushitsel gaushitTPC0 gaushitTPC1 gaushitTPC2 gaushitTPC3 icarushit icarushit icarusHitTPC0 icarusHitTPC1 icarusHitTPC2 icarusHitTPC3 sequence::icarus_reco_signalprocessingraw pmAlgKalmanTrackGaus pmAlgKalmanTrackICARUS pandoraKalmanTrackGaus pandoraKalmanTrackGausCryo0 pandoraKalmanTrackGausCryo1 pandoraKalmanTrackICARUS pandoraTrackICARUSCryo0 pandoraTrackICARUSCryo1 pandoraGausSCEPidCryo0 pandoraGausSCEPidCryo1 pandoraGausCaloCryo1 pandoraGausSCECaloCryo1 SBNShowerTestGausCryo0 SBNShowerTestGausCryo1 sequence::icarus_reco_pandoraICARUSCryo0 sequence::icarus_reco_pandoraICARUSCryo1 sequence::icarus_reco_SigProcTPC1Mixed sequence::icarus_reco_SigProcTPC3Mixed mcassociationsGausCryo1 mcassociationsICARUSCryo1 crthit
BEGIN_PROLOG opflashCryoE TPCHitFilterCryoW TPCHitFilterCryoE sequence::icarus_filter_cluster3DCryoE SBNShowerGausCryoW SBNShowerGausCryoE sequence::icarus_reco_pandoraGausCryoW sequence::icarus_reco_pandoraGausCryoE sequence::icarus_reco_pandoraGausCryoW fmatchCryoW icarus_crthit
BEGIN_PROLOG opflashCryoE TPCHitFilterCryoW TPCHitFilterCryoE sequence::icarus_filter_cluster3DCryoE SBNShowerGausCryoW SBNShowerGausCryoE icarus_reco_Gauss_CryoW
process_name caloskimCalorimetryCryoW physics caloskimW
BEGIN_PROLOG standard_crtt0producer
BEGIN_PROLOG opflashCryoE TPCHitFilterCryoW TPCHitFilterCryoE icarus_filter_cluster3D
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
BEGIN_PROLOG opflashCryoE TPCHitFilterCryoW TPCHitFilterCryoE sequence::icarus_filter_cluster3DCryoE SBNShowerGausCryoW SBNShowerGausCryoE sequence::icarus_reco_pandoraGausCryoW sequence::icarus_reco_pandoraGausCryoE icarus_pandora_Gauss
BEGIN_PROLOG icarus_FilterNumberTPCHits
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 fmatchCryoW
process_name flashfilter
BEGIN_PROLOG icarus_stage1_producers