def add_diphotonhoton_ntuples(process, schedule): final_states = [] final_states.extend(dipho_final_states) for final_state in final_states: print "Building %s final state" % final_state analyzer = make_ntuple(*final_state) add_ntuple(final_state, analyzer, process, schedule)
def add_h2tau_ntuples(process, schedule, noET=True): for final_state in final_states: if noET and final_state == 'et': print "Skipping ETau final state" continue print "Building %s final state" % final_state analyzer = make_ntuple(*final_state) add_ntuple(final_state, analyzer, process, schedule)
def add_quad_ntuples(process, schedule, do_zh=True, do_zz=False): final_states = [] if do_zh: final_states.extend(zh_final_states) if do_zz: final_states.extend(zz_final_states) for final_state in final_states: print "Building %s final state" % final_state analyzer = make_ntuple(*final_state, branches=branches) add_ntuple(final_state, analyzer, process, schedule)
def add_trilepton_ntuples(process, schedule, do_trileptons = True, do_photons = False): final_states = [] if do_trileptons: final_states.extend(trilepton_final_states) if do_photons: final_states.extend(photon_final_states) for final_state in final_states: print "Building %s final state" % final_state analyzer = make_ntuple(*final_state) add_ntuple(final_state, analyzer, process, schedule)
def add_trilepton_ntuples(process, schedule, do_trileptons=True, do_photons=False): final_states = [] if do_trileptons: final_states.extend(trilepton_final_states) if do_photons: final_states.extend(photon_final_states) for final_state in final_states: print "Building %s final state" % final_state analyzer = make_ntuple(*final_state) add_ntuple(final_state, analyzer, process, schedule)
def add_trilepton_ntuples(process, schedule): for final_state in final_states: print "Building %s final state" % final_state analyzer = make_ntuple(*final_state) add_ntuple(final_state, analyzer, process, schedule)
def add_h2tau_ntuples(process, schedule): for final_state in final_states: print "Building %s final state" % final_state analyzer = make_ntuple(*final_state) add_ntuple(final_state, analyzer, process, schedule)
def add_tnp_ntuples(process, schedule): for final_state in final_states: print "Building %s final state" % final_state analyzer = make_ntuple(*final_state, noclean=False) add_ntuple(final_state, analyzer, process, schedule)