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("multi5x5BasicClusters","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 reducedEcalRecHitsEB = cms.EDProducer("ReducedRecHitCollectionProducer",
32  recHitsLabel = cms.InputTag("ecalRecHit","EcalRecHitsEB"),
33  interestingDetIdCollections = cms.VInputTag(
34  # ecal
35  cms.InputTag("interestingEcalDetIdEB"),
36  cms.InputTag("interestingEcalDetIdEBU"),
37  # egamma
38  cms.InputTag("interestingEleIsoDetIdEB"),
39  cms.InputTag("interestingGamIsoDetIdEB"),
40  # tau
41  #cms.InputTag("caloRecoTauProducer"),
42  #pf
43  cms.InputTag("pfElectronInterestingEcalDetIdEB"),
44  # muons
45  cms.InputTag("muonEcalDetIds"),
46  # high pt tracks
47  cms.InputTag("interestingTrackEcalDetIds")
48  ),
49  reducedHitsCollection = cms.string('')
50 )
51 
52 reducedEcalRecHitsEE = cms.EDProducer("ReducedRecHitCollectionProducer",
53  recHitsLabel = cms.InputTag("ecalRecHit","EcalRecHitsEE"),
54  interestingDetIdCollections = cms.VInputTag(
55  # ecal
56  cms.InputTag("interestingEcalDetIdEE"),
57  # egamma
58  cms.InputTag("interestingEleIsoDetIdEE"),
59  cms.InputTag("interestingGamIsoDetIdEE"),
60  # tau
61  #cms.InputTag("caloRecoTauProducer"),
62  #pf
63  cms.InputTag("pfElectronInterestingEcalDetIdEE"),
64  # muons
65  cms.InputTag("muonEcalDetIds"),
66  # high pt tracks
67  cms.InputTag("interestingTrackEcalDetIds")
68  ),
69  reducedHitsCollection = cms.string('')
70 )
71 
72 reducedEcalRecHitsES = cms.EDProducer("ReducedESRecHitCollectionProducer",
73  scEtThreshold = cms.double(15),
74  EcalRecHitCollectionES = cms.InputTag('ecalPreshowerRecHit','EcalRecHitsES'),
75  EndcapSuperClusterCollection = cms.InputTag('correctedMulti5x5SuperClustersWithPreshower'),
76  OutputLabel_ES = cms.string(''),
77  interestingDetIds = cms.VInputTag()
78  )
79 
80 #selected digis
82 
83 reducedEcalRecHitsSequence = cms.Sequence(interestingEcalDetIdEB*interestingEcalDetIdEBU*
84  interestingEcalDetIdEE*
85  interestingTrackEcalDetIds*
86  reducedEcalRecHitsEB*
87  reducedEcalRecHitsEE*
88  seldigis*
89  reducedEcalRecHitsES)