ProtoDUNEFitExample.fcl
Go to the documentation of this file.
1 # Path to MC files. Each entry corresponds to a different channel and has to match with the DataFileNames.
2 MCFileNames: ["/dune/app/users/calcuttj/PionStudies/rDataFrame/eventSelection_mc_ABS.root",
3  "/dune/app/users/calcuttj/PionStudies/rDataFrame/eventSelection_mc_CEX.root"]
4 
5 # Path to data file. Each entry corresponds to a different channel and has to match with the MCFileNames.
6 #DataFileNames: ["eventSelection_mc_ABS.root","eventSelection_mc_CEX.root"]
7 DataFileNames: ["/dune/app/users/calcuttj/PionStudies/rDataFrame/eventSelection_mc_ABS.root",
8  "/dune/app/users/calcuttj/PionStudies/rDataFrame/eventSelection_mc_CEX.root"]
9 
10 # Channel names. Follow the order of the MC/Data File Names
11 ChannelNames: ["ABS", "CEX"]
12 
13 # Path to MC control samples.
14 MCControlSampleFiles: ["/dune/app/users/calcuttj/PionStudies/rDataFrame/eventSelection_mc_beamType.root"]
15 
16 # Path to Data control samples.
17 DataControlSampleFiles: ["/dune/app/users/calcuttj/PionStudies/rDataFrame/eventSelection_mc_beamType.root"]
18 
19 # Name of sideband topologies. Must match the background samples
20 SidebandTopologyName: ["Muons", "PionsSB", "DecaySB", "DownstreamSB", "OtherSB"]
21 SidebandTopology: [1, 2, 3, 4, 5]
22 
23 # Path to file to get the number of incident pions
24 IncidentMCFileNames: ["/dune/app/users/calcuttj/PionStudies/rDataFrame/eventSelection_mc_beamType.root"]
25 
26 IncidentDataFileNames: ["/dune/app/users/calcuttj/PionStudies/rDataFrame/eventSelection_mc_beamType.root"]
27 
28 # Number of toys to generate for MC studies. Any number above 0 will enable toy mc generation and won't fit the data.
29 NToys: 0
30 
31 # Name of the tree with reconstructed events.
32 RecoTreeName: "pionana/beamana"
33 
34 # Signal topologies. Change as appropriate.
35 SignalTopology: [1, 2]
36 SignalTopologyName: ["ABS", "CEX"]
37 
38 # Background topologies. Change as appropriate.
39 BackgroundTopology: [3, 4, 5, 6, 7]
40 BackgroundTopologyName: ["Pion Inel. Bkg", "Upstream Int", "Muons", "TrueUnmatched", "Other Bkg"]
41 
42 
43 # Incident particle topologies. First is assumed to be signal
44 IncidentTopology: [3, 4, 5, 6, 7, 8]
45 IncidentTopologyName: ["Pions", "Muons", "Cosmic", "TrueUnmatched", "Downstream", "Other"]
46 
47 # Name of the tree with the truth signal events.
48 TruthTreeName: "pionana/beamana"
49 
50 # Define binning in truth/reco. It doesn't have to be symmetric.
51 TruthBinning: [0., 400., 600., 700., 800., 1270.]
52 RecoBinning: [0., 400., 600., 700., 800., 1200.]
53 
54 # Option to fit in reco. If enabled will ignore the truth binning and introduce one free parameter per reco bin
55 FitInReco: false
56 
57 # Fit set up.
58 DoAsimovFit: false # Will do asimov fit only
59 Minimizer: "Minuit2" # Choose the minimizer - by default Minuit2
60 FitStrategy: 1 # Minuit fit strategy
61 EnableMinosError: false # Minos error analysis for asymmetric errors
62 
63 # Enable statistical error - one nuisance parameter per bin
64 EnableStatisticalError: true
65 IgnoreStatisticalErrorBelow: 0.01 # MC stats error will be ignored if below this value
66 
67 # Enable systematic error - need files with the fractional error for each systematic and a list of systematics to consider. Two histograms are required for each histogram, one with +1 sigma variation and one with the -1 sigma variation.
68 EnableSystematicError: false
69 NormalisedSystematic: false # Systematics are added as 'normalised', only the effect of shape is considered.
70 CommonSystFile: "/dune/app/users/calcuttj/larsoft/srcs/protoduneana/protoduneana/Utilities/FitUtils/asdf.root"
71 UseComputedSysts: false
72 SystFileNames: [@local::CommonSystFile, @local::CommonSystFile]
73 SystToConsider: ["fReac"] #, "fAbs2", "fCex"] #["Systematic1","Systematic2"]
74 SystType: ["NormShape"] #, "NormShape", "NormShape"] #["NormShape" ,"NormShape"] # For each systematic the type should be defined, options are: NormOnly, ShapeOnly, NormShape
75 IgnoreSystematicErrorBelow: 0.01 # Sytematic error will be ignored if below this value
76 
77 AddIncidentToMeasurement: true
78 AddBackgroundFactors: [0, 0, 0, 0, 0]
79 AddIncidentBackgroundFactors: [0, 0, 0, 0, 0]
80 AddSidebandsToMeasurement: false
81 DoNegativeReco: true
82 EndZCut: 226.
83 SidebandBinning: [@local::EndZCut, 300., 350., 375., 400, 450., 480.]
84 
85 WirePitch: .47974 #.4792
86 
87 DoScaleMCToData: false
88 DoScaleMuonContent: true
89 MuonScaleFactor: 2.
90 
91 OnlyDrawXSecs: false
92 DoDrawXSecs: false #true
93 DataIsMC: true
94 
95 RandSigPriors: false