ATLAS Offline Software
Classes | Functions | Variables
TileRawChannelBuilderTestConfig Namespace Reference

Classes

class  PrepareDataAlg
 
class  TestAlg
 
class  TileFragHash
 

Functions

def reldiff (a, b)
 
def exp_merge (base, d)
 
def TileRawChannelBuilderTestCfg (flags)
 

Variables

 digits_0
 
 exp_chans_0
 
 exp_chans_1
 
 exp_chans_2
 
 exp_chans_3
 
 flags
 
 Files
 
 RunType
 
 MaxEvents
 
 cfg
 
 withDetails
 
 sc
 

Function Documentation

◆ exp_merge()

def TileRawChannelBuilderTestConfig.exp_merge (   base,
  d 
)

Definition at line 114 of file TileRawChannelBuilderTestConfig.py.

114 def exp_merge (base, d):
115  new = base.copy()
116  new.update (d)
117  return new
118 
119 
120 # TileDQstatus errors

◆ reldiff()

def TileRawChannelBuilderTestConfig.reldiff (   a,
  b 
)

Definition at line 18 of file TileRawChannelBuilderTestConfig.py.

18 def reldiff (a, b):
19  den = abs(a)+abs(b)
20  if den == 0: den = 1
21  return abs(a-b)/den
22 
23 
24 

◆ TileRawChannelBuilderTestCfg()

def TileRawChannelBuilderTestConfig.TileRawChannelBuilderTestCfg (   flags)

Definition at line 409 of file TileRawChannelBuilderTestConfig.py.

410 
411  acc = ComponentAccumulator()
412 
413  from TileConditions.TileInfoLoaderConfig import TileInfoLoaderCfg
414  acc.merge( TileInfoLoaderCfg(flags) )
415 
416  from TileConditions.TileEMScaleConfig import TileEMScaleCondAlgCfg
417  acc.merge( TileEMScaleCondAlgCfg(flags) )
418 
419  from TileConditions.TileSampleNoiseConfig import TileSampleNoiseCondAlgCfg
420  acc.merge( TileSampleNoiseCondAlgCfg(flags) )
421 
422  TileRawChannelBuilderTest = CompFactory.TileRawChannelBuilderTest
423  acc.addPublicTool( TileRawChannelBuilderTest('tool1') )
424 
425  TileRawChannelNoiseFilter = CompFactory.TileRawChannelNoiseFilter
426  noisefilter = TileRawChannelNoiseFilter('noisefilter')
427  acc.addPublicTool( TileRawChannelBuilderTest('tool2', NoiseFilterTools=[noisefilter]) )
428 
429  acc.addEventAlgo( PrepareDataAlg('prepalg1') )
430 
431  from TileRecUtils.TileDQstatusConfig import TileDQstatusAlgCfg
432  acc.merge(TileDQstatusAlgCfg(flags, name='dqstat1',
433  TileRawChannelContainer='TRCDQ'))
434 
435  acc.addEventAlgo( TestAlg('testalg1') )
436 
437  return acc
438 
439 

Variable Documentation

◆ cfg

TileRawChannelBuilderTestConfig.cfg

Definition at line 459 of file TileRawChannelBuilderTestConfig.py.

◆ digits_0

TileRawChannelBuilderTestConfig.digits_0

Definition at line 25 of file TileRawChannelBuilderTestConfig.py.

◆ exp_chans_0

TileRawChannelBuilderTestConfig.exp_chans_0

Definition at line 76 of file TileRawChannelBuilderTestConfig.py.

◆ exp_chans_1

TileRawChannelBuilderTestConfig.exp_chans_1

Definition at line 121 of file TileRawChannelBuilderTestConfig.py.

◆ exp_chans_2

TileRawChannelBuilderTestConfig.exp_chans_2

Definition at line 132 of file TileRawChannelBuilderTestConfig.py.

◆ exp_chans_3

TileRawChannelBuilderTestConfig.exp_chans_3

Definition at line 140 of file TileRawChannelBuilderTestConfig.py.

◆ Files

TileRawChannelBuilderTestConfig.Files

Definition at line 451 of file TileRawChannelBuilderTestConfig.py.

◆ flags

TileRawChannelBuilderTestConfig.flags

Definition at line 450 of file TileRawChannelBuilderTestConfig.py.

◆ MaxEvents

TileRawChannelBuilderTestConfig.MaxEvents

Definition at line 453 of file TileRawChannelBuilderTestConfig.py.

◆ RunType

TileRawChannelBuilderTestConfig.RunType

Definition at line 452 of file TileRawChannelBuilderTestConfig.py.

◆ sc

TileRawChannelBuilderTestConfig.sc

Definition at line 471 of file TileRawChannelBuilderTestConfig.py.

◆ withDetails

TileRawChannelBuilderTestConfig.withDetails

Definition at line 468 of file TileRawChannelBuilderTestConfig.py.

python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
TileRawChannelBuilderTestConfig.TileRawChannelBuilderTestCfg
def TileRawChannelBuilderTestCfg(flags)
Definition: TileRawChannelBuilderTestConfig.py:409
TileRawChannelBuilderTestConfig.exp_merge
def exp_merge(base, d)
Definition: TileRawChannelBuilderTestConfig.py:114
TileRawChannelBuilderTest
Definition: src/TileRawChannelBuilderTest.h:24
python.TileInfoLoaderConfig.TileInfoLoaderCfg
def TileInfoLoaderCfg(flags, **kwargs)
Definition: TileInfoLoaderConfig.py:12
TileDQstatusConfig.TileDQstatusAlgCfg
def TileDQstatusAlgCfg(flags, **kwargs)
Definition: TileDQstatusConfig.py:31
python.TileEMScaleConfig.TileEMScaleCondAlgCfg
def TileEMScaleCondAlgCfg(flags, **kwargs)
Definition: TileEMScaleConfig.py:10
python.TileSampleNoiseConfig.TileSampleNoiseCondAlgCfg
def TileSampleNoiseCondAlgCfg(flags, **kwargs)
Definition: TileSampleNoiseConfig.py:8
TileRawChannelNoiseFilter
This tool subtracts common-mode noise from all TileRawChannels in one container.
Definition: TileRawChannelNoiseFilter.h:39
TileRawChannelBuilderTestConfig.reldiff
def reldiff(a, b)
Definition: TileRawChannelBuilderTestConfig.py:18