CMS 3D CMS Logo

L1TkEmParticleProducer_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from L1Trigger.L1TTrackMatch.l1TkEmParticleProducer_cfi import l1TkEmParticleProducer
3 
4 L1TkPhotons = l1TkEmParticleProducer.clone(
5  label = "EG", # labels the collection of L1TkEmParticleProducer that is produced
6  # (not really needed actually)
7  L1EGammaInputTag = ("simCaloStage2Digis",""),
8  # When the standard sequences are used :
9  # - for the Run-1 algo, use ("l1extraParticles","NonIsolated")
10  # or ("l1extraParticles","Isolated")
11  # - for the "old stage-2" algo (2x2 clustering), use
12  # ("SLHCL1ExtraParticles","EGamma") or ("SLHCL1ExtraParticles","IsoEGamma")
13  # - for the new clustering algorithm of Jean-Baptiste et al,
14  # use ("SLHCL1ExtraParticlesNewClustering","IsoEGamma") or
15  # ("SLHCL1ExtraParticlesNewClustering","EGamma").
16  ETmin = -1., # Only the L1EG objects that have ET > ETmin in GeV
17  # are considered. ETmin < 0 means that no cut is applied.
18  RelativeIsolation = True, # default = True. The isolation variable is relative if true, else absolute.
19  IsoCut = 0.23, # Cut on the (Trk-based) isolation: only the L1TkEmParticle for which
20  # the isolation is below RelIsoCut are written into
21  # the output collection. When RelIsoCut < 0, no cut is applied.
22  # When RelativeIsolation = False, IsoCut is in GeV.
23  # Determination of the isolation w.r.t. L1Tracks :
24  L1TrackInputTag = ("TTTracksFromTrackletEmulation", "Level1TTTracks"),
25  ZMAX = 25., # in cm
26  CHI2MAX = 100.,
27  PTMINTRA = 2., # in GeV
28  DRmin = 0.07,
29  DRmax = 0.30,
30  PrimaryVtxConstrain = False, # default = False
31  # if set to True, the default isolation is the PV constrained one, where L1TkPrimaryVertex
32  # is used to constrain the tracks entering in the calculation of the isolation
33  # if set to False, the isolation is computed and stored, but not used
34  DeltaZMax = 0.6, # in cm. Used only to compute the isolation with PrimaryVtxConstrain
35  L1VertexInputTag = ("L1TkPrimaryVertex")
36 )
37 
38 
39 L1TkPhotonsTightIsol = L1TkPhotons.clone(
40  IsoCut = 0.10
41 )
42 
43 
45 
46 L1TkPhotonsCrystal=L1TkPhotons.clone(
47  L1EGammaInputTag = ("L1EGammaClusterEmuProducer", ),
48  IsoCut = -0.1
49 )
50 
51 L1TkPhotonsHGC=L1TkPhotons.clone(
52  L1EGammaInputTag = ("l1EGammaEEProducer","L1EGammaCollectionBXVWithCuts"),
53  IsoCut = -0.1
54 )
55