22 from OutputStreamAthenaPool.MultipleStreamManager
import MSMgr
25 from LongLivedParticleDPDMaker.PrimaryDPDFlags_RPVLLStream
import primRPVLLDESDM
27 from PrimaryDPDMaker.PrimaryDPDHelpers
import buildFileName
28 from PrimaryDPDMaker.PrimaryDPDFlags
import primDPD
30 streamName = primDPD.WriteRPVLLStream.StreamName
32 RPVLL = MSMgr.NewPoolStream( streamName,fileName )
35 if primRPVLLDESDM.prescaleFlags.applyPrescale:
36 RPVLL.SetPrescale(primRPVLLDESDM.prescaleFlags.prescaleFactor)
39 filtersToBookkeep = []
52 if primRPVLLDESDM.doDiLep():
53 include(
"LongLivedParticleDPDMaker/PhysDESDM_DiLep.py")
56 if primRPVLLDESDM.doDV():
57 include(
"LongLivedParticleDPDMaker/PhysDESDM_DV.py")
60 if primRPVLLDESDM.doKinkedTrack():
61 include(
"LongLivedParticleDPDMaker/PhysDESDM_KinkedTrack.py")
64 if primRPVLLDESDM.doEmerging():
65 include(
"LongLivedParticleDPDMaker/PhysDESDM_Emerging.py")
68 if primRPVLLDESDM.doStopped():
69 include(
"LongLivedParticleDPDMaker/PhysDESDM_Stopped.py")
73 if primRPVLLDESDM.doHips():
74 include(
"LongLivedParticleDPDMaker/PhysDESDM_Hips.py")
77 if primRPVLLDESDM.doHnl():
78 include(
"LongLivedParticleDPDMaker/PhysDESDM_HNL.py")
81 if primRPVLLDESDM.doHV():
82 include(
"LongLivedParticleDPDMaker/PhysDESDM_HV.py")
84 if primRPVLLDESDM.doTaus():
85 include(
"LongLivedParticleDPDMaker/PhysDESDM_Taus.py")
91 if primRPVLLDESDM.doVH_DV():
92 include(
"LongLivedParticleDPDMaker/PhysDESDM_VH_DV.py")
95 if primRPVLLDESDM.doQuirks():
96 include(
"LongLivedParticleDPDMaker/PhysDESDM_Quirks.py")
103 RPVLL.AcceptAlgs(RPVLLfilterNames)
108 from PrimaryDPDMaker.DummyFilter
import DummyFilter
109 dummyFilterName =
"RPVLL_DESDMStream_DummyFilter"
110 topSequence += DummyFilter(dummyFilterName)
111 filtersToBookkeep += dummyFilterName
113 vetoAlgsNames.append( dummyFilterName )
114 RPVLL.VetoAlgs(vetoAlgsNames)
121 from AthenaCommon.KeyStore
import CfgKeyStore,CfgItemList
122 theCKS = CfgKeyStore(
'KeyStore')
123 outList = CfgItemList(
'RPVLL' )
124 outList += theCKS[
'inputFile']
127 outList.removeAllItems(
'RpcPadContainer#RPCPAD' )
134 RPVLL.AddOtherAlgsToBookkeep(filtersToBookkeep)