CMS 3D CMS Logo

ecalDrivenElectronSeeds_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 #
4 # module to produce pixel seeds for electrons from super clusters
5 # Author: Ursula Berthon, Claude Charlot
6 #
8 
9 ecalDrivenElectronSeeds = cms.EDProducer("ElectronSeedProducer",
10  barrelSuperClusters = cms.InputTag("particleFlowSuperClusterECAL:particleFlowSuperClusterECALBarrel"),
11  endcapSuperClusters = cms.InputTag("particleFlowSuperClusterECAL:particleFlowSuperClusterECALEndcapWithPreshower"),
12  #ebRecHitCollection = cms.InputTag("ecalRecHit", "EcalRecHitsEB"),
13  #eeRecHitCollection = cms.InputTag("ecalRecHit", "EcalRecHitsEE"),
14  SeedConfiguration = cms.PSet(
15  ecalDrivenElectronSeedsParameters,
16 # OrderedHitsFactoryPSet = cms.PSet(
17 # ComponentName = cms.string('StandardHitPairGenerator'),
18 # SeedingLayers = cms.string('MixedLayerPairs')
19 # ),
20 # TTRHBuilder = cms.string('WithTrackAngle'),
21 # # eta-phi region
22 # RegionPSet = cms.PSet(
23 # deltaPhiRegion = cms.double(0.7),
24 # originHalfLength = cms.double(15.0),
25 # useZInVertex = cms.bool(True),
26 # deltaEtaRegion = cms.double(0.3),
27 # ptMin = cms.double(1.5),
28 # originRadius = cms.double(0.2),
29 # VertexProducer = cms.InputTag("pixelVertices")
30 # )
31  )
32 )
33 
34 from Configuration.Eras.Modifier_phase2_hgcal_cff import phase2_hgcal
35 phase2_hgcal.toModify(
36  ecalDrivenElectronSeeds,
37  endcapSuperClusters = cms.InputTag('particleFlowSuperClusterHGCal')
38 )
39 phase2_hgcal.toModify(
40  ecalDrivenElectronSeeds.SeedConfiguration,
41  allowHGCal = cms.bool(True)
42 )
43 
44