CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/RecoEcal/EgammaClusterProducers/python/reducedRecHitsSequence_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 import RecoEcal.EgammaClusterProducers.interestingDetIdCollectionProducer_cfi
00004 
00005 interestingEcalDetIdEB = RecoEcal.EgammaClusterProducers.interestingDetIdCollectionProducer_cfi.interestingDetIdCollectionProducer.clone(
00006     basicClustersLabel = cms.InputTag("hybridSuperClusters","hybridBarrelBasicClusters"),
00007     recHitsLabel = cms.InputTag("ecalRecHit","EcalRecHitsEB")
00008     )
00009 
00010 interestingEcalDetIdEBU = RecoEcal.EgammaClusterProducers.interestingDetIdCollectionProducer_cfi.interestingDetIdCollectionProducer.clone(
00011     basicClustersLabel = cms.InputTag("hybridSuperClusters","uncleanOnlyHybridBarrelBasicClusters"),
00012     recHitsLabel = cms.InputTag("ecalRecHit","EcalRecHitsEB")
00013     )
00014 
00015 interestingEcalDetIdEE = RecoEcal.EgammaClusterProducers.interestingDetIdCollectionProducer_cfi.interestingDetIdCollectionProducer.clone(
00016     basicClustersLabel = cms.InputTag("multi5x5SuperClusters","multi5x5EndcapBasicClusters"),
00017     recHitsLabel = cms.InputTag("ecalRecHit","EcalRecHitsEE")
00018     )
00019 
00020 # rechits associated to high pt tracks for HSCP
00021 
00022 from TrackingTools.TrackAssociator.default_cfi import TrackAssociatorParameterBlock
00023 
00024 interestingTrackEcalDetIds = cms.EDProducer('InterestingTrackEcalDetIdProducer',
00025     TrackAssociatorParameterBlock,
00026     TrackCollection = cms.InputTag("generalTracks"),
00027     MinTrackPt      = cms.double(50.0)
00028 )
00029 
00030 
00031 
00032 reducedEcalRecHitsEB = cms.EDProducer("ReducedRecHitCollectionProducer",
00033     recHitsLabel = cms.InputTag("ecalRecHit","EcalRecHitsEB"),
00034     interestingDetIdCollections = cms.VInputTag(
00035             # ecal
00036             cms.InputTag("interestingEcalDetIdEB"),
00037             cms.InputTag("interestingEcalDetIdEBU"),
00038             # egamma
00039             cms.InputTag("interestingEleIsoDetIdEB"),
00040             cms.InputTag("interestingGamIsoDetIdEB"),
00041             # tau
00042             #cms.InputTag("caloRecoTauProducer"),
00043             #pf
00044             cms.InputTag("pfElectronInterestingEcalDetIdEB"),
00045             cms.InputTag("pfPhotonInterestingEcalDetIdEB"),
00046             # muons
00047             cms.InputTag("muonEcalDetIds"),
00048             # high pt tracks
00049             cms.InputTag("interestingTrackEcalDetIds")
00050             ),
00051     reducedHitsCollection = cms.string('')
00052 )
00053 
00054 reducedEcalRecHitsEE = cms.EDProducer("ReducedRecHitCollectionProducer",
00055     recHitsLabel = cms.InputTag("ecalRecHit","EcalRecHitsEE"),
00056     interestingDetIdCollections = cms.VInputTag(
00057             # ecal
00058             cms.InputTag("interestingEcalDetIdEE"),
00059             # egamma
00060             cms.InputTag("interestingEleIsoDetIdEE"),
00061             cms.InputTag("interestingGamIsoDetIdEE"),
00062             # tau
00063             #cms.InputTag("caloRecoTauProducer"),
00064             #pf
00065             cms.InputTag("pfElectronInterestingEcalDetIdEE"),
00066             cms.InputTag("pfPhotonInterestingEcalDetIdEE"),
00067             # muons
00068             cms.InputTag("muonEcalDetIds"),
00069             # high pt tracks
00070             cms.InputTag("interestingTrackEcalDetIds")
00071             ),
00072     reducedHitsCollection = cms.string('')
00073 )
00074 
00075 reducedEcalRecHitsES = cms.EDProducer("ReducedESRecHitCollectionProducer",
00076                                       scEtThreshold = cms.double(15),
00077                                       EcalRecHitCollectionES = cms.InputTag('ecalPreshowerRecHit','EcalRecHitsES'),
00078                                       EndcapSuperClusterCollection = cms.InputTag('correctedMulti5x5SuperClustersWithPreshower'),
00079                                       OutputLabel_ES = cms.string(''),
00080                                       interestingDetIds = cms.VInputTag()
00081                                       )
00082 
00083 #selected digis
00084 from RecoEcal.EgammaClusterProducers.ecalDigiSelector_cff import *
00085 
00086 reducedEcalRecHitsSequence = cms.Sequence(interestingEcalDetIdEB*interestingEcalDetIdEBU*
00087                                           interestingEcalDetIdEE*
00088                                           interestingTrackEcalDetIds*
00089                                           reducedEcalRecHitsEB*
00090                                           reducedEcalRecHitsEE*
00091                                           seldigis*
00092                                           reducedEcalRecHitsES)