示例#1
0
    MTOB=dict(rphiRecHits='siStripMatchedRecHitsTop:rphiRecHit'),
    TEC=dict(matchedRecHits='siStripMatchedRecHitsTop:matchedRecHit',
             rphiRecHits='siStripMatchedRecHitsTop:rphiRecHit'))

simpleCosmicBONSeedsTop = simpleCosmicBONSeeds.clone(
    PositiveYOnly=True,
    NegativeYOnly=False,
    ClusterCheckPSet=dict(
        ClusterCollectionLabel='siStripClustersTop',
        MaxNumberOfCosmicClusters=150,
    ),
    TripletsSrc='simpleCosmicBONSeedingLayersTop',
)

combinedP5SeedsForCTFTop = globalCombinedSeeds.clone(seedCollections=[
    'combinatorialcosmicseedfinderP5Top', 'simpleCosmicBONSeedsTop'
])

MeasurementTrackerTop = MeasurementTracker.clone(
    ComponentName='MeasurementTrackerTop')

GroupedCkfTrajectoryBuilderP5Top = GroupedCkfTrajectoryBuilderP5.clone(
    MeasurementTrackerName='MeasurementTrackerTop')

ckfTrackCandidatesP5Top = ckfTrackCandidatesP5.clone(
    TrajectoryBuilderPSet=dict(refToPSet_='GroupedCkfTrajectoryBuilderP5Top'),
    NavigationSchool='CosmicNavigationSchool',
    src='combinedP5SeedsForCTFTop',  #ok for 32X
    useHitsSplitting=True)

ctfWithMaterialTracksP5Top = ctfWithMaterialTracksCosmics.clone(
simpleCosmicBONSeedsTop.NegativeYOnly = False
simpleCosmicBONSeedsTop.ClusterCheckPSet.ClusterCollectionLabel = cms.InputTag("siStripClustersTop")
simpleCosmicBONSeedsTop.TripletsPSet.TIB1.matchedRecHits = cms.InputTag("siStripMatchedRecHitsTop","matchedRecHit")
simpleCosmicBONSeedsTop.TripletsPSet.TIB2.matchedRecHits = cms.InputTag("siStripMatchedRecHitsTop","matchedRecHit")
simpleCosmicBONSeedsTop.TripletsPSet.TIB3.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
simpleCosmicBONSeedsTop.TripletsPSet.TOB1.matchedRecHits = cms.InputTag("siStripMatchedRecHitsTop","matchedRecHit")
simpleCosmicBONSeedsTop.TripletsPSet.TOB2.matchedRecHits = cms.InputTag("siStripMatchedRecHitsTop","matchedRecHit")
simpleCosmicBONSeedsTop.TripletsPSet.TOB3.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
simpleCosmicBONSeedsTop.TripletsPSet.TOB4.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
simpleCosmicBONSeedsTop.TripletsPSet.TOB5.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
simpleCosmicBONSeedsTop.TripletsPSet.TOB6.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
simpleCosmicBONSeedsTop.TripletsPSet.TEC.matchedRecHits = cms.InputTag("siStripMatchedRecHitsTop","matchedRecHit")
simpleCosmicBONSeedsTop.TripletsPSet.TEC.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
simpleCosmicBONSeedsTop.ClusterCheckPSet.MaxNumberOfCosmicClusters = 150
combinedP5SeedsForCTFTop = globalCombinedSeeds.clone(
seedCollections = cms.VInputTag(cms.InputTag('combinatorialcosmicseedfinderP5Top'),cms.InputTag('simpleCosmicBONSeedsTop'))
)
MeasurementTrackerTop = MeasurementTracker.clone(
pixelClusterProducer = cms.string('siPixelClustersTop'),
stripClusterProducer = cms.string('siStripClustersTop'),
ComponentName = cms.string('MeasurementTrackerTop')
)
GroupedCkfTrajectoryBuilderP5Top = copy.deepcopy(GroupedCkfTrajectoryBuilderP5)
GroupedCkfTrajectoryBuilderP5Top.MeasurementTrackerName = cms.string('MeasurementTrackerTop')
GroupedCkfTrajectoryBuilderP5Top.ComponentName = cms.string('GroupedCkfTrajectoryBuilderP5Top')
ckfTrackCandidatesP5Top = copy.deepcopy(ckfTrackCandidatesP5)
ckfTrackCandidatesP5Top.TrajectoryBuilder = 'GroupedCkfTrajectoryBuilderP5Top'
ckfTrackCandidatesP5Top.NavigationSchool   = 'CosmicNavigationSchool'
ckfTrackCandidatesP5Top.src       = 'combinedP5SeedsForCTFTop' #ok for 32X
#ckfTrackCandidatesP5Top.SeedProducer       = 'combinedP5SeedsForCTFTop' #ok for 22X
ckfTrackCandidatesP5Top.useHitsSplitting = True
    "siStripMatchedRecHitsTop", "matchedRecHit")
simpleCosmicBONSeedsTop.TripletsPSet.TOB3.rphiRecHits = cms.InputTag(
    "siStripMatchedRecHitsTop", "rphiRecHit")
simpleCosmicBONSeedsTop.TripletsPSet.TOB4.rphiRecHits = cms.InputTag(
    "siStripMatchedRecHitsTop", "rphiRecHit")
simpleCosmicBONSeedsTop.TripletsPSet.TOB5.rphiRecHits = cms.InputTag(
    "siStripMatchedRecHitsTop", "rphiRecHit")
simpleCosmicBONSeedsTop.TripletsPSet.TOB6.rphiRecHits = cms.InputTag(
    "siStripMatchedRecHitsTop", "rphiRecHit")
simpleCosmicBONSeedsTop.TripletsPSet.TEC.matchedRecHits = cms.InputTag(
    "siStripMatchedRecHitsTop", "matchedRecHit")
simpleCosmicBONSeedsTop.TripletsPSet.TEC.rphiRecHits = cms.InputTag(
    "siStripMatchedRecHitsTop", "rphiRecHit")
simpleCosmicBONSeedsTop.ClusterCheckPSet.MaxNumberOfCosmicClusters = 150
combinedP5SeedsForCTFTop = globalCombinedSeeds.clone(
    seedCollections=cms.VInputTag(
        cms.InputTag('combinatorialcosmicseedfinderP5Top'),
        cms.InputTag('simpleCosmicBONSeedsTop')))
MeasurementTrackerTop = MeasurementTracker.clone(
    pixelClusterProducer=cms.string('siPixelClustersTop'),
    stripClusterProducer=cms.string('siStripClustersTop'),
    ComponentName=cms.string('MeasurementTrackerTop'))
GroupedCkfTrajectoryBuilderP5Top = copy.deepcopy(GroupedCkfTrajectoryBuilderP5)
GroupedCkfTrajectoryBuilderP5Top.MeasurementTrackerName = cms.string(
    'MeasurementTrackerTop')
GroupedCkfTrajectoryBuilderP5Top.ComponentName = cms.string(
    'GroupedCkfTrajectoryBuilderP5Top')
ckfTrackCandidatesP5Top = copy.deepcopy(ckfTrackCandidatesP5)
ckfTrackCandidatesP5Top.TrajectoryBuilder = 'GroupedCkfTrajectoryBuilderP5Top'
ckfTrackCandidatesP5Top.NavigationSchool = 'CosmicNavigationSchool'
ckfTrackCandidatesP5Top.src = 'combinedP5SeedsForCTFTop'  #ok for 32X
#ckfTrackCandidatesP5Top.SeedProducer       = 'combinedP5SeedsForCTFTop' #ok for 22X