#include "NCUtils/Extrapolation/NCExtrapolationBeamMatrix.h"#include "NCUtils/Extrapolation/NCEnergyBin.h"#include "NCUtils/Extrapolation/NCPOTCounter.h"#include "NCUtils/NCUtility.h"#include "MessageService/MsgService.h"#include "AnalysisNtuples/ANtpAnalysisInfo.h"#include "AnalysisNtuples/ANtpBeamInfo.h"#include "AnalysisNtuples/ANtpRecoInfo.h"#include "AnalysisNtuples/ANtpHeaderInfo.h"#include "AnalysisNtuples/ANtpTruthInfoBeam.h"#include "TCanvas.h"#include "TDirectory.h"#include "TGraphErrors.h"#include "TMath.h"#include "TMinuit.h"#include <fstream>#include <cassert>#include <cmath>#include "NCExtrapolationModule.h"#include "NCSpectrumInterpolator.h"Go to the source code of this file.
|
|
Definition at line 129 of file NCExtrapolationBeamMatrix.cxx. 00129 {
00130 kNCDataRecoEnergy_ND = 0, //NC Histogram for Reco Spectrum in the ND
00131 kCCDataRecoEnergy_ND = 1, //CC Histogram for Reco Spectrum in the ND
00132 kNCDataRecoEnergyPurCorr_ND = 2, //NC Histogram for Purity corrected Reco Spectrum in the ND
00133 kCCDataRecoEnergyPurCorr_ND = 3, //CC Histogram for Purity corrected Reco Spectrum in the ND
00134 kNCDataTrueEnergyPurCorr_ND = 4, //NC Histogram for Purity corrected True Spectrum in the ND
00135 kCCDataTrueEnergyPurCorr_ND = 5, //CC Histogram for Purity corrected True Spectrum in the ND
00136 kNCDataTrueEnergySelEffCorr_ND = 6, //NC Histogram for Purity and selection Efficiency corrected True Spectrum in the ND
00137 kCCDataTrueEnergySelEffCorr_ND = 7, //CC Histogram for Purity and selection Efficiency corrected True Spectrum in the ND
00138 kNCDataTrueEnergyEffCorr_ND = 8, //NC Histogram for Purity and selection Efficiency corrected True Spectrum in the ND
00139 kCCDataTrueEnergyEffCorr_ND = 9, //CC Histogram for Purity and selection Efficiency corrected True Spectrum in the ND
00140 kNCDataTrueEnergyFlux_ND = 10, // NC Histogram for the ND Flux after pot mass and x-section corrections
00141 kCCDataTrueEnergyFlux_ND = 11, // CC Histogram for the ND Flux after pot mass and x-section corrections
00142 kNCDataTrueEnergyMatrix_FD = 12, // NC Histogram for the FD prediction after the Beam Matrix
00143 kCCDataTrueEnergyMatrix_FD = 13, // CC Histogram for the FD prediction aftet the Beam Matrix
00144 kNCDataTrueEnergyFlux_FD = 14, // NC Histogram for the FD Flux after pot mass and x-section corrections
00145 kCCDataTrueEnergyFlux_FD = 15, // CC Histogram for the FD Flux aftet pot mass and x-section corrections
00146 kNCDataTrueEnergySelEffCorr_FD = 16, //NC Histogram for Purity and selection Efficiency corrected True Spectrum in the ND
00147 kCCDataTrueEnergySelEffCorr_FD = 17, //CC Histogram for Purity and selection Efficiency corrected True Spectrum in the ND
00148 kNCDataTrueEnergyEffCorr_FD = 18, //NC Histogram for Purity and selection and reconstruction Efficiency corrected True Spectrum in the ND
00149 kCCDataTrueEnergyEffCorr_FD = 19, //CC Histogram for Purity and selection and reconstruction Efficiency corrected True Spectrum in the ND
00150 kNCDataRecoEnergyPurCorr_FD = 20, // NC Histogram for Purity corrected Reco Spectrum in the FD
00151 kCCDataRecoEnergyPurCorr_FD = 21, //CC Histogram for Purity corrected Reco Spectrum in the FD
00152 kNCDataRecoEnergyPred_FD = 22, // NC BM prediction in the FD
00153 kCCDataRecoEnergyPred_FD = 23, // CC BM prediction in the FD
00154 kNCDataRecoEnergySig_FD = 24, // NC BM predicted signal only part all the others can be got from the canvases
00155 kCCDataRecoEnergySig_FD = 25, // CC BM predicted signal only part all the others can be got from the canvases
00156 kNCDataRecoEnergyWrongSignBkg_FD = 26, // NC BM predicted wrong sign bkg all the others can be got from the canvases
00157 kCCDataRecoEnergyWrongSignBkg_FD = 27 // CC BM predicted wrong sign bkg all the others can be got from the canvases
00158 };
|
|
|
Definition at line 47 of file NCExtrapolationBeamMatrix.cxx. 00047 {
00048 kNCSig = 0, //NC spectrum
00049 kCCSig = 1, //CC spectrum
00050 kNCBkg = 2, //NC background in NC spectrum
00051 kCCBkg = 3, //CC background in CC spectrum
00052 kNCTau = 4, //NC tau background in NC spectrum
00053 kCCTau = 5, //CC tau background in CC spectrum
00054 kNCBeamNue = 6, //NC nue background in NC spectrum
00055 kCCBeamNue = 7, //CC nue background in CC spectrum
00056 kNCOscNue = 8, //NC oscillated nue background in NC spectrum
00057 kCCOscNue = 9, //CC oscillated nue background in CC spectrum
00058 kNCWrongSignBkg = 10, //NC wrong sign background in NC spectrum
00059 kCCWrongSignBkg = 11 //CC wrong sign background in CC spectrum
00060 };
|
|
|
Definition at line 176 of file NCExtrapolationBeamMatrix.cxx. 00176 {
00177 kNCDataLE = 0,
00178 kNCMCLE = 1,
00179 kNCDataME = 2,
00180 kNCMCME = 3,
00181 kNCDataHE = 4,
00182 kNCMCHE = 5,
00183 kCCDataLE = 6,
00184 kCCMCLE = 7,
00185 kCCDataME = 8,
00186 kCCMCME = 9,
00187 kCCDataHE = 10,
00188 kCCMCHE = 11
00189 };
|
|
|
Definition at line 62 of file NCExtrapolationBeamMatrix.cxx. 00062 {
00063 kNCRecoEnergy_ND = 0, // NC Histogram for Reco Spectrum in the ND
00064 kCCRecoEnergy_ND = 1, // CC Histogram for Reco Spectrum in the ND
00065 kNCRecoBkg_ND = 2, // NC Background in Reco Energy in the ND
00066 kCCRecoBkg_ND = 3, // CC Background in Reco Energy in the ND
00067 kNCPurity_ND = 4, // NC Histogram for Purity correction in the ND
00068 kCCPurity_ND = 5, // CC Histogram for Purity correction in the ND
00069 kNCRecoEnergyPurCorr_ND = 6, // NC Histogram for Purity corrected Reco Spectrum in the ND
00070 kCCRecoEnergyPurCorr_ND = 7, // CC Histogram for Purity corrected Reco Spectrum in the ND
00071 kNCTrueEnergyPurCorr_ND = 8, // NC Histogram for Purity corrected True Spectrum in the ND
00072 kCCTrueEnergyPurCorr_ND = 9, // CC Histogram for Purity corrected True Spectrum in the ND
00073 kNCTrueSelEfficiency_ND = 10, // NC Histogram for Selection Efficency correction in the ND (done in true energy)
00074 kCCTrueSelEfficiency_ND = 11, // CC Histogram for Selection Efficency correction in the ND (done in true energy)
00075 kNCTrueEnergySelEffCorr_ND = 12, // NC Histogram for Purity and Selection Efficiency corrected True Spectrum in the ND
00076 kCCTrueEnergySelEffCorr_ND = 13, // CC Histogram for Purity and Selection Efficiency corrected True Spectrum in the ND
00077 kNCTrueRecoEfficiency_ND = 14, // NC Histogram for Reconstruction Efficiency correction in the ND (done in true energy)
00078 kCCTrueRecoEfficiency_ND = 15, // CC Histogram for Reconstruction Efficency correction in the ND (done in true energy)
00079 kNCTrueEnergyEffCorr_ND = 16, // NC Histogram for Purity, Selection & Reconstruction Efficiency correction in the ND (done in true energy)
00080 kCCTrueEnergyEffCorr_ND = 17, // CC Histogram for Purity, Selection & Reconstruction Efficiency correction in the ND (done in true energy)
00081 kNCTrueEnergy_ND = 18, // NC Histogram for the ACTUAL (From MC) Purity and Efficiency corrected True Spectrum in the ND needed to make efficiency histogram
00082 kCCTrueEnergy_ND = 19, // CC Histogram for the ACTUAL (From MC) Purity and Efficiency corrected True Spectrum in the ND needed to make efficiency histogram
00083 kNCTrueEnergyBkg_ND = 20, // NC Histogram for the Background from MC
00084 kCCTrueEnergyBkg_ND = 21, // CC Histogram for the Background from MC
00085 kNCTrueEnergyFlux_ND = 22, // NC Histogram for the ND Neutrino Flux after pot mass and x-section corrections
00086 kCCTrueEnergyFlux_ND = 23, // CC Histogram for the ND Neutrino Flux after pot mass and x-section corrections
00087 kNCTrueEnergyMatrix_FD = 24, // NC Histogram for the FD prediction after the Beam Matrix
00088 kCCTrueEnergyMatrix_FD = 25, // CC Histogram for the FD prediction aftet the Beam Matrix
00089 kNCTrueEnergyFlux_FD = 26, // NC Histogram for the FD Neutrino Flux after pot mass and x-section corrections
00090 kCCTrueEnergyFlux_FD = 27, // CC Histogram for the FD Neutrino Flux after pot mass and x-section corrections
00091 kNCTrueSelEfficiency_FD = 28, // NC Histogram for Selection Efficency correction in the ND (done in true energy)
00092 kCCTrueSelEfficiency_FD = 29, // CC Histogram for Selection Efficency correction in the ND (done in true energy)
00093 kNCTrueEnergySelEffCorr_FD = 30, // NC Histogram for Purity and Selection Efficiency corrected True Spectrum in the ND
00094 kCCTrueEnergySelEffCorr_FD = 31, // CC Histogram for Purity and Selection Efficiency corrected True Spectrum in the ND
00095 kNCTrueRecoEfficiency_FD = 32, // NC Histogram for Reconstruction Efficiency correction in the ND (done in true energy)
00096 kCCTrueRecoEfficiency_FD = 33, // CC Histogram for Reconstruction Efficiency correction in the ND (done in true energy)
00097 kNCTrueEnergyEffCorr_FD = 34, // NC Histogram for Purity and Efficiency corrected True Spectrum in the ND
00098 kCCTrueEnergyEffCorr_FD = 35, // CC Histogram for Purity and Efficiency corrected True Spectrum in the ND
00099 kNCTrueEnergy_FD = 36, // NC Histogram for the ACTUAL Purity and Efficiency corrected True Spectrum in the FD used as nominal MC
00100 kCCTrueEnergy_FD = 37, // CC Histogram for the ACTUAL Purity and Efficiency corrected True Spectrum in the FD used as nominal MC
00101 kNCTrueEnergyXsecFit_FD = 38, // NC Histogram for the ACTUAL Purity and Efficiency corrected True Spectrum in the FD needed normalise FD TrueToReco
00102 kCCTrueEnergyXsecFit_FD = 39, // CC Histogram for the ACTUAL Purity and Efficiency corrected True Spectrum in the FD needed normalise FD TrueToReco
00103 kNCTrueEnergyBkg_FD = 40, // NC Histogram for the Background to make above 2 histograms needed to make efficiency histogram
00104 kCCTrueEnergyBkg_FD = 41, // CC Histogram for the Background to make above 2 histograms needed to make efficiency histogram
00105 kNCRecoEnergy_FD = 42, // NC Histogram for Reco Spectrum in the FD
00106 kCCRecoEnergy_FD = 43, // CC Histogram for Reco Spectrum in the FD
00107 kNCRecoEnergyPurCorr_FD = 44, // NC Histogram for Purity corrected Reco Spectrum in the FD
00108 kCCRecoEnergyPurCorr_FD = 45, // CC Histogram for Purity corrected Reco Spectrum in the FD
00109 kNCPurity_FD = 46, // NC Histogram for Purity correction in the FD
00110 kCCPurity_FD = 47, // CC Histogram for Purity correction in the FD
00111 kNCRecoBkg_FD = 48, // NC Histogram for background in reco energy
00112 kCCRecoBkg_FD = 49, // CC Histogram for background in reco energy
00113 kNCRecoEnergyPred_FD = 50, // NC BM prediction in the FD
00114 kCCRecoEnergyPred_FD = 51, // CC BM prediction in the FD
00115 kNCRecoEnergyBeamNueBkg_FD = 52, // CC Histogram for Reco Spectrum in the FD
00116 kCCRecoEnergyBeamNueBkg_FD = 53, // CC Histogram for Reco Spectrum in the FD
00117 kNCRecoEnergyBeamNueBkg_ND = 54, // CC Histogram for Reco Spectrum in the ND
00118 kCCRecoEnergyBeamNueBkg_ND = 55, // CC Histogram for Reco Spectrum in the ND
00119 kNCRecoEnergyTau_ND = 56, // CC Histogram for Reco Spectrum in the ND
00120 kCCRecoEnergyTau_ND = 57, // CC Histogram for Reco Spectrum in the ND
00121 kNCRecoEnergyOscNue_ND = 58, // CC Histogram for Reco Spectrum in the ND
00122 kCCRecoEnergyOscNue_ND = 59, // CC Histogram for Reco Spectrum in the ND
00123 kNCSelRecoEnergy_ND = 60, // NC Histogram for Reco Spectrum in the ND
00124 kCCSelRecoEnergy_ND = 61, // CC Histogram for Reco Spectrum in the ND
00125 kNCSelRecoEnergy_FD = 62, // NC Histogram for Reco Spectrum in the FD
00126 kCCSelRecoEnergy_FD = 63 // CC Histogram for Reco Spectrum in the FD
00127 };
|
|
|
Definition at line 160 of file NCExtrapolationBeamMatrix.cxx. 00160 {
00161 kNCRecoTrueSig_ND = 0, // NC Reco to true matrix flavour corrected in the ND
00162 kCCRecoTrueSig_ND = 1, // CC Reco to true matrix flavour corrected in the ND
00163 kNCRecoTrueBkg_ND = 2, // NC Reco to true matrix flavour corrected wrong type in the ND
00164 kCCRecoTrueBkg_ND = 3, // CC Reco to true matrix flavour corrected wrong type in the ND
00165 kNCRecoTrueNorm_ND = 4, // NC Reco to true matrix Normalised in the ND
00166 kCCRecoTrueNorm_ND = 5, // CC Reco to true matrix Normalised in the ND
00167
00168 kNCTrueRecoSig_FD = 6, // NC Reco to true matrix flavour corrected in the FD
00169 kCCTrueRecoSig_FD = 7, // CC Reco to true matrix flavour corrected in the FD
00170 kNCTrueRecoBkg_FD = 8, // NC Reco to true matrix flavour corrected wrong type in the FD
00171 kCCTrueRecoBkg_FD = 9, // CC Reco to true matrix flavour corrected wrong type in the FD
00172 kNCTrueRecoNorm_FD = 10, // NC Reco to true matrix flavour corrected in the FD
00173 kCCTrueRecoNorm_FD = 11 // CC Reco to true matrix flavour corrected in the FD
00174 };
|
|
||||||||||||
|
|
|
|
Definition at line 191 of file NCExtrapolationBeamMatrix.cxx. |
|
|
Definition at line 45 of file NCExtrapolationBeamMatrix.cxx. |
1.3.9.1