1 import FWCore.ParameterSet.Config
as cms
8 multiTrackValidator = cms.EDAnalyzer(
13 TrackingParticleSelectionForEfficiency,
16 histoProducerAlgoBlock = MTVHistoProducerAlgoForTrackerBlock,
20 ignoremissingtrackcollection=cms.untracked.bool(
False),
22 useGsf=cms.bool(
False),
27 associators = cms.untracked.VInputTag(
"trackingParticleRecoTrackAsssociation"),
32 UseAssociators = cms.bool(
False),
35 label_tp_effic = cms.InputTag(
"mix",
"MergedTrackTruth"),
36 label_tp_fake = cms.InputTag(
"mix",
"MergedTrackTruth"),
37 label_tp_effic_refvector = cms.bool(
False),
38 label_tp_fake_refvector = cms.bool(
False),
39 label_tv = cms.InputTag(
"mix",
"MergedTrackTruth"),
40 label_pileupinfo = cms.InputTag(
"addPileupInfo"),
42 cms.InputTag(
"g4SimHits",
"TrackerHitsPixelBarrelLowTof"),
43 cms.InputTag(
"g4SimHits",
"TrackerHitsPixelBarrelHighTof"),
44 cms.InputTag(
"g4SimHits",
"TrackerHitsPixelEndcapLowTof"),
45 cms.InputTag(
"g4SimHits",
"TrackerHitsPixelEndcapHighTof"),
46 cms.InputTag(
"g4SimHits",
"TrackerHitsTIBLowTof"),
47 cms.InputTag(
"g4SimHits",
"TrackerHitsTIBHighTof"),
48 cms.InputTag(
"g4SimHits",
"TrackerHitsTIDLowTof"),
49 cms.InputTag(
"g4SimHits",
"TrackerHitsTIDHighTof"),
50 cms.InputTag(
"g4SimHits",
"TrackerHitsTOBLowTof"),
51 cms.InputTag(
"g4SimHits",
"TrackerHitsTOBHighTof"),
52 cms.InputTag(
"g4SimHits",
"TrackerHitsTECLowTof"),
53 cms.InputTag(
"g4SimHits",
"TrackerHitsTECHighTof"),
55 parametersDefiner = cms.string(
'LhcParametersDefinerForTP'),
57 simHitTpMapTag = cms.InputTag(
"simHitTPAssocProducer"),
59 label_tp_nlayers = cms.InputTag(
"trackingParticleNumberOfLayersProducer",
"trackerLayers"),
60 label_tp_npixellayers = cms.InputTag(
"trackingParticleNumberOfLayersProducer",
"pixelLayers"),
61 label_tp_nstripstereolayers = cms.InputTag(
"trackingParticleNumberOfLayersProducer",
"stripStereoLayers"),
64 label = cms.VInputTag(cms.InputTag(
"generalTracks")),
65 beamSpot = cms.InputTag(
"offlineBeamSpot"),
68 mvaLabels = cms.untracked.PSet(),
71 dEdx1Tag = cms.InputTag(
"dedxHarmonic2"),
72 dEdx2Tag = cms.InputTag(
"dedxTruncated40"),
75 dirName = cms.string(
'Tracking/Track/'),
79 calculateDrSingleCollection = cms.untracked.bool(
True),
80 trackCollectionForDrCalculation = cms.InputTag(
"generalTracks"),
83 doPlotsOnlyForTruePV = cms.untracked.bool(
False),
84 label_vertex = cms.untracked.InputTag(
"offlinePrimaryVertices"),
85 vertexAssociator = cms.untracked.InputTag(
"VertexAssociatorByPositionAndTracks"),
87 simPVMaxZ = cms.untracked.double(-1),
90 doSummaryPlots = cms.untracked.bool(
True),
91 doSimPlots = cms.untracked.bool(
True),
92 doSimTrackPlots = cms.untracked.bool(
True),
93 doRecoTrackPlots = cms.untracked.bool(
True),
94 dodEdxPlots = cms.untracked.bool(
False),
95 doPVAssociationPlots = cms.untracked.bool(
False),
96 doSeedPlots = cms.untracked.bool(
False),
97 doMVAPlots = cms.untracked.bool(
False),
100 doResolutionPlotsForLabels = cms.VInputTag(),
102 cores = cms.InputTag(
"highPtJetsForTrk"),
105 from Configuration.Eras.Modifier_fastSim_cff
import fastSim
106 fastSim.toModify(multiTrackValidator, sim = [
'fastSimProducer:TrackerHits'])
108 from Configuration.ProcessModifiers.premix_stage2_cff
import premix_stage2
109 premix_stage2.toModify(multiTrackValidator,
110 label_tp_effic =
"mixData:MergedTrackTruth",
111 label_tp_fake =
"mixData:MergedTrackTruth",
112 label_tv =
"mixData:MergedTrackTruth",