1 #ifndef CAF_CAFMAKERPARAMS_H
2 #define CAF_CAFMAKERPARAMS_H
4 #include "fhiclcpp/types/Table.h"
5 #include "fhiclcpp/types/OptionalTable.h"
6 #include "fhiclcpp/types/Sequence.h"
7 #include "fhiclcpp/types/OptionalSequence.h"
8 #include "canvas/Utilities/InputTag.h"
9 #include "art/Framework/Core/EDAnalyzer.h"
15 template<
class T>
using Atom = fhicl::Atom<T>;
16 template<
class T>
using Sequence = fhicl::Sequence<T>;
17 template<
class T>
using Table = fhicl::Table<T>;
20 using string = std::string;
24 Comment(
"Whether to produce an output file in CAF format"),
true
28 Comment(
"Whether to produce an output file in FlatCAF format"),
true
32 Comment(
"Whether to produce output files with one consisting of a fraction of events and the other consisting of the remainder of the events with critical information obscured"),
true
36 Comment(
"Provide a string to override the automatic filename."),
""
40 Comment(
"Provide a string to override the automatic filename."),
""
44 Comment(
"Factor by which to prescale unblind events"), 10
48 Comment(
"Integer used to derive POT scaling factor for blind events"), 655277
52 Comment(
"Override the automatically detectected detector using 'sbnd' or 'icarus'. This parameter should usually be unset - ''"),
66 Comment(
"Abort if any required product not found, unless label is empty")
70 Name(
"CutClearCosmic"),
71 Comment(
"Cut slices which are marked as a 'clear-cosmic' by pandora"),
76 Name(
"SelectOneSlice"),
77 Comment(
"Only select one slice per spill (ranked by nu_score) [TODO: implement]."),
82 Name(
"PandoraTagSuffixes"),
83 Comment(
"List of suffixes to add to TPC reco tag names (e.g. cryo0 cryo1)")
87 Name(
"BNBPOTDataLabel"),
88 Comment(
"Label of BNBRetriever module"),
93 Name(
"NuMIPOTDataLabel"),
94 Comment(
"Label of NuMIRetriever module"),
100 Comment(
"Label of G4 module."),
106 Comment(
"Label of neutrino gen module."),
111 Name(
"CosmicGenLabel"),
112 Comment(
"Label of cosmic gen module."),
117 Name(
"ParticleGunGenLabel"),
118 Comment(
"Label of particle gun gen module."),
123 Name(
"PFParticleLabel"),
124 Comment(
"Base label of PFParticle producer."),
130 Comment(
"Base label of Stub producer."),
135 Name(
"FlashMatchLabel"),
136 Comment(
"Base label of flash match producer."),
142 Comment(
"Base label of CRUMBS ID producer."),
148 Comment(
"Label deciding if you want to fill SRHits"),
154 Comment(
"Base label of the TPC Hit producer."),
159 Name(
"RecoTrackLabel"),
160 Comment(
"Base label of reco-base track producer."),
165 Name(
"RecoShowerLabel"),
166 Comment(
"Base label of reco-base shower producer."),
171 Name(
"ShowerRazzleLabel"),
172 Comment(
"Base label of shower mva particle-id producer."),
173 "pandoraShowerRazzle"
177 Name(
"RecoShowerSelectionLabel"),
178 Comment(
"Base label of shower selection vars producer."),
179 "pandoraShowerSelectionVars"
183 Name(
"ShowerCosmicDistLabel"),
184 Comment(
"Base label of shower selection vars producer."),
185 "pandoraShowerCosmicDist"
189 Name(
"TrackCaloLabel"),
190 Comment(
"Base label of track calorimetry producer."),
195 Name(
"TrackChi2PidLabel"),
196 Comment(
"Base label of track chi2 particle-id producer."),
201 Name(
"TrackScatterClosestApproachLabel"),
202 Comment(
"Base label of track track scatter closestapproach producer."),
203 "pandoraTrackClosestApproach"
207 Name(
"TrackStoppingChi2FitLabel"),
208 Comment(
"Base label of track stopping chi2 fit producer."),
209 "pandoraTrackStoppingChi2"
213 Name(
"TrackDazzleLabel"),
214 Comment(
"Base label of track mva particle-id producer."),
219 Name(
"CRTHitMatchLabel"),
220 Comment(
"Base label of track to CRT hit matching producer."),
225 Name(
"CRTTrackMatchLabel"),
226 Comment(
"Base label of track to CRT track matching producer."),
227 "pandoraTrackCRTTrack"
231 Name(
"TrackMCSLabel"),
232 Comment(
"Base label of track MCS momentum calculation producer."),
237 Name(
"TrackRangeLabel"),
238 Comment(
"Base label of track range momentum calculation producer."),
244 Comment(
"Label of sbn CRT hits."),
249 Name(
"CRTTrackLabel"),
250 Comment(
"Label of sbn CRT tracks."),
255 Name(
"OpFlashLabel"),
256 Comment(
"Label of PMT flash."),
261 Name(
"CRTSimT0Offset"),
262 Comment(
"start of beam gate/simulation time in the simulated CRT clock"),
267 Name(
"TriggerLabel"),
273 Name(
"FlashTrigLabel"),
274 Comment(
"Label of bool of passing flash trigger."),
280 Comment(
"Whether to use ts0 or ts1 to fill the time of the SRCRTHit and SRCRTTrack"),
285 Name(
"SimChannelLabel"),
286 Comment(
"Label of input sim::SimChannel objects."),
291 Name(
"FillTrueParticles"),
292 Comment(
"Whether to fill the rec.true_particles branch. The information on true particles"
293 " will still be stored for the neutirno primaries and for trk/shw truth matching."),
298 Name(
"SystWeightLabels"),
299 Comment(
"Labels for EventWeightMap objects for mc.nu.wgt")
303 Name(
"FillHitsAllSlices"),
304 Comment(
"Fill per-hit information in all reconstructed slices."),
309 Name(
"FillHitsNeutrinoSlices"),
310 Comment(
"Fill per-hit information in neutrino ID-d reconstructed slices."),
315 Name(
"TrackHitFillRRStartCut"),
316 Comment(
"How long from the start of a track to save calo-point information. Set to -1 to save nothing"),
321 Name(
"TrackHitFillRREndCut"),
322 Comment(
"How long from the end of a track to save calo-point information. Set to -1 to save nothing"),
Atom< string > UnblindFileExtension
Atom< string > FileExtension
Atom< string > CRTTrackLabel
Atom< art::InputTag > TriggerLabel
Atom< bool > FillTrueParticles
fhicl::OptionalSequence< std::string > PandoraTagSuffixes
Atom< string > PrescaleFileExtension
Atom< string > PFParticleLabel
Atom< string > SimChannelLabel
Atom< string > TrackScatterClosestApproachLabel
Atom< string > BlindFileExtension
Atom< std::string > DetectorOverride
Atom< string > RecoShowerLabel
Atom< bool > FillHitsNeutrinoSlices
Atom< string > GeneratorLabel
Atom< string > CRUMBSLabel
Atom< string > OpFlashLabel
Atom< string > CRTTrackMatchLabel
Atom< string > FlatCAFFileExtension
Atom< bool > SelectOneSlice
Atom< string > TrackDazzleLabel
Atom< string > ShowerRazzleLabel
Atom< string > TrackMCSLabel
Atom< std::string > CAFFilename
Atom< float > PrescaleFactor
Atom< string > TrackCaloLabel
Atom< bool > CreateFlatCAF
Atom< std::string > FlatCAFFilename
BEGIN_PROLOG vertical distance to the surface Name
Atom< string > RecoTrackLabel
Atom< bool > CutClearCosmic
Atom< string > ParticleGunGenLabel
Atom< string > BNBPOTDataLabel
Atom< float > TrackHitFillRRStartCut
Atom< string > NuMIPOTDataLabel
Atom< string > TrackStoppingChi2FitLabel
Atom< string > CRTHitMatchLabel
Atom< string > FlashTrigLabel
Atom< string > CosmicGenLabel
Atom< bool > FillHitsAllSlices
Atom< string > RecoShowerSelectionLabel
Atom< string > FlashMatchLabel
Atom< bool > CreateBlindedCAF
Atom< string > ShowerCosmicDistLabel
Atom< long long > CRTSimT0Offset
Atom< float > TrackHitFillRREndCut
Atom< string > CRTHitLabel
Atom< string > TrackRangeLabel
Sequence< std::string > SystWeightLabels
Atom< string > TrackChi2PidLabel
fhicl::Sequence< T > Sequence