CMS 3D CMS Logo

l1tPFTracksFromL1Tracks_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 l1tPFTracksFromL1Tracks = cms.EDProducer("PFTrackProducerFromL1Tracks",
4  L1TrackTag = cms.InputTag("l1tTTTracksFromTrackletEmulation", "Level1TTTracks"),
5  nParam = cms.uint32(4),
6  resolCalo = cms.PSet(
7  etaBins = cms.vdouble( 1.300, 1.700, 2.800, 3.200, 4.000, 5.000),
8  offset = cms.vdouble( 2.688, 1.382, 2.096, 1.022, 0.757, 0.185),
9  scale = cms.vdouble( 0.154, 0.341, 0.105, 0.255, 0.208, 0.306),
10  ptMin = cms.vdouble( 5.000, 5.000, 5.000, 5.000, 5.000, 5.000),
11  ptMax = cms.vdouble(999999, 999999, 999999, 999999, 999999, 999999),
12  kind = cms.string('calo'),
13  ),
14  resolTrack = cms.PSet(
15  etaBins = cms.vdouble( 0.800, 1.200, 1.500, 2.000, 2.500),
16  offset = cms.vdouble( 0.007, 0.009, 0.011, 0.015, 0.025),
17  scale = cms.vdouble( 0.275, 0.404, 0.512, 0.480, 1.132),
18  kind = cms.string('track'),
19  ),
20  qualityBits = cms.vstring(
21  "momentum.perp > 2 && getStubRefs.size >= 4 && chi2Red < 15",
22  "momentum.perp > 2 && getStubRefs.size >= 6 && chi2Red < 15 && chi2 < 50", # historical reasons
23  "momentum.perp > 5 && getStubRefs.size >= 4"
24  ),
25  redigitizeTrackWord = cms.bool(True),
26 )
27 
28 l1tPFTracksFromL1TracksExtended = l1tPFTracksFromL1Tracks.clone(
29  L1TrackTag = ("l1tTTTracksFromExtendedTrackletEmulation", "Level1TTTracks"),
30  nParam = 5,
31  qualityBits = [
32  "momentum.perp > 2 && getStubRefs.size >= 4 && chi2Red < 15 && POCA.x < 1.0 && POCA.x > -1.0 && POCA.y < 1.0 && POCA.y > -1.0",
33  "momentum.perp > 2 && getStubRefs.size >= 6 && chi2Red < 15 && chi2 < 50 && POCA.x < 1.0 && POCA.x > -1.0 && POCA.y < 1.0 && POCA.y > -1.0", # historical reasons
34  "momentum.perp > 5 && getStubRefs.size >= 4 && POCA.x < 1.0 && POCA.x > -1.0 && POCA.y < 1.0 && POCA.y > -1.0"
35  #using restriction on track x,y for now
36  #long term fix would be to alter track propagation in L1Trigger/Phase2L1ParticleFlow/plugins/PFTrackProducerFromL1Tracks.cc
37  ],
38  redigitizeTrackWord = True,
39 )
40