ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/CmsHi/TrackAnalysis/python/testHighPtGlobalTracks_cff.py
Revision: 1.2
Committed: Fri May 29 13:56:05 2009 UTC (15 years, 11 months ago) by edwenger
Content type: text/x-python
Branch: MAIN
CVS Tags: HEAD
Branch point for: BRANCH22X
Changes since 1.1: +1 -0 lines
Log Message:
removed hard-coding of tracking truth collection

File Contents

# Content
1 import FWCore.ParameterSet.Config as cms
2
3 # track associator settings
4 from SimTracker.TrackAssociation.TrackAssociatorByHits_cfi import * # sim to reco associator
5 TrackAssociatorByHits.SimToRecoDenominator = cms.string('reco') # matching fraction: shared/nrechit! default='sim', shared/nsimhit
6 TrackAssociatorByHits.UseGrouped = cms.bool(False) # grouping hits on overlap layers? default=True
7
8 # high pt track analyzer settings
9 testHighPtGlobalTracks = cms.EDAnalyzer("HighPtTrackAnalyzer",
10 trackCollection = cms.vstring("globalPrimTracks"),
11 truthCollection = cms.string("mergedtruth"),
12 resultFile = cms.string("TrkStudyOutput.root"),
13 useAbsoluteNumberOfHits = cms.untracked.bool(False), # in SimToReco associator
14 keepLowPtSimTracks = cms.untracked.bool(False), # keep pt<2 GeV/c simtracks
15 infoHiEventTopology = cms.untracked.bool(True) # store heavy ion event info (e.g. npart)
16 )