CMS 3D CMS Logo

MultiTrackValidatorGenPs_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
8 
9 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
10 multiTrackValidatorGenPs = DQMEDAnalyzer(
11  "MultiTrackValidatorGenPs",
12 
13 
15  TrackingParticleSelectionForEfficiency,
16  # selection of GP for evaluation of efficiency #
17  GenParticleSelectionForEfficiency,
18 
19  # HistoProducerAlgo. Defines the set of plots to be booked and filled
20  histoProducerAlgoBlock = MTVHistoProducerAlgoForTrackerBlock,
21 
22  # set true if you do not want that MTV launch an exception
23  # if the track collectio is missing (e.g. HLT):
24  ignoremissingtrackcollection=cms.untracked.bool(False),
25 
26  useGsf=cms.bool(False),
27 
28 
29 
30  associators = cms.untracked.VInputTag("TrackAssociatorByChi2"),
31  UseAssociators = cms.bool(True), # if False, the TP-RecoTrack maps has to be specified
32 
33 
34  label_tp_effic = cms.InputTag("genParticles"),
35  label_tp_fake = cms.InputTag("genParticles"),
36  label_tv = cms.InputTag("mix","MergedTrackTruth"),#this is not used
37  label_pileupinfo = cms.InputTag("addPileupInfo"),
38  sim = cms.VInputTag(
39  cms.InputTag("g4SimHits", "TrackerHitsPixelBarrelHighTof"),
40  cms.InputTag("g4SimHits", "TrackerHitsPixelBarrelLowTof"),
41  cms.InputTag("g4SimHits", "TrackerHitsPixelEndcapHighTof"),
42  cms.InputTag("g4SimHits", "TrackerHitsPixelEndcapLowTof"),
43  cms.InputTag("g4SimHits", "TrackerHitsTECHighTof"),
44  cms.InputTag("g4SimHits", "TrackerHitsTECLowTof"),
45  cms.InputTag("g4SimHits", "TrackerHitsTIBHighTof"),
46  cms.InputTag("g4SimHits", "TrackerHitsTIBLowTof"),
47  cms.InputTag("g4SimHits", "TrackerHitsTIDHighTof"),
48  cms.InputTag("g4SimHits", "TrackerHitsTIDLowTof"),
49  cms.InputTag("g4SimHits", "TrackerHitsTOBHighTof"),
50  cms.InputTag("g4SimHits", "TrackerHitsTOBLowTof")
51  ),
52  parametersDefiner = cms.string('LhcParametersDefinerForTP'), # collision like tracks
53  # parametersDefiner = cms.string('CosmicParametersDefinerForTP'), # cosmics tracks
54 
55 
56  label = cms.VInputTag(cms.InputTag("generalTracks")),
57  beamSpot = cms.InputTag("offlineBeamSpot"),
58 
59 
60  dEdx1Tag = cms.InputTag("dedxHarmonic2"),
61  dEdx2Tag = cms.InputTag("dedxTruncated40"),
62 
63 
64  dirName = cms.string('Tracking/Track/'),
65 
66 
67  doSimPlots = cms.untracked.bool(True),
68  doSimTrackPlots = cms.untracked.bool(True),
69  doRecoTrackPlots = cms.untracked.bool(True),
70  dodEdxPlots = cms.untracked.bool(False),
71 )
72 
73 from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2
74 premix_stage2.toModify(multiTrackValidator,
75  label_tv = "mixData:MergedTrackTruth",
76 )
LhcParametersDefinerForTP_cfi
MTVHistoProducerAlgoForTrackerBlock_cfi
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
TrackingParticleSelectionForEfficiency_cfi
GenParticleSelectionsForEfficiency_cff
CosmicParametersDefinerForTP_cfi