CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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.initialSeedsVector = ["hiPixelTrackSeeds"]
7 electronCkfTrackCandidates.src = "ecalDrivenElectronSeeds"
8 
9 ecalDrivenElectronSeeds.maxHOverEBarrel = 0.25
10 ecalDrivenElectronSeeds.maxHOverEEndcaps = 0.25
11 
12 electronGsfTrackingHiTask = cms.Task(ecalDrivenElectronSeeds ,
13  electronCkfTrackCandidates ,
14  electronGsfTracks)
15 
17 
18 ecalDrivenGsfElectrons.ctfTracksTag = "hiGeneralTracks"
19 ecalDrivenGsfElectronCores.ctfTracks = "hiGeneralTracks"
20 ecalDrivenGsfElectrons.vtxTag = "hiSelectedVertex"
21 
22 ecalDrivenGsfElectrons.preselection.maxHOverEBarrelCone = 0.25
23 ecalDrivenGsfElectrons.preselection.maxHOverEEndcapsCone = 0.25
24 ecalDrivenGsfElectrons.preselection.maxHOverEBarrelBc = 0.
25 ecalDrivenGsfElectrons.preselection.maxHOverEEndcapsBc = 0.
26 ecalDrivenGsfElectrons.fillConvVtxFitProb = False
27 
28 
30 pfTrack.UseQuality = True
31 pfTrack.TrackQuality = 'highPurity'
32 pfTrack.TkColList = ["hiGeneralTracks"]
33 pfTrack.PrimaryVertexLabel = "hiSelectedVertex"
34 pfTrack.MuColl = "hiMuons1stStep"
35 
37 pfTrackElec.applyGsfTrackCleaning = True
38 pfTrackElec.PrimaryVertexLabel = "hiSelectedVertex"
39 
40 hiElectronTask = cms.Task(electronGsfTrackingHiTask ,
41  pfTrack ,
42  pfTrackElec ,
43  gsfEcalDrivenElectronTask
44  )
45 hiElectronSequence = cms.Sequence(hiElectronTask)