1 import FWCore.ParameterSet.Config
as cms
3 allConversions = cms.EDProducer(
'ConversionProducer',
4 AlgorithmName = cms.string(
'mixed'),
6 src = cms.InputTag(
"gsfGeneralInOutOutInConversionTrackMerger"),
7 convertedPhotonCollection = cms.string(
''),
9 bcEndcapCollection = cms.InputTag(
'particleFlowSuperClusterECAL:particleFlowBasicClusterECALEndcap'),
10 bcBarrelCollection = cms.InputTag(
'particleFlowSuperClusterECAL:particleFlowBasicClusterECALBarrel'),
11 scBarrelProducer = cms.InputTag(
'particleFlowSuperClusterECAL:particleFlowSuperClusterECALBarrel'),
12 scEndcapProducer = cms.InputTag(
'particleFlowSuperClusterECAL:particleFlowSuperClusterECALEndcapWithPreshower'),
14 primaryVertexProducer = cms.InputTag(
'offlinePrimaryVerticesWithBS'),
16 deltaEta = cms.double(0.4),
18 HalfwayEta = cms.double(.1),
19 maxNumOfTrackInPU = cms.int32(999999),
20 maxTrackRho = cms.double(120.),
21 maxTrackZ = cms.double(300.),
22 minSCEt = cms.double(10.0),
23 dEtacutForSCmatching = cms.double(0.03),
24 dPhicutForSCmatching = cms.double(0.05),
25 dEtaTrackBC = cms.double(.2),
26 dPhiTrackBC = cms.double(1.),
27 EnergyBC = cms.double(0.3),
28 EnergyTotalBC = cms.double(.3),
31 MaxChi2Left = cms.double(10.),
32 MaxChi2Right = cms.double(10.),
33 MinHitsLeft = cms.int32(4),
34 MinHitsRight = cms.int32(2),
35 DeltaCotTheta = cms.double(0.1),
36 DeltaPhi = cms.double(.2),
37 vtxChi2 = cms.double(0.0005),
38 MinApproachLow = cms.double(-.25),
39 MinApproachHigh = cms.double(1.0),
40 rCut = cms.double(2.0),
44 maxDelta = cms.double(0.01),
45 maxReducedChiSq = cms.double(225.),
46 minChiSqImprovement = cms.double(50.),
47 maxNbrOfIterations = cms.int32(40),
49 UsePvtx = cms.bool(
True),
51 AllowD0 = cms.bool(
True),
52 AllowDeltaPhi = cms.bool(
False),
53 AllowTrackBC = cms.bool(
False),
54 AllowDeltaCot = cms.bool(
True),
55 AllowMinApproach = cms.bool(
True),
56 AllowOppCharge = cms.bool(
True),
57 AllowVertex = cms.bool(
True),
58 bypassPreselGsf = cms.bool(
True),
59 bypassPreselEcal = cms.bool(
False),
60 bypassPreselEcalEcal = cms.bool(
True),
61 AllowSingleLeg = cms.bool(
False),
62 AllowRightBC = cms.bool(
False)
65 from Configuration.Eras.Modifier_phase2_hgcal_cff
import phase2_hgcal
66 phase2_hgcal.toModify( allConversions, bypassPreselGsf =
False )
67 from Configuration.Eras.Modifier_fastSim_cff
import fastSim
68 fastSim.toModify(allConversions, src =
'gsfGeneralConversionTrackMerger')