1 import FWCore.ParameterSet.Config
as cms
2 from DQMServices.Core.DQMEDAnalyzer
import DQMEDAnalyzer
6 from RecoTracker.FinalTrackSelectors.trackerTrackHitFilter_cfi
import trackerTrackHitFilter
as _trackerTrackHitFilter
7 ShortTrackCandidates = _trackerTrackHitFilter.clone(src =
"SingleLongTrackProducer",
9 replaceWithInactiveHits =
True,
10 rejectBadStoNHits =
True,
11 usePixelQualityFlag =
True)
13 from Configuration.Eras.Modifier_phase2_tracker_cff
import phase2_tracker
14 phase2_tracker.toModify(ShortTrackCandidates,
17 ShortTrackCandidates3 = ShortTrackCandidates.clone(minimumHits = 3,
20 ShortTrackCandidates4 = ShortTrackCandidates.clone(minimumHits = 4,
23 ShortTrackCandidates5 = ShortTrackCandidates.clone(minimumHits = 5,
26 ShortTrackCandidates6 = ShortTrackCandidates.clone(minimumHits = 6,
29 ShortTrackCandidates7 = ShortTrackCandidates.clone(minimumHits = 7,
32 ShortTrackCandidates8 = ShortTrackCandidates.clone(minimumHits = 8,
36 RefittedShortTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cff.ctfWithMaterialTracks.clone(src =
'ShortTrackCandidates')
38 RefittedShortTracks3 = RefittedShortTracks.clone(src =
'ShortTrackCandidates3')
39 RefittedShortTracks4 = RefittedShortTracks.clone(src =
'ShortTrackCandidates4')
40 RefittedShortTracks5 = RefittedShortTracks.clone(src =
'ShortTrackCandidates5')
41 RefittedShortTracks6 = RefittedShortTracks.clone(src =
'ShortTrackCandidates6')
42 RefittedShortTracks7 = RefittedShortTracks.clone(src =
'ShortTrackCandidates7')
43 RefittedShortTracks8 = RefittedShortTracks.clone(src =
'ShortTrackCandidates8')
45 from DQM.TrackingMonitorSource.shortenedTrackResolution_cfi
import shortenedTrackResolution
as _shortenedTrackResolution
46 trackingResolution = _shortenedTrackResolution.clone(folderName =
"Tracking/ShortTrackResolution",
47 hitsRemainInput = [
"3",
"4",
"5",
"6",
"7",
"8"],
48 minTracksEtaInput = 0.0,
49 maxTracksEtaInput = 2.2,
50 minTracksPtInput = 15.0,
51 maxTracksPtInput = 99999.9,
53 tracksInputTag =
"SingleLongTrackProducer",
54 tracksRerecoInputTag = [
"RefittedShortTracks3",
55 "RefittedShortTracks4",
56 "RefittedShortTracks5",
57 "RefittedShortTracks6",
58 "RefittedShortTracks7",
59 "RefittedShortTracks8"])
61 shortTrackResolution3to8 = cms.Sequence(SingleLongTrackProducer *
62 ShortTrackCandidates3 *
63 ShortTrackCandidates4 *
64 ShortTrackCandidates5 *
65 ShortTrackCandidates6 *
66 ShortTrackCandidates7 *
67 ShortTrackCandidates8 *
68 RefittedShortTracks3 *
69 RefittedShortTracks4 *
70 RefittedShortTracks5 *
71 RefittedShortTracks6 *
72 RefittedShortTracks7 *
73 RefittedShortTracks8 *