Commit 2e9cfd78 authored by Heather Russell's avatar Heather Russell
Browse files

ATR-17203, adding TrkPEB chain to non-peb stream for monitoring


Former-commit-id: d86622130f11cb06a46255da4238d7a2862076eb
parent a4c5598d
......@@ -94,8 +94,10 @@ def _addTopoInfo(theChainDef,chainDict,doAtL2AndEF=True, doL2MultiTrack = False)
theChainDef = bBmumuxTopos(theChainDef, chainDict, inputTEsL2, inputTEsEF, topoStartFrom, doL2MultiTrack)
elif ('Trkloose' in topoAlgs):
theChainDef = bMuTrack(theChainDef, chainDict, inputTEsL2, inputTEsEF, topoStartFrom)
elif ('TrkPEBmon' in topoAlgs):
theChainDef = bMuTrackPEB(theChainDef, chainDict, inputTEsL2, inputTEsEF, topoStartFrom, False)
elif ('TrkPEB' in topoAlgs):
theChainDef = bMuTrackPEB(theChainDef, chainDict, inputTEsL2, inputTEsEF, topoStartFrom)
theChainDef = bMuTrackPEB(theChainDef, chainDict, inputTEsL2, inputTEsEF, topoStartFrom, True)
elif (ntopos ==1) & (topoAlgs[0] in SameConfigTopos):
theChainDef = bSingleOptionTopos(theChainDef,chainDict, inputTEsL2, inputTEsEF, topoStartFrom, doL2MultiTrack)
else:
......@@ -1059,7 +1061,7 @@ def bMultipleOptionTopos(theChainDef, chainDict, inputTEsL2, inputTEsEF, topoSta
###################################################################################
###################################################################################
def bMuTrackPEB(theChainDef,chainDict, inputTEsL2, inputTEsEF, topoStartFrom):
def bMuTrackPEB(theChainDef,chainDict, inputTEsL2, inputTEsEF, topoStartFrom, doPEB):
topoAlgs = chainDict["topo"]
......@@ -1115,15 +1117,15 @@ def bMuTrackPEB(theChainDef,chainDict, inputTEsL2, inputTEsEF, topoStartFrom):
theChainDef.addSequence([L2Fex, L2Hypo], L2outTEsprec , L2TEname+"MultiTrk")
theChainDef.addSignatureL2([L2TEname+"MultiTrk"])
#---- 3 : last step - setup PEB
from TrigDetCalib.TrigDetCalibConfig import TrigCheckForMuons_peb075
bphysROBWriter = TrigCheckForMuons_peb075("bphysROBWriter_peb075")
if doPEB:
#---- 3 : last step - setup PEB
from TrigDetCalib.TrigDetCalibConfig import TrigCheckForMuons_peb075
bphysROBWriter = TrigCheckForMuons_peb075("bphysROBWriter_peb075")
EFTEname = "EF_" + chainDict['chainName']+"_1"
inputTEsEF = theChainDef.signatureList[-1]['listOfTriggerElements']
theChainDef.addSequence([bphysROBWriter],inputTEsEF, EFTEname)
theChainDef.addSignature(theChainDef.signatureList[-1]['signature_counter']+1, [EFTEname]+inputTEsEF)
EFTEname = "EF_" + chainDict['chainName']+"_1"
inputTEsEF = theChainDef.signatureList[-1]['listOfTriggerElements']
theChainDef.addSequence([bphysROBWriter],inputTEsEF, EFTEname)
theChainDef.addSignature(theChainDef.signatureList[-1]['signature_counter']+1, [EFTEname]+inputTEsEF)
return theChainDef
......
......@@ -315,7 +315,7 @@ def defineCPSGroups():
],
'RATE:CPS:HLT_mu4_bJpsi_Trk' : ['mu4_bJpsi_TrkPEB','mu4_bJpsi_Trkloose'],
'RATE:CPS:HLT_mu6_bJpsi_Trk' : ['mu6_bJpsi_TrkPEB','mu6_bJpsi_lowpt_TrkPEB', 'mu6_bJpsi_Trkloose' ],
'RATE:CPS:HLT_mu6_bJpsi_Trk' : ['mu6_bJpsi_TrkPEB','mu6_bJpsi_lowpt_TrkPEB', 'mu6_bJpsi_Trkloose' ,'mu6_bJpsi_TrkPEBmon'],
'RATE:CPS:HLT_mu10_bJpsi_Trk' : ['mu10_bJpsi_TrkPEB','mu10_bJpsi_Trkloose'],
'RATE:CPS:HLT_mu14_bJpsi_Trk' : ['mu14_bJpsi_TrkPEB','mu14_bJpsi_Trkloose'],
......
......@@ -2144,6 +2144,7 @@ def setupMenu():
# ATR-16163
['mu4_bJpsi_TrkPEB', 'L1_MU4', [], ['BphysPEB'], [RATE_BphysTag,BW_BphysTag], -1],
['mu6_bJpsi_TrkPEB', 'L1_MU6', [], ['BphysPEB'], [RATE_BphysTag,BW_BphysTag], -1],
['mu6_bJpsi_TrkPEBmon', 'L1_MU6', [], [BPhysicsStream,'express'], [RATE_BphysTag,BW_BphysTag], -1],
['mu6_bJpsi_lowpt_TrkPEB', 'L1_MU6', [], ['BphysPEB'], [RATE_BphysTag,BW_BphysTag], -1],
['mu10_bJpsi_TrkPEB', 'L1_MU10', [], ['BphysPEB'], [RATE_BphysTag,BW_BphysTag], -1],
['mu14_bJpsi_TrkPEB', 'L1_MU10', [], ['BphysPEB'], [RATE_BphysTag,BW_BphysTag], -1],
......
......@@ -63,7 +63,7 @@ AllowedTopos_bphys = ['bJpsi', 'bTau', 'bDimu', 'bDimu2700', 'bNocut','bVertex2'
'BcmumuDs' , 'BcmumuDsloose' ,
'7invm9', 'noos', 'noid', 'novtx',
'11invm60','18invm60', 'bUpsi',
'Trkloose', 'TrkPEB', "lowpt",'Zmumu', 'noL2', 'noEFbph',
'Trkloose', 'TrkPEB', 'TrkPEBmon', "lowpt",'Zmumu', 'noL2', 'noEFbph',
'noinvm', 'ss', 'BpmumuKp', 'Taumumux', 'Dsmumux', 'LbmumuLambda',
'trkTau', 'bTauTrk', 'bDsPhiX', 'bPhi','bDsPhiXtight',
'11invm24', '24invm60',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment