ATLAS Offline Software
Functions
python.TEST3 Namespace Reference

Functions

def TEST3ThinningToolCfg (flags, streamName)
 
def TEST3KernelCfg (flags, name='TEST3Kernel', **kwargs)
 
def TEST3Cfg (flags)
 

Function Documentation

◆ TEST3Cfg()

def python.TEST3.TEST3Cfg (   flags)

Definition at line 27 of file TEST3.py.

27 def TEST3Cfg(flags):
28 
29  acc = ComponentAccumulator()
30  acc.merge(TEST3KernelCfg(flags, name="TEST3Kernel",StreamName = "StreamDAOD_TEST3"))
31 
32  from OutputStreamAthenaPool.OutputStreamConfig import OutputStreamCfg
33  from xAODMetaDataCnv.InfileMetaDataConfig import SetupMetaDataForStreamCfg
34  from DerivationFrameworkCore.SlimmingHelper import SlimmingHelper
35  TEST3SlimmingHelper = SlimmingHelper("TEST3SlimmingHelper", NamesAndTypes = flags.Input.TypedCollections, flags = flags)
36  TEST3SlimmingHelper.SmartCollections = ["EventInfo","InDetTrackParticles"]
37  TEST3ItemList = TEST3SlimmingHelper.GetItemList()
38  acc.merge(OutputStreamCfg(flags, "DAOD_TEST3", ItemList=TEST3ItemList, AcceptAlgs=["TEST3Kernel"]))
39  acc.merge(SetupMetaDataForStreamCfg(flags, "DAOD_TEST3", AcceptAlgs=["TEST3Kernel"], createMetadata=[MetadataCategory.CutFlowMetaData]))
40  return acc

◆ TEST3KernelCfg()

def python.TEST3.TEST3KernelCfg (   flags,
  name = 'TEST3Kernel',
**  kwargs 
)
Configure the derivation framework driving algorithm (kernel)

Definition at line 18 of file TEST3.py.

18 def TEST3KernelCfg(flags, name='TEST3Kernel', **kwargs):
19  """Configure the derivation framework driving algorithm (kernel)"""
20  acc = ComponentAccumulator()
21  thinningTool = acc.getPrimaryAndMerge(TEST3ThinningToolCfg(flags,kwargs["StreamName"]))
22  DerivationKernel = CompFactory.DerivationFramework.DerivationKernel
23  acc.addEventAlgo(DerivationKernel(name, ThinningTools = [thinningTool]))
24  return acc
25 
26 

◆ TEST3ThinningToolCfg()

def python.TEST3.TEST3ThinningToolCfg (   flags,
  streamName 
)
Configure the example thinning tool

Definition at line 8 of file TEST3.py.

8 def TEST3ThinningToolCfg(flags,streamName):
9  """Configure the example thinning tool"""
10  acc = ComponentAccumulator()
11  acc.addPublicTool(CompFactory.DerivationFramework.ThinningToolExample(name = "TEST3ThinningTool",
12  StreamName = streamName,
13  TrackPtCut = 20000.0),
14  primary = True)
15  return(acc)
16 
17 
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
python.TEST3.TEST3KernelCfg
def TEST3KernelCfg(flags, name='TEST3Kernel', **kwargs)
Definition: TEST3.py:18
python.TEST3.TEST3ThinningToolCfg
def TEST3ThinningToolCfg(flags, streamName)
Definition: TEST3.py:8
InfileMetaDataConfig.SetupMetaDataForStreamCfg
def SetupMetaDataForStreamCfg(flags, streamName="", AcceptAlgs=None, createMetadata=None, propagateMetadataFromInput=True, *args, **kwargs)
Definition: InfileMetaDataConfig.py:222
SlimmingHelper
Definition: SlimmingHelper.py:1
python.HION12.DerivationKernel
DerivationKernel
Definition: HION12.py:66
python.TEST3.TEST3Cfg
def TEST3Cfg(flags)
Definition: TEST3.py:27