21 if(signature ==
"FS"):
22 _signature =
"beamSpotFS"
24 beamspotSequence = InViewRecoCA(
'beamspotSequence_'+signature)
28 roisKey=beamspotSequence.inputMaker().InViewRoIs,
29 signatureName=_signature))
31 from TrigT2BeamSpot.T2VertexBeamSpotConfig
import T2VertexBeamSpot_activeAllTE
33 vertexAlg.TrackCollection = flagsWithTrk.Tracking.ActiveConfig.trkTracks_FTF
36 beamspotSequence.addRecoAlgo(vertexAlg)
37 beamspotViewsSequence = SelectionCA(
'beamspotViewsSequence'+_signature)
38 beamspotViewsSequence.mergeReco(beamspotSequence)
42 beamspotHypoAlg = CompFactory.TrigStreamerHypoAlg(
"BeamspotHypoAlg_"+_signature)
43 beamspotHypoAlg.RuntimeValidation =
False
45 beamspotViewsSequence.addHypoAlgo(beamspotHypoAlg)
48 beamspotHypoToolGen = StreamerHypoToolGenerator
50 return MenuSequence( flags,
51 beamspotViewsSequence,
52 HypoToolGen = beamspotHypoToolGen )