ATLAS Offline Software
Functions
python.InDetTrackClusterAssValidationConfig Namespace Reference

Functions

def InDetTrackClusterAssValidationCfg (flags, name='InDetTrackClusterAssValidation', **kwargs)
 
def ITkTrackClusterAssValidationCfg (flags, name='ITkTrackClusterAssValidation', **kwargs)
 

Function Documentation

◆ InDetTrackClusterAssValidationCfg()

def python.InDetTrackClusterAssValidationConfig.InDetTrackClusterAssValidationCfg (   flags,
  name = 'InDetTrackClusterAssValidation',
**  kwargs 
)

Definition at line 7 of file InDetTrackClusterAssValidationConfig.py.

8  flags, name='InDetTrackClusterAssValidation', **kwargs):
10 
11  kwargs.setdefault("SpacePointsPixelName", "PixelSpacePoints")
12  kwargs.setdefault("SpacePointsSCTName", "SCT_SpacePoints")
13  kwargs.setdefault("SpacePointsOverlapName", "OverlapSpacePoints")
14  kwargs.setdefault("RadiusMin", 0.)
15  kwargs.setdefault("MinNumberClustersTRT", 0)
16  kwargs.setdefault("usePixel", flags.Detector.EnablePixel)
17  kwargs.setdefault("useSCT", flags.Detector.EnableSCT)
18  kwargs.setdefault("useTRT", flags.Detector.EnableTRT)
19 
20  if flags.Beam.Type in [BeamType.Cosmics, BeamType.SingleBeam]:
21  kwargs.setdefault("MomentumCut",
22  flags.Tracking.ActiveConfig.minPT
23  if flags.Beam.Type==BeamType.Cosmics else 0)
24  kwargs.setdefault("RadiusMax", 9999999.)
25  kwargs.setdefault("RapidityCut", 9999999.)
26  kwargs.setdefault("MinNumberClusters", 8)
27  kwargs.setdefault("MinNumberSpacePoints", 4)
28 
29  else:
30  kwargs.setdefault("MomentumCut", 2*flags.Tracking.ActiveConfig.minPT)
31  kwargs.setdefault("RadiusMax", 20.)
32  kwargs.setdefault("RapidityCut", flags.Tracking.ActiveConfig.maxEta)
33  kwargs.setdefault("MinNumberClusters",
34  flags.Tracking.ActiveConfig.minClusters)
35  kwargs.setdefault("MinNumberSpacePoints", 3)
36 
37  acc.addEventAlgo(
38  CompFactory.InDet.TrackClusterAssValidation(name, **kwargs))
39  return acc
40 

◆ ITkTrackClusterAssValidationCfg()

def python.InDetTrackClusterAssValidationConfig.ITkTrackClusterAssValidationCfg (   flags,
  name = 'ITkTrackClusterAssValidation',
**  kwargs 
)

Definition at line 41 of file InDetTrackClusterAssValidationConfig.py.

42  flags, name='ITkTrackClusterAssValidation', **kwargs):
43  acc = ComponentAccumulator()
44 
45  kwargs.setdefault("usePixel", flags.Detector.EnableITkPixel)
46  kwargs.setdefault("useStrip", flags.Detector.EnableITkStrip)
47  kwargs.setdefault("MomentumCut", max(flags.Tracking.ActiveConfig.minPT))
48  kwargs.setdefault("RapidityCut", flags.Tracking.ActiveConfig.maxEta)
49  kwargs.setdefault("EtaBins", flags.Tracking.ActiveConfig.etaBins)
50  kwargs.setdefault("PtCuts", flags.Tracking.ActiveConfig.minPT)
51  kwargs.setdefault("MinNumberClustersCuts",
52  flags.Tracking.ActiveConfig.minClusters)
53 
54  acc.addEventAlgo(CompFactory.ITk.TrackClusterAssValidation(name, **kwargs))
55  return acc
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
max
constexpr double max()
Definition: ap_fixedTest.cxx:33
python.InDetTrackClusterAssValidationConfig.InDetTrackClusterAssValidationCfg
def InDetTrackClusterAssValidationCfg(flags, name='InDetTrackClusterAssValidation', **kwargs)
Definition: InDetTrackClusterAssValidationConfig.py:7
python.InDetTrackClusterAssValidationConfig.ITkTrackClusterAssValidationCfg
def ITkTrackClusterAssValidationCfg(flags, name='ITkTrackClusterAssValidation', **kwargs)
Definition: InDetTrackClusterAssValidationConfig.py:41