CMS 3D CMS Logo

L1TkElectronTrackProducer_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 L1TkElectrons = cms.EDProducer("L1TkElectronTrackProducer",
4  label = cms.string("EG"), # labels the collection of L1TkEmParticleProducer that is produced.
5  # (not really needed actually)
6  L1EGammaInputTag = cms.InputTag("simCaloStage2Digis",""),
7  # Only the L1EG objects that have ET > ETmin in GeV
8  # are considered. ETmin < 0 means that no cut is applied.
9  ETmin = cms.double( -1.0 ),
10  L1TrackInputTag = cms.InputTag("TTTracksFromTrackletEmulation", "Level1TTTracks"),
11  # Quality cuts on Track and Track L1EG matching criteria
12  TrackChi2 = cms.double(1e10), # minimum Chi2 to select tracks
13  TrackMinPt = cms.double(10.0), # minimum Pt to select tracks
14  useTwoStubsPT = cms.bool( False ),
15  useClusterET = cms.bool( False ),
16  TrackEGammaMatchType = cms.string("PtDependentCut"),
17  TrackEGammaDeltaPhi = cms.vdouble(0.07, 0.0, 0.0), # functional Delta Phi cut parameters to match Track with L1EG objects
18  TrackEGammaDeltaR = cms.vdouble(0.08, 0.0, 0.0), # functional Delta R cut parameters to match Track with L1EG objects
19  TrackEGammaDeltaEta = cms.vdouble(1e10, 0.0, 0.0), # Delta Eta cutoff to match Track with L1EG objects
20  # are considered. (unused in default configuration)
21  RelativeIsolation = cms.bool( True ), # default = True. The isolation variable is relative if True,
22  # else absolute.
23  # Cut on the (Trk-based) isolation: only the L1TkElectron for which
24  # the isolation is below RelIsoCut are written into
25  # the output collection. When RelIsoCut < 0, no cut is applied.
26  # When RelativeIsolation = False, IsoCut is in GeV.
27  # Determination of the isolation w.r.t. L1Tracks :
28  IsoCut = cms.double( -0.10 ),
29  PTMINTRA = cms.double( 2. ), # in GeV
30  DRmin = cms.double( 0.03),
31  DRmax = cms.double( 0.2 ),
32  maxChi2IsoTracks = cms.double(1e10), # max chi2 cut for a track to be considered for isolation computation
33  minNStubsIsoTracks = cms.int32(0), # min cut on # of stubs for a track to be considered for isolation computation
34  DeltaZ = cms.double( 0.6 ) # in cm. Used for tracks to be used isolation calculation
35 )
36 L1TkIsoElectrons = L1TkElectrons.clone(
37  IsoCut = cms.double( 0.10 )
38 )
39 # for LowPt Electron
40 L1TkElectronsLoose = L1TkElectrons.clone(
41  TrackEGammaDeltaPhi = cms.vdouble(0.07, 0.0, 0.0),
42  TrackEGammaDeltaR = cms.vdouble(0.12, 0.0, 0.0),
43  TrackMinPt = cms.double( 3.0 )
44 )
45 
46 
47 
49 
50 #barrel
51 L1TkElectronsCrystal = L1TkElectrons.clone(
52  L1EGammaInputTag = cms.InputTag("L1EGammaClusterEmuProducer"),
53  IsoCut = cms.double(-0.1)
54 )
55 
56 L1TkIsoElectronsCrystal=L1TkElectronsCrystal.clone(
57  IsoCut = cms.double(0.1)
58 )
59 
60 L1TkElectronsLooseCrystal = L1TkElectronsCrystal.clone(
61  TrackEGammaDeltaPhi = cms.vdouble(0.07, 0.0, 0.0),
62  TrackEGammaDeltaR = cms.vdouble(0.12, 0.0, 0.0),
63  TrackMinPt = cms.double( 3.0 )
64 )
65 
66 L1TkElectronsEllipticMatchCrystal = L1TkElectronsCrystal.clone(
67  TrackEGammaMatchType = cms.string("EllipticalCut"),
68  TrackEGammaDeltaEta = cms.vdouble(0.015, 0.025,1e10)
69 )
70 
71 
72 
73 #endcap
74 L1TkElectronsHGC=L1TkElectrons.clone(
75  L1EGammaInputTag = cms.InputTag("l1EGammaEEProducer","L1EGammaCollectionBXVWithCuts"),
76  IsoCut = cms.double(-0.1)
77 )
78 
79 
80 L1TkElectronsEllipticMatchHGC = L1TkElectronsHGC.clone(
81  TrackEGammaMatchType = cms.string("EllipticalCut"),
82  TrackEGammaDeltaEta = cms.vdouble(0.01, 0.01,1e10),
83  maxChi2IsoTracks = cms.double(100),
84  minNStubsIsoTracks = cms.int32(4),
85 )
86 
87 
88 L1TkIsoElectronsHGC=L1TkElectronsHGC.clone(
89  DRmax = cms.double(0.4),
90  DeltaZ = cms.double(1.0),
91  maxChi2IsoTracks = cms.double(100),
92  minNStubsIsoTracks = cms.int32(4),
93  IsoCut = cms.double(0.1)
94  )
95 
96 L1TkElectronsLooseHGC = L1TkElectronsHGC.clone(
97  TrackEGammaDeltaPhi = cms.vdouble(0.07, 0.0, 0.0),
98  TrackEGammaDeltaR = cms.vdouble(0.12, 0.0, 0.0),
99  TrackMinPt = cms.double( 3.0 )
100 )