11 from AthenaCommon.AlgSequence
import AlgSequence
15 from PyAnalysisExamples.PyAnalysisExamplesConf
import AthPyEx__MySelectionAlg
16 topSequence += AthPyEx__MySelectionAlg(
"MySelectionAlg")
19 myNewKey =
"MyNewCollection"
20 MySelectionAlg = topSequence.MySelectionAlg
21 MySelectionAlg.ThrPT = 30*GeV
22 MySelectionAlg.NewKey = myNewKey
31 econ = PyParticleTools.getElectrons(myNewKey)
32 for ie
in range(len(econ)):
33 print (
"pt %f" % econ[ie].
pt())
36 pylcgdict.load_library(
"libPyAnalysisExamplesDict")
39 obj = PyKernel.retrieveDet(g.AthPyEx.MyDetObj,
'myDetObj')