CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MultiTrackValidator_cfi.py
Go to the documentation of this file.
2 
7 
8 multiTrackValidator = cms.EDAnalyzer(
9  "MultiTrackValidator",
10 
11  ### general settings ###
12  # selection of TP for evaluation of efficiency #
13  TrackingParticleSelectionForEfficiency,
14 
15  # HistoProducerAlgo. Defines the set of plots to be booked and filled
16  histoProducerAlgoBlock = MTVHistoProducerAlgoForTrackerBlock,
17 
18  # set true if you do not want that MTV launch an exception
19  # if the track collectio is missing (e.g. HLT):
20  ignoremissingtrackcollection=cms.untracked.bool(False),
21 
22  # set true if you do not want efficiency fakes and resolution fit
23  # to be calculated in the end run (for automated validation):
24  skipHistoFit=cms.untracked.bool(True),
25 
26  runStandalone = cms.bool(False),
27 
28  useGsf=cms.bool(False),
29 
30 
31  ### matching configuration ###
32  associatormap = cms.InputTag("trackingParticleRecoTrackAsssociation"),
33  #associatormap = cms.InputTag("assoc2secStepTk"),
34  #associatormap = cms.InputTag("assoc2thStepTk"),
35  #associatormap = cms.InputTag("assoc2GsfTracks"),
36  associators = cms.vstring('trackAssociatorByHitsRecoDenom'),
37  UseAssociators = cms.bool(True), # if False, the TP-RecoTrack maps has to be specified
38 
39  ### sim input configuration ###
40  label_tp_effic = cms.InputTag("mix","MergedTrackTruth"),
41  label_tp_fake = cms.InputTag("mix","MergedTrackTruth"),
42  label_tv = cms.InputTag("mix","MergedTrackTruth"),
43  label_pileupinfo = cms.InputTag("addPileupInfo"),
44  sim = cms.string('g4SimHits'),
45  parametersDefiner = cms.string('LhcParametersDefinerForTP'), # collision like tracks
46  # parametersDefiner = cms.string('CosmicParametersDefinerForTP'), # cosmics tracks
47  simHitTpMapTag = cms.InputTag("simHitTPAssocProducer"), # needed by CosmicParametersDefinerForTP
48 
49  ### reco input configuration ###
50  label = cms.VInputTag(cms.InputTag("generalTracks")),
51  beamSpot = cms.InputTag("offlineBeamSpot"),
52 
53  ### dE/dx configuration ###
54  dEdx1Tag = cms.InputTag("dedxHarmonic2"),
55  dEdx2Tag = cms.InputTag("dedxTruncated40"),
56 
57  ### output configuration
58  dirName = cms.string('Tracking/Track/'),
59  outputFile = cms.string(''),
60 
61  ### for fake rate vs dR ###
62  trackCollectionForDrCalculation = cms.InputTag("generalTracks")
63 )