Instructions for producing Gamma + jet step 2 Analyse Nuples
########################################################## # *Target: CMS Gamma + Jet - JEC calculation # # *Author: Hugues # # *Last update: 22 Sept 2018 # # # # Lines starting with '$' are commands to be executed # # (after necessary changes when needed), all other text # # is just instructions or program output. # ########################################################## Set up a working directory and do a local test run ## Setup a fresh analysis directory $ scram p -n dec16_CMSSW8011 CMSSW CMSSW_8_0_11 $ cd dec16_CMSSW8011 $ git clone https://github.com/CMSDIJET/DijetRootTreeAnalyzer.git CMSDIJET/responsecomputing/DijetRootTreeAnalyzer $ ./scripts/make_rootNtupleClass.sh -f yourBIgtupleRootfile.root -t dijets/events mv: overwrite `include/rootNtupleClass.h'? yes mv: overwrite `src/rootNtupleClass.C'? yes $ ln -sf analysisClass_GammaplusJet_fakejethandle.C src/analysisClass.C $ make clean $ cmsenv $ make #create a list of your crab ouput file from the previous step : #If it's store on eos the adress look like that : #root://eoscms//eos/cms/store/group/phys_jetmet/hlattaud/GammaJet/GJet-RunIISpring16MiniAODv1/GJet_Pt-15To6000_TuneCUETP8M1-Flat_13TeV_pythia8/crab_GJet-RunIISpring16MiniAODv1_v2/161202_142806/0000/mylocaltest_10_19.root ## Download fresh cert JSON and change the path accordingly in cutfile # Just before starting you may want to do a test job with something like this: $ ./main file.txt config/cutFile_mainGammaplusJetSelection.txt dijets/events test test # where file.txt contains a path to a big ntuple file. Now to full production: