21 trkRecoSeq = InViewRecoCA(
"CosmicTrkRecoSeq", InViewRoIs =
"CosmicRoIs")
23 from TrigInDetConfig.utils
import getFlagsForActiveConfig
26 from TrigInDetConfig.InnerTrackingTrigSequence
import InnerTrackingTrigSequence
27 seq = InnerTrackingTrigSequence.create(flagsWithTrk,
28 flagsWithTrk.Tracking.ActiveConfig.input_name,
30 inView =
"VDVCosmicsIDTracking")
31 idTrackingAlgs = seq.sequence(
"Offline")
32 trkRecoSeq.mergeReco(idTrackingAlgs)
34 trackCountHypo = CompFactory.TrackCountHypoAlg(
"CosmicsTrackCountHypoAlg",
35 minPt = [100*Units.MeV],
36 maxZ0 = [401*Units.mm],
37 vertexZ = [803*Units.mm])
38 trackCountHypo.tracksKey =
recordable(
"HLT_IDTrack_Cosmic_IDTrig")
39 trackCountHypo.trackCountKey =
"HLT_CosmicsTrackCount"
42 from TrigMinBias.TrigMinBiasMonitoring
import TrackCountMonitoring
46 trkSequence = SelectionCA(
"CosmicTrkSequence")
47 trkSequence.mergeReco(trkRecoSeq)
48 trkSequence.addHypoAlgo(trackCountHypo)
49 log.debug(
"Prepared ID tracking sequence")
50 log.debug(trkSequence)
51 return MenuSequence(flags,
53 HypoToolGen = TrackCountHypoToolGen)