Commit f492a594 authored by Arantxa Ruiz Martinez's avatar Arantxa Ruiz Martinez Committed by Graeme Stewart
Browse files

Removed TrigL2DielectronMassFex/Hypo in the Jpsiee trigger sequence...

Removed TrigL2DielectronMassFex/Hypo in the Jpsiee trigger sequence (ATR-15301) (TriggerMenu-00-20-49)

	* Removed TrigL2DielectronMassFex/Hypo in the Jpsiee trigger sequence (ATR-15301)
	* TriggerMenu-00-20-49

2016-10-28 Daniele Zanzi
	* tau160_perf_track removed from MC tight
	* Affects MC pp v6
	* TriggerMenu-00-20-48

2016-10-27 Martin Rybar
        * Fix to L1Topo for pp_v6, (ATR-14973),adding reference triggers for L1Topo for HI_v4 (ATR-15337), hmtperf trigger in HI_v4 menu (ATR-15214)
        * affect HI_v4 and pp_v6 menu
        * Needs TriggerMenuXML-04-02-56
        * TriggerMenu-00-20-47

2016-10-27 Emma Torro
        * Adding LLP chains with pileup fix for L1Topo seeds and with L1TAU100 for MC16 (ATR-15255)
        * Affects MC pp v6
        * TriggerMenu-00-20-46

