Skip to content

noisy protocode -- work in progress

Notifications You must be signed in to change notification settings

kaihonglaw/nanotron

 
 

Repository files navigation

nanotron

build tests

Version 0.02

Based on a fusion of code from:

https://github.com/LLPDNNX/LLPReco

https://github.com/DiElectronX/BParkingNANO


Initialize the environment

source /cvmfs/cms.cern.ch/cmsset_default.sh

Initialize GRID

source /vols/grid/cms/setup.sh
voms-proxy-init --voms cms

Initialize CMSSW

scram list CMSSW

cmsrel CMSSW_10_2_22
cd CMSSW_10_2_22/src

cmsenv

Pull the repo

git clone [email protected]:mieskolainen/nanotron.git nanotron

Update the repo

cd nanotron/ && git pull origin main && cd ..

Build the code

scram build clean
scram build

Produce a custom NanoAOD tree

cmsRun nanotron/NANOProducer/test/produceNANO.py inputFiles=https://github.com/LLPDNNX/test-files/raw/master/miniaod/HNL_miniaod18.root year=2018 test=True isData=False

cmsRun nanotron/NANOProducer/test/produceNANO.py inputFiles=/store/mc/RunIIAutumn18MiniAOD/QCD_Pt-30to50_MuEnrichedPt5_TuneCP5_13TeV_pythia8/MINIAODSIM/102X_upgrade2018_realistic_v15-v3/100000/005594DA-4AA0-3E48-A8C2-46DECDE2E925.root year=2018 test=True isData=False addSignalLHE=False

cmsRun nanotron/NANOProducer/test/produceNANO.py inputFiles=/store/data/Run2018B/ParkingBPH1/MINIAOD/05May2019-v2/230000/00496A25-08B6-FB4E-9681-D5FF4E1BE81F.root year=2018 test=True isData=True

Test the custom NanoAOD tree (TBD)

python nanotron/test/check_tree.py

[email protected], 2023

About

noisy protocode -- work in progress

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 70.1%
  • Python 29.7%
  • Shell 0.2%