File indexing completed on 2024-04-06 12:06:46
0001 import FWCore.ParameterSet.Config as cms
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019 from SimGeneral.HepPDTESSource.pythiapdt_cfi import *
0020
0021
0022 allElectronTracks = cms.EDProducer("TrackViewCandidateProducer",
0023 src = cms.InputTag("generalTracks"),
0024 particleType = cms.string('e-'),
0025 cut = cms.string('pt > 0'),
0026 filter = cms.bool(True)
0027 )
0028
0029
0030 electronTagCands = cms.EDFilter("GsfElectronRefSelector",
0031 src = cms.InputTag("gedGsfElectrons"),
0032 cut = cms.string('pt > 1.0 && abs(eta) < 2.1'),
0033 filter = cms.bool(True)
0034 )
0035
0036
0037
0038 electronProbeCands = cms.EDFilter("RecoChargedCandidateRefSelector",
0039 src = cms.InputTag("allElectronTracks"),
0040 cut = cms.string('pt > 0.5'),
0041 filter = cms.bool(True)
0042 )
0043
0044
0045 JPsiEETagProbeMap = cms.EDProducer("TagProbeMassProducer",
0046 MassMaxCut = cms.untracked.double(10.0),
0047 TagCollection = cms.InputTag("electronTagCands"),
0048 MassMinCut = cms.untracked.double(2.0),
0049 ProbeCollection = cms.InputTag("electronProbeCands"),
0050 PassingProbeCollection = cms.InputTag("electronProbeCands")
0051 )
0052
0053 JPsiEETPFilter = cms.EDFilter("TagProbeMassEDMFilter",
0054 tpMapName = cms.string('JPsiEETagProbeMap')
0055 )
0056
0057 ZEETagProbeMap = cms.EDProducer("TagProbeMassProducer",
0058 MassMaxCut = cms.untracked.double(120.0),
0059 TagCollection = cms.InputTag("electronTagCands"),
0060 MassMinCut = cms.untracked.double(50.0),
0061 ProbeCollection = cms.InputTag("electronProbeCands"),
0062 PassingProbeCollection = cms.InputTag("electronProbeCands")
0063 )
0064
0065 ZEETPFilter = cms.EDFilter("TagProbeMassEDMFilter",
0066 tpMapName = cms.string('ZEETagProbeMap')
0067 )
0068
0069
0070
0071
0072 electronTagProbeSeq = cms.Sequence(allElectronTracks+electronTagCands+electronProbeCands)
0073
0074 electronJPsiEERecoQualitySeq = cms.Sequence(
0075
0076 electronTagProbeSeq+JPsiEETagProbeMap+JPsiEETPFilter
0077 )
0078
0079 electronZEERecoQualitySeq = cms.Sequence(
0080
0081 electronTagProbeSeq+ZEETagProbeMap+ZEETPFilter
0082 )
0083