|
pueoAnalysisTools
|
main() shows how to use load_pueoEvent_Dataset(), start here!.
More...
Go to the source code of this file.
Functions | |
| ROOT.pueo.Dataset | load_pueoEvent_Dataset (Path pueo_mc_data, int run_number) |
| Loads the "dual output" dataset whose interface is defined in pueoEvent repository. | |
main() shows how to use load_pueoEvent_Dataset(), start here!.
libpueoEvent.so in $PUEO_UTIL_INSTALL_DIR as soon as you import it, even if you don't call the function load_pueoEvent_Dataset(), since the loading is done at the global scope. LD_LIBRARY_PATH$PUEO_UTIL_INSTALL_DIR is not setasserts, which attempt to provide more meaningful error messages. You can turn them off by running initialise.py with an "s" because I like to be annoying. Definition in file initialise.py.
| ROOT.pueo.Dataset load_pueoEvent_Dataset | ( | Path | pueo_mc_data, |
| int | run_number ) |
Loads the "dual output" dataset whose interface is defined in pueoEvent repository.
| [in] | pueo_mc_data | The directory that contains all the run<run_number>/ subdirectories. |
| [in] | run_number | Must be discoverable inside pueo_mc_data, else an assertion will cause the function to error out. |
| dataset | An instance of the class Dataset |
simulatePueo, namely the IceFinal files IceFinal_<run_number>_allTree.root.SimulatedPueo*File<run_number>.root that live alongside the IceFinal file in the run<run_number>/ directory.PUEO_MC_DATA should be an environment variable.pueo_mc_data is a Path in this function.run<run_number>/SimulatedPueoEventFile<run_number>.root exists.PUEO_MC_DATA which you might have defined in your .bashrc. Definition at line 42 of file initialise.py.