raise (Exception, 'ERROR - must pass input files on command line') files = [] for arg in args: files += arg.split(',') ##################################################### # # CONFIGURATION # ##################################################### ## ----------------- Selectors ------------------ ## # Tau Selector tau_selector = TauSelector() tau_selector.min_pt = 15000. tau_selector.max_eta = 3.0 tau_selector.req_truth = True ## ----------------- Analyser ---------------- ## analysis = MCTauTriggerAnalyser() # selectors analysis.tau_selector = tau_selector # alg config analysis.max_events = 1000 analysis.input_treename = 'tau' analysis.input_files = files analysis.output_treename = 'TriggerTree' analysis.triggers = [ 'EF_tau16_loose',
raise(Exception, 'ERROR - must pass input files on command line') files = [] for arg in args: files += arg.split(',') ##################################################### # # CONFIGURATION # ##################################################### ## ----------------- Selectors ------------------ ## # Tau Selector tau_selector = TauSelector() tau_selector.min_pt = 20000. tau_selector.max_eta = 2.47 tau_selector.veto_loose_muon = True #tau_selector.min_bdt_jet_score = 0.3 tau_selector.min_bdt_ele_score = 0.3 tau_selector.req_bdt_l = True tau_selector.allowed_authors = [1,3] tau_selector.allowed_tracks = [1,2,3,4] # Muon Selector muon_selector = MuonSelector() muon_selector.min_pt = 20000. muon_selector.max_eta = 2.4 muon_selector.req_tight = False muon_selector.req_combined = True
muon_selector = MuonSelector() muon_selector.min_pt = 50000. muon_selector.max_eta = 2.5 muon_selector.req_combined = True #muon_selector.max_z0 = 10. #muon_selector.req_trt_cleaning = True #muon_selector.min_BLHits = 1 #muon_selector.min_PixHits = 2 #muon_selector.min_SCTHits = 6 #muon_selector.max_SCTHoles = 1 muon_selector.max_nucone40 = 1 muon_selector.max_etcone20rel = 0.2 # Tau Selector tau_selector = TauSelector() tau_selector.min_pt = 60000. tau_selector.max_eta = 2.5 tau_selector.req_bdt_m = True #tau_selector.req_ebdt_m = True #tau_selector.req_muon_veto = True tau_selector.allowed_authors = [1, 3] tau_selector.allowed_ntracks = [1, 3] #tau_selector.req_unit_charge = True #tau_selector.veto_loose_muon = True # TauTau Selector tautau_selector = TauTauSelector() tautau_selector.tau1_selector = muon_selector tautau_selector.tau2_selector = tau_selector tautau_selector.req_overlap_removal = False
# # CONFIGURATION # ##################################################### GeV = gev = Gev = GEV = geV = gEV = gEv = 1.0e3 ## ----------------- Selectors ------------------ ## #Trigger Selector trig_selector = TriggerSelector() trig_selector.trigger_names = ['EF_mu24i_tight'] # Tau Selector tau_selector = TauSelector() tau_selector.min_pt = 15 * GeV tau_selector.max_eta = 2.47 tau_selector.veto_loose_muon = True tau_selector.min_bdt_jet_score = 0.3 tau_selector.min_bdt_ele_score = 0.3 tau_selector.req_bdt_m = True tau_selector.allowed_authors = [1, 3] #tau_selector.allowed_tracks = [1,2,3,4] tau_selector.nonzero_tracks = True tau_selector.recalculate_tauID = True tau_selector.year_tauID = 2012 # Muon Selector muon_selector = MuonSelector() muon_selector.min_pt = 26 * GeV muon_selector.max_eta = 2.4
raise (Exception, 'ERROR - must pass input files on command line') files = [] for arg in args: files += arg.split(',') ##################################################### # # CONFIGURATION # ##################################################### ## ----------------- Selectors ------------------ ## # Tau1 Selector (tag) tau1_selector = TauSelector() tau1_selector.min_pt = 100.e3 tau1_selector.max_eta = 2.47 # Tau2 Selector (probe) tau2_selector = TauSelector() tau2_selector.min_pt = 100.e3 tau2_selector.max_eta = 2.47 tau2_selector.allowed_tracks = [1] # DiJet Selector dijet_selector = DiJetSelector() dijet_selector.tau1_selector = tau1_selector dijet_selector.tau2_selector = tau2_selector dijet_selector.min_dphi = 2.7 ## ------------ Skimming and Slimming ------------ ##