ATLAS Offline Software
Functions | Variables
TileRawChannelMakerConfig Namespace Reference

Functions

def TileRawChannelMakerCfg (flags, **kwargs)
 
def TileRawChannelMakerDigiHSTruthCfg (flags, **kwargs)
 
def TileRawChannelOutputCfg (flags, tileRawChannelMaker, streamName)
 
def TileRawChannelMakerOutputCfg (flags, streamName='ESD', **kwargs)
 
def TileRawChannelMakerDigiHSTruthOutputCfg (flags, streamName='ESD', **kwargs)
 

Variables

 flags
 
 Files
 
 AtlasVersion
 
 GlobalTag
 
 RunType
 
 doFit
 
 doOF1
 
 doWiener
 
 doOpt2
 
 doOptATLAS
 
 correctTimeJumps
 
 NoiseFilter
 
 ESDFileName
 
 MaxEvents
 
 acc
 
 readMuRcv
 
 withDetails
 
 True
 
 summariseProps
 
 sc
 

Function Documentation

◆ TileRawChannelMakerCfg()

def TileRawChannelMakerConfig.TileRawChannelMakerCfg (   flags,
**  kwargs 
)
Return component accumulator with configured Tile raw channel maker algorithm

Arguments:
    flags  -- Athena configuration flags

Definition at line 10 of file TileRawChannelMakerConfig.py.

10 def TileRawChannelMakerCfg(flags, **kwargs):
11  """Return component accumulator with configured Tile raw channel maker algorithm
12 
13  Arguments:
14  flags -- Athena configuration flags
15  """
16 
17  acc = ComponentAccumulator()
18 
19  from TileConditions.TileInfoLoaderConfig import TileInfoLoaderCfg
20  acc.merge( TileInfoLoaderCfg(flags) )
21 
22  kwargs.setdefault('name', 'TileRChMaker')
23  name = kwargs['name']
24 
25  if flags.Common.ProductionStep in [ProductionStep.PileUpPresampling, ProductionStep.PileUpPretracking]:
26  kwargs.setdefault('TileDigitsContainer', flags.Overlay.BkgPrefix + 'TileDigitsCnt')
27  else:
28  kwargs.setdefault('TileDigitsContainer', 'TileDigitsCnt')
29 
30  from AthenaCommon.Logging import logging
31  mlog = logging.getLogger( 'TileRawChannelMakerCfg' )
32 
33  if flags.Tile.doOverflowFit:
34  kwargs.setdefault('FitOverflow', True)
35  from TileRecUtils.TileRawChannelBuilderFitConfig import TileRawChannelBuilderFitOverflowCfg
36  tileRawChannelBuilderFitOverflow = acc.popToolsAndMerge( TileRawChannelBuilderFitOverflowCfg(flags) )
37  kwargs.setdefault('TileRawChannelBuilderFitOverflow', tileRawChannelBuilderFitOverflow)
38  else:
39  kwargs.setdefault('FitOverflow', False)
40 
41  tileRawChannelBuilder = []
42 
43  if flags.Tile.doFit:
44  from TileRecUtils.TileRawChannelBuilderFitConfig import TileRawChannelBuilderFitFilterCfg
45  tileRawChannelBuilderFitFilter = acc.popToolsAndMerge( TileRawChannelBuilderFitFilterCfg(flags) )
46  tileRawChannelBuilder += [tileRawChannelBuilderFitFilter]
47  mlog.info(" adding now TileRawChannelBuilderFitFilter with name %s to the algorithm: %s",
48  tileRawChannelBuilderFitFilter.name, name)
49 
50  if flags.Tile.doOF1:
51  from TileRecUtils.TileRawChannelBuilderOptConfig import TileRawChannelBuilderOF1Cfg
52  tileRawChannelBuilderOF1 = acc.popToolsAndMerge( TileRawChannelBuilderOF1Cfg(flags) )
53  tileRawChannelBuilder += [tileRawChannelBuilderOF1]
54  mlog.info(" adding now TileRawChannelBuilderOpt2Filter with name %s to the algorithm: %s",
55  tileRawChannelBuilderOF1.name, name)
56 
57  if flags.Tile.doWiener:
58  from TileRecUtils.TileRawChannelBuilderWienerConfig import TileRawChannelBuilderWienerCfg
59  tileRawChannelBuilderWiener = acc.popToolsAndMerge( TileRawChannelBuilderWienerCfg(flags) )
60  tileRawChannelBuilder += [tileRawChannelBuilderWiener]
61  mlog.info(" adding now TileRawChannelBuilderWienerFilter with name %s to the algorithm: %s",
62  tileRawChannelBuilderWiener.name, name)
63 
64  if flags.Tile.doOpt2:
65  from TileRecUtils.TileRawChannelBuilderOptConfig import TileRawChannelBuilderOpt2Cfg
66  tileRawChannelBuilderOpt2 = acc.popToolsAndMerge( TileRawChannelBuilderOpt2Cfg(flags) )
67  tileRawChannelBuilder += [tileRawChannelBuilderOpt2]
68  mlog.info(" adding now TileRawChannelBuilderOpt2Filter with name %s to the algorithm: %s",
69  tileRawChannelBuilderOpt2.name, name)
70 
71  if flags.Tile.doOptATLAS:
72  from TileRecUtils.TileRawChannelBuilderOptConfig import TileRawChannelBuilderOptATLASCfg
73  tileRawChannelBuilderOptATLAS = acc.popToolsAndMerge( TileRawChannelBuilderOptATLASCfg(flags) )
74  tileRawChannelBuilder += [tileRawChannelBuilderOptATLAS]
75  mlog.info(" adding now TileRawChannelBuilderOpt2Filter with name %s to the algorithm: %s",
76  tileRawChannelBuilderOptATLAS.name, name)
77 
78  kwargs.setdefault('TileRawChannelBuilder', tileRawChannelBuilder)
79 
80  if flags.Common.isOverlay and flags.Concurrency.NumThreads > 0:
81  kwargs.setdefault('Cardinality', flags.Concurrency.NumThreads)
82 
83  TileRawChannelMaker=CompFactory.TileRawChannelMaker
84  acc.addEventAlgo(TileRawChannelMaker(**kwargs), primary = True)
85 
86  return acc
87 
88 

◆ TileRawChannelMakerDigiHSTruthCfg()

def TileRawChannelMakerConfig.TileRawChannelMakerDigiHSTruthCfg (   flags,
**  kwargs 
)
Return component accumulator with configured Tile raw channel maker algorithm for HS

Arguments:
    flags  -- Athena configuration flags

Definition at line 89 of file TileRawChannelMakerConfig.py.

89 def TileRawChannelMakerDigiHSTruthCfg(flags, **kwargs):
90  """Return component accumulator with configured Tile raw channel maker algorithm for HS
91 
92  Arguments:
93  flags -- Athena configuration flags
94  """
95 
96  kwargs.setdefault('name', 'TileRChMaker_DigiHSTruth')
97  kwargs.setdefault('TileDigitsContainer', 'TileDigitsCnt_DigiHSTruth')
98 
99  acc = TileRawChannelMakerCfg(flags, **kwargs)
100  rawChannelMaker = acc.getPrimary()
101 
102  rawChannelbuilders = rawChannelMaker.TileRawChannelBuilder
103 
104  for rawChannelBuilder in rawChannelbuilders:
105  rawChannelBuilder.TileRawChannelContainer = f'{rawChannelBuilder.TileRawChannelContainer}_DigiHSTruth'
106 
107  return acc
108 
109 

◆ TileRawChannelMakerDigiHSTruthOutputCfg()

def TileRawChannelMakerConfig.TileRawChannelMakerDigiHSTruthOutputCfg (   flags,
  streamName = 'ESD',
**  kwargs 
)
Return component accumulator with configured Tile raw channel maker algorithm and Output stream

Arguments:
    flags  -- Athena configuration flags
    streamName -- name of output stream. Defaults to ESD.

Definition at line 145 of file TileRawChannelMakerConfig.py.

145 def TileRawChannelMakerDigiHSTruthOutputCfg(flags, streamName = 'ESD', **kwargs):
146  """Return component accumulator with configured Tile raw channel maker algorithm and Output stream
147 
148  Arguments:
149  flags -- Athena configuration flags
150  streamName -- name of output stream. Defaults to ESD.
151  """
152 
153  acc = TileRawChannelMakerDigiHSTruthCfg(flags, **kwargs)
154  acc.merge( TileRawChannelOutputCfg(flags, acc.getPrimary(), streamName) )
155 
156  return acc
157 
158 

◆ TileRawChannelMakerOutputCfg()

def TileRawChannelMakerConfig.TileRawChannelMakerOutputCfg (   flags,
  streamName = 'ESD',
**  kwargs 
)
Return component accumulator with configured Tile raw channel maker algorithm and Output stream

Arguments:
    flags  -- Athena configuration flags
    streamName -- name of output stream. Defaults to ESD.

Definition at line 131 of file TileRawChannelMakerConfig.py.

131 def TileRawChannelMakerOutputCfg(flags, streamName = 'ESD', **kwargs):
132  """Return component accumulator with configured Tile raw channel maker algorithm and Output stream
133 
134  Arguments:
135  flags -- Athena configuration flags
136  streamName -- name of output stream. Defaults to ESD.
137  """
138 
139  acc = TileRawChannelMakerCfg(flags, **kwargs)
140  acc.merge( TileRawChannelOutputCfg(flags, acc.getPrimary(), streamName) )
141 
142  return acc
143 
144 

◆ TileRawChannelOutputCfg()

def TileRawChannelMakerConfig.TileRawChannelOutputCfg (   flags,
  tileRawChannelMaker,
  streamName 
)
Return component accumulator with configured Output stream for Tile raw channel maker algorithm

Arguments:
    flags  -- Athena configuration flags
    tileRawChannelMaker -- Tile raw channel maker algorithm
    streamName -- name of output stream.

Definition at line 110 of file TileRawChannelMakerConfig.py.

110 def TileRawChannelOutputCfg(flags, tileRawChannelMaker, streamName):
111  """Return component accumulator with configured Output stream for Tile raw channel maker algorithm
112 
113  Arguments:
114  flags -- Athena configuration flags
115  tileRawChannelMaker -- Tile raw channel maker algorithm
116  streamName -- name of output stream.
117  """
118 
119  outputItemList = []
120  rawChannelbuilders = tileRawChannelMaker.TileRawChannelBuilder
121 
122  for rawChannelBuilder in rawChannelbuilders:
123  outputItemList += [f'TileRawChannelContainer#{rawChannelBuilder.TileRawChannelContainer}']
124 
125  from OutputStreamAthenaPool.OutputStreamConfig import OutputStreamCfg
126  acc = OutputStreamCfg(flags, streamName, ItemList = outputItemList)
127 
128  return acc
129 
130 

Variable Documentation

◆ acc

TileRawChannelMakerConfig.acc

Definition at line 188 of file TileRawChannelMakerConfig.py.

◆ AtlasVersion

TileRawChannelMakerConfig.AtlasVersion

Definition at line 171 of file TileRawChannelMakerConfig.py.

◆ correctTimeJumps

TileRawChannelMakerConfig.correctTimeJumps

Definition at line 179 of file TileRawChannelMakerConfig.py.

◆ doFit

TileRawChannelMakerConfig.doFit

Definition at line 174 of file TileRawChannelMakerConfig.py.

◆ doOF1

TileRawChannelMakerConfig.doOF1

Definition at line 175 of file TileRawChannelMakerConfig.py.

◆ doOpt2

TileRawChannelMakerConfig.doOpt2

Definition at line 177 of file TileRawChannelMakerConfig.py.

◆ doOptATLAS

TileRawChannelMakerConfig.doOptATLAS

Definition at line 178 of file TileRawChannelMakerConfig.py.

◆ doWiener

TileRawChannelMakerConfig.doWiener

Definition at line 176 of file TileRawChannelMakerConfig.py.

◆ ESDFileName

TileRawChannelMakerConfig.ESDFileName

Definition at line 181 of file TileRawChannelMakerConfig.py.

◆ Files

TileRawChannelMakerConfig.Files

Definition at line 170 of file TileRawChannelMakerConfig.py.

◆ flags

TileRawChannelMakerConfig.flags

Definition at line 169 of file TileRawChannelMakerConfig.py.

◆ GlobalTag

TileRawChannelMakerConfig.GlobalTag

Definition at line 172 of file TileRawChannelMakerConfig.py.

◆ MaxEvents

TileRawChannelMakerConfig.MaxEvents

Definition at line 182 of file TileRawChannelMakerConfig.py.

◆ NoiseFilter

TileRawChannelMakerConfig.NoiseFilter

Definition at line 180 of file TileRawChannelMakerConfig.py.

◆ readMuRcv

TileRawChannelMakerConfig.readMuRcv

Definition at line 191 of file TileRawChannelMakerConfig.py.

◆ RunType

TileRawChannelMakerConfig.RunType

Definition at line 173 of file TileRawChannelMakerConfig.py.

◆ sc

TileRawChannelMakerConfig.sc

Definition at line 199 of file TileRawChannelMakerConfig.py.

◆ summariseProps

TileRawChannelMakerConfig.summariseProps

Definition at line 196 of file TileRawChannelMakerConfig.py.

◆ True

TileRawChannelMakerConfig.True

Definition at line 196 of file TileRawChannelMakerConfig.py.

◆ withDetails

TileRawChannelMakerConfig.withDetails

Definition at line 196 of file TileRawChannelMakerConfig.py.

python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.OutputStreamConfig.OutputStreamCfg
def OutputStreamCfg(flags, streamName, ItemList=[], MetadataItemList=[], disableEventTag=False, trigNavThinningSvc=None, takeItemsFromInput=False, extendProvenanceRecord=True, AcceptAlgs=[], HelperTools=[])
Definition: OutputStreamConfig.py:12
TileRawChannelMakerConfig.TileRawChannelMakerOutputCfg
def TileRawChannelMakerOutputCfg(flags, streamName='ESD', **kwargs)
Definition: TileRawChannelMakerConfig.py:131
TileRawChannelBuilderOptConfig.TileRawChannelBuilderOpt2Cfg
def TileRawChannelBuilderOpt2Cfg(flags)
Definition: TileRawChannelBuilderOptConfig.py:82
TileRawChannelBuilderOptConfig.TileRawChannelBuilderOptATLASCfg
def TileRawChannelBuilderOptATLASCfg(flags)
Definition: TileRawChannelBuilderOptConfig.py:85
python.TileInfoLoaderConfig.TileInfoLoaderCfg
def TileInfoLoaderCfg(flags, **kwargs)
Definition: TileInfoLoaderConfig.py:12
TileRawChannelMakerConfig.TileRawChannelMakerDigiHSTruthCfg
def TileRawChannelMakerDigiHSTruthCfg(flags, **kwargs)
Definition: TileRawChannelMakerConfig.py:89
TileRawChannelBuilderOptConfig.TileRawChannelBuilderOF1Cfg
def TileRawChannelBuilderOF1Cfg(flags)
Definition: TileRawChannelBuilderOptConfig.py:79
TileRawChannelBuilderFitConfig.TileRawChannelBuilderFitFilterCfg
def TileRawChannelBuilderFitFilterCfg(flags, **kwargs)
Definition: TileRawChannelBuilderFitConfig.py:9
TileRawChannelMaker
Definition: TileRawChannelMaker.h:42
TileRawChannelBuilderWienerConfig.TileRawChannelBuilderWienerCfg
def TileRawChannelBuilderWienerCfg(flags, **kwargs)
Definition: TileRawChannelBuilderWienerConfig.py:9
TileRawChannelBuilderFitConfig.TileRawChannelBuilderFitOverflowCfg
def TileRawChannelBuilderFitOverflowCfg(flags, **kwargs)
Definition: TileRawChannelBuilderFitConfig.py:41
TileRawChannelMakerConfig.TileRawChannelMakerDigiHSTruthOutputCfg
def TileRawChannelMakerDigiHSTruthOutputCfg(flags, streamName='ESD', **kwargs)
Definition: TileRawChannelMakerConfig.py:145
TileRawChannelMakerConfig.TileRawChannelOutputCfg
def TileRawChannelOutputCfg(flags, tileRawChannelMaker, streamName)
Definition: TileRawChannelMakerConfig.py:110
TileRawChannelMakerConfig.TileRawChannelMakerCfg
def TileRawChannelMakerCfg(flags, **kwargs)
Definition: TileRawChannelMakerConfig.py:10