9 from xAODTruthCnv.xAODTruthCnvConf
import xAODMaker__xAODTruthCnvAlg
10 if not hasattr(prefiltSeq,
'xAODCnv'):
11 prefiltSeq += xAODMaker__xAODTruthCnvAlg(
'xAODCnv',WriteTruthMetaData=
False)
12 prefiltSeq.xAODCnv.AODContainerName =
'GEN_EVENT'
15 from JetRec.JetRecFlags
import jetFlags
16 jetFlags.useTracks =
False
17 jetFlags.eventShapeTools = []
18 jetFlags.useTopo =
False
19 jetFlags.useMuonSegments =
False
20 if hasattr( jetFlags,
'usePFlow' ): jetFlags.usePFlow =
False
21 elif hasattr( jetFlags,
'usePflow'): jetFlags.usePflow =
False
22 else:
raise NameError(
'jetFlags has no attribute usePflow or usePFlow')
23 jetFlags.useCaloQualityTool =
False
26 from JetRec.JetAlgorithm
import addJetRecoToAlgSequence
27 if not hasattr(prefiltSeq,
'jetalg'):
28 addJetRecoToAlgSequence(prefiltSeq)