7 ELECTRON_ET_CUT_MIN_TIGHT = 20.0
8 ELECTRON_ET_CUT_MIN_LOOSE = 10.0
23 PassingVeryLooseId = goodElectrons.clone(
25 goodElectrons.cut.value() +
27 " && (gsfTrack.trackerExpectedHitsInner.numberOfHits<=1 )"
28 " && (ecalEnergy*sin(superClusterPosition.theta)>" + str(ELECTRON_ET_CUT_MIN_LOOSE) +
")"
30 " && ( dr03TkSumPt/p4.Pt <0.2 && dr03EcalRecHitSumEt/p4.Pt < 0.3 && dr03HcalTowerSumEt/p4.Pt < 0.3 )"
31 " && (sigmaIetaIeta<0.012)"
32 " && ( -0.8<deltaPhiSuperClusterTrackAtVtx<0.8 )"
33 " && ( -0.01<deltaEtaSuperClusterTrackAtVtx<0.01 )"
34 " && (hadronicOverEm<0.15)"
37 " && ( dr03TkSumPt/p4.Pt <0.2 && dr03EcalRecHitSumEt/p4.Pt < 0.3 && dr03HcalTowerSumEt/p4.Pt < 0.3 )"
38 " && (sigmaIetaIeta<0.033)"
39 " && ( -0.7<deltaPhiSuperClusterTrackAtVtx<0.7 )"
40 " && ( -0.01<deltaEtaSuperClusterTrackAtVtx<0.01 )"
41 " && (hadronicOverEm<0.15) "
46 PassingTightId = PassingVeryLooseId.clone(
48 PassingVeryLooseId.cut.value() +
49 " && (ecalEnergy*sin(superClusterPosition.theta)>" + str(ELECTRON_ET_CUT_MIN_TIGHT) +
")"
53 Zele_sequence = cms.Sequence(
69 ZEEHltFilter = copy.deepcopy(hltHighLevel)
70 ZEEHltFilter.throw = cms.bool(
False)
71 ZEEHltFilter.HLTPaths = [HLTPath]
73 tagGsf = cms.EDProducer(
"CandViewShallowCloneCombiner",
76 decay = cms.string(
"PassingTightId PassingVeryLooseId"),
77 checkCharge = cms.bool(
False),
78 cut = cms.string(
"mass > " + str(MASS_CUT_MIN))
80 tagGsfCounter = cms.EDFilter(
"CandViewCountFilter",
81 src = cms.InputTag(
"tagGsf"),
82 minNumber = cms.uint32(1)
84 tagGsfFilter = cms.Sequence(tagGsf * tagGsfCounter)
85 tagGsfSeq = cms.Sequence( ZEEHltFilter * Zele_sequence * tagGsfFilter )