ATLAS Offline Software
Functions | Variables
python.TRTPreProcessing Namespace Reference

Functions

def TRTPreProcessingCfg (flags)
 

Variables

 flags = initConfigFlags()
 
 Files
 
int numThreads = 1
 
 NumThreads
 
 NumConcurrentEvents
 
 top_acc = MainServicesCfg(flags)
 
 iovsvc = top_acc.getService('IOVDbSvc')
 
 OutputLevel
 

Function Documentation

◆ TRTPreProcessingCfg()

def python.TRTPreProcessing.TRTPreProcessingCfg (   flags)

Definition at line 11 of file TRTPreProcessing.py.

11 def TRTPreProcessingCfg(flags):
12  acc = ComponentAccumulator()
13  if not flags.Detector.EnableTRT:
14  return acc
15 
16  if flags.Input.Format is Format.BS or 'TRT_RDOs' in flags.Input.Collections:
17 
18  #
19  # --- TRT_RIO_Maker Algorithm
20  #
21  if flags.Beam.Type is BeamType.Cosmics:
22  from InDetConfig.InDetPrepRawDataFormationConfig import (
23  InDetTRT_NoTime_RIO_MakerCfg)
24  acc.merge(InDetTRT_NoTime_RIO_MakerCfg(flags))
25  else:
26  from InDetConfig.InDetPrepRawDataFormationConfig import (
27  InDetTRT_RIO_MakerCfg)
28  acc.merge(InDetTRT_RIO_MakerCfg(flags))
29 
30  if flags.InDet.doSplitReco:
31  from InDetConfig.InDetPrepRawDataFormationConfig import (
32  InDetTRT_RIO_MakerPUCfg)
33  acc.merge(InDetTRT_RIO_MakerPUCfg(flags))
34 
35  #
36  # Include alg to save the local occupancy inside xAOD::EventInfo
37  #
38  if flags.InDet.doTRTGlobalOccupancy:
39  from InDetConfig.TRT_ElectronPidToolsConfig import (
40  TRTOccupancyIncludeCfg)
41  acc.merge(TRTOccupancyIncludeCfg(flags))
42 
43  #
44  # --- we need to do truth association if requested (not for uncalibrated hits in cosmics)
45  #
46  if flags.InDet.doTruth and (
47  flags.Beam.Type is not BeamType.Cosmics and
48  'PRD_MultiTruthTRT' not in flags.Input.Collections):
49  from InDetConfig.InDetTruthAlgsConfig import (
50  InDetPRD_MultiTruthMakerTRTCfg)
51  acc.merge(InDetPRD_MultiTruthMakerTRTCfg(flags))
52  if flags.InDet.doSplitReco:
53  from InDetConfig.InDetTruthAlgsConfig import (
54  InDetPRD_MultiTruthMakerTRTPUCfg)
55  acc.merge(InDetPRD_MultiTruthMakerTRTPUCfg(flags))
56  return acc
57 
58 

Variable Documentation

◆ Files

python.TRTPreProcessing.Files

Definition at line 64 of file TRTPreProcessing.py.

◆ flags

python.TRTPreProcessing.flags = initConfigFlags()

Definition at line 61 of file TRTPreProcessing.py.

◆ iovsvc

python.TRTPreProcessing.iovsvc = top_acc.getService('IOVDbSvc')

Definition at line 92 of file TRTPreProcessing.py.

◆ NumConcurrentEvents

python.TRTPreProcessing.NumConcurrentEvents

Definition at line 71 of file TRTPreProcessing.py.

◆ numThreads

int python.TRTPreProcessing.numThreads = 1

Definition at line 68 of file TRTPreProcessing.py.

◆ NumThreads

python.TRTPreProcessing.NumThreads

Definition at line 69 of file TRTPreProcessing.py.

◆ OutputLevel

python.TRTPreProcessing.OutputLevel

Definition at line 93 of file TRTPreProcessing.py.

◆ top_acc

python.TRTPreProcessing.top_acc = MainServicesCfg(flags)

Definition at line 77 of file TRTPreProcessing.py.

python.TRTPreProcessing.TRTPreProcessingCfg
def TRTPreProcessingCfg(flags)
Definition: TRTPreProcessing.py:11
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.TRT_ElectronPidToolsConfig.TRTOccupancyIncludeCfg
def TRTOccupancyIncludeCfg(flags, name="TRTOccupancyInclude", **kwargs)
Definition: TRT_ElectronPidToolsConfig.py:45
python.InDetPrepRawDataFormationConfig.InDetTRT_NoTime_RIO_MakerCfg
def InDetTRT_NoTime_RIO_MakerCfg(flags, name="InDetTRT_NoTime_RIO_Maker", **kwargs)
Definition: InDetPrepRawDataFormationConfig.py:251
python.InDetTruthAlgsConfig.InDetPRD_MultiTruthMakerTRTCfg
def InDetPRD_MultiTruthMakerTRTCfg(flags, name="InDetTRT_PRD_MultiTruthMaker", **kwargs)
Definition: InDetTruthAlgsConfig.py:64
python.InDetPrepRawDataFormationConfig.InDetTRT_RIO_MakerPUCfg
def InDetTRT_RIO_MakerPUCfg(flags, name="InDetTRT_RIO_MakerPU", **kwargs)
Definition: InDetPrepRawDataFormationConfig.py:275
python.InDetTruthAlgsConfig.InDetPRD_MultiTruthMakerTRTPUCfg
def InDetPRD_MultiTruthMakerTRTPUCfg(flags, name="InDetTRT_PRD_MultiTruthMakerPU", **kwargs)
Definition: InDetTruthAlgsConfig.py:87
python.InDetPrepRawDataFormationConfig.InDetTRT_RIO_MakerCfg
def InDetTRT_RIO_MakerCfg(flags, name="InDetTRT_RIO_Maker", **kwargs)
Definition: InDetPrepRawDataFormationConfig.py:234