Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 singlePhotonPt20Filter = cms.EDFilter("PhotonSelector",
00019 src = cms.InputTag("photons"),
00020 cut = cms.string('pt > 20 && abs(eta) < 2.7' ),
00021 filter = cms.bool(True)
00022 )
00023 singlePhotonPt15Filter = cms.EDFilter("PhotonSelector",
00024 src = cms.InputTag("photons"),
00025 cut = cms.string('pt > 15 && abs(eta) < 2.7' ),
00026 filter = cms.bool(True)
00027 )
00028 singlePhotonPt10Filter = cms.EDFilter("PhotonSelector",
00029 src = cms.InputTag("photons"),
00030 cut = cms.string('pt > 10 && abs(eta) < 2.7' ),
00031 filter = cms.bool(True)
00032 )
00033 singlePhotonPt5Filter = cms.EDFilter("PhotonSelector",
00034 src = cms.InputTag("photons"),
00035 cut = cms.string('pt > 5 && abs(eta) < 2.7' ),
00036 filter = cms.bool(True)
00037 )
00038
00039
00040 egSuperClusterMerger = cms.EDProducer("EgammaSuperClusterMerger",
00041 src = cms.VInputTag(cms.InputTag('correctedHybridSuperClusters'),
00042 cms.InputTag('correctedMulti5x5SuperClustersWithPreshower'))
00043 )
00044 egSuperClusterCands = cms.EDProducer("ConcreteEcalCandidateProducer",
00045 src = cms.InputTag("egSuperClusterMerger"),
00046 particleType = cms.string('gamma')
00047 )
00048
00049 eggoodSuperClusters = cms.EDFilter("CandViewRefSelector",
00050 src = cms.InputTag("egSuperClusterCands"),
00051 cut = cms.string('et > 3.0')
00052 )
00053
00054 egSuperClusterPt5Filter = cms.EDFilter("CandViewCountFilter",
00055 src = cms.InputTag("eggoodSuperClusters"),
00056 minNumber = cms.uint32(2)
00057 )
00058
00059 oneEmCluster = cms.Sequence(
00060 egSuperClusterMerger+egSuperClusterCands+eggoodSuperClusters+egSuperClusterPt5Filter
00061 )
00062
00063 gammaJet = cms.EDFilter("EtaPtMinCandViewSelector",
00064 src = cms.InputTag("iterativeCone5CaloJets"),
00065 ptMin = cms.double(5),
00066 etaMin = cms.double(-2),
00067 etaMax = cms.double(2)
00068 )
00069
00070 gammaJetFilter = cms.EDFilter("CandViewCountFilter",
00071 src = cms.InputTag("gammaJet"),
00072 minNumber = cms.uint32(2)
00073 )
00074
00075
00076
00077 singlePhotonPt20QualitySeq = cms.Sequence(
00078
00079 singlePhotonPt20Filter
00080 )
00081 singlePhotonPt15QualitySeq = cms.Sequence(
00082
00083 singlePhotonPt15Filter
00084 )
00085 singlePhotonPt10QualitySeq = cms.Sequence(
00086
00087 singlePhotonPt10Filter
00088 )
00089 singlePhotonPt5QualitySeq = cms.Sequence(
00090
00091 oneEmCluster+gammaJet+gammaJetFilter+singlePhotonPt5Filter
00092 )
00093