Skip to content

Commit

Permalink
list of signal dataset for different mass point
Browse files Browse the repository at this point in the history
  • Loading branch information
Anusreevijay769 committed Aug 20, 2024
1 parent dff3c77 commit e1b6bb2
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 5 deletions.
5 changes: 3 additions & 2 deletions GenVarsProducer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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):
Expand Down Expand Up @@ -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)
Expand Down
13 changes: 12 additions & 1 deletion input_data_Files/sample_list_v9_2018.dat
Original file line number Diff line number Diff line change
Expand Up @@ -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
##
Expand Down
4 changes: 2 additions & 2 deletions post_proc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit e1b6bb2

Please sign in to comment.