From e1b6bb246b101b24a1abf4afc0beef4159b8790e Mon Sep 17 00:00:00 2001 From: Anusree Date: Tue, 20 Aug 2024 17:23:12 +0200 Subject: [PATCH] list of signal dataset for different mass point --- GenVarsProducer.py | 5 +++-- input_data_Files/sample_list_v9_2018.dat | 13 ++++++++++++- post_proc.py | 4 ++-- 3 files changed, 17 insertions(+), 5 deletions(-) diff --git a/GenVarsProducer.py b/GenVarsProducer.py index 986f14d..d94fcfb 100644 --- a/GenVarsProducer.py +++ b/GenVarsProducer.py @@ -41,7 +41,7 @@ def beginFile(self, inputFile, outputFile, inputTree, wrappedOutputTree): self.out.branch("Boostdiff", "F") self.out.branch("Pz_neutrino1", "F") self.out.branch("Pz_neutrino2", "F") - #self.out.branch("Pz_neutrino", "F") + #self.out.branch("", "F") self.out.branch("delta_pz_neutrino", "F") def endFile(self, inputFile, outputFile, inputTree, wrappedOutputTree): @@ -81,6 +81,7 @@ def analyze(self, event): neutrino1_pz = 0.0 neutrino2_pz = 0.0 delta_pz_neutrino = 0.0 + pz1 = 0.0 print("length of genParticles: {}".format(len(genParticles))) for idx, particle in enumerate(genParticles): @@ -260,7 +261,7 @@ def analyze(self, event): #self.out.fillBranch("Boostdiff", boost_diff_mag) #self.out.fillBranch("Pz_neutrino", Pz) - self.out.fillBranch("Pz_neutrino1", neutrino1_pz) + self.out.fillBranch("Pz_neutrino1", pz1) self.out.fillBranch("delta_pz_neutrino", delta_pz_neutrino) self.out.fillBranch("BoostZ1", boost_Z1_mag) self.out.fillBranch("BoostZ2", boost_Z2_mag) diff --git a/input_data_Files/sample_list_v9_2018.dat b/input_data_Files/sample_list_v9_2018.dat index 7695687..01c284b 100644 --- a/input_data_Files/sample_list_v9_2018.dat +++ b/input_data_Files/sample_list_v9_2018.dat @@ -20,9 +20,20 @@ ## ## Signal MC ## -#/GluGluHToZZTo4L_M125_TuneCP5_13TeV_powheg2_JHUGenV7011_pythia8/RunIISummer20UL18NanoAODv9-106X_upgrade2018_realistic_v16_L1v1-v1/NANOAODSIM +## +#2l2q /GluGluHToZZTo2L2Q_M1000_TuneCP5_13TeV_powheg2_JHUGenV7011_pythia8/RunIISummer20UL18NanoAODv9-106X_upgrade2018_realistic_v16_L1v1-v1/NANOAODSIM +#2l2nu +/GluGluHToZZTo2L2Nu_M125_TuneCP5_13TeV_powheg2_JHUGenV735_pythia8/RunIISummer20UL18NanoAODv9-106X_upgrade2018_realistic_v16_L1v1-v1/NANOAODSIM +/GluGluHToZZTo2L2Nu_M160_TuneCP5_13TeV_powheg2_JHUGenV735_pythia8/RunIISummer20UL18NanoAODv9-106X_upgrade2018_realistic_v16_L1v1-v1/NANOAODSIM +/GluGluHToZZTo2L2Nu_M180_TuneCP5_13TeV_powheg2_JHUGenV735_pythia8/RunIISummer20UL18NanoAODv9-106X_upgrade2018_realistic_v16_L1v1-v2/NANOAODSIM +/GluGluHToZZTo2L2Nu_M200_TuneCP5_13TeV_powheg2_JHUGenV7011_pythia8/RunIISummer20UL18NanoAODv9-106X_upgrade2018_realistic_v16_L1v1-v1/NANOAODSIM +/GluGluHToZZTo2L2Nu_M250_TuneCP5_13TeV_powheg2_JHUGenV735_pythia8/RunIISummer20UL18NanoAODv9-106X_upgrade2018_realistic_v16_L1v1-v2/NANOAODSIM +/GluGluHToZZTo2L2Nu_M300_TuneCP5_13TeV_powheg2_JHUGenV7011_pythia8/RunIISummer20UL18NanoAODv9-106X_upgrade2018_realistic_v16_L1v1-v1/NANOAODSIM +/GluGluHToZZTo2L2Nu_M500_TuneCP5_13TeV_powheg2_JHUGenV7011_pythia8/RunIISummer20UL18NanoAODv9-106X_upgrade2018_realistic_v16_L1v1-v1/NANOAODSIM /GluGluHToZZTo2L2Nu_M1000_TuneCP5_13TeV_powheg2_JHUGenV7011_pythia8/RunIISummer20UL18NanoAODv9-106X_upgrade2018_realistic_v16_L1v1-v2/NANOAODSIM +/GluGluHToZZTo2L2Nu_M1500_TuneCP5_13TeV_powheg2_JHUGenV7011_pythia8/RunIISummer20UL18NanoAODv9-106X_upgrade2018_realistic_v16_L1v1-v1/NANOAODSIM +/GluGluHToZZTo2L2Nu_M3000_TuneCP5_13TeV_powheg2_JHUGenV7011_pythia8/RunIISummer20UL18NanoAODv9-106X_upgrade2018_realistic_v16_L1v1-v1/NANOAODSIM ## ## Background: Top ## diff --git a/post_proc.py b/post_proc.py index 58a011c..41ae80a 100644 --- a/post_proc.py +++ b/post_proc.py @@ -127,7 +127,7 @@ def main(): # otherwise the output file will have larger size then expected. Reference: https://github.com/cms-nanoAOD/nanoAOD-tools/issues/249 temp_keep_drop_file = create_temp_keep_drop_file(keep_drop_rules_GEN + keep_drop_rules_Data_MC) print("DEBUG: Keep and drop file: {}".format(temp_keep_drop_file)) - p=PostProcessor("/eos/user/a/avijay/signal/sig_300/",testfilelist, None, None,modules = modulesToRun, + p=PostProcessor(".",testfilelist, None, None,modules = modulesToRun, provenance=True,fwkJobReport=True, haddFileName=args.outputFile, maxEntries=entriesToRun, @@ -141,7 +141,7 @@ def main(): temp_keep_drop_file = create_temp_keep_drop_file(keep_drop_rules_Data_MC) print("DEBUG: Keep and drop file: {}".format(temp_keep_drop_file)) - p=PostProcessor("/eos/user/a/avijay/signal/sig_300/",testfilelist, None, None, modules = modulesToRun, + p=PostProcessor(".",testfilelist, None, None, modules = modulesToRun, provenance=True, fwkJobReport=True, haddFileName=args.outputFile, jsonInput=jsonFileName,