Skip to content

scodella/LatinoTrees

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LatinoTrees

AnalysisStep
DataFormats

Additional packages (temporary solutions, then they will appear in cmssw release):

puppi

From https://twiki.cern.ch/twiki/bin/view/CMS/Phys14JMERecipes#PUPPI_example_for_AK8_jets

cmssw release needed:

>= CMSSW_7_3_0

install:

(for jettoolbox)

git cms-merge-topic alefisico:jetToolbox_73X
scram b -j 16

(for puppi)

git cms-addpkg CommonTools/PileupAlgos
git remote add nhan-remote https://github.com/nhanvtran/cmssw.git
git fetch nhan-remote puppi-bugfix-for-miniaod
git cherry-pick 0585bf21ae098f14f144b9a3d361178e6cc830e6
scram b

backup

LXPLUS-LatinosFramework
/afs/cern.ch/user/a/amassiro/work/Latinos/Framework/CMSSW_7_0_6_patch1/src/  --> old
/afs/cern.ch/user/a/amassiro/work/Latinos/Framework/CMSSW_7_0_7_patch1/src/
on slc6 machine
scp amassiro@cmsneu:/data/amassiro/CMSSWRoot/Spring14/miniAOD/VBF_HToWWTo2LAndTau2Nu_M-125_13TeV-powheg-pythia6/40F65A6C-2209-E411-9E44-003048CDCEC2.root /tmp/amassiro/

Phys14:

/afs/cern.ch/user/a/amassiro/work/Latinos/Framework/CMSSW_7_2_0/src
/afs/cern.ch/user/a/amassiro/work/Latinos/Framework/CMSSW_7_3_0/src
/afs/cern.ch/user/a/amassiro/work/Latinos/Framework/CMSSW_7_3_1/src
/afs/cern.ch/user/a/amassiro/work/Latinos/Framework/CMSSW_7_3_2/src (almost unused)
/afs/cern.ch/user/a/amassiro/work/Latinos/Framework/CMSSW_7_3_3/src
/afs/cern.ch/user/a/amassiro/work/Latinos/Framework/CMSSW_7_4_3/src -> not working
/afs/cern.ch/user/a/amassiro/work/Latinos/Framework/CMSSW_7_4_4/src
/afs/cern.ch/user/a/amassiro/work/Latinos/Framework/CMSSW_7_4_6/src
/afs/cern.ch/user/a/amassiro/work/Latinos/Framework/CMSSW_7_4_6_patch4/src
/afs/cern.ch/user/a/amassiro/work/Latinos/Framework/CMSSW_7_4_7/src
/afs/cern.ch/user/a/amassiro/work/Latinos/Framework/CMSSW_7_4_7_patch2/src/
/afs/cern.ch/user/a/amassiro/work/Latinos/Framework/CMSSW_7_4_9/src/
/afs/cern.ch/user/a/amassiro/work/Latinos/Framework/CMSSW_7_4_14/src/   --> from RunD on
/afs/cern.ch/user/a/amassiro/work/Latinos/Framework/CMSSW_7_6_1/src/ 
/afs/cern.ch/user/a/amassiro/work/Latinos/Framework/CMSSW_7_6_2/src/ 
/afs/cern.ch/user/a/amassiro/work/Latinos/Framework/CMSSW_7_6_3/src/ 
/afs/cern.ch/user/a/amassiro/work/Latinos/Framework/CMSSW_8_0_5/src/    --> for 2016


RunIIFall15

scp amassiro@cmsneu:/media/data/CMSSWRoot/RunIIFall15/GluGluHToWWTo2L2Nu_M125_13TeV_powheg_JHUgenv628_pythia8/MINIAODv2/C0BA7EF2-E898-E511-8B13-0CC47A4C8F26.root  /tmp/amassiro/

cmsRun stepB.py print \
                label=Top \
                id=123456789 \
                scale=1 \
                outputFile=stepB_MC.root \
                doNoFilter=True \
                doMuonIsoId=True \
                doEleIsoId=True \
                doPhotonID=True \
                maxEvents=200 \
                doMCweights=True \
                LHEweightSource=externalLHEProducer \
                doLHE=True \
                doGen=True \
                doHiggs=True \
                doBTag=True \
                doFatJet=True \
                globalTag=76X_mcRun2_asymptotic_v12 \
                inputFiles=file:/tmp/amassiro/C0BA7EF2-E898-E511-8B13-0CC47A4C8F26.root



cmsRun weightDumper.py \
                outputFile=weight_MC_ggHww.root \
                inputFiles=file:/tmp/amassiro/C0BA7EF2-E898-E511-8B13-0CC47A4C8F26.root


python cmssw2latino.py stepB_MC_numEvent200.root
gardener.py  l2selfiller \
            latino_stepB_MC_numEvent200.root \
            /tmp/amassiro/latino_WWTo2L2Nu.root
            
gardener.py  l2selfiller \
    latino_stepB_data_numEvent100.root    \
    latino_stepB_data_numEvent100_l2sel.root        
            
gardener.py  l2selfiller \
    latino_stepB_numEvent100.root    \
    latino_stepB_numEvent100_l2sel.root        

gardener.py  l2selfiller \
    latino_stepB_data_numEvent500.root    \
    latino_stepB_data_numEvent500_l2sel.root        
            
gardener.py  l2selfiller \
    latino_stepB_numEvent500.root    \
    latino_stepB_numEvent500_l2sel.root        

    
    
scp amassiro@cmsneu:/data/amassiro/CMSSWRoot/Phys14/miniAOD/GluGluToHToWWTo2LAndTau2Nu_M-125_13TeV-powheg-pythia6/C667E84D-9D18-E411-99D8-02163E00ECE6.root  /tmp/amassiro/
ln -s /tmp/amassiro/C667E84D-9D18-E411-99D8-02163E00ECE6.root    08CFEF83-586C-E411-8D7C-002590A2CCF2.root
ln -s /tmp/amassiro/C667E84D-9D18-E411-99D8-02163E00ECE6.root    440AA9AF-9988-E411-9786-00266CFFA038.root

RunIISpring15MiniAODv2

xrdcp root://xrootd.unl.edu//store/mc/RunIISpring15MiniAODv2/WWTo2L2Nu_13TeV-powheg/MINIAODSIM/74X_mcRun2_asymptotic_v2-v1/40000/220B892B-C46D-E511-91F6-0025905B85D6.root  /tmp/amassiro/
scp amassiro@cmsneu:/media/data/CMSSWRoot/RunIISpring15DR74/WWTo2L2Nu_13TeV-powheg/MINIAODSIMv2/220B892B-C46D-E511-91F6-0025905B85D6.root   /tmp/amassiro/220B892B-C46D-E511-91F6-0025905B85D6.root
cmsRun stepB.py print \
                label=Top \
                id=123456789 \
                scale=1 \
                outputFile=stepB_MC.root \
                doNoFilter=True \
                doMuonIsoId=True \
                maxEvents=200 \
                doLHE=True \
                doGen=True \
                doBTag=True \
                globalTag=74X_mcRun2_asymptotic_v2 \
                inputFiles=file:/tmp/amassiro/220B892B-C46D-E511-91F6-0025905B85D6.root

xrdcp root://xrootd.unl.edu//store/mc/RunIISpring15DR74/GluGluWWTo2L2Nu_MCFM_13TeV/MINIAODSIM/Asympt25ns_MCRUN2_74_V9-v1/70000/16FD9FE9-918F-E511-87AE-FA163EE04A7D.root /tmp/amassiro/
cmsRun stepB.py print \
                label=ggWW \
                id=123456789 \
                scale=1 \
                outputFile=stepB_MC.root \
                doNoFilter=True \
                doMuonIsoId=True \
                maxEvents=200 \
                doLHE=True \
                doGen=True \
                doBTag=True \
                doMCweights=True \
                LHEweightSource=source \
                puInformation=addPileupInfo \
                metNoHF=\"\" \
                globalTag=74X_mcRun2_asymptotic_v2 \
                inputFiles=file:/tmp/amassiro/16FD9FE9-918F-E511-87AE-FA163EE04A7D.root



