-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Brittany 1pi analysis #158
Comments
Exercise with ROOT file For events with 1 negative pion take a look at: The momentum of the outgoing electron The momentum of the outgoing pion W How many events are QE/MEC/RES/DIS The momentum of the outgoing electron vs. its scattering angle For the 2d histograms it’s advisable to draw them with the "colz” option A reminder: The cross section can be calculated as the number of events divided by the luminosity or take the events in your histogram and normalize it to the cross section like Julia showed you from the spline file inclusive cross section you take from the spline root file by taking Eval of the relevant TGraph in the value of the incoming energy. histogram->Scale(inclusive cross section / total generated number of events) |
To plot the gst W branch for 1pim only: |
|
Add Reconstructed Ev from pion and outgoing electron momentum
|
Interesting paper |
For the plots, 1D Plot:
2D Plot:
For Julia:
|
Neutrino summer school recordings |
Here you can find my latest slides: It is a good summary of what you will do, you will just look at 1pi events instead. There's also work done by collaborators of our on similar topologies using different data. This is the latest update of their work: https://indico.jlab.org/event/829/contributions/14082/attachments/10739/16269/2024_cfogler_NPWG_v1.pdf |
Include New observables in data format https://github.com/e4nu/e4nuanalysiscode/blob/master/src/utils/KinematicUtils.cxx and the definition in the .h file.
and maybe also Once this is done, we just need to compute these for all events that pass our selection criteria. This can be done by computing the variables (calling the functions above) in this function as well as storing the new variables in the TTree with a new name:
The above is for the MC, and for the data,
They must have the same name Once this is done, I will run the code and send you the files |
To get the Costh: brCosthl = TMath::Cos( k2.Vect().Angle(k1.Vect()) ); |
|
To plot the MC predictions out of the analysis code you need src/plotting_apps/plot_e4nuanalysis.cxx Example:
|
Add Name of variable in the Tree as new observable Change GetAxisName ( add new entry ) :
Add new analysis key "pim" and within that if statement, add range for the new variables for each energy:
Add definition of new variables and read from TBranch: e4nuanalysiscode/src/plotting/XSecUtils.cxx Line 235 in 027d824
and also here
|
Location of data files:
|
|
To do for Julia
|
Small update
|
New G18_10a files at 2GeV available in |
Ok I double checked. We do not have ElectronPT or pimom_T. It would be great if you could add them. To get the transverse momentum, you have to consider that the beam goes in the z direction, as you said. Here is an example function you can use:
For instance, for the electron case it could look like this, after
The same should be done for pip (L369) and pim (L389) |
There are new files available at the analysis_MC folder:
and the corresponding reconstructed ones |
I will update the NOFSI ones as soon as I can, not sure I will have time tomorrow but you have plenty for now Let me know if the new 4GeV ones make sense or look also wrong Other things to do are adding the new axes in the plotting (like Adi mentioned) |
References of interest:
We want to have a look at what is done in neutrino physics in the case of pion production.
https://arxiv.org/pdf/1011.3572.pdf
https://cds.cern.ch/record/2623949?ln=ca Page 118 - 131 ( good overview of variables of interest )
Some of these variables are not available in the code yet. We want to add the missing variables here: https://github.com/e4nu/e4nuanalysiscode/blob/master/src/utils/KinematicUtils.cxx and https://github.com/e4nu/e4nuanalysiscode/blob/master/src/utils/KinematicUtils.h
We will have to store them in the analysed ROOT file
Gide Brittany on the plotting scripts. Get cross-section measurement for different energies and targets
Plotting scripts. As of now, we plot RES (Delta + Above Delta contribution). We want to have the option to turn off Non-RES contribution as it is very off.
Quantify Background subtraction systematics with fiducial variations
The text was updated successfully, but these errors were encountered: