CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
reducedRecHitsSequence_cff.py
Go to the documentation of this file.
2 
3 import RecoEcal.EgammaClusterProducers.interestingDetIdCollectionProducer_cfi
4 
5 interestingEcalDetIdEB = RecoEcal.EgammaClusterProducers.interestingDetIdCollectionProducer_cfi.interestingDetIdCollectionProducer.clone(
6  basicClustersLabel = cms.InputTag("hybridSuperClusters","hybridBarrelBasicClusters"),
7  recHitsLabel = cms.InputTag("ecalRecHit","EcalRecHitsEB")
8  )
9 
10 interestingEcalDetIdEBU = RecoEcal.EgammaClusterProducers.interestingDetIdCollectionProducer_cfi.interestingDetIdCollectionProducer.clone(
11  basicClustersLabel = cms.InputTag("hybridSuperClusters","uncleanOnlyHybridBarrelBasicClusters"),
12  recHitsLabel = cms.InputTag("ecalRecHit","EcalRecHitsEB")
13  )
14 
15 interestingEcalDetIdEE = RecoEcal.EgammaClusterProducers.interestingDetIdCollectionProducer_cfi.interestingDetIdCollectionProducer.clone(
16  basicClustersLabel = cms.InputTag("multi5x5SuperClusters","multi5x5EndcapBasicClusters"),
17  recHitsLabel = cms.InputTag("ecalRecHit","EcalRecHitsEE")
18  )
19 
20 # rechits associated to high pt tracks for HSCP
21 
22 from TrackingTools.TrackAssociator.default_cfi import TrackAssociatorParameterBlock
23 
24 interestingTrackEcalDetIds = cms.EDProducer('InterestingTrackEcalDetIdProducer',
25  TrackAssociatorParameterBlock,
26  TrackCollection = cms.InputTag("generalTracks"),
27  MinTrackPt = cms.double(50.0)
28 )
29 
30 
31 
32 reducedEcalRecHitsEB = cms.EDProducer("ReducedRecHitCollectionProducer",
33  recHitsLabel = cms.InputTag("ecalRecHit","EcalRecHitsEB"),
34  interestingDetIdCollections = cms.VInputTag(
35  # ecal
36  cms.InputTag("interestingEcalDetIdEB"),
37  cms.InputTag("interestingEcalDetIdEBU"),
38  # egamma
39  cms.InputTag("interestingEleIsoDetIdEB"),
40  cms.InputTag("interestingGamIsoDetIdEB"),
41  # tau
42  #cms.InputTag("caloRecoTauProducer"),
43  #pf
44  cms.InputTag("pfElectronInterestingEcalDetIdEB"),
45  cms.InputTag("pfPhotonInterestingEcalDetIdEB"),
46  # muons
47  cms.InputTag("muonEcalDetIds"),
48  # high pt tracks
49  cms.InputTag("interestingTrackEcalDetIds")
50  ),
51  reducedHitsCollection = cms.string('')
52 )
53 
54 reducedEcalRecHitsEE = cms.EDProducer("ReducedRecHitCollectionProducer",
55  recHitsLabel = cms.InputTag("ecalRecHit","EcalRecHitsEE"),
56  interestingDetIdCollections = cms.VInputTag(
57  # ecal
58  cms.InputTag("interestingEcalDetIdEE"),
59  # egamma
60  cms.InputTag("interestingEleIsoDetIdEE"),
61  cms.InputTag("interestingGamIsoDetIdEE"),
62  # tau
63  #cms.InputTag("caloRecoTauProducer"),
64  #pf
65  cms.InputTag("pfElectronInterestingEcalDetIdEE"),
66  cms.InputTag("pfPhotonInterestingEcalDetIdEE"),
67  # muons
68  cms.InputTag("muonEcalDetIds"),
69  # high pt tracks
70  cms.InputTag("interestingTrackEcalDetIds")
71  ),
72  reducedHitsCollection = cms.string('')
73 )
74 
75 reducedEcalRecHitsES = cms.EDProducer("ReducedESRecHitCollectionProducer",
76  scEtThreshold = cms.double(15),
77  EcalRecHitCollectionES = cms.InputTag('ecalPreshowerRecHit','EcalRecHitsES'),
78  EndcapSuperClusterCollection = cms.InputTag('correctedMulti5x5SuperClustersWithPreshower'),
79  OutputLabel_ES = cms.string(''),
80  interestingDetIds = cms.VInputTag()
81  )
82 
83 #selected digis
85 
86 reducedEcalRecHitsSequence = cms.Sequence(interestingEcalDetIdEB*interestingEcalDetIdEBU*
87  interestingEcalDetIdEE*
88  interestingTrackEcalDetIds*
89  reducedEcalRecHitsEB*
90  reducedEcalRecHitsEE*
91  seldigis*
92  reducedEcalRecHitsES)