Skip to content
Snippets Groups Projects
Commit 95749e98 authored by Emmanuel Le Guirriec's avatar Emmanuel Le Guirriec
Browse files

Merge branch 'OptimizeBPHY15v2' into '21.2'

Optimize BPHY15 -  Use the Reco_V0Finder in the K_S0 selection

See merge request atlas/athena!14286

Former-commit-id: d3c20c064a51ec0c911f3132abf5cf274ec6f0a0
parents a0cc7f2d 8f519b46
No related branches found
No related tags found
No related merge requests found
...@@ -261,48 +261,28 @@ print BPHY15D0SelectAndWrite ...@@ -261,48 +261,28 @@ print BPHY15D0SelectAndWrite
#-------------------------------------------------------------------- #--------------------------------------------------------------------
# 6/ select K_S0>pi+pi- # 6/ select K_S0>pi+pi-
#-------------------------------------------------------------------- #--------------------------------------------------------------------
BPHY15K0Finder = Analysis__JpsiFinder( doSimpleV0Finder = False
name = "BPHY15K0Finder", if doSimpleV0Finder:
OutputLevel = INFO, include("DerivationFrameworkBPhys/configureSimpleV0Finder.py")
muAndMu = False, else:
muAndTrack = False, include("DerivationFrameworkBPhys/configureV0Finder.py")
TrackAndTrack = True,
assumeDiMuons = False, # If true, will assume dimu hypothesis and use PDG value for mu mass
trackThresholdPt = 350,
invMassUpper = 600.0,
invMassLower = 400.0,
Chi2Cut = 30.,
oppChargesOnly = True,
atLeastOneComb = False,
useCombinedMeasurement = False, # Only takes effect if combOnly=True
muonCollectionKey = "Muons",
TrackParticleCollection = "InDetTrackParticles",
V0VertexFitterTool = BPHY15_VertexTools.TrkV0Fitter, # V0 vertex fitter
useV0Fitter = False, # if False a TrkVertexFitterTool will be used
TrkVertexFitterTool = BPHY15_VertexTools.TrkVKalVrtFitter, # VKalVrt vertex fitter
TrackSelectorTool = BPHY15_VertexTools.InDetTrackSelectorTool,
ConversionFinderHelperTool = BPHY15_VertexTools.InDetConversionHelper,
VertexPointEstimator = BPHY15_VertexTools.VtxPointEstimator,
useMCPCuts = False,
track1Mass = 139.571, # Not very important, only used to calculate inv. mass cut, leave it loose here
track2Mass = 139.571)
ToolSvc += BPHY15K0Finder
print BPHY15K0Finder
#-------------------------------------------------------------------- BPHY15_V0FinderTools = BPHYV0FinderTools("BPHY15")
BPHY15K0SelectAndWrite = DerivationFramework__Reco_mumu( print BPHY15_V0FinderTools
name = "BPHY15K0SelectAndWrite",
JpsiFinder = BPHY15K0Finder, from DerivationFrameworkBPhys.DerivationFrameworkBPhysConf import DerivationFramework__Reco_V0Finder
OutputVtxContainerName = "BPHY15K0Candidates", BPHY15_Reco_V0Finder = DerivationFramework__Reco_V0Finder(
PVContainerName = "PrimaryVertices", name = "BPHY15_Reco_V0Finder",
RefPVContainerName = "SHOULDNOTBEUSED", V0FinderTool = BPHY15_V0FinderTools.V0FinderTool,
CheckCollections = True, #OutputLevel = DEBUG,
CheckVertexContainers = ['BPHY15D0Candidates'], V0ContainerName = "BPHY15RecoV0Candidates",
DoVertexType = 1) KshortContainerName = "BPHY15RecoKshortCandidates",
LambdaContainerName = "BPHY15RecoLambdaCandidates",
ToolSvc += BPHY15K0SelectAndWrite LambdabarContainerName = "BPHY15RecoLambdabarCandidates",
print BPHY15K0SelectAndWrite CheckVertexContainers = ['BPHY15D0Candidates'])
ToolSvc += BPHY15_Reco_V0Finder
print BPHY15_Reco_V0Finder
#-------------------------------------------------------------------- #--------------------------------------------------------------------
...@@ -613,7 +593,7 @@ BPHY15JpsiDps1 = DerivationFramework__JpsiPlusDs1Cascade( ...@@ -613,7 +593,7 @@ BPHY15JpsiDps1 = DerivationFramework__JpsiPlusDs1Cascade(
RefPVContainerName = "BPHY15RefittedPrimaryVertices", RefPVContainerName = "BPHY15RefittedPrimaryVertices",
JpsipiVertices = "BPHY15JpsipiCandidates", JpsipiVertices = "BPHY15JpsipiCandidates",
CascadeVertexCollections = ["BcJpsiDps1CascadeSV3", "BcJpsiDps1CascadeSV2", "BcJpsiDps1CascadeSV1"], CascadeVertexCollections = ["BcJpsiDps1CascadeSV3", "BcJpsiDps1CascadeSV2", "BcJpsiDps1CascadeSV1"],
K0Vertices = "BPHY15K0Candidates", K0Vertices = "BPHY15RecoV0Candidates",
D0Vertices = "BPHY15D0Candidates") D0Vertices = "BPHY15D0Candidates")
ToolSvc += BPHY15JpsiDps1 ToolSvc += BPHY15JpsiDps1
...@@ -645,7 +625,7 @@ BPHY15JpsiDms1 = DerivationFramework__JpsiPlusDs1Cascade( ...@@ -645,7 +625,7 @@ BPHY15JpsiDms1 = DerivationFramework__JpsiPlusDs1Cascade(
RefPVContainerName = "BPHY15RefittedPrimaryVertices", RefPVContainerName = "BPHY15RefittedPrimaryVertices",
JpsipiVertices = "BPHY15JpsipiCandidates", JpsipiVertices = "BPHY15JpsipiCandidates",
CascadeVertexCollections = ["BcJpsiDms1CascadeSV3", "BcJpsiDms1CascadeSV2", "BcJpsiDms1CascadeSV1"], CascadeVertexCollections = ["BcJpsiDms1CascadeSV3", "BcJpsiDms1CascadeSV2", "BcJpsiDms1CascadeSV1"],
K0Vertices = "BPHY15K0Candidates", K0Vertices = "BPHY15RecoV0Candidates",
D0Vertices = "BPHY15D0Candidates") D0Vertices = "BPHY15D0Candidates")
ToolSvc += BPHY15JpsiDms1 ToolSvc += BPHY15JpsiDms1
...@@ -747,11 +727,11 @@ DerivationFrameworkJob += CfgMgr.DerivationFramework__DerivationKernel( ...@@ -747,11 +727,11 @@ DerivationFrameworkJob += CfgMgr.DerivationFramework__DerivationKernel(
BPHY15BcJpsipiSelectAndWrite, BPHY15_Select_Bc2Jpsipi, BPHY15BcJpsipiSelectAndWrite, BPHY15_Select_Bc2Jpsipi,
BPHY15JpsipiSelectAndWrite, BPHY15JpsipiSelectAndWrite,
BPHY15D0SelectAndWrite, BPHY15D0SelectAndWrite,
BPHY15K0SelectAndWrite, BPHY15_Reco_V0Finder,
BPHY15DiTrkSelectAndWrite, BPHY15DiTrkSelectAndWrite,
BPHY15Dh3SelectAndWrite, BPHY15Dh3SelectAndWrite,
BPHY15JpsiDs, BPHY15JpsiDp, BPHY15JpsiDm, BPHY15JpsiDs, BPHY15JpsiDp, BPHY15JpsiDm,
BPHY15JpsiDpst, BPHY15JpsiDmst, BPHY15JpsiDpst, BPHY15JpsiDmst,
BPHY15JpsiDps1, BPHY15JpsiDms1, BPHY15JpsiDps1, BPHY15JpsiDms1,
BPHY15_AugOriginalCounts], BPHY15_AugOriginalCounts],
#Only skim if not MC #Only skim if not MC
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment