Skip to content

qvyz/tau-pe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code for the GT tau performance enhancer

for usage in the cern swan infrastructure.

  1. Setup:

Update the python awkward library:

  1. Inside swan, open a terminal and run:
pip install --user awkward --upgrade
pip install --user pyarrow --upgrade
pip install --user vector
  1. Restart swan afterwards with the following configuration:

image

It is recommended to request access to a GPU via the cern service portal as 32 GB of ram are required for the minimum bias evaluation.

  1. Clone this repository in swan via the git > Clone a repository option in swan.
  2. Enter the tau-pe directory and
  3. run the setup.ipynb notebook, which clones the Menu Tools and generates required input data (might take a few hours, but has to be done only once)

The notebooks are intended to be run in the following order:

  1. smallnetdata.ipynb
  2. smallnet_modeltraining.ipynb
  3. rte.ipynb To get the rate plots this file has to be run with sample = "MinBias"

to evaluate the performance and produce the plots, run:

cd tau-pe
unset PYTHONHOME && unset PYTHONPATH && cd Phase2-L1MenuTools/
. menuenv/bin/activate
cp ../taus.yaml configs/V37nano/objects/taus.yaml
cp ../taus_rate.yaml configs/V37nano/rate_plots/
rate_plots configs/V37nano/rate_plots/taus_rate.yaml 
cp ../gttau_matching.yaml configs/V37nano/object_performance/
object_performance configs/V37nano/object_performance/gttau_matching.yaml 

the Plots are in:

tau-pe/Phase2-L1MenuTools/outputs/V37nano/object_performance/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published