https://github.com/marcodeltutto/ubxsecana
Code to study NuMu CC Inclusive Cross Section at MicroBooNE
https://github.com/marcodeltutto/ubxsecana
microboone neutrino particle-physics
Last synced: about 1 year ago
JSON representation
Code to study NuMu CC Inclusive Cross Section at MicroBooNE
- Host: GitHub
- URL: https://github.com/marcodeltutto/ubxsecana
- Owner: marcodeltutto
- Created: 2018-03-10T04:55:22.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-25T00:10:14.000Z (about 8 years ago)
- Last Synced: 2025-01-28T05:27:53.136Z (over 1 year ago)
- Topics: microboone, neutrino, particle-physics
- Language: C++
- Homepage:
- Size: 394 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# UBXSecAna
This code take 3 input ROOT files that are produced by the UBXSec code in https://github.com/marcodeltutto/UBXSec. First, a `Maker` is run, which runs the event selection on all of them and produces a light ROOT file with histograms of relevant variables. Then, the `Analyse` is run which takes all these produced histograms and combines them to make the data/MC distributions. It also performs the cross section measurment and handles systematics.
## Build and Install
```
git clone git@github.com:marcodeltutto/UBXSecAna.git
cd UBXSecAna
source setup.sh
scp -r mdeltutt@uboonegpvm02.fnal.gov:/uboone/data/users/mdeltutt/ubxsec_static/mcc8.7_test/*test1.root Files/
cd Build
cmake ..
make install
```
## Run
Scripts to run are in `UBXSecAna/Mac/*`.
```
cd UBXSecAna/Mac
source run_maker.sh # Runs the Makes on the three input files downloaded above
source analyse.sh # Runs the Analyse on the three lighter files produced by the Makes
```
## How to change the selection in order to make validation plots
To add or remove a cut, open Main/Maker.cxx. A list of cuts is around line 1460. Line 1460 is commented out and show an example of an additional cut. If uncommented, the selection will select only contained tracks.
Then recompile in the Build directory with just `make install`, and run again the Maker and the Analyse.
Variables are documented here: https://marcodeltutto.github.io/UBXSec/documentation/html/classUBXSecEvent.html