CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/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     sim = cms.string('g4SimHits'),
00043     parametersDefiner = cms.string('LhcParametersDefinerForTP'),          # collision like tracks
00044     # parametersDefiner = cms.string('CosmicParametersDefinerForTP'),     # cosmics tracks
00045 
00046     ### reco input configuration ###
00047     label = cms.VInputTag(cms.InputTag("generalTracks")),
00048     beamSpot = cms.InputTag("offlineBeamSpot"),
00049 
00050     ### dE/dx configuration ###
00051     dEdx1Tag = cms.InputTag("dedxHarmonic2"),
00052     dEdx2Tag = cms.InputTag("dedxTruncated40"),
00053     
00054     ### output configuration
00055     dirName = cms.string('Tracking/Track/'),
00056     outputFile = cms.string(''),
00057 )