ATLAS Offline Software
Functions
python.TEST1 Namespace Reference

Functions

def TEST1SkimmingToolCfg (flags)
 
def TEST1KernelCfg (flags, name='TEST1Kernel', **kwargs)
 
def TEST1Cfg (flags)
 

Function Documentation

◆ TEST1Cfg()

def python.TEST1.TEST1Cfg (   flags)

Definition at line 27 of file TEST1.py.

27 def TEST1Cfg(flags):
28 
29  acc = ComponentAccumulator()
30  acc.merge(TEST1KernelCfg(flags, name="TEST1Kernel"))
31 
32  from OutputStreamAthenaPool.OutputStreamConfig import OutputStreamCfg
33  from xAODMetaDataCnv.InfileMetaDataConfig import SetupMetaDataForStreamCfg
34  from DerivationFrameworkCore.SlimmingHelper import SlimmingHelper
35  TEST1SlimmingHelper = SlimmingHelper("TEST1SlimmingHelper", NamesAndTypes = flags.Input.TypedCollections, flags = flags)
36  TEST1SlimmingHelper.SmartCollections = ["EventInfo",
37  "Electrons",
38  "Photons",
39  "Muons",
40  "PrimaryVertices",
41  "InDetTrackParticles",
42  "AntiKt4EMTopoJets",
43  "AntiKt4EMPFlowJets",
44  "BTagging_AntiKt4EMPFlow",
45  "BTagging_AntiKtVR30Rmax4Rmin02Track",
46  "MET_Baseline_AntiKt4EMTopo",
47  "MET_Baseline_AntiKt4EMPFlow",
48  "TauJets",
49  "DiTauJets",
50  "DiTauJetsLowPt",
51  "AntiKt10LCTopoTrimmedPtFrac5SmallR20Jets",
52  "AntiKtVR30Rmax4Rmin02PV0TrackJets"]
53  TEST1ItemList = TEST1SlimmingHelper.GetItemList()
54 
55  acc.merge(OutputStreamCfg(flags, "DAOD_TEST1", ItemList=TEST1ItemList, AcceptAlgs=["TEST1Kernel"]))
56  acc.merge(SetupMetaDataForStreamCfg(flags, "DAOD_TEST1", AcceptAlgs=["TEST1Kernel"], createMetadata=[MetadataCategory.CutFlowMetaData]))
57 
58  return acc

◆ TEST1KernelCfg()

def python.TEST1.TEST1KernelCfg (   flags,
  name = 'TEST1Kernel',
**  kwargs 
)
Configure the derivation framework driving algorithm (kernel)

Definition at line 18 of file TEST1.py.

18 def TEST1KernelCfg(flags, name='TEST1Kernel', **kwargs):
19  """Configure the derivation framework driving algorithm (kernel)"""
20  acc = ComponentAccumulator()
21  skimmingTool = acc.getPrimaryAndMerge(TEST1SkimmingToolCfg(flags))
22  DerivationKernel = CompFactory.DerivationFramework.DerivationKernel
23  acc.addEventAlgo(DerivationKernel(name, SkimmingTools = [skimmingTool]))
24  return acc
25 
26 

◆ TEST1SkimmingToolCfg()

def python.TEST1.TEST1SkimmingToolCfg (   flags)
Configure the example skimming tool

Definition at line 8 of file TEST1.py.

8 def TEST1SkimmingToolCfg(flags):
9  """Configure the example skimming tool"""
10  acc = ComponentAccumulator()
11  acc.addPublicTool(CompFactory.DerivationFramework.SkimmingToolExample(name = "TEST1SkimmingTool",
12  MuonContainerKey = "Muons",
13  NumberOfMuons = 1,
14  MuonPtCut = 1000.0),
15  primary = True)
16  return(acc)
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.TEST1.TEST1KernelCfg
def TEST1KernelCfg(flags, name='TEST1Kernel', **kwargs)
Definition: TEST1.py:18
python.TEST1.TEST1SkimmingToolCfg
def TEST1SkimmingToolCfg(flags)
Definition: TEST1.py:8
python.TEST1.TEST1Cfg
def TEST1Cfg(flags)
Definition: TEST1.py:27
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