CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/Validation/RecoHI/python/TrackValidationHeavyIons_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 # track associator settings
00004 import SimTracker.TrackAssociation.TrackAssociatorByHits_cfi 
00005 TrackAssociatorByHitsRecoDenom = SimTracker.TrackAssociation.TrackAssociatorByHits_cfi.TrackAssociatorByHits.clone(
00006     ComponentName = cms.string('TrackAssociatorByHitsRecoDenom'),  
00007     SimToRecoDenominator = cms.string('reco'),
00008     UseGrouped = cms.bool(False) 
00009     )
00010 
00011 # reco track quality cuts
00012 from Validation.RecoTrack.cuts_cff import *
00013 cutsRecoTracks.src = "hiSelectedTracks"
00014 cutsRecoTracks.ptMin = 2.0
00015 cutsRecoTracks.quality = []
00016 
00017 # high purity selection
00018 cutsRecoTracksHP = cutsRecoTracks.clone( quality = cms.vstring("highPurity") )
00019 
00020 # sim track quality cuts
00021 from Validation.RecoHI.selectSimTracks_cff import *
00022 findableSimTracks.ptMin = 2.0
00023 
00024 # setup multi-track validator
00025 from Validation.RecoTrack.MultiTrackValidator_cff import *
00026 hiTrackValidator = multiTrackValidator.clone(
00027     label_tp_effic = cms.InputTag("findableSimTracks"),
00028     label_tp_fake  = cms.InputTag("cutsTPFake"),
00029     signalOnlyTP = cms.bool(False),
00030     skipHistoFit = cms.untracked.bool(True), # done in post-processing
00031     minpT = cms.double(1.0),
00032     maxpT = cms.double(100.0),
00033     nintpT = cms.int32(40),
00034     useLogPt = cms.untracked.bool(True)
00035     )
00036 
00037 hiTrackValidator.label = cms.VInputTag(cms.InputTag('cutsRecoTracks'),
00038                                        cms.InputTag('cutsRecoTracksHP')
00039                                        )
00040 
00041 # track Validation sequence
00042 hiTrackValidation = cms.Sequence(findableSimTracks
00043                                  * cutsTPFake
00044                                  * cutsRecoTracks
00045                                  * cutsRecoTracksHP
00046                                  * hiTrackValidator)