test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HiElectronSequence_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 
4 # creates the recoGsfTracks_electronGsfTracks__RECO = input GSF tracks
6 ecalDrivenElectronSeeds.SeedConfiguration.initialSeeds = "hiPixelTrackSeeds"
7 electronCkfTrackCandidates.src = "ecalDrivenElectronSeeds"
8 
9 ecalDrivenElectronSeeds.SeedConfiguration.maxHOverEBarrel = cms.double(0.25)
10 ecalDrivenElectronSeeds.SeedConfiguration.maxHOverEEndcaps = cms.double(0.25)
11 
12 electronGsfTrackingHi = cms.Sequence(ecalDrivenElectronSeeds *
13  electronCkfTrackCandidates *
14  electronGsfTracks)
15 
16 # run the supercluster(EE+EB)-GSF track association ==> output: recoGsfElectrons_gsfElectrons__RECO
19 gsfElectrons.ctfTracks = cms.InputTag("hiGeneralTracks")
20 gsfElectronCores.ctfTracks = cms.InputTag("hiGeneralTracks")
21 pfElectronTranslator.emptyIsOk = cms.bool(True)
22 
23 ecalDrivenGsfElectrons.ctfTracksTag = cms.InputTag("hiGeneralTracks")
24 ecalDrivenGsfElectronCores.ctfTracks = cms.InputTag("hiGeneralTracks")
25 ecalDrivenGsfElectrons.vtxTag = cms.InputTag("hiSelectedVertex")
26 
27 ecalDrivenGsfElectrons.maxHOverEBarrel = cms.double(0.25)
28 ecalDrivenGsfElectrons.maxHOverEEndcaps = cms.double(0.25)
29 
30 
31 
33 pfTrack.UseQuality = cms.bool(True)
34 pfTrack.TrackQuality = cms.string('highPurity')
35 pfTrack.TkColList = cms.VInputTag("hiGeneralTracks")
36 pfTrack.PrimaryVertexLabel = cms.InputTag("hiSelectedVertex")
37 pfTrack.MuColl = cms.InputTag("hiMuons1stStep")
38 
40 pfTrackElec.applyGsfTrackCleaning = cms.bool(True)
41 pfTrackElec.PrimaryVertexLabel = cms.InputTag("hiSelectedVertex")
42 
43 hiElectronSequence = cms.Sequence(electronGsfTrackingHi *
44  pfTrack *
45  pfTrackElec *
46  gsfEcalDrivenElectronSequence
47  )