CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_1/src/FastSimulation/Validation/python/TrackValidation_HighPurity_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 #
00004 # Define Validation sequence over "highPurity" tracks. 
00005 # For proper comparison the same requirement should be applied on FullSim as well.
00006 #
00007 # Tracking particle module
00008 from SimGeneral.TrackingAnalysis.trackingParticles_cfi import *
00009 # Track Associators
00010 from SimTracker.TrackAssociation.TrackAssociatorByChi2_cfi import *
00011 from SimTracker.TrackAssociation.TrackAssociatorByHits_cfi import *
00012 #new postreco sequence
00013 from SimTracker.TrackAssociation.trackMCMatch_cfi import *
00014 from SimTracker.TrackAssociation.trackingParticleRecoTrackAsssociation_cff import *
00015 # Track Validator    
00016 from Validation.RecoTrack.cuts_cff import *
00017 from Validation.RecoTrack.cutsTPEffic_cfi import *
00018 from Validation.RecoTrack.cutsTPFake_cfi import *
00019 from Validation.RecoTrack.MultiTrackValidator_cff import *
00020 valid = cms.Sequence(cms.SequencePlaceholder("genParticles")*trackingParticles*cutsRecoTracks*cutsTPEffic*cutsTPFake*multiTrackValidator)
00021 mergedtruth.simHitCollections = cms.PSet(tracker = cms.vstring("famosSimHitsTrackerHits"))
00022 mergedtruth.simHitLabel = 'famosSimHits'
00023 mergedtruth.removeDeadModules = cms.bool(False)
00024 TrackAssociatorByHits.associateStrip = False
00025 TrackAssociatorByHits.associatePixel = False
00026 TrackAssociatorByHits.ROUList = ['famosSimHitsTrackerHits']
00027 
00028 #use cutsRecoTracks
00029 cutsRecoTracks.quality = ['highPurity']
00030 
00031 # pass only high purity tracks
00032 multiTrackValidator.label = ['cutsRecoTracks']
00033 multiTrackValidator.associators = ['TrackAssociatorByHits']
00034 multiTrackValidator.UseAssociators = True
00035 
00036