Skip to content

UMN-CMS/WrCoffea

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WrCoffea Documentation

Welcome to the WR analyzer! This repository provides tools for analyzing and processing WR background, data, and signal events. Below, you’ll find instructions on setting up the environment, running the analysis, and extending the framework.

Table of Contents


📂 Repository Structure

This repository is structured to separate executable scripts, core analysis logic, and documentation.

WR_Plotter/ # Submodule where ROOT histograms are saved and plotted.
bin/        # Holds the main script for running the analysis.
data/       # Configuration files, all json files, and important logging info are stored here.
docs/       # Contains documentation markdown.
python/     # Includes reusable Python modules.
scripts/    # Contains helper scripts for setup and post-processing.
src/        # Includes the core analysis code.
test/       # Holds test and development scripts.

Getting Started

Begin by cloning the repository:

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

Create and source a virtual Python environment:

python3 -m venv wr-env
source wr-env/bin/activate

Install the required packages:

python3 -m pip install -r requirements.txt

Grid UI

To authenticate for accessing grid resources, use:

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

ROOT

To enable ROOT functionality, source the appropriate LCG release:

source /cvmfs/sft.cern.ch/lcg/views/LCG_106/x86_64-el9-gcc13-opt/setup.sh

If using UMN’s setup, use:

source /cvmfs/sft.cern.ch/lcg/views/LCG_104/x86_64-centos8-gcc11-opt/setup.sh

Adding a New Study

  1. Copy an existing script from src/:
    cp src/analyzer.py test/dev_analyzer.py
  2. Modify the script to include your custom selections and histograms.
  3. Once finalized, integrate your study into the main pipeline via bin/, python/, or src/.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •