暂无描述

Caleb Fangmeier b9076a1308 Merge branch 'master' of git.fangmeier.tech:caleb/EGamma_ElectronTrackingValidation 7 年之前
analysis 22259a0e3c Fixes titles in dphi vs eta plots 7 年之前
cmake a6295f14f9 initial implementation of analysis code for electron tracking validation, included plots for dz vs. eta and dphi vs. eta between sim-hits and rec-hits in the pixel barrel 7 年之前
filval @ 7c5a06c426 a6295f14f9 initial implementation of analysis code for electron tracking validation, included plots for dz vs. eta and dphi vs. eta between sim-hits and rec-hits in the pixel barrel 7 年之前
.gitignore a6295f14f9 initial implementation of analysis code for electron tracking validation, included plots for dz vs. eta and dphi vs. eta between sim-hits and rec-hits in the pixel barrel 7 年之前
.gitmodules eebd72f19f switches filval submodule to use https checkout 7 年之前
CMakeLists.txt a6295f14f9 initial implementation of analysis code for electron tracking validation, included plots for dz vs. eta and dphi vs. eta between sim-hits and rec-hits in the pixel barrel 7 年之前
README.md d15970a06a Add 'README.md' 7 年之前

README.md

EGamma Electron Tracking Validation

How To Run

Run the following commands to download, compile, and run the analysis routine.

# The recursive clone makes sure to also checkout the filval submodule.
git clone --recursive gogs@git.fangmeier.tech:caleb/EGamma_ElectronTrackingValidation.git
cd EGamma_ElectronTrackingValidation
mkdir build
cd build
cmake ..
make
./tracking_validation -l LABEL -f PATH_TO_NTUPLE

Where LABEL is an arbitrary string used to keep track of, for example, what dataset is contained in the source Ntuple, and PATH_TO_NTUPLE is the path to the trackingNtuple.root file that you want to run over.

If everything runs successfully, there will be a log file and new root file in the directory containing the source Ntuple. If there are errors, you can check the log file for hints to what happened. The new root file will be suffixed with "_result".

TODO:

  • Enable specifying multiple root files to chain together.