Example #1
0
from libPython.tnpClassUtils import tnpSample

dirtest = '/pool/ciencias/userstorage/balvarez/TnPntuplesttH/'
test = {
    'DY': tnpSample('DY',
                    dirtest + 'Tree_DY_Muon2018_*.root',
                    isMC=True,
                    nEvts=-1),
    'data': tnpSample('data',
                      dirtest + 'Tree_SingleMuon_Run2018*.root',
                      lumi=51.7)
}
#test = {'DY'   : tnpSample('DY',   dirtest + 'Tree_DY_Muon2018_0.root', isMC = True, nEvts = -1),
#        'data' : tnpSample('data', dirtest + 'Tree_SingleMuon_Run2018A_0.root', lumi = 51.7)}
#PromptReco2018: https://github.com/swagata87/egm_tnp_analysis/tree/egm_tnp_Prompt2018_102X_10222018_MC102XECALnoiseFix200kRelVal
#UL2017: https://github.com/swagata87/egm_tnp_analysis/blob/UL2017Final/etc/inputs/tnpSampleDef.py

### eos repositories
eosLegacyReReco2016 = '/eos/cms/store/group/phys_egamma/swmukher/egmNtuple_V2ID_2016/'
eosReReco2017 = '/eos/cms/store/group/phys_egamma/swmukher/ntuple_2017_v2/'
eosReReco2018 = '/eos/cms/store/group/phys_egamma/swmukher/rereco2018/ECAL_NOISE/'
#eosUL2017 = '/eos/cms/store/group/phys_egamma/asroy/Tag-and-Probe_Tree/UL2017/'
eosUL2017 = '/eos/cms/store/group/phys_egamma/asroy/Tag-and-Probe_Tree/UL2017_MINIAOD_Nm1/'
eosUL2018 = '/eos/cms/store/group/phys_egamma/asroy/Tag-and-Probe_Tree/UL2018_MINIAOD_Nm1/'
eosUL2016 = '/eos/cms/store/group/phys_egamma/akapoor/Tag-and-Probe_Tree/UL2016_ntuples/'

ReReco2017 = {
    'DY_madgraph':
    tnpSample('DY_madgraph',
              eosReReco2017 + 'DYJetsToLL.root',
              isMC=True,
              nEvts=-1),
    'DY_1j_madgraph':
    tnpSample('DY_1j_madgraph',
              eosReReco2017 + 'DY1JetsToLLM50madgraphMLM.root',
              isMC=True,
              nEvts=-1),
    #    'DY_amcatnlo'                 : tnpSample('DY_amcatnlo',
    #                                       eosMoriond18 + 'DYJetsToLLM50amcatnloFXFX.root',
    #                                       isMC = True, nEvts =  -1 ),
    'DY_amcatnloext':
    tnpSample('DY_amcatnloext',
              eosReReco2017 + 'DYJetsToLLM50amcatnloFXFXext.root',
              isMC=True,
              nEvts=-1),
    'data_Run2017B':
from libPython.tnpClassUtils import tnpSample

dirtest = '/pool/ciencias/userstorage/balvarez/TnPntuplesttH/'
test = {
    'DY':
    tnpSample('DY',
              dirtest + 'Tree_DY_Electron2016_*.root',
              isMC=True,
              nEvts=-1),
    'data':
    tnpSample('data', dirtest + 'Tree_SingleElectron_Run2016*.root', lumi=35.9)
}
Example #4
0
from libPython.tnpClassUtils import tnpSample

### qll stat
#eosDir1 = 'eos/cms/store/group/phys_egamma/tnp/80X/PhoEleIDs/v1/'
#eosDir2 = 'eos/cms/store/group/phys_egamma/tnp/80X/PhoEleIDs/v2/'
#eosDirREC = 'eos/cms/store/group/phys_egamma/tnp/80X/RecoSF/RECOSFs_2016/'
#eosWinter17 = 'eos/cms/store/group/phys_egamma/tnp/80X/PhoEleIDs/Moriond17_v1/'
eosMoriond18 = '/eos/cms/store/group/phys_egamma/swmukher/ntuple_2017_v2/'

Moriond18_94X = {
    ### MiniAOD TnP for IDs scale factors
    'DY_1j_madgraph':
    tnpSample('DY_1j_madgraph',
              eosMoriond18 + 'DY1JetsToLLM50madgraphMLM.root',
              isMC=True,
              nEvts=-1),
    #    'DY_amcatnlo'                 : tnpSample('DY_amcatnlo',
    #                                       eosMoriond18 + 'DYJetsToLLM50amcatnloFXFX.root',
    #                                       isMC = True, nEvts =  -1 ),
    'DY_amcatnloext':
    tnpSample('DY_amcatnloext',
              eosMoriond18 + 'DYJetsToLLM50amcatnloFXFXext.root',
              isMC=True,
              nEvts=-1),
    'data_Run2017B':
    tnpSample('data_Run2017B', eosMoriond18 + 'RunB.root', lumi=4.793),
    'data_Run2017C':
    tnpSample('data_Run2017C', eosMoriond18 + 'RunC.root', lumi=9.753),
    'data_Run2017D':
    tnpSample('data_Run2017D', eosMoriond18 + 'RunD.root', lumi=4.320),
    'data_Run2017E':
Example #5
0
from libPython.tnpClassUtils import tnpSample

hdfs2016Samples = '/hdfs/store/user/vshang/TnP_EleTriggers_2020-12-23/2016/'
hdfs2017Samples = '/hdfs/store/user/vshang/TnP_EleTriggers_2020-12-23/2017/'
hdfs2018Samples = '/hdfs/store/user/vshang/TnP_EleTriggers_2020-12-23/2018/'
hdfs2017Samples2 = '/hdfs/store/user/vshang/TnP_EleTriggers_2021-03-31/2017/'
hdfs2017Samples3 = '/hdfs/store/user/vshang/TnP_EleTriggers_2021-05-10/2017/'

samples2016 = {
    'DY_LO'               : tnpSample('DY_LO', hdfs2016Samples + 'mc/DYJetsToLL_M-50_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/TnPTree_all.root', isMC = True, nEvts = -1 ), 
    'DY_NLO'               : tnpSample('DY_NLO', hdfs2016Samples + 'mc/DYJetsToLL_M-50_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8/TnPTree_all.root', isMC = True, nEvts = -1 ), 
    'data_Run2016B'        : tnpSample('data_Run2016B', hdfs2016Samples + 'data/SingleElectron/crab_2016_Run2016B/TnPTree_all.root', lumi = 5.75 ), 
    'data_Run2016C'        : tnpSample('data_Run2016C', hdfs2016Samples + 'data/SingleElectron/crab_2016_Run2016C/TnPTree_all.root', lumi = 2.57 ), 
    'data_Run2016D'        : tnpSample('data_Run2016D', hdfs2016Samples + 'data/SingleElectron/crab_2016_Run2016D/TnPTree_all.root', lumi = 4.24 ), 
    'data_Run2016E'        : tnpSample('data_Run2016E', hdfs2016Samples + 'data/SingleElectron/crab_2016_Run2016E/TnPTree_all.root', lumi = 4.03 ), 
    'data_Run2016F'        : tnpSample('data_Run2016F', hdfs2016Samples + 'data/SingleElectron/crab_2016_Run2016F/TnPTree_all.root', lumi = 3.10 ), 
    'data_Run2016G'        : tnpSample('data_Run2016G', hdfs2016Samples + 'data/SingleElectron/crab_2016_Run2016G/TnPTree_all.root', lumi = 7.58 ), 
    'data_Run2016H'        : tnpSample('data_Run2016H', hdfs2016Samples + 'data/SingleElectron/crab_2016_Run2016H/TnPTree_all.root', lumi = 8.65 ), 
    }

samples2017 = {
    'DY_LO'               : tnpSample('DY_LO', hdfs2017Samples + 'mc/DYJetsToLL_M-50_TuneCP5_13TeV-madgraphMLM-pythia8/TnPTree_all.root', isMC = True, nEvts = -1 ), 
    'DY_LO_HT100to200'               : tnpSample('DY_LO', hdfs2017Samples3 + 'mc/DYJetsToLL_M-50_HT-100to200_TuneCP5_13TeV-madgraphMLM-pythia8/TnPTree_all.root', isMC = True, nEvts = -1 ),
    'DY_LO_HT200to400'               : tnpSample('DY_LO', hdfs2017Samples3 + 'mc/DYJetsToLL_M-50_HT-200to400_TuneCP5_13TeV-madgraphMLM-pythia8/TnPTree_all.root', isMC = True, nEvts = -1 ), 
    'DY_LO_HT400to600'               : tnpSample('DY_LO', hdfs2017Samples3 + 'mc/DYJetsToLL_M-50_HT-400to600_TuneCP5_13TeV-madgraphMLM-pythia8/TnPTree_all.root', isMC = True, nEvts = -1 ), 
    'DY_LO_HT600to800'               : tnpSample('DY_LO', hdfs2017Samples3 + 'mc/DYJetsToLL_M-50_HT-600to800_TuneCP5_13TeV-madgraphMLM-pythia8/TnPTree_all.root', isMC = True, nEvts = -1 ), 
    'DY_LO_HT800to1200'               : tnpSample('DY_LO', hdfs2017Samples3 + 'mc/DYJetsToLL_M-50_HT-800to1200_TuneCP5_13TeV-madgraphMLM-pythia8/TnPTree_all.root', isMC = True, nEvts = -1 ), 
    'DY_LO_HT1200to2500'               : tnpSample('DY_LO', hdfs2017Samples3 + 'mc/DYJetsToLL_M-50_HT-1200to2500_TuneCP5_13TeV-madgraphMLM-pythia8/TnPTree_all.root', isMC = True, nEvts = -1 ), 
    'DY_LO_HT2500toInf'               : tnpSample('DY_LO', hdfs2017Samples3 + 'mc/DYJetsToLL_M-50_HT-2500toInf_TuneCP5_13TeV-madgraphMLM-pythia8/TnPTree_all.root', isMC = True, nEvts = -1 ), 
    'DY1_LO'               : tnpSample('DY1_LO', hdfs2017Samples2 + 'mc/DY1JetsToLL_M-50_TuneCP5_13TeV-madgraphMLM-pythia8/TnPTree_all.root', isMC = True, nEvts = -1 ), 
    'DY2_LO'               : tnpSample('DY2_LO', hdfs2017Samples3 + 'mc/DY1JetsToLL_M-50_TuneCP5_13TeV-madgraphMLM-pythia8/TnPTree_all.root', isMC = True, nEvts = -1 ), 
from libPython.tnpClassUtils import tnpSample

### qll stat
eos2017 = '/eos/cms/store/group/phys_egamma/tnp/run2017/RunBC/'

Run17 = {
    'DY_madgraph':
    tnpSample('DY_madgraph',
              eos2017 + 'mc_27July.root',
              isMC=True,
              nEvts=1528087),
    'data_Run2017B':
    tnpSample('data_Run2017B', eos2017 + 'data_RunB_27July.root', lumi=2.5),
    'data_Run2017C':
    tnpSample('data_Run2017C', eos2017 + 'data_RunC_14Aug.root', lumi=2.5)
}
Example #7
0
from libPython.tnpClassUtils import tnpSample

eosDir = '/tmp/pwang/eos/cms/store/group/phys_egamma/tnp/80X/'

ICHEP2016 = {
    'mc_DY_madgraph_ele':
    tnpSample(
        'mc_DY_madgraph_ele',
        eosDir +
        'Photons_76Xids/elev2/mc/TnPTree_DYJetsToLL_M-50_TuneCUETP8M1_13TeV-madgraphMLM-pythia8.root',
        isMC=True,
        nEvts=36311064),
    'mc_DY_amcatnlo_ele':
    tnpSample(
        'mc_DY_amcatnlo_ele',
        eosDir +
        'Photons_76Xids/elev2/mc/TnPTree_DYJetsToLL_M-50_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8.root',
        isMC=True,
        nEvts=28696958),
    'mc_DY_madgraph_pho':
    tnpSample(
        'mc_DY_madgraph_pho',
        eosDir +
        'Photons_76Xids/phov2/mc/TnPTree_DYJetsToLL_M-50_TuneCUETP8M1_13TeV-madgraphMLM-pythia8.root',
        isMC=True,
        nEvts=41253879),
    'mc_DY_amcatnlo_pho':
    tnpSample(
        'mc_DY_amcatnlo_pho',
        eosDir +
        'Photons_76Xids/phov2/mc/TnPTree_DYJetsToLL_M-50_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8.root',
Example #8
0
cwd = os.getcwd()
latinov6_16 = '%s/../ntuple/results/latinov6_16/' % cwd
latinov6_17 = '%s/../ntuple/results/latinov6_17/' % cwd
latinov6_18 = '%s/../ntuple/results/latinov6_18/' % cwd

latinov7_16 = '%s/../skim/results/latinov7_16/'   % cwd 
latinov7_17 = '%s/../skim/results/latinov7_17/'   % cwd
latinov7_18 = '%s/../skim/results/latinov7_18/'   % cwd

nanoV7_16 = '%s/../skim/results/Full2016v7_102X/' % cwd
nanoV7_17 = '%s/../skim/results/Full2017v7_102X/' % cwd
nanoV7_18 = '%s/../skim/results/Full2018v7_102X/' % cwd

nanov5_16 = {
    'DYJetsToLL_M-50-LO_ext2' : tnpSample('DYJetsToLL_M-50-LO_ext2',
                                     latinov6_16 + 'DYJetsToLL_M-50-LO_ext2.root',
                                     isMC = True, nEvts =  -1 ),

    'DYJetsToLL_M-50' : tnpSample('DYJetsToLL_M-50',
                                  latinov6_16 + 'DYJetsToLL_M-50.root',
                                  isMC = True, nEvts =  -1 ),

    'data_Run2016' : tnpSample('SingleElectron' , latinov6_16 + 'SingleElectron_Run2016.root' , lumi = 35.867 ),
}

nanov5_17 = {
    'DYJetsToLL_M-50-LO_ext1' : tnpSample('DYJetsToLL_M-50-LO_ext1',
                                          latinov6_17 + 'DYJetsToLL_M-50-LO_ext1.root',
                                     isMC = True, nEvts =  -1 ),
    
    'DYJetsToLL_M-50_ext1' : tnpSample('DYJetsToLL_M-50_ext1',
Example #9
0
from libPython.tnpClassUtils import tnpSample


### eos repositories
eosLegacyReReco2016 = '/eos/user/b/bng/tnpTuples/2021-02-28/2016/merged/'
eosReReco2017       = '/eos/user/b/bng/tnpTuples/2021-02-28/2017/merged/'
eosReReco2018       = '/eos/user/b/bng/tnpTuples/2021-02-28/2018/merged/'

LegacyReReco2016 = {
  'DY_madgraph'     : tnpSample('DY_madgraph',      eosLegacyReReco2016 + 'TnPTree_DY_M50_madgraphMLM.root', isMC = True, nEvts =  -1 ),
  'DY_amcatnlo'     : tnpSample('DY_amcatnlo',      eosLegacyReReco2016 + 'TnPTree_DY_M50_amcatnloFXFX.root',isMC = True, nEvts =  -1 ),
  'data_Run2016B'   : tnpSample('data_Run2016B',    eosLegacyReReco2016 + 'TnPTree_2016B.root',   lumi = 5.751),
  'data_Run2016C'   : tnpSample('data_Run2016C' ,   eosLegacyReReco2016 + 'TnPTree_2016C.root',   lumi = 2.573),
  'data_Run2016D'   : tnpSample('data_Run2016D' ,   eosLegacyReReco2016 + 'TnPTree_2016D.root',   lumi = 4.242),
  'data_Run2016E'   : tnpSample('data_Run2016E' ,   eosLegacyReReco2016 + 'TnPTree_2016E.root',   lumi = 4.025),
  'data_Run2016F'   : tnpSample('data_Run2016F' ,   eosLegacyReReco2016 + 'TnPTree_2016F.root',   lumi = 3.105),
  'data_Run2016G'   : tnpSample('data_Run2016G' ,   eosLegacyReReco2016 + 'TnPTree_2016G.root',   lumi = 7.576),
  'data_Run2016H'   : tnpSample('data_Run2016H' ,   eosLegacyReReco2016 + 'TnPTree_2016H.root',   lumi = 8.651),
}


ReReco2017 = {
  'DY_amcatnlo'   : tnpSample('DY_amcatnlo',    eosReReco2017 + 'TnPTree_DY_M50_amcatnloFXFX.root',     isMC = True, nEvts =  -1),
  'DY_madgraph'   : tnpSample('DY_madgraph',    eosReReco2017 + 'TnPTree_DY_M50_madgraphMLM.root',      isMC = True, nEvts =  -1),
  'DY_1j_madgraph': tnpSample('DY_1j_madgraph', eosReReco2017 + 'TnPTree_DY1Jets_M50_madgraphMLM.root', isMC = True, nEvts =  -1),
  'data_Run2017B' : tnpSample('data_Run2017B' , eosReReco2017 + 'TnPTree_2017B.root', lumi = 4.794),
  'data_Run2017C' : tnpSample('data_Run2017C' , eosReReco2017 + 'TnPTree_2017C.root', lumi = 9.633),
  'data_Run2017D' : tnpSample('data_Run2017D' , eosReReco2017 + 'TnPTree_2017D.root', lumi = 4.248),
  'data_Run2017E' : tnpSample('data_Run2017E' , eosReReco2017 + 'TnPTree_2017E.root', lumi = 9.315),
  'data_Run2017F' : tnpSample('data_Run2017F' , eosReReco2017 + 'TnPTree_2017F.root', lumi = 13.540),
}
Example #10
0
eos100X_old = '/eos/cms/store/group/phys_egamma/micheli/TnP/ntuples_20180831/2018Data_1/'
eos100X = '/eos/cms/store/group/phys_egamma/soffi/TnP/ntuples_20180905/2018Data_1/'
eos102X = '/eos/cms/store/group/phys_egamma/soffi/TnP/ntuples_20180920/2018Data_1/'
eleID_94X = '/eos/user/m/milee/TnPEleTree/94X/'
eleID_80X = '/eos/user/m/milee/TnPEleTree/80X/'
eleID_102X = '/eos/user/m/milee/TnPEleTree/102X/'
eos2018rereco = '/eos/cms/store/group/phys_egamma/swmukher/rereco2018/ECAL_NOISE/'
eos2018_autumn = '/eos/cms/store/group/phys_egamma/swmukher/NtupleForRecoSF/Rereco2018Data_Autumn18MC_AOD/'
L1match = '/eos/cms/store/group/phys_egamma/tnpTuples/tomc/2020-03-03/'
new17 = '/eos/cms/store/group/phys_egamma/asroy/Tag-and-Probe_Tree/ReReco17-17Nov2017_MINIAOD_Nm1/'
Moriond18_94X = {
    ### MiniAOD TnP for IDs scale factors
    'DY_madgraph':
    tnpSample(
        'DY_madgraph',
        eosMoriond18 +
        'mc/TnPTree_DYJetsToLL_M-50_TuneCP5_13TeV-madgraphMLM-pythia8_all.root',
        isMC=True,
        nEvts=-1),
    'DY_madgraph_Moriond18':
    tnpSample(
        'DY_madgraph_Moriond18',
        eosMoriond18 +
        'mc/TnPTree_DYJetsToLL_M-50_TuneCP5_13TeV-madgraphMLM-pythia8_all.root',
        isMC=True,
        nEvts=-1),
    'DY_amcatnlo_Moriond18':
    tnpSample(
        'DY_amcatnlo_Moriond18',
        eosMoriond18 +
        'mc/TnPTree_DYJetsToLL_M-50_TuneCP5_13TeV-amcatnloFXFX-pythia8_all.root',
        isMC=True,
from libPython.tnpClassUtils import tnpSample

dirtest = '/pool/ciencias/userstorage/balvarez/TnPntuplesttH/'
test = {'DY'   : tnpSample('DY',   dirtest + 'Tree_DY_Electron2017_*.root', isMC = True, nEvts = -1), 
        'data' : tnpSample('data', dirtest + 'Tree_SingleElectron_Run2017*.root', lumi = 41.9)}
Example #12
0
from libPython.tnpClassUtils import tnpSample

### qll stat
base_path = 'data/'

TnP2016 = {
    ### MiniAOD TnP for IDs scale factors
    'DY_madgraph':
    tnpSample(
        'DY_madgraph',
        base_path +
        'RunIISummer16NanoAODv4_DYJetsToLL_M-50_TuneCUETP8M1_13TeV-madgraphMLM-pythia8.root',
        isMC=True,
        nEvts=-1),
    'DY_amcatnlo':
    tnpSample(
        'DY_amcatnlo',
        base_path +
        'RunIISummer16NanoAODv4_DYJetsToLL_M-50_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8.root',
        isMC=True,
        nEvts=-1),
    'data_Run2016B':
    tnpSample('data_Run2016B',
              base_path + 'Run2016B_SingleElectron_14Dec2018.root',
              lumi=5.75),
    'data_Run2016C':
    tnpSample('data_Run2016C',
              base_path + 'Run2016C_SingleElectron_14Dec2018.root',
              lumi=2.573),
    'data_Run2016D':
    tnpSample('data_Run2016D',
Example #13
0
from libPython.tnpClassUtils import tnpSample

### qll stat
eosDir1 = 'eos/cms/store/group/phys_egamma/tnp/80X/PhoEleIDs/v1/'
eosDir2 = 'eos/cms/store/group/phys_egamma/tnp/80X/PhoEleIDs/v2/'
eosDirREC = 'eos/cms/store/group/phys_egamma/tnp/80X/RecoSF/RECOSFs_2016/'
eosWinter17 = 'eos/cms/store/group/phys_egamma/tnp/80X/PhoEleIDs/Moriond17_v1/'
Moriond17_80X = {
    ### MiniAOD TnP for IDs scale factors
    'DY_madgraph'          : tnpSample('DY_madgraph',
                                       eosWinter17 + 'mc/TnPTree_DYJetsToLL_M-50_TuneCUETP8M1_13TeV-madgraphMLM-pythia8_DYToLL_madgraph_Spring16_reHLT.root',
                                       isMC = True, nEvts = -1 ),
    'DY_madgraph_Winter17' : tnpSample('DY_madgraph_Winter17', 
                                       eosWinter17 + 'mc/TnPTree_DYJetsToLL_M-50_TuneCUETP8M1_13TeV-madgraphMLM-pythia8_DYToLL_madgraph_Moriond17.root',
                                       isMC = True, nEvts = 48652793 ),
    'DY_amcatnlo_Winter17' : tnpSample('DY_amcatnlo_Winter17', 
                                       eosWinter17 + 'mc/TnPTree_DYJetsToLL_M-50_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8_DYToLL_mcAtNLO_Moriond17.root',
                                       isMC = True, nEvts = 28968252 ),
    'Wj_madgraph_Winter17' : tnpSample('Wj_madgraph_Winter17', 
                                       eosWinter17 + 'mc/TnPTree_WJetsToLNu_TuneCUETP8M1_13TeV-madgraphMLM-pythia8_WJets_madgraph_Moriond17.root',
                                       isMC = True, nEvts = 29048609 ),

    'data_Run2016B' : tnpSample('data_Run2016B' , eosWinter17 + 'data/TnPTree_SingleElectron_2016rereco_RunB.root' , lumi = 5.767 ),
    'data_Run2016C' : tnpSample('data_Run2016C' , eosWinter17 + 'data/TnPTree_SingleElectron_2016rereco_RunC.root' , lumi = 2.646 ),
    'data_Run2016D' : tnpSample('data_Run2016D' , eosWinter17 + 'data/TnPTree_SingleElectron_2016rereco_RunD.root' , lumi = 4.353 ),
    'data_Run2016E' : tnpSample('data_Run2016E' , eosWinter17 + 'data/TnPTree_SingleElectron_2016rereco_RunE.root' , lumi = 3.985 ),
    'data_Run2016F' : tnpSample('data_Run2016F' , eosWinter17 + 'data/TnPTree_SingleElectron_2016rereco_RunF.root' , lumi = 3.160 ),
    'data_Run2016G' : tnpSample('data_Run2016G' , eosWinter17 + 'data/TnPTree_SingleElectron_2016rereco_RunG.root' , lumi = 7.539 ),
    'data_Run2016H' : tnpSample('data_Run2016H' , eosWinter17 + 'data/TnPTree_SingleElectron_2016prompt_RunH.root' , lumi = 8.762 ),

    
from libPython.tnpClassUtils import tnpSample

dirtest = '/pool/ciencias/userstorage/balvarez/TnPntuplesttH/'
test = {'DY'   : tnpSample('DY',   dirtest + 'Tree_DY_Muon2016_*.root', isMC = True, nEvts = -1), 
        'data' : tnpSample('data', dirtest + 'Tree_SingleMuon_Run2016*.root', lumi = 35.9)}
Example #15
0
from libPython.tnpClassUtils import tnpSample

### qll stat
#eosDir1 = 'eos/cms/store/group/phys_egamma/tnp/80X/PhoEleIDs/v1/'
#eosDir2 = 'eos/cms/store/group/phys_egamma/tnp/80X/PhoEleIDs/v2/'
#eosDirREC = 'eos/cms/store/group/phys_egamma/tnp/80X/RecoSF/RECOSFs_2016/'
#eosWinter17 = 'eos/cms/store/group/phys_egamma/tnp/80X/PhoEleIDs/Moriond17_v1/'
eosMoriond18 = '/eos/cms/store/group/phys_egamma/soffi/TnP/ntuples_01292018/Moriond18_V1/'

Moriond18_94X = {
    ### MiniAOD TnP for IDs scale factors
    'DY_madgraph':
    tnpSample(
        'DY_madgraph',
        eosMoriond18 +
        'mc/TnPTree_DYJetsToLL_M-50_TuneCP5_13TeV-madgraphMLM-pythia8_all.root',
        isMC=True,
        nEvts=-1),
    'DY_madgraph_Moriond18':
    tnpSample(
        'DY_madgraph_Moriond18',
        eosMoriond18 +
        'mc/TnPTree_DYJetsToLL_M-50_TuneCP5_13TeV-madgraphMLM-pythia8_all.root',
        isMC=True,
        nEvts=-1),
    'DY_amcatnlo_Moriond18':
    tnpSample(
        'DY_amcatnlo_Moriond18',
        eosMoriond18 +
        'mc/TnPTree_DYJetsToLL_M-50_TuneCP5_13TeV-amcatnloFXFX-pythia8_all.root',
        isMC=True,
from libPython.tnpClassUtils import tnpSample

### qll stat
dirtest = '/pool/ciencias/userstorage/juanr/TnPtrees/old/TnPfeb19/TnPfeb19/2017/'
test = {
    'DY':
    tnpSample('DY', dirtest + 'Tree_DYJetsToLL_M*.root', isMC=True, nEvts=-1),
    'data':
    tnpSample('data', dirtest + 'Tree_SingleMuon_Run2017*.root', lumi=41.856),
    'dataMP':
    tnpSample('dataMP', dirtest + 'Tree_SingleMuon_Run2017*.root',
              lumi=41.856),
    'dataL':
    tnpSample('dataL', dirtest + 'Tree_SingleMuon_Run2017*.root', lumi=41.856),
    'dataM':
    tnpSample('dataM', dirtest + 'Tree_SingleMuon_Run2017*.root', lumi=41.856),
    'dataT':
    tnpSample('dataT', dirtest + 'Tree_SingleMuon_Run2017*.root', lumi=41.856),
    'dataB':
    tnpSample('dataB',
              dirtest + 'Tree_SingleMuon_Run2017B_TnP.root',
              lumi=4.79),
    'dataC':
    tnpSample('dataC',
              dirtest + 'Tree_SingleMuon_Run2017C_TnP.root',
              lumi=9.754),
    'dataD':
    tnpSample('dataD',
              dirtest + 'Tree_SingleMuon_Run2017D_TnP.root',
              lumi=4.32),
    'dataE':