ATLAS Offline Software
Functions | Variables
testPrepDataWrite Namespace Reference

Functions

def setupTestOutputCfg (flags, **kwargs)
 

Variables

 parser = SetupArgParser()
 
 help
 
 action
 
 default
 
 nEvents
 
 outRootFile
 
 inputFile
 
 defaultGeoFile
 
 eventPrintoutLevel
 
 args = parser.parse_args()
 
 flags = initConfigFlags()
 
string streamName = "MuonPrepDataTest"
 
 cfg
 

Function Documentation

◆ setupTestOutputCfg()

def testPrepDataWrite.setupTestOutputCfg (   flags,
**  kwargs 
)

Definition at line 4 of file testPrepDataWrite.py.

4 def setupTestOutputCfg(flags,**kwargs):
5 
6  kwargs.setdefault("AcceptAlgs",[])
7 
8  result = ComponentAccumulator()
9 
13  container_items = ["xAOD::MdtDriftCircleContainer#*", "xAOD::MdtDriftCircleAuxContainer#*",
14  "xAOD::sTgcStripContainer#*", "xAOD::sTgcStripAuxContainer#*",
15  "xAOD::MMClusterContainer#*", "xAOD::MMClusterAuxContainer#*",
16  "xAOD::TgcStripContainer#*", "xAOD::TgcStripAuxContainer#*",
17  "xAOD::RpcStripContainer#*", "xAOD::RpcStripAuxContainer#*",
18  "xAOD::MdtTwinDriftCircleContainer#*", "xAOD::MdtDriftCircleAuxContainer#*",
19  "xAOD::RpcStrip2DContainer#*", "xAOD::RpcStrip2DAuxContainer#*",
20  "xAOD::sTgcPadContainer#*", "xAOD::sTgcPadAuxContainer#*",
21  "xAOD::sTgcStripContainer#*", "xAOD::sTgcStripAuxContainer#*",
22  "xAOD::sTgcWireContainer#*", "xAOD::sTgcWireAuxContainer#*",
23 
24  ]
25 
26 
27  from xAODMetaDataCnv.InfileMetaDataConfig import SetupMetaDataForStreamCfg
28  result.merge(SetupMetaDataForStreamCfg(flags, kwargs["streamName"]))
29 
30  from OutputStreamAthenaPool.OutputStreamConfig import OutputStreamCfg
31  kwargs.setdefault("ItemList", container_items)
32  result.merge(OutputStreamCfg(flags, **kwargs))
33  return result
34 

Variable Documentation

◆ action

testPrepDataWrite.action

Definition at line 38 of file testPrepDataWrite.py.

◆ args

testPrepDataWrite.args = parser.parse_args()

Definition at line 46 of file testPrepDataWrite.py.

◆ cfg

testPrepDataWrite.cfg

Definition at line 55 of file testPrepDataWrite.py.

◆ default

testPrepDataWrite.default

Definition at line 39 of file testPrepDataWrite.py.

◆ defaultGeoFile

testPrepDataWrite.defaultGeoFile

Definition at line 43 of file testPrepDataWrite.py.

◆ eventPrintoutLevel

testPrepDataWrite.eventPrintoutLevel

Definition at line 44 of file testPrepDataWrite.py.

◆ flags

testPrepDataWrite.flags = initConfigFlags()

Definition at line 48 of file testPrepDataWrite.py.

◆ help

testPrepDataWrite.help

Definition at line 38 of file testPrepDataWrite.py.

◆ inputFile

testPrepDataWrite.inputFile

Definition at line 42 of file testPrepDataWrite.py.

◆ nEvents

testPrepDataWrite.nEvents

Definition at line 40 of file testPrepDataWrite.py.

◆ outRootFile

testPrepDataWrite.outRootFile

Definition at line 41 of file testPrepDataWrite.py.

◆ parser

testPrepDataWrite.parser = SetupArgParser()

Definition at line 37 of file testPrepDataWrite.py.

◆ streamName

string testPrepDataWrite.streamName = "MuonPrepDataTest"

Definition at line 51 of file testPrepDataWrite.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, keepProvenanceTagsRegEx=None, AcceptAlgs=[], HelperTools=[])
Definition: OutputStreamConfig.py:16
testPrepDataWrite.setupTestOutputCfg
def setupTestOutputCfg(flags, **kwargs)
Definition: testPrepDataWrite.py:4
InfileMetaDataConfig.SetupMetaDataForStreamCfg
def SetupMetaDataForStreamCfg(flags, streamName="", AcceptAlgs=None, createMetadata=None, propagateMetadataFromInput=True, *args, **kwargs)
Definition: InfileMetaDataConfig.py:222