Skip to content

cms-rwth/VHccPoCo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PocketCoffea VHcc setup

  1. Install Miniconda
    • At RWTH it should be at your /net/scratch_cms3a/<username> area
    • At lxplus CERN, it should be in your /eos/user/u/username area
  2. Create a dedicated environment for PocketCoffea, install the packages, and compile:
    conda create -n PocketCoffea python=3.10 -c conda-forge
    conda activate PocketCoffea
    pip install -e .
    
    Follow their installation instructions for other options. Afterwards please install the needed packages, that enable trainings and running the analysis smoothly. Please keep using conda, since using pip might alter the environment leading to conflicts.
    conda install conda-forge::xrootd
    conda install conda-forge::lightgbm
    conda install conda-forge::tensorflow
    conda install setuptools==70.*
    
  3. Checkout this repo:
    git clone git@github.com:cms-rwth/VHccPoCo.git
    
  4. (If your local username is different from your CERN username) Setup your CERN username variable:
    export CERN_USERNAME="YOURUSERNAME"
    
  5. Follow examples to create dataset input files:
    cd VHccPoCo
    mkdir datasets
    build_datasets --cfg samples_Run2UL_2017.json -o -ws T2_DE_RWTH -ws T2_DE_DESY -ws T1_DE_KIT_Disk -ws T2_CH_CERN -ir
    cd ../
    
  6. Run with the futures executor (test before large submission):
    runner --cfg VHccPoCo/cfg_VHcc_ZLL.py -o output_VHcc_Test --executor futures -s 10 -lf 1 -lc 1
    
  7. Run on condor with Parsl executor (only if the previous step was successeful):
    runner --cfg VHccPoCo/cfg_VHcc_ZLL.py -o output_VHcc_v01 --executor parsl-condor@RWTH -s 60
    
  8. Make some plots:
    make_plots output_VHcc_v01
    

About

VHcc analysis with PocketCoffea

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages