ATLAS Offline Software
Loading...
Searching...
No Matches
HitDVConfiguration Namespace Reference

Functions

 UTTJetRecoSequenceGenCfg (flags)
 HitDVHypoSequenceGenCfg (flags)

Variables

 log = logging.getLogger(__name__)

Function Documentation

◆ HitDVHypoSequenceGenCfg()

HitDVConfiguration.HitDVHypoSequenceGenCfg ( flags)

Definition at line 58 of file HitDVConfiguration.py.

58def HitDVHypoSequenceGenCfg(flags):
59 from TrigLongLivedParticlesHypo.TrigHitDVHypoConfig import TrigHitDVHypoToolFromDict
60 from TrigLongLivedParticlesHypo.TrigHitDVHypoConfig import TrigHitDVHypoAlgCfg
61
62# Sequence = seqAND("HitDVEmptyStep",[DummyInputMakerAlg]),
63
64 selAcc = SelectionCA('HitDVSeq')
65
66
67 theHitDVHypo = TrigHitDVHypoAlgCfg(flags, "HitDV")
68
69
70
71 DummyInputMakerAlg = CompFactory.InputMakerForRoI( "IM_HitDV_HypoOnlyStep" )
72 DummyInputMakerAlg.RoITool = CompFactory.ViewCreatorInitialROITool()
73 reco = InEventRecoCA('HitDVEmptyStep',inputMaker=DummyInputMakerAlg)
74
75 selAcc.mergeReco(reco)
76 selAcc.mergeHypo(theHitDVHypo)
77
78
79 return MenuSequence( flags,
80 selAcc,
81 HypoToolGen = TrigHitDVHypoToolFromDict
82 )

◆ UTTJetRecoSequenceGenCfg()

HitDVConfiguration.UTTJetRecoSequenceGenCfg ( flags)

Definition at line 16 of file HitDVConfiguration.py.

16def UTTJetRecoSequenceGenCfg(flags):
17
18 topoClusterSequence = jetmetTopoClusteringCfg(flags,RoIs = '')
19
20 from TrigStreamerHypo.TrigStreamerHypoConfig import StreamerHypoToolGenerator
21
22 from ..Jet.JetRecoSequencesConfig import JetRecoDataDeps, JetRecoCfg
23 from ..Jet.JetRecoCommon import extractRecoDict
24 from ..Menu.SignatureDicts import JetChainParts_Default
25
26 jetRecoDict = extractRecoDict([JetChainParts_Default])
27 jetRecoDict.update(
28 {'recoAlg': 'a4', 'constitType': 'tc', 'clusterCalib': 'em', 'constitMod': '', 'trkopt': 'notrk'}
29 )
30
31 jetDefDict = JetRecoDataDeps(flags, **jetRecoDict)
32 JetCA = JetRecoCfg(flags, **jetDefDict)
33 HypoAlg = CompFactory.TrigStreamerHypoAlg("UTTJetRecDummyStream")
34
35 from TrigT2CaloCommon.CaloDef import clusterFSInputMaker
36 IMalg = clusterFSInputMaker()
37
38 selAcc = SelectionCA('UTTJetRecoSeq')
39 reco = InEventRecoCA('UTTJetRecoStep',inputMaker=IMalg)
40
41 acc = ComponentAccumulator()
42 jetseq = seqAND('UTTJetPartSeq')
43 acc.addSequence(jetseq)
44 acc.merge(topoClusterSequence)
45 acc.merge(JetCA)
46
47 reco.mergeReco(acc)
48
49 selAcc.mergeReco(reco)
50 selAcc.addHypoAlgo(HypoAlg)
51
52 return MenuSequence(flags,
53 selAcc,
54 HypoToolGen = StreamerHypoToolGenerator
55 )
56
57

Variable Documentation

◆ log

HitDVConfiguration.log = logging.getLogger(__name__)

Definition at line 6 of file HitDVConfiguration.py.