Skip to content

UMN-CMS/WrCoffea

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WrCoffea

Getting Started

Begin by cloning the repository,

git clone [email protected]:UMN-CMS/WrCoffea.git
cd WrCoffea

Then source the appropriate LGC release. For example,

source /cvmfs/sft.cern.ch/lcg/views/LCG_104/x86_64-el9-gcc11-opt/setup.sh (LPC)
source /cvmfs/sft.cern.ch/lcg/views/LCG_104/x86_64-centos8-gcc11-opt/setup.sh (UMN)

Create and source a virtual python environment,

python3 -m venv coffea-cvfms-env
source coffea-cvfms-env/bin/activate

Install the appropriate packages,

python3 -m pip install -r requirements.txt

Running the analyzer

Each week if using LPC:

To set up a grid UI

voms-proxy-init --rfc --voms cms -valid 192:00

Basic analysis

To run a basic analysis,

python3 bin/run_analysis.py Run3Summer22 DYJets --hists --skimmed

More information can be found in the README.md file in other folders.

Running at UMN

Preprocess

To preprocess the datasets (only needs to be done once),

python3 scripts/make_skimmed_json.py Run2Summer20UL18 bkg --umn

where Run2Summer20UL18 can be replaced with Run3Summer22 to preprocess Run3 datasets.

Basic analysis

To run a basic analysis at UMN,

python3.11 bin/run_analysis.py Run2Summer20UL18 DYJets --skimmed --umn --hists

Plotting

Plotting is handled in the WR_Plotter submodule,

cd WR_Plotter

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published