Skip to content

dbruschi/MuonAnalysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MuonAnalysis

Analyzer to produce custom NanoAOD ntuples from MiniAOD or AOD. Below are the instructions to run the analyzer

Setup

cmsrel CMSSW_10_6_29
cd CMSSW_10_6_29/src
cmsenv
git init
git remote add -f origin https://github.com/dbruschi/cmssw.git
git config core.sparseCheckout true
echo "PhysicsTools/PatAlgos/" >> .git/info/sparse-checkout
git pull origin CMSSW_10_6_X
scram b
mkdir MuonAnalysis
cd MuonAnalysis
git clone https://github.com/dbruschi/MuonAnalysis.git
cd MuonAnalysis
scram b

Run on MiniAOD

CmsRun config files are available in the python/ directory. Select according to desired era

voms-proxy-init -voms cms #to run on files available remotely
cmsRun python/ConfFile_cfg_2016postVFP.py

Run on AOD

CmsRun config files are available in the python/ directory. Select according to desired era

voms-proxy-init -voms cms #to run on files available remotely
cmsRun python/ConfFile_cfg_AOD_2016postVFP.py

CRAB submission

voms-proxy-init -voms cms
export X509_USER_PROXY = {name of the proxy file}
crab submit -c crab_config.py #to be modified to be run on MiniAOD or AOD.
#In particular "config.JobType.psetName = python/ConfFile_cfg_{era}.py" or "config.JobType.psetName = python/ConfFile_cfg_AOD_{era}.py"
#and config.Data.inputDataset need to be modified

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published