Neutrino oscillations
References
How to get the code
- The code has been uploaded to a GitHub repository
- You can browse the code (no need for an account, although if you want to contribute to the development of this code then you should get one)
- However you need to install Git if you want to fetch this code. I am not going to give you instructions about it. I believe there is sufficient documentation around.
- After installing Git, setup a working directory. Inside it, then execute:
cd workingdir
git clone https://github.com/andres0sorio/GRBsWork.git
- You will get the whole repository in its latest version.
- Note: at the Uniandes Hep Server ---this works:
cd workingdir
git clone git://github.com/andres0sorio/GRBsWork.git
Compilation
Requirements
- A ROOT version (any version above 5.34.00) compiled with the following interfaces
Make
- Once you get code, cd into the src/ directory and do make
cd src/
make
- The tricky part is to get the requisites.
Make in CMSSW
- Only for CMS users: If you are using a system that is configured to run CMSSW, just try the following before make:
cd src/
source compileWcmssw.csh #or .sh if in BASH
make
- Then you will be ready to run.
Running
- After you have successfully compiled the code --no errors reported-- you can run the excecutables located under the subdirectory bin/. For our paper 01, we need to run the executable named paper01.exe. Options avaiable for this executable are explained if you ask for help:
cd bin/
./paper01.exe --help
Allowed options:
--help produce help message
--model arg model selection ( ModelA, ModelB, ModelC ) *
--prob arg selected probability ( Pee,Pem,Pet,Pmm,Ptt,... ) *
--erange arg energy range ( = emin,emax )
--angles arg use the following mixing angles ( = theta_1(12),theta_2(13),theta3(23) )
--dmass2 arg use the following delta masses square ( = dm2(Dm23sq),dM2(Dm21sq) )
--modfile arg use the specified model paramater file ( mymodelfile.xml )
--steps arg excecute steps ( 1,2,3,... )
--earth arg select earth model (EarthA, EarthB)
- --model and --prob options are obligatory. The rest are optional.
A bit of explanation
- This executable runs over the available star model profies. We got from Reference [Mena] three models available: "ModelA", "ModelB", "ModelC". Each one has different parameters. In this code, the parameters for each model are stored in the XML configuration file model_parameters.xml.
- The excutable DOES not produce plots. It produces a ROOT with ntuples that contains the data points for a model and probabilities. You need to run a script over those ntuples to make the plots. This script is provided.
- Plots are stored under the subdirectory results/.
- In summary to produce the results we got in our paper, we need:
An example
* Let's say we want to generate the probabilities vs energy plots for e-e e-mu and e-tau. You will need to do:
cd bin/
./paper01.exe --model ModelA --prob Pee,Pem,Pet
The range in energy is fixed to what is contain in the model_parameters.xml file. However, you can also give the energy range:
cd bin/
./paper01.exe --model ModelA --prob Pee,Pem,Pet --erange 1.0e11,1.0e12
- In any case, this produces the root file output.root. You can now run the script make_plots_paper01.C on this file. Start a ROOT session:
cd bin/
root -l
root [1] .L make_plots_paper01.C
root [2] makePlots()
Documentation
Doxygen
It is pretty simple to generate documentation for this code using
doxygen which can be installaed on your machine.
- A doxygen configuration file is available under the doc/ directory. Just do the following (assuming you got doxygen installed):
cd doc/
doxygen config
- This will generate documentation for all code in html format. Then to open it, go to your web browser and click on "Open File". Give the path to "doc/html/index.html" and the you are done.
- You will be able to explore the code in detail. Doxygen will show you for instance, the collaboration between classes as in this graph:
Data Flow
- Example: ROOT-tuple content of some data:
XML Configuration files
- matrix_config.xml (Based on Olga Mena's reference)
- (*) sin^2 (2 theta_13) = 0.15
- Different mixing parameters setups also used by us:
- Setups I & II proposed by Sarira
- model_config.xml: XML model config file - (as in Olga Mena reference). Default values given in the XML file:
- Variations to these default parameters.