From d118f919e73d18860c0b0c739ebe047138c74045 Mon Sep 17 00:00:00 2001 From: Chiara Genta Date: Fri, 23 Oct 2009 10:51:43 +0000 Subject: [PATCH] --- yaml --- r: 76183 b: "refs/heads/CMSSW_7_1_X" c: 3ac3857e894cb0903b80bb260271e12460740f43 h: "refs/heads/CMSSW_7_1_X" i: 76181: 2c3f7f0da6f69124b4fbaa4261adf82bc8a2ee6a 76179: 5d8978ad58e990c207cb2c89c38d80dc010b372a 76175: 780420154e17b28b5cfe77e00fcb355a091ab103 v: v3 --- [refs] | 2 +- .../python/TrackerSeedValidator_cfi.py | 17 +++++++++++++++-- .../RecoTrack/test/seedPerformanceValidation.py | 16 ++++++++-------- 3 files changed, 24 insertions(+), 11 deletions(-) diff --git a/[refs] b/[refs] index 5fd5e002d1b51..212fec7438c6c 100644 --- a/[refs] +++ b/[refs] @@ -1,3 +1,3 @@ --- refs/heads/gh-pages: 09c786f70121f131b3715aaf3464996502bbeb7e -"refs/heads/CMSSW_7_1_X": 92a5918431d57249c7c816022ec135d51fd0ce94 +"refs/heads/CMSSW_7_1_X": 3ac3857e894cb0903b80bb260271e12460740f43 diff --git a/trunk/Validation/RecoTrack/python/TrackerSeedValidator_cfi.py b/trunk/Validation/RecoTrack/python/TrackerSeedValidator_cfi.py index eb9d540d257d9..b47ce8ecda50e 100644 --- a/trunk/Validation/RecoTrack/python/TrackerSeedValidator_cfi.py +++ b/trunk/Validation/RecoTrack/python/TrackerSeedValidator_cfi.py @@ -2,7 +2,7 @@ trackerSeedValidator = cms.EDFilter("TrackerSeedValidator", associators = cms.vstring('TrackAssociatorByHits'), - useFabsEta = cms.bool(True), + useFabsEta = cms.bool(False), minpT = cms.double(-1), beamSpot = cms.InputTag("offlineBeamSpot"), min = cms.double(0.0), @@ -48,7 +48,20 @@ cotThetaRes_nbin = cms.int32(120), dxyRes_nbin = cms.int32(100), dzRes_nbin = cms.int32(150), - useLogPt=cms.untracked.bool(True) + useLogPt=cms.untracked.bool(True), + # TP originating vertical position + minVertpos = cms.double(0), + maxVertpos = cms.double(5), + nintVertpos = cms.int32(100), + # TP originating z position + minZpos = cms.double(-10), + maxZpos = cms.double(10), + nintZpos = cms.int32(100), + parametersDefiner = cms.string('LhcParametersDefinerForTP'), + useGsf=cms.bool(False), + skipHistoFit=cms.untracked.bool(False) + + ) diff --git a/trunk/Validation/RecoTrack/test/seedPerformanceValidation.py b/trunk/Validation/RecoTrack/test/seedPerformanceValidation.py index bfacdb9be3212..e8988136d776d 100755 --- a/trunk/Validation/RecoTrack/test/seedPerformanceValidation.py +++ b/trunk/Validation/RecoTrack/test/seedPerformanceValidation.py @@ -14,7 +14,7 @@ RefRelease='CMSSW_3_1_1' #Relval release (set if different from $CMSSW_VERSION) -NewRelease='CMSSW_3_1_1' +NewRelease='CMSSW_3_4_0_pre2' # startup and ideal sample list @@ -52,7 +52,7 @@ #Sequence='harvesting' # Ideal and Statup tags -IdealTag='MC_31X_V2' +IdealTag='MC_3XY_V10' StartupTag='STARTUP31X_V1' # PileUp: PU . No PileUp: noPU @@ -68,11 +68,11 @@ #Reference and new repository RefRepository = '/afs/cern.ch/cms/performance/tracker/activities/reconstruction/tracking_performance/seeds' -#NewRepository = '.' -NewRepository = '/afs/cern.ch/cms/performance/tracker/activities/reconstruction/tracking_performance/seeds' +NewRepository = '.' +#NewRepository = '/afs/cern.ch/cms/performance/tracker/activities/reconstruction/tracking_performance/seeds' #Default Nevents -defaultNevents ='5000' +defaultNevents ='5' #Put here the number of event to be processed for specific samples (numbers must be strings) if not specified is -1: Events={} @@ -129,10 +129,10 @@ def do_validation(samples, GlobalTag): harvestedfile='./DQM_V0001_R000000001__' + GlobalTag+ '__' + sample + '__Validation.root' if(( Sequence=="harvesting" and os.path.isfile(harvestedfile) )==False): #search the primary dataset - cmd='dbsql "find dataset.createdate, dataset where dataset like *' + cmd='dbsql "find dataset where dataset like *' # cmd+=sample+'/'+NewRelease+'_'+GlobalTag+'*GEN-SIM-DIGI-RAW-HLTDEBUG-RECO* "' - cmd+=sample+'/'+NewRelease+'_'+GlobalTag+'*GEN-SIM-RECO* "' - cmd+='|grep '+sample+'|grep -v test|sort|tail -1|cut -f2 ' + cmd+=sample+'/'+NewRelease+'_'+GlobalTag+'*GEN-SIM-RECO* order by dataset.createdate "' + cmd+='|grep '+sample+'|grep -v test|tail -1 ' print cmd dataset= os.popen(cmd).readline().strip() print 'DataSet: ', dataset, '\n'