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  ### general settings ###
14  #ok this is not used, but is needed for the MTV contructor
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  ### matching configuration ###
30  associators = cms.untracked.VInputTag("TrackAssociatorByChi2"),
31  UseAssociators = cms.bool(True), # if False, the TP-RecoTrack maps has to be specified
32 
33  ### sim input configuration ###
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  ### reco input configuration ###
56  label = cms.VInputTag(cms.InputTag("generalTracks")),
57  beamSpot = cms.InputTag("offlineBeamSpot"),
58 
59  ### dE/dx configuration ###
60  dEdx1Tag = cms.InputTag("dedxHarmonic2"),
61  dEdx2Tag = cms.InputTag("dedxTruncated40"),
62 
63  ### output configuration
64  dirName = cms.string('Tracking/Track/'),
65 
66  ### Allow switching off particular histograms
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 )