16def allTE_trkfastSequenceGenCfg( flags, signature="FS" ):
17
18
19
20 _signature=signature
21 if(signature ==
"FS"):
22 _signature = "beamSpotFS"
23
24 beamspotSequence = InViewRecoCA('beamspotSequence_'+signature)
25
26 flagsWithTrk = getFlagsForActiveConfig(flags, _signature, log)
27 beamspotSequence.mergeReco(trigInDetFastTrackingCfg(flagsWithTrk,
28 roisKey=beamspotSequence.inputMaker().InViewRoIs,
29 signatureName=_signature))
30
31 from TrigT2BeamSpot.T2VertexBeamSpotConfig import T2VertexBeamSpot_activeAllTE
32 vertexAlg = T2VertexBeamSpot_activeAllTE(flags, "vertex_"+_signature )
33 vertexAlg.TrackCollection = flagsWithTrk.Tracking.ActiveConfig.trkTracks_FTF
34
35
36 beamspotSequence.addRecoAlgo(vertexAlg)
37 beamspotViewsSequence = SelectionCA('beamspotViewsSequence'+_signature)
38 beamspotViewsSequence.mergeReco(beamspotSequence)
39
40
41
42 beamspotHypoAlg = CompFactory.TrigStreamerHypoAlg("BeamspotHypoAlg_"+_signature)
43 beamspotHypoAlg.RuntimeValidation = False
44
45 beamspotViewsSequence.addHypoAlgo(beamspotHypoAlg)
46
47
48 beamspotHypoToolGen = StreamerHypoToolGenerator
49
50 return MenuSequence( flags,
51 beamspotViewsSequence,
52 HypoToolGen = beamspotHypoToolGen )
53
54