test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MultiTrackValidatorGenPs_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
8 
9 multiTrackValidatorGenPs = cms.EDAnalyzer(
10  "MultiTrackValidatorGenPs",
11 
12  ### general settings ###
13  #ok this is not used, but is needed for the MTV contructor
14  TrackingParticleSelectionForEfficiency,
15  # selection of GP for evaluation of efficiency #
16  GenParticleSelectionForEfficiency,
17 
18  # HistoProducerAlgo. Defines the set of plots to be booked and filled
19  histoProducerAlgoBlock = MTVHistoProducerAlgoForTrackerBlock,
20 
21  # set true if you do not want that MTV launch an exception
22  # if the track collectio is missing (e.g. HLT):
23  ignoremissingtrackcollection=cms.untracked.bool(False),
24 
25  useGsf=cms.bool(False),
26 
27 
28  ### matching configuration ###
29  associators = cms.untracked.VInputTag("TrackAssociatorByChi2"),
30  UseAssociators = cms.bool(True), # if False, the TP-RecoTrack maps has to be specified
31 
32  ### sim input configuration ###
33  label_tp_effic = cms.InputTag("genParticles"),
34  label_tp_fake = cms.InputTag("genParticles"),
35  label_tv = cms.InputTag("mix","MergedTrackTruth"),#this is not used
36  label_pileupinfo = cms.InputTag("addPileupInfo"),
37  sim = cms.VInputTag(
38  cms.InputTag("g4SimHits", "TrackerHitsPixelBarrelHighTof"),
39  cms.InputTag("g4SimHits", "TrackerHitsPixelBarrelLowTof"),
40  cms.InputTag("g4SimHits", "TrackerHitsPixelEndcapHighTof"),
41  cms.InputTag("g4SimHits", "TrackerHitsPixelEndcapLowTof"),
42  cms.InputTag("g4SimHits", "TrackerHitsTECHighTof"),
43  cms.InputTag("g4SimHits", "TrackerHitsTECLowTof"),
44  cms.InputTag("g4SimHits", "TrackerHitsTIBHighTof"),
45  cms.InputTag("g4SimHits", "TrackerHitsTIBLowTof"),
46  cms.InputTag("g4SimHits", "TrackerHitsTIDHighTof"),
47  cms.InputTag("g4SimHits", "TrackerHitsTIDLowTof"),
48  cms.InputTag("g4SimHits", "TrackerHitsTOBHighTof"),
49  cms.InputTag("g4SimHits", "TrackerHitsTOBLowTof")
50  ),
51  parametersDefiner = cms.string('LhcParametersDefinerForTP'), # collision like tracks
52  # parametersDefiner = cms.string('CosmicParametersDefinerForTP'), # cosmics tracks
53 
54  ### reco input configuration ###
55  label = cms.VInputTag(cms.InputTag("generalTracks")),
56  beamSpot = cms.InputTag("offlineBeamSpot"),
57 
58  ### dE/dx configuration ###
59  dEdx1Tag = cms.InputTag("dedxHarmonic2"),
60  dEdx2Tag = cms.InputTag("dedxTruncated40"),
61 
62  ### output configuration
63  dirName = cms.string('Tracking/Track/'),
64 
65  ### Allow switching off particular histograms
66  doSimPlots = cms.untracked.bool(True),
67  doSimTrackPlots = cms.untracked.bool(True),
68  doRecoTrackPlots = cms.untracked.bool(True),
69  dodEdxPlots = cms.untracked.bool(False),
70 )