xrdcp root://xrootd.unl.edu//store/mc/RunIISpring15MiniAODv2/TTJets_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8/MINIAODSIM/74X_mcRun2_asymptotic_v2-v3/60000/00372E76-286A-E511-B90C-0025905A60D2.root /tmp/amassiro/
scp amassiro@cmsneu:/media/data/CMSSWRoot/Phys14DR/TTJets_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8/MINIAODSIMv2/00372E76-286A-E511-B90C-0025905A60D2.root  /tmp/amassiro/00372E76-286A-E511-B90C-0025905A60D2.root
cmsRun stepB.py print \
                label=Top \
                id=123456789 \
                scale=1 \
                outputFile=stepB_MC.root \
                doNoFilter=True \
                doMuonIsoId=True \
                maxEvents=200 \
                doLHE=True \
                doGen=True \
                doBTag=True \
                globalTag=74X_mcRun2_asymptotic_v2 \
                inputFiles=file:/tmp/amassiro/00372E76-286A-E511-B90C-0025905A60D2.root

cmsRun weightDumper.py \
                outputFile=weight_MC.root \
                inputFiles=file:/tmp/amassiro/00372E76-286A-E511-B90C-0025905A60D2.root


xrdcp root://xrootd.unl.edu//store/mc/Phys14DR/TTJets_MSDecaysCKM_central_Tune4C_13TeV-madgraph-tauola/MINIAODSIM/PU30bx50_PHYS14_25_V1-v1/00000/003B6371-8D81-E411-8467-003048F0E826.root /tmp/amassiro/
scp amassiro@cmsneu:/media/data/CMSSWRoot/Phys14DR/TTJets_MSDecaysCKM_central_Tune4C_13TeV-madgraph-tauola/MINIAODSIM/003B6371-8D81-E411-8467-003048F0E826.root  /tmp/amassiro/003B6371-8D81-E411-8467-003048F0E826.root
cmsRun stepB.py print \
                label=Top \
                id=123456789 \
                scale=1 \
                outputFile=stepB_MC.root \
                doNoFilter=True \
                doMuonIsoId=True \
                maxEvents=200 \
                doLHE=False \
                doGen=True \
                doBTag=True \
                globalTag=MCRUN2_74_V9A \
                inputFiles=file:/tmp/amassiro/003B6371-8D81-E411-8467-003048F0E826.root

xrdcp root://xrootd.unl.edu//store/mc/RunIISpring15DR74/WWTo2L2Nu_13TeV-powheg/MINIAODSIM/Asympt50ns_MCRUN2_74_V9A-v1/60000/0AA28275-5001-E511-8A45-0CC47A4DEDE0.root  /tmp/amassiro/
scp amassiro@cmsneu:/media/data/CMSSWRoot/RunIISpring15DR74/WWTo2L2Nu_13TeV-powheg/MINIAODSIM/0AA28275-5001-E511-8A45-0CC47A4DEDE0.root /tmp/amassiro/
cmsRun stepB.py print \
                label=Top \
                id=123456789 \
                scale=1 \
                outputFile=stepB_MC.root \
                doNoFilter=True \
                doMuonIsoId=True \
                maxEvents=200 \
                doLHE=False \
                doGen=True \
                doBTag=True \
                globalTag=MCRUN2_74_V9A \
                inputFiles=file:/tmp/amassiro/0AA28275-5001-E511-8A45-0CC47A4DEDE0.root
                
   
cmsRun stepB.py print \
                label=Top \
                id=123456789 \
                scale=1 \
                outputFile=stepB_MC.root \
                doNoFilter=True \
                doMuonIsoId=True \
                maxEvents=200 \
                doLHE=False \
                doGen=True \
                doBTag=True \
                globalTag=MCRUN2_74_V9A \
                selection=LooseNoIso \
                inputFiles=file:/tmp/amassiro/0AA28275-5001-E511-8A45-0CC47A4DEDE0.root
   
   
   
scp amassiro@cmsneu:/media/data/CMSSWRoot/RunIISpring15DR74/WWTo2L2Nu_13TeV-powheg/MINIAODSIM/25ns/082EF100-DC05-E511-AD3F-A0040420FE80.root /tmp/amassiro/
scp amassiro@cmsneu:/media/data/CMSSWRoot/RunIISpring15DR74/WWTo2L2Nu_13TeV-powheg/MINIAODSIM/50ns/1EF48EA6-DE0B-E511-99EF-0002C92A1024.root /tmp/amassiro/
scp amassiro@cmsneu:/media/data/CMSSWRoot/RunIISpring15DR74/TT_TuneCUETP8M1_13TeV-powheg-pythia8/MINIAODSIM/00D2A247-2910-E511-9F3D-0CC47A4DEDD2.root /tmp/amassiro/
   
cmsRun stepB.py print \
                label=WW \
                id=123456789 \
                scale=1 \
                outputFile=stepB_MC_25ns.root \
                doNoFilter=True \
                doMuonIsoId=True \
                doLHE=False \
                doGen=True \
                doBTag=True \
                selection=LooseNoIso \
                inputFiles=file:/tmp/amassiro/082EF100-DC05-E511-AD3F-A0040420FE80.root

cmsRun stepB.py print \
                label=WW \
                id=123456789 \
                scale=1 \
                outputFile=stepB_MC_50ns.root \
                doNoFilter=True \
                doMuonIsoId=True \
                doLHE=False \
                doGen=True \
                doBTag=True \
                globalTag=MCRUN2_74_V9A \
                selection=LooseNoIso \
                inputFiles=file:/tmp/amassiro/1EF48EA6-DE0B-E511-99EF-0002C92A1024.root

cmsRun stepB.py print \
                label=Top \
                id=123456789 \
                scale=1 \
                outputFile=stepB_MC_Top.root \
                doNoFilter=True \
                doMuonIsoId=True \
                doLHE=False \
                doGen=True \
                doBTag=True \
                globalTag=MCRUN2_74_V9A \
                selection=LooseNoIso \
                maxEvents=100 \
                inputFiles=file:/tmp/amassiro/00D2A247-2910-E511-9F3D-0CC47A4DEDD2.root

cmsRun stepB.py print \
                label=Top \
                id=123456789 \
                scale=1 \
                outputFile=stepB_MC_Top.root \
                doCut="nLep>0" \
                doMuonIsoId=True \
                doLHE=False \
                doGen=True \
                doBTag=True \
                globalTag=MCRUN2_74_V9A \
                selection=LooseNoIso \
                inputFiles=file:/tmp/amassiro/00D2A247-2910-E511-9F3D-0CC47A4DEDD2.root

latino->Draw("std_vector_jet_pt[0]","std_vector_jet_pt[0]>0")
latino->Draw("std_vector_leptonGen_fromHardProcessBeforeFSR[0]","std_vector_leptonGen_pt[0]>0")
latino->Draw("std_vector_neutrinoGen_fromHardProcessBeforeFSR[0]","std_vector_neutrinoGen_pt[0]>0")
latino->Draw("std_vector_neutrinoGen_pt[0]","std_vector_neutrinoGen_pt[0]>0")
latino->Draw("std_vector_jet_csvv2ivf","std_vector_jet_csvv2ivf>-9000")


scp amassiro@cmsneu.cern.ch:/media/data/CMSSWRoot/DATARunII/Run2015D/DoubleMuon/MINIAOD/PromptReco-v4/A23E7F00-D86C-E511-9343-02163E01359B.root /tmp/amassiro/
cmsRun stepB.py print \
                label=DoubleMuon2015 \
                is50ns=False              \
                isPromptRecoData=True     \
                scale=1 \
                outputFile=stepB_Data.root \
                doCut="nLep>=1" \
                doMuonIsoId=True \
                doBTag=True \
                globalTag=74X_dataRun2_v2 \
                selection=LooseNoIso \
                maxEvents=100 \
                inputFiles=file:/tmp/amassiro/A23E7F00-D86C-E511-9343-02163E01359B.root

 74X_dataRun2_Prompt_v2
 
 cp /afs/cern.ch/work/p/piedra/public/store/data/Run2015D/DoubleEG/MINIAOD/PromptReco-v4/000/258/175/00000/FA1AB2EB-436D-E511-8DF2-02163E011E2B.root /tmp/amassiro/

 cmsRun stepB.py print \
                label=DoubleMuon2015 \
                is50ns=False              \
                isPromptRecoData=True     \
                scale=1 \
                outputFile=stepB_Data.root \
                doCut="nLep>=1" \
                doMuonIsoId=True \
                doBTag=True \
                globalTag=74X_dataRun2_v2 \
                selection=LooseNoIso \
                doEleIsoId=True \
                maxEvents=100 \
                inputFiles=file:/tmp/amassiro/FA1AB2EB-436D-E511-8DF2-02163E011E2B.root

                
                

scp amassiro@cmsneu.cern.ch:/media/data/CMSSWRoot/DATARunII/Run2015B/DoubleEG/PromptReco-v1_MINIAOD/6A0A8868-4B27-E511-B3F8-02163E011BD1.root /tmp/amassiro/
cmsRun stepB.py print \
                label=DoubleEG2015 \
                json=testJson  \
                scale=1 \
                outputFile=stepB_Data.root \
                doCut="nLep>0" \
                doMuonIsoId=True \
                doBTag=True \
                globalTag=GR_P_V56 \
                selection=LooseNoIso \
                maxEvents=100 \
                inputFiles=file:/tmp/amassiro/6A0A8868-4B27-E511-B3F8-02163E011BD1.root

cmsRun stepB.py print \
                label=DoubleEG2015 \
                json=testJson  \
                scale=1 \
                outputFile=stepB_Data.root \
                doNoFilter=True \
                doMuonIsoId=True \
                doBTag=True \
                globalTag=74X_dataRun2_v2 \
                is50ns=True  \
                isPromptRecoData=True \
                selection=LooseNoIso \
                maxEvents=100 \
                inputFiles=file:/tmp/amassiro/6A0A8868-4B27-E511-B3F8-02163E011BD1.root


scp amassiro@cmsneu.cern.ch:/media/data/CMSSWRoot/RunIISpring15DR74/DYJetsToLL_M-50_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8/MINIAODSIM/25ns/00C0BECF-6F14-E511-96F8-0025904B739A.root  /tmp/amassiro/
cmsRun stepB.py print \
                label=Wjets \
                id=123456789 \
                scale=1 \
                outputFile=stepB_MC_Wjets.root \
                doCut="nLep>0" \
                doMuonIsoId=True \
                doLHE=True \
                doGen=True \
                doBTag=True \
                selection=LooseNoIso \
                maxEvents=100 \
                doMCweights=True \
                inputFiles=file:/tmp/amassiro/00C0BECF-6F14-E511-96F8-0025904B739A.root

                
                
cmsRun weightDumper.py \
                outputFile=weight_MC_Wjets.root \
                inputFiles=file:/tmp/amassiro/00C0BECF-6F14-E511-96F8-0025904B739A.root


cmsRun puDumper.py \
                outputFile=pu_MC_Wjets.root \
                inputFiles=file:/tmp/amassiro/00C0BECF-6F14-E511-96F8-0025904B739A.root

About

Main Latino tree producer for Run II

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 63.5%
  • C++ 36.0%
  • Shell 0.5%