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.
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  # set true if you do not want efficiency fakes and resolution fit
26  # to be calculated in the end run (for automated validation):
27  skipHistoFit=cms.untracked.bool(True),
28 
29  runStandalone = cms.bool(False),
30 
31  useGsf=cms.bool(False),
32 
33 
34  ### matching configuration ###
35  associatormap = cms.InputTag("trackingParticleRecoTrackAsssociation"),
36  #associatormap = cms.InputTag("assoc2secStepTk"),
37  #associatormap = cms.InputTag("assoc2thStepTk"),
38  #associatormap = cms.InputTag("assoc2GsfTracks"),
39  associators = cms.vstring('TrackAssociatorByChi2'),
40  UseAssociators = cms.bool(True), # if False, the TP-RecoTrack maps has to be specified
41 
42  ### sim input configuration ###
43  label_tp_effic = cms.InputTag("genParticles"),
44  label_tp_fake = cms.InputTag("genParticles"),
45  label_tv = cms.InputTag("mix","MergedTrackTruth"),#this is not used
46  label_pileupinfo = cms.InputTag("addPileupInfo"),
47  sim = cms.string('g4SimHits'),#this is not used
48  parametersDefiner = cms.string('LhcParametersDefinerForTP'), # collision like tracks
49  # parametersDefiner = cms.string('CosmicParametersDefinerForTP'), # cosmics tracks
50 
51  ### reco input configuration ###
52  label = cms.VInputTag(cms.InputTag("generalTracks")),
53  beamSpot = cms.InputTag("offlineBeamSpot"),
54 
55  ### dE/dx configuration ###
56  dEdx1Tag = cms.InputTag("dedxHarmonic2"),
57  dEdx2Tag = cms.InputTag("dedxTruncated40"),
58 
59  ### output configuration
60  dirName = cms.string('Tracking/Track/'),
61  outputFile = cms.string(''),
62 )