CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/Validation/RecoTrack/python/MultiTrackValidator_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 from Validation.RecoTrack.TrackingParticleSelectionForEfficiency_cfi import *
00004 from SimTracker.TrackAssociation.LhcParametersDefinerForTP_cfi import *
00005 from SimTracker.TrackAssociation.CosmicParametersDefinerForTP_cfi import *
00006 from Validation.RecoTrack.MTVHistoProducerAlgoForTrackerBlock_cfi import *
00007 
00008 MultiTrackValidator = cms.EDAnalyzer(
00009     "MultiTrackValidator",
00010 
00011     ### general settings ###
00012     # selection of TP for evaluation of efficiency #
00013     TrackingParticleSelectionForEfficiency,
00014     
00015     # HistoProducerAlgo. Defines the set of plots to be booked and filled
00016     histoProducerAlgoBlock = MTVHistoProducerAlgoForTrackerBlock,
00017 
00018     # set true if you do not want that MTV launch an exception
00019     # if the track collectio is missing (e.g. HLT):
00020     ignoremissingtrackcollection=cms.untracked.bool(False),
00021     
00022     # set true if you do not want efficiency fakes and resolution fit
00023     # to be calculated in the end run (for automated Validation):
00024     skipHistoFit=cms.untracked.bool(True),
00025 
00026     runStandalone = cms.bool(False),
00027 
00028     useGsf=cms.bool(False),
00029 
00030     
00031     ### matching configuration ###
00032     associatormap = cms.InputTag("trackingParticleRecoTrackAsssociation"),
00033     #associatormap = cms.InputTag("assoc2secStepTk"),
00034     #associatormap = cms.InputTag("assoc2thStepTk"),
00035     #associatormap = cms.InputTag("assoc2GsfTracks"),
00036     associators = cms.vstring('TrackAssociatorByHitsRecoDenom'),    
00037     UseAssociators = cms.bool(True), # if False, the TP-RecoTrack maps has to be specified 
00038 
00039     ### sim input configuration ###
00040     label_tp_effic = cms.InputTag("mergedtruth","MergedTrackTruth"),
00041     label_tp_fake = cms.InputTag("mergedtruth","MergedTrackTruth"),
00042     label_tv = cms.InputTag("mergedtruth","MergedTrackTruth"),
00043     label_pileupinfo = cms.InputTag("addPileupInfo"),
00044     sim = cms.string('g4SimHits'),
00045     parametersDefiner = cms.string('LhcParametersDefinerForTP'),          # collision like tracks
00046     # parametersDefiner = cms.string('CosmicParametersDefinerForTP'),     # cosmics tracks
00047 
00048     ### reco input configuration ###
00049     label = cms.VInputTag(cms.InputTag("generalTracks")),
00050     beamSpot = cms.InputTag("offlineBeamSpot"),
00051 
00052     ### dE/dx configuration ###
00053     dEdx1Tag = cms.InputTag("dedxHarmonic2"),
00054     dEdx2Tag = cms.InputTag("dedxTruncated40"),
00055     
00056     ### output configuration
00057     dirName = cms.string('Tracking/Track/'),
00058     outputFile = cms.string(''),
00059 )