ATLAS Offline Software
Loading...
Searching...
No Matches
python.FourLeptonVertexing Namespace Reference

Functions

 FourLeptonVertexerCfg (flags, name="FourLeptonVertexAlg", **kwargs)

Variables

 flags = initConfigFlags()
 args = flags.fillFromArgs()
 Files
 NumThreads
 NumConcurrentEvents
 cfg = MainServicesCfg(flags)
 msgService = cfg.getService('MessageSvc')
 Format
 sc = cfg.run(flags.Exec.MaxEvents)

Function Documentation

◆ FourLeptonVertexerCfg()

python.FourLeptonVertexing.FourLeptonVertexerCfg ( flags,
name = "FourLeptonVertexAlg",
** kwargs )

Definition at line 9 of file FourLeptonVertexing.py.

9def FourLeptonVertexerCfg(flags, name="FourLeptonVertexAlg", **kwargs):
10 result = ComponentAccumulator()
11
12 from MuonSelectorTools.MuonSelectorToolsConfig import MuonSelectionToolCfg
13 kwargs.setdefault("MuonSelectionTool", result.popToolsAndMerge(MuonSelectionToolCfg(flags,
14 MaxEta=2.7,
15 DisablePtCuts=True,
16 MuQuality=2,
17 )) )
18
19
20 from ElectronPhotonSelectorTools.AsgElectronLikelihoodToolsConfig import AsgElectronLikelihoodToolCfg
21 from ElectronPhotonSelectorTools.ElectronLikelihoodToolMapping import electronLHmenu
22 from ElectronPhotonSelectorTools.LikelihoodEnums import LikeEnum
23 from AthenaConfiguration.Enums import LHCPeriod
24 kwargs.setdefault("ElectronSelectionTool", result.popToolsAndMerge(AsgElectronLikelihoodToolCfg(flags,
25 name= "ElectronSelTool",
26 quality = LikeEnum.VeryLoose,
27 menu=electronLHmenu.offlineMC21 if flags.GeoModel.Run >= LHCPeriod.Run3 else electronLHmenu.offlineMC20)))
28
29 from TrkConfig.TrkVKalVrtFitterConfig import TrkVKalVrtFitterCfg
30 kwargs.setdefault("VertexFitter", result.popToolsAndMerge(
31 TrkVKalVrtFitterCfg(flags, FirstMeasuredPoint = False)))
32 kwargs.setdefault("MinMuonPt", 4000)
33 kwargs.setdefault("MinElecPt", 6000)
34 vtx_tool = CompFactory.DerivationFramework.FourLeptonVertexingAlgorithm(name , **kwargs)
35 result.addEventAlgo(vtx_tool, primary = True)
36 return result
37

Variable Documentation

◆ args

python.FourLeptonVertexing.args = flags.fillFromArgs()

Definition at line 41 of file FourLeptonVertexing.py.

◆ cfg

python.FourLeptonVertexing.cfg = MainServicesCfg(flags)

Definition at line 51 of file FourLeptonVertexing.py.

◆ Files

python.FourLeptonVertexing.Files

Definition at line 43 of file FourLeptonVertexing.py.

◆ flags

python.FourLeptonVertexing.flags = initConfigFlags()

Definition at line 40 of file FourLeptonVertexing.py.

◆ Format

python.FourLeptonVertexing.Format

Definition at line 53 of file FourLeptonVertexing.py.

◆ msgService

python.FourLeptonVertexing.msgService = cfg.getService('MessageSvc')

Definition at line 52 of file FourLeptonVertexing.py.

◆ NumConcurrentEvents

python.FourLeptonVertexing.NumConcurrentEvents

Definition at line 45 of file FourLeptonVertexing.py.

◆ NumThreads

python.FourLeptonVertexing.NumThreads

Definition at line 44 of file FourLeptonVertexing.py.

◆ sc

python.FourLeptonVertexing.sc = cfg.run(flags.Exec.MaxEvents)

Definition at line 59 of file FourLeptonVertexing.py.