# COMPONENT CREATOR from CMGTools.RootTools.samples.ComponentCreator import ComponentCreator kreator = ComponentCreator() # ----------------------------- 2017 pp run ---------------------------------------- json = '/afs/cern.ch/cms/CAF/CMSCOMM/COMM_DQM/certification/Collisions17/13TeV/Final/Cert_294927-306462_13TeV_PromptReco_Collisions17_JSON.txt' # ----------------------------- Run2017B 14Dec2018 ---------------------------------------- JetHT_Run2017B_14Dec2018 = kreator.makeDataComponent( "JetHT_Run2017B_14Dec2018", "/JetHT/Run2017B-Nano14Dec2018-v1/NANOAOD", "CMS", ".*root", json) HTMHT_Run2017B_14Dec2018 = kreator.makeDataComponent( "HTMHT_Run2017B_14Dec2018", "/HTMHT/Run2017B-Nano14Dec2018-v1/NANOAOD", "CMS", ".*root", json) MET_Run2017B_14Dec2018 = kreator.makeDataComponent( "MET_Run2017B_14Dec2018", "/MET/Run2017B-Nano14Dec2018-v1/NANOAOD", "CMS", ".*root", json) SingleElectron_Run2017B_14Dec2018 = kreator.makeDataComponent( "SingleElectron_Run2017B_14Dec2018", "/SingleElectron/Run2017B-Nano14Dec2018-v1/NANOAOD", "CMS", ".*root", json) SingleMuon_Run2017B_14Dec2018 = kreator.makeDataComponent( "SingleMuon_Run2017B_14Dec2018", "/SingleMuon/Run2017B-Nano14Dec2018-v1/NANOAOD", "CMS", ".*root", json) SinglePhoton_Run2017B_14Dec2018 = kreator.makeDataComponent( "SinglePhoton_Run2017B_14Dec2018", "/SinglePhoton/Run2017B-Nano14Dec2018-v1/NANOAOD", "CMS", ".*root", json) DoubleEG_Run2017B_14Dec2018 = kreator.makeDataComponent( "DoubleEG_Run2017B_14Dec2018",