CMS 3D CMS Logo

L1TkPrimaryVertexProducer_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 L1TkPrimaryVertex = cms.EDProducer('L1TkFastVertexProducer',
4 
5 #
6 # Default parameters used for the plots for the TP
7 #
8  HepMCInputTag = cms.InputTag("generator"),
9  GenParticleInputTag = cms.InputTag("genParticles",""),
10  L1TrackInputTag = cms.InputTag("TTTracksFromTrackletEmulation", "Level1TTTracks"),
11  ZMAX = cms.double ( 25. ) , # in cm
12  CHI2MAX = cms.double( 100. ),
13  PTMINTRA = cms.double( 2.), # PTMIN of L1Tracks, in GeV
14  nStubsmin = cms.int32( 4 ) , # minimum number of stubs
15  nStubsPSmin = cms.int32( 3 ), # minimum number of stubs in PS modules
16  nBinning = cms.int32( 601 ), # number of bins for the temp histo (from -30 cm to + 30 cm)
17  PTMAX = cms.double( 50. ), # in GeV. When PTMAX > 0, tracks with PT above PTMAX are considered as
18  # mismeasured and are treated according to HighPtTracks below.
19  # When PTMAX < 0, no special treatment is done for high PT tracks.
20  # If PTMAX < 0, no saturation or truncation is done.
21  HighPtTracks = cms.int32( 0 ), # when = 0 : truncation. Tracks with PT above PTMAX are ignored
22  # when = 1 : saturation. Tracks with PT above PTMAX are set to PT=PTMAX.
23  MonteCarloVertex = cms.bool( False ), # when True: dont run the vxt finding algo but pick up the MC generated vtx
24  doPtComp = cms.bool( True ), # track-stubs PT compatibility cut
25  doTightChi2 = cms.bool( False ), # chi2dof < 5 for tracks with PT > 10
26  WEIGHT = cms.int32(1) # WEIGHT can be set to 0, 1 or 2 for unweighted, pT weighted
27  # or pT2 weighted tracks respectively.
28 
29 #
30 # Other working point which works better for H -> TauTau,
31 # cf talk by Moshan Ather, Dec 12, 2014:
32 
33 # WEIGHT = cms.int32(2),
34 # PTMAX = cms.double( 25. ),
35 # nStubsmin = cms.int32( 5 ),
36 # HighPtTracks = cms.int32( 1),
37 # doPtComp = cms.bool( False ),
38 # CHI2MAX = cms.double( 20 )
39 #
40 
41 )