1 import FWCore.ParameterSet.Config
as cms
3 tag_conversion =
'allConversions'
4 conv_algo =
'undefined'
5 conv_qual = [
'highPurity',
'generalTracksOnly']
6 tag_primary_vertex =
'offlinePrimaryVertices'
12 conv_high_purity =
False
13 tag_pfCandidates =
'particleFlow'
14 pi0_online_switch =
False
20 PhotonCandidates = cms.EDProducer(
'OniaPhotonConversionProducer',
21 conversions = cms.InputTag(tag_conversion),
22 convAlgo = cms.string(conv_algo),
23 convQuality = cms.vstring(conv_qual),
24 primaryVertexTag = cms.InputTag(tag_primary_vertex),
25 convSelection = cms.string(
'conversionVertex.position.rho>{0}'.
format(conv_vertex_rho) ),
26 wantTkVtxCompatibility = cms.bool(conv_vtx_comp),
27 sigmaTkVtxComp = cms.uint32(conv_tk_vtx),
28 wantCompatibleInnerHits = cms.bool(conv_inn_hits),
29 pfcandidates = cms.InputTag(tag_pfCandidates),
30 pi0OnlineSwitch = cms.bool(pi0_online_switch),
31 pi0SmallWindow = cms.vdouble(pi0_small_min, pi0_small_max),
32 pi0LargeWindow = cms.vdouble(pi0_large_min, pi0_large_max),
33 TkMinNumOfDOF = cms.uint32(conv_min_dof),
34 wantHighpurity = cms.bool(conv_high_purity),
35 vertexChi2ProbCut = cms.double(0.0005),
36 trackchi2Cut = cms.double(10),
37 minDistanceOfApproachMinCut = cms.double(-0.25),
38 minDistanceOfApproachMaxCut = cms.double(1.00)