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 28 of file TEST1.py.

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

◆ TEST1KernelCfg()

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

Definition at line 19 of file TEST1.py.

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

◆ TEST1SkimmingToolCfg()

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

Definition at line 9 of file TEST1.py.

9 def TEST1SkimmingToolCfg(flags):
10  """Configure the example skimming tool"""
11  acc = ComponentAccumulator()
12  acc.addPublicTool(CompFactory.DerivationFramework.SkimmingToolExample(name = "TEST1SkimmingTool",
13  MuonContainerKey = "Muons",
14  NumberOfMuons = 1,
15  MuonPtCut = 1000.0),
16  primary = True)
17  return(acc)
18 
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:19
python.TEST1.TEST1SkimmingToolCfg
def TEST1SkimmingToolCfg(flags)
Definition: TEST1.py:9
python.TEST1.TEST1Cfg
def TEST1Cfg(flags)
Definition: TEST1.py:28
InfileMetaDataConfig.SetupMetaDataForStreamCfg
def SetupMetaDataForStreamCfg(flags, streamName="", AcceptAlgs=None, createMetadata=None, propagateMetadataFromInput=True, *args, **kwargs)
Definition: InfileMetaDataConfig.py:219
SlimmingHelper
Definition: SlimmingHelper.py:1
python.HION12.DerivationKernel
DerivationKernel
Definition: HION12.py:67