Open jtenavidal opened 11 months ago
DONE
Next steps
Fixed Background test. This will be used for systematics. Systematics due to multiiplicity choice are quantified already.
I added a new script that stores the bkg plots in a nice format. Difference is calculated
Example (few events used for calculation) 1p0pi
When increasing the statistics, the error shows up to be around 20%. It seems too big
Repeating test without acceptance weights: 1p0pi case:
It clearly describes it without acceptance!!!
1p1pim
Applying acceptance correction after background subtraction, 1p0pi case (1GeV Carbon)
This fixes the issue!
zoomed in
Acceptance after fiducial before background
I HAVE A FEELING it is the angle shift in the acceptance? somehting else is odd not the method itself makes sense as it is now
This creates many issues. I need a way to quickly double check. This will also help for the presentation and so on.
I will open a separate issue for this
No acceptance
1p0pi 1GeV
Contribution from multiplicity 2 bkg
Contribution from multiplicity 3 bkg
Contribution from multiplicity 4 bkg
1p0pi 2GeV, max multiplicity 4
1p0pi 2GeV, max mult 4, mult 3 contribution
1p0pi 2GeV, max mult 4, mult 2 contribution
1p0pi 2GeV, max multiplicity 2
1p0pi 2GeV, max multiplicity 2 The agreement improves significantly. It seems there's an issue with higher order multiplicity events
1p0pi 2GeV, 5000000 events, 2 max substraction.
Max mult 3
Max mult 4
TO DO We need a plot showing the method works. For it I need True Reco : true to compare against No Bkg subtracted: how bad we would do Bkg subtracted: min mult +1 , min mult +2 and min mult +3
Total: 5 ROOT files Observable
1p0pi 1GeV
1p0pi 2GeV
Also need to re-think logic of the background histograms. Are we really storing correctly the plots? If we store it before substraction we have
We assume linearity https://github.com/e4nu/e4nuanalysiscode/blob/7c01d836224d8ebeeedac2e046533ac6db6b72fc/src/analysis/AnalysisI.cxx#L235
1p0pi on C, 2GeV
Cloure test
For pion prodction Max mult 3
MaxMult 4
Must have defined binning and bool for bkg debuggging Also the background method must be turned on
only one histogram is stored (not more than one observable)
To do:
I want to do a new test - Correct back acceptance for each hadron, then add it back after rotation
To modify: Compute acceptance and weight event by 1/acceptance here : https://github.com/e4nu/e4nuanalysiscode/blob/7305efbbdcb1f813148dee42da2cd2edd8c307a2/src/analysis/BackgroundI.h#L56
And simply add back here the acc weight: https://github.com/e4nu/e4nuanalysiscode/blob/7305efbbdcb1f813148dee42da2cd2edd8c307a2/src/analysis/BackgroundI.h#L160
Can reproduce background
What is the impact of the background subtraction mehtod?
To quantify it, we must be able to configure the background multiplicity from the command line