2016-10-26 Martin Rybar
...
(Long ChangeLog diff - truncated)
parent c32ae4af
......@@ -727,6 +727,10 @@ def bBmumuxTopos(theChainDef,chainDict, inputTEsL2, inputTEsEF, topoStartFrom):
L2TEname = L2TEname.replace("bBmumux_BsJpsiPhi","bBmumuxv2")
if topo2StartFrom:
topo2StartFrom = L2TEname
if 'LbmumuLambda' in topoAlgs:
L2TEname = L2TEname.replace("bBmumux_LbmumuLambda","bBmumuxv2")
if topo2StartFrom:
topo2StartFrom = L2TEname
if 'Ftk' in topoAlgs:
from TrigInDetConf.TrigInDetFTKSequence import TrigInDetFTKSequence
......@@ -750,6 +754,14 @@ def bBmumuxTopos(theChainDef,chainDict, inputTEsL2, inputTEsEF, topoStartFrom):
EFFex = EFBMuMuXFex_BcMuMuDs()
EFHypo = EFBMuMuXHypo_BcMuMuDs()
elif 'LbmumuLambda' in topoAlgs:
#from TrigBphysHypo.TrigL2BMuMuXFexConfig import L2BMuMuXFex_BcMuMuDs
from TrigBphysHypo.TrigEFBMuMuXFexConfig import EFBMuMuXFex_LbMuMuLambda
from TrigBphysHypo.TrigEFBMuMuXHypoConfig import EFBMuMuXHypo_LbMuMuLambda
#L2Fex = L2BMuMuXFex_BcMuMuDs()
EFFex = EFBMuMuXFex_LbMuMuLambda()
EFHypo = EFBMuMuXHypo_LbMuMuLambda()
elif 'BpmumuKp' in topoAlgs:
#from TrigBphysHypo.TrigL2BMuMuXFexConfig import L2BMuMuXFex_BplusMuMuKplus
from TrigBphysHypo.TrigEFBMuMuXFexConfig import EFBMuMuXFex_BplusMuMuKplus
......
......@@ -115,12 +115,12 @@ def _addTopoInfo(theChainDef,chainDicts,listOfChainDefs,doAtL2AndEF=True):
#Helper
def isJetTE(myString):
if re.match("EF_[_0-9]+_HLThypo",myString) or re.match("EF_[_0-9]+_jetrec",myString) :
#print "BETTA Pass :",myString
# print "Nils:Executing isJetTE: "+myString
if re.match("EF_[_0-9]+_HLThypo",myString) or re.match("EF_[_0-9]+_jetrec",myString) or ('HLThypo' in myString and re.match("EF_[_0-9]+",myString)) :
# print "BETTA Pass :",myString
return True
else:
#print "BETTA Fail :",myString
# print "BETTA Fail :",myString
return False
##############################################################################
......@@ -169,7 +169,10 @@ def _addDPhiMetJet(theChainDef,chainDicts,listOfChainDefs):
for cD in listOfChainDefs:
if [x for x in cD.signatureList[-1]['listOfTriggerElements'] if isJetTE(x)]:
#print "BETTA: found ", x
inputTEsEF +=[deepcopy(cD.signatureList[-1]['listOfTriggerElements'])]
inputTEsEF +=[deepcopy(cD.signatureList[-1]['listOfTriggerElements'])]
print "Added the following to inputTEsEF:"
print cD.signatureList[-1]['listOfTriggerElements']
print ""
break
......@@ -460,12 +463,15 @@ def _addMatching(theChainDef,chainDicts,listOfChainDefs):
for i, mydict in enumerate(theChainDef.signatureList):
for tes in mydict['listOfTriggerElements']:
if 'noCleaning' in tes:
# if isJetTE(tes):
if 'noCleaning' in tes or ('HLThypo' in tes and re.match("EF_[_0-9]+",tes)):
#print "WOOF found my TE", tes
#print "WOOF belongs to sign pos", mydict['signature_counter']
jetTElist.append(tes)
sigCounterlist.append(mydict['signature_counter'])
pos_sigCounterlist.append(i)
# else:
# print "This is not a jet TE?"+ str(tes)
if ('_b') in chnameToMatch:
jetTE = theChainDef.signatureList[-1]['listOfTriggerElements']
......@@ -474,6 +480,10 @@ def _addMatching(theChainDef,chainDicts,listOfChainDefs):
if ('_anti') in chnameAddPart:
log.error("Matching functionality for this chain is not implemented yet: %s " % (chainDicts[0]['chainName']))
else:
# import pdb;pdb.set_trace()
# log.error('PS chain_name ' + theChainDef.chain_name)
# log.error('PS jetTElist ' + str(jetTElist))
# log.error('PS sig list ' + str(theChainDef.signatureList))
jetTE = jetTElist[0]
pos_sigCounter = pos_sigCounterlist[0]
sigCounter = sigCounterlist[0]
......
......@@ -440,7 +440,7 @@ class L2EFChain_e(L2EFChainDef):
# L2 Calo
[theL2CaloRingerFex, theL2CaloRingerHypo] = TrigL2CaloRingerFexHypo_e_ID(threshold,IDinfo,self.chainName)
[theL2CaloRingerFex, theL2CaloRingerHypo] = TrigL2CaloRingerFexHypo_e_ID(threshold,IDinfo,self.chainPart['trigType'])
# EF Calo
theTrigEFCaloHypo = TrigEFCaloHypo_EtCut("TrigEFCaloHypo_e"+str(threshold)+"_EtCut",threshold);
# EF Track
......
......@@ -114,8 +114,12 @@ class L2EFChain_g(L2EFChainDef):
self.setup_gnocut_hiptrt()
elif 'ringer' in self.chainPart['addInfo']:
self.setup_gXX_ID_ringer()
elif 'ivloose' in self.chainPart['isoInfo']:
self.setup_gXX_ID_iso()
elif 'iloose' in self.chainPart['isoInfo']:
self.setup_gXX_ID_iso()
elif 'itight' in self.chainPart['isoInfo']:
self.setup_gXX_ID_iso()
else:
if 'ion' in self.chainPart['extra']:
self.setup_gXX_ID_heavyIon()
......
......@@ -71,21 +71,21 @@ def _addTopoInfo(theChainDef,chainDict,doAtL2AndEF=True):
if "Jpsiee" in chainDict["topo"]:
topo2StartFrom = None
if topoStartFrom:
L2ChainName = L2ChainName+'_tsf'
topo2StartFrom = L2ChainName
#L2ChainName = L2ChainName+'_tsf'
#topo2StartFrom = L2ChainName
EFChainName = EFChainName+'_tsf'
from TrigEgammaHypo.TrigL2DielectronMassHypoConfig import TrigL2DielectronMassFex_Jpsiee, TrigL2DielectronMassHypo_Jpsiee
#from TrigEgammaHypo.TrigL2DielectronMassHypoConfig import TrigL2DielectronMassFex_Jpsiee, TrigL2DielectronMassHypo_Jpsiee
from TrigEgammaHypo.TrigEFDielectronMassHypoConfig import TrigEFDielectronMassFex_Jpsi, TrigEFDielectronMassHypo_Jpsi
L2Fex = TrigL2DielectronMassFex_Jpsiee()
L2Hypo = TrigL2DielectronMassHypo_Jpsiee()
#L2Fex = TrigL2DielectronMassFex_Jpsiee()
#L2Hypo = TrigL2DielectronMassHypo_Jpsiee()
EFFex = TrigEFDielectronMassFex_Jpsi()
EFHypo = TrigEFDielectronMassHypo_Jpsi()
theChainDef.addSequence([L2Fex, L2Hypo],inputTEsL2,L2ChainName, topo_start_from = topoStartFrom)
theChainDef.addSignatureL2([L2ChainName])
#theChainDef.addSequence([L2Fex, L2Hypo],inputTEsL2,L2ChainName, topo_start_from = topoStartFrom)
#theChainDef.addSignatureL2([L2ChainName])
theChainDef.addSequence([EFFex, EFHypo],inputTEsEF,EFChainName, topo_start_from = topo2StartFrom)
theChainDef.addSignature(theChainDef.signatureList[-1]['signature_counter']+1, [EFChainName])
......@@ -109,20 +109,33 @@ def _addTopoInfo(theChainDef,chainDict,doAtL2AndEF=True):
elif "Zee" in chainDict["topo"]:
from TrigEgammaHypo.TrigL2DielectronMassHypoConfig import TrigL2DielectronMassFex_Zee, TrigL2DielectronMassHypo_ZeeTight
from TrigEgammaHypo.TrigEFDielectronMassHypoConfig import TrigEFDielectronMassFex_Zee, TrigEFDielectronMassHypo_ZeeTight
from TrigEgammaHypo.TrigL2DielectronMassHypoConfig import TrigL2DielectronMassFex_Zee, TrigL2DielectronMassHypo_ZeeTight, TrigL2DielectronMassHypo_Zee
from TrigEgammaHypo.TrigEFDielectronMassHypoConfig import TrigEFDielectronMassFex_Zee, TrigEFDielectronMassHypo_ZeeTight, TrigEFDielectronMassHypo_Zee
L2Fex = TrigL2DielectronMassFex_Zee()
L2Hypo = TrigL2DielectronMassHypo_ZeeTight()
EFFex = TrigEFDielectronMassFex_Zee()
EFHypo = TrigEFDielectronMassHypo_ZeeTight()
if 'etcut' in chainDict['chainName']:
from TrigEgammaHypo.TrigEFDielectronMassHypoConfig import TrigEFDielectronMassFexElectronCluster_Zee, TrigEFDielectronMassHypoElectronCluster_Zee
EFFex = TrigEFDielectronMassFexElectronCluster_Zee()
EFHypo = TrigEFDielectronMassHypoElectronCluster_Zee()
else:
EFFex = TrigEFDielectronMassFex_Zee()
EFHypo = TrigEFDielectronMassHypo_ZeeTight()
theChainDef.addSequence([L2Fex, L2Hypo],inputTEsL2,L2ChainName)
theChainDef.addSignatureL2([L2ChainName])
theChainDef.addSequence([EFFex, EFHypo],inputTEsEF,EFChainName)
theChainDef.addSignature(theChainDef.signatureList[-1]['signature_counter']+1, [EFChainName])
if 'etcut' in chainDict['chainName']:
from TrigIDTPMonitor.TrigIDTPMonitorConfig import IDTPMonitorElectron
IDTP = IDTPMonitorElectron()
myInputTEsEF = theChainDef.signatureList[-1]['listOfTriggerElements']
theChainDef.addSequence([IDTP],myInputTEsEF,EFChainName+"_monit")
theChainDef.addSignature(theChainDef.signatureList[-1]['signature_counter']+1,[EFChainName+"_monit"])
return theChainDef
......
......@@ -326,7 +326,6 @@ class L2EFChain_HI(L2EFChainDef):
# L2 sel (TT) is used when The chain is sither L2Fgap* or Fgap*, and not used when EFGap, similarily for EF (cells) part
gap = self.chainPart['gap']
print "dupa ", gap
useEF = not ('L2Fgap' in self.chainPart['gap'])
# theSptrkMaker =
......
......@@ -118,6 +118,7 @@ class AlgFactory(object):
self.fex_params = self.menu_data.fex_params
self.last_fex_params = self.menu_data.last_fex_params
self.recluster_params = self.menu_data.recluster_params
self.trim_params = self.menu_data.trim_params
self.hypo_params = self.menu_data.hypo_params
# remove '.' characters from strings used to be Algorithm names
......@@ -139,7 +140,7 @@ class AlgFactory(object):
merge_param_str = str(self.fex_params.merge_param).zfill(2)
factory = 'TrigHLTJetRecFromTriggerTower'
# add factory to instance label to facliltate log file searches
# add factory to instance label to facilitate log file searches
# name = '"%s_%s"' %(factory, self.fex_params.fex_label)
# kwds = {
......@@ -147,8 +148,7 @@ class AlgFactory(object):
# 'merge_param': "'%s'" % merge_param_str,
# 'jet_calib': "'%s'" % self.fex_params.jet_calib,
# 'cluster_calib': self.cluster_calib,
# 'output_collection_label': "'%s'" % (
# self.fex_params.fex_label)
# 'output_collection_label': "'%s'" % (self.fex_params.fex_label)
#}
......@@ -172,7 +172,7 @@ class AlgFactory(object):
merge_param_str = str(self.fex_params.merge_param).zfill(2)
factory = 'TrigHLTJetRecFromCluster'
# add factory to instance label to facliltate log file searches
# add factory to instance label to facilitate log file searches
name = '"%s_%s"' %(factory, self.fex_params.fex_label)
kwds = {
......@@ -180,8 +180,7 @@ class AlgFactory(object):
'merge_param': "'%s'" % merge_param_str,
'jet_calib': "'%s'" % self.fex_params.jet_calib,
'cluster_calib': '"%s"' % self.fex_params.cluster_calib_fex,
'output_collection_label': "'%s'" % (
self.fex_params.fex_label)
'output_collection_label': "'%s'" % (self.fex_params.fex_label)
}
return [Alg(factory, (), kwds)]
......@@ -193,7 +192,7 @@ class AlgFactory(object):
merge_param_str = str(self.recluster_params.merge_param).zfill(2)
factory = 'TrigHLTJetRecFromJet'
# add factory to instance label to facliltate log file searches
# add factory to instance label to facilitate log file searches
name = '"%s_%s"' %(factory, self.recluster_params.fex_label)
kwds = {
......@@ -201,8 +200,7 @@ class AlgFactory(object):
'merge_param': "'%s'" % merge_param_str,
'jet_calib': "'%s'" % self.recluster_params.jet_calib,
'cluster_calib': "'%s'" % self.fex_params.cluster_calib_fex,
'output_collection_label': "'%s'" % (
self.recluster_params.fex_label),
'output_collection_label': "'%s'" % (self.recluster_params.fex_label),
# ptMinCut and etaMaxCut are cuts applied to the
# input jets before the reclustering jet finding is done.
'ptMinCut': self.recluster_params.ptMinCut * GeV,
......@@ -210,6 +208,29 @@ class AlgFactory(object):
}
return [Alg(factory, (), kwds)]
def jetrec_trimming(self):
"""Instantiate a python object for TrigHLTJetRec that will
build xAOD Jets from clusters and then trim them."""
merge_param_str = str(self.fex_params.merge_param).zfill(2)
factory = 'TrigHLTJetRecGroomer'
# add factory to instance label to facilitate log file searches
name = '"%s_%s"' %(factory, self.trim_params.fex_label)
print 'after name' #Nima!
kwds = {
'name': name, # instance label
'merge_param': "'%s'" % merge_param_str,
'jet_calib': "'%s'" % self.fex_params.jet_calib,
'cluster_calib': "'%s'" % self.fex_params.cluster_calib_fex,
'output_collection_label': "'%s'" % (self.trim_params.fex_label),
'rclus': self.trim_params.rclus,
'ptfrac': self.trim_params.ptfrac,
}
print 'after kwds' #Nima!
return [Alg(factory, (), kwds)]
#HI
def hijetrec_hic(self):
......@@ -219,7 +240,7 @@ class AlgFactory(object):
merge_param_str = str(self.fex_params.merge_param).zfill(2)
factory = 'TrigHLTHIJetRecFromHICluster'
# add factory to instance label to facliltate log file searches
# add factory to instance label to facilitate log file searches
name = '"%s_%s"' %(factory, self.fex_params.fex_label)
kwds = {
......@@ -227,8 +248,7 @@ class AlgFactory(object):
'merge_param': "'%s'" % merge_param_str,
'jet_calib': "'%s'" % self.fex_params.jet_calib,
#'cluster_calib': self.fex_params.cluster_calib_fex,
'output_collection_label': "'%s'" % (
self.fex_params.fex_label)
'output_collection_label': "'%s'" % (self.fex_params.fex_label)
}
return [Alg(factory, (), kwds)]
......@@ -273,61 +293,105 @@ class AlgFactory(object):
# return [Alg('EFJetHypo', args, kargs)]
def jr_hypo(self):
"""
Skype discussion R Goncalo/P Sherwood
[21/01/15, 18:44:50] Ricardo Goncalo:
hypo parameters: ET, eta min, eta max
recoAlg: 'a4', 'a10', 'a10r'
dataType: 'TT', 'tc', 'cc', 'ion'
calib: 'had', 'lcw', 'em'
jetCalob: 'jes', 'sub', 'subjes', 'nocalib'
scan: 'FS','PS'
j65_btight_split_3j65_L13J25.0ETA22 ->
EFJetHypo_65000_0eta320_a4_tc_em_subjes_FS
"""
# jr_hypo removed 4/10/2016
# def jr_hypo(self):
# """
# Skype discussion R Goncalo/P Sherwood
# [21/01/15, 18:44:50] Ricardo Goncalo:
# hypo parameters: ET, eta min, eta max
#
# recoAlg: 'a4', 'a10', 'a10r'
# dataType: 'TT', 'tc', 'cc', 'ion'
# calib: 'had', 'lcw', 'em'
# jetCalob: 'jes', 'sub', 'subjes', 'nocalib'
# scan: 'FS','PS'
#
# j65_btight_split_3j65_L13J25.0ETA22 ->
# EFJetHypo_65000_0eta320_a4_tc_em_subjes_FS
# """
#
#
# # assert len(self.hypo_params.jet_attributes) > 1
#
# ja = self.hypo_params.attributes_toString()
#
# # the hypo instance name is constructed from the
# # last jet fex run.
# name_extension = '_'.join([str(e) for e in
# (ja,
# self.last_fex_params.fex_alg_name,
# self.last_fex_params.data_type,
# self.fex_params.cluster_calib,
# self.last_fex_params.jet_calib,
# self.menu_data.scan_type)])
#
# # name = '"EFCentFullScanMultiJetHypo_%s"' % name_extension
# name = '"EFCentFullScanMultiJetHypo_%s"' % self.chain_name_esc
# hypo = self.menu_data.hypo_params
#
# etaMin = hypo.jet_attributes[0].eta_min
# etaMax = hypo.jet_attributes[0].eta_max
#
# kargs = {'multiplicity': len(hypo.jet_attributes),
# 'ef_thrs': [j.threshold * GeV for j in hypo.jet_attributes],
# 'etaMin': etaMin,
# 'etaMax': etaMax,
# }
#
# # the class name EFCentFullScanMultiJetHypo is a misnomer:
# # it sets up a C++ algorithm that is neither necessarily
# # central, not multi-jet.
# # It will now be used for single and multjets, and where
# # any eta range can be set.
# return [Alg(
# 'EFCentFullScanMultiJetHypo',
# (name,),
# kargs)]
#
def etaet_kargs(self, algType, strategy):
ja = self.hypo_params.attributes_toString()
# assert len(self.hypo_params.jet_attributes) > 1
ja = self.hypo_params.jet_attributes_tostring()
# the hypo instance name is constructed from the
# last jet fex run.
cleaningAlg = self.hypo_params.cleaner
matchingAlg = self.hypo_params.matcher
name_extension = '_'.join([str(e) for e in
(ja,
(strategy,
ja,
self.last_fex_params.fex_alg_name,
self.last_fex_params.data_type,
self.fex_params.cluster_calib,
self.last_fex_params.jet_calib,
self.menu_data.scan_type)])
self.menu_data.scan_type,
cleaningAlg,
matchingAlg
)])
name = '"EFCentFullScanMultiJetHypo_%s"' % name_extension
name = '"%s_%s"' % (algType, name_extension)
# name = '"%s_%s"' % (algType, self.chain_name_esc)
hypo = self.menu_data.hypo_params
etaMin = hypo.jet_attributes[0].eta_min
etaMax = hypo.jet_attributes[0].eta_max
kargs = {'multiplicity': len(hypo.jet_attributes),
'ef_thrs': [j.threshold * GeV for j in hypo.jet_attributes],
'etaMin': etaMin,
'etaMax': etaMax,
}
# the class name EFCentFullScanMultiJetHypo is a misnomer:
# it sets up a C++ algorithm that is neither necessarily
# central, not multi-jet.
# It will now be used for single and multjets, and where
# any eta range can be set.
return [Alg(
'EFCentFullScanMultiJetHypo',
(name,),
kargs)]
def hlt_hypo(self):
eta_mins = [ja.eta_min for ja in hypo.jet_attributes]
eta_maxs = [ja.eta_max for ja in hypo.jet_attributes]
EtThresholds = [ja.threshold * GeV for ja in hypo.jet_attributes]
kargs = {
'name': name,
'chain_name': "'%s'" % self.chain_config.chain_name,
'eta_mins': eta_mins,
'eta_maxs': eta_maxs,
'EtThresholds': EtThresholds,
'cleaningAlg': '"%s"' % cleaningAlg,
}
return kargs
def hlthypo_EtaEt(self):
""" method to replace jr_hypo
Skype discussion R Goncalo/P Sherwood
......@@ -346,47 +410,32 @@ class AlgFactory(object):
# assert len(self.hypo_params.jet_attributes) > 1
ja = self.hypo_params.jet_attributes_tostring()
algType = 'TrigHLTJetHypo'
kargs = self.etaet_kargs(algType, 'etaet')
cleaningAlg = self.hypo_params.cleaner
matchingAlg = self.hypo_params.matcher
kargs['matchingAlg'] = '"%s"' % matchingAlg
# the hypo instance name is constructed from the
# last jet fex run.
return [Alg(algType, (), kargs)]
name_extension = '_'.join([str(e) for e in
(ja,
self.last_fex_params.fex_alg_name,
self.last_fex_params.data_type,
self.fex_params.cluster_calib,
self.last_fex_params.jet_calib,
self.menu_data.scan_type,
cleaningAlg,
matchingAlg
)])
name = '"TrigHLTJetHypoMon_%s"' % name_extension
hypo = self.menu_data.hypo_params
eta_mins = [ja.eta_min for ja in hypo.jet_attributes]
eta_maxs = [ja.eta_max for ja in hypo.jet_attributes]
EtThresholds = [ja.threshold * GeV for ja in hypo.jet_attributes]
def hlthypo2_EtaEt(self):
""" run TrigHLTJetHypo2 with hypoStrategy EtaEt """
kargs = {
'name': name,
'eta_mins': eta_mins,
'eta_maxs': eta_maxs,
'EtThresholds': EtThresholds,
'cleaningAlg': '"%s"' % cleaningAlg,
'matchingAlg': '"%s"' % matchingAlg,
}
# assert len(self.hypo_params.jet_attributes) > 1
algType = 'TrigHLTJetHypo2'
kargs = self.etaet_kargs(algType, 'etaet')
kargs['hypoStrategy'] = '"EtaEt"'
return [Alg(algType, (), kargs)]
return [Alg('TrigHLTJetHypoMon',(), kargs)]
def tla_kargs(self, algType):
def hlt_hypo_tla(self):
name = '"%s_tla_%s"' % (algType,
self.hypo_params.tla_string)
# name = '"%s_%s"' % (algType, self.chain_name_esc)
name = '"TrigHLTJetHypoMon_%s"' % self.hypo_params.tla_string
hypo = self.menu_data.hypo_params
eta_min = -2.8
......@@ -402,6 +451,7 @@ class AlgFactory(object):
kargs = {
'name': name,
'chain_name': "'%s'" % self.chain_config.chain_name,
'eta_mins': eta_mins,
'eta_maxs': eta_maxs,
'ystar_mins': ystar_mins,
......@@ -413,50 +463,107 @@ class AlgFactory(object):
'jetvec_indices': indices,
}
return [Alg('TrigHLTJetHypoMon',(), kargs)]
return kargs
def hlt_hypo_test1(self):
return self._hlt_hypo(cleaningAlg='noCleaning',
matchingAlg='orderedCollections')
def hlthypo_tla(self):
algType = 'TrigHLTJetHypo'
kargs = self.tla_kargs(algType)
return [Alg(algType,(), kargs)]
def hlt_hypo_test2(self):
return self._hlt_hypo(cleaningAlg='noCleaning',
matchingAlg='maximumBipartite')
def hlthypo2_tla(self):
def hlt_hypo_test3(self):
return self._hlt_hypo(cleaningAlg='basicCleaning',
matchingAlg='orderedCollections')
algType = 'TrigHLTJetHypo2'
kargs = self.tla_kargs(algType)
kargs['hypoStrategy'] = '"TLA"'
return [Alg(algType,(), kargs)]
def ht_hypo(self):
def dimass_deta_kargs(self, algType):
kargs = self.etaet_kargs(algType, 'massDEta')
mass_min = self.hypo_params.mass_min
if mass_min is not None:
kargs['mass_mins'] = [mass_min * GeV]
else:
kargs['mass_mins'] = []
dEta_min = self.hypo_params.dEta_min
if dEta_min is not None:
kargs['dEta_mins'] = [dEta_min]
else:
kargs['dEta_mins'] = []
return kargs
def hlthypo2_dimass_deta(self):
algType = 'TrigHLTJetHypo2'
kargs = self.dimass_deta_kargs(algType)
kargs['hypoStrategy'] = '"DijetMassDEta"'
return [Alg(algType,(), kargs)]
# def hlt_hypo_test1(self):
# return self._hlt_hypo(cleaningAlg='noCleaning',
# matchingAlg='orderedCollections')
#
#
# def hlt_hypo_test2(self):
# return self._hlt_hypo(cleaningAlg='noCleaning',
# matchingAlg='maximumBipartite')
#
#