Skip to content

UMN-CMS/EM_Skimmer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup

To get started, run the following lines on lxplus:

cmsrel CMSSW_10_6_8
cd CMSSW_10_6_8/src/
cmsenv
mkdir EM_GNN_ID
cd EM_GNN_ID
git clone [email protected]:UMN-CMS/EM_Skimmer.git
cd EM_Skimmer
scram b -j8

Test Run

cd test
cmsRun Photon_RecHit_AOD_cfg.py

Note: Max events are set to 1000. Change to -1 before submitting the crab jobs. The datasets to run on editing the crab config are in Gamma_Jet_Dataset.txt

CRAB

To generate config file for CRAB job submission, create a file in test/configs (i.e. see example_config.yml). Then run the following lines

source setpath.sh
./make_crab_cfg.py -c <path-to-config-file> -t <production-tag>

The script will produce python configuration files to submit CRAB jobs. Run

source SubmitCRAB.sh

to submit all the CRAB jobs at once. If needed, adjust the number of files per unit and number of units per job as per the recommendations using the dryrun option. The work area for CRAB jobs will be stored in a directory with the corresponding production tag under crab_projects. Each directory will further contain job directories depending on the number of datasets provided as input.

crab submit -c <crab-cfg-file> --dryrun

About

CMSSW code for skimming AOD and producing ntuples for GNN work

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •