test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
OniaPhotonConversionProducer_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 tag_conversion = 'allConversions'
4 conv_algo = 'undefined'
5 conv_qual = ['highPurity','generalTracksOnly']
6 tag_primary_vertex = 'offlinePrimaryVertices'
7 conv_vertex_rho = 1.5
8 conv_vtx_comp = False
9 conv_tk_vtx = 5
10 conv_inn_hits = True
11 conv_min_dof = 3
12 conv_high_purity = False
13 tag_pfCandidates = 'particleFlow'
14 pi0_online_switch = False
15 pi0_small_min = 0.130
16 pi0_small_max = 0.140
17 pi0_large_min = 0.110
18 pi0_large_max = 0.160
19 
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)
39  )