CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
particleFlowBlock_cfi.py
Go to the documentation of this file.
2 
3 particleFlowBlock = cms.EDProducer("PFBlockProducer",
4 
5  # verbosity
6  verbose = cms.untracked.bool(False),
7  # Debug flag
8  debug = cms.untracked.bool(False),
9 
10  # Link tracks and HCAL clusters to HO clusters
11  useHO = cms.bool(True),
12 
13  # input clusters
14  PFClustersECAL = cms.InputTag("particleFlowClusterECAL"),
15  PFClustersHCAL = cms.InputTag("particleFlowClusterHCAL"),
16  PFClustersHO = cms.InputTag("particleFlowClusterHO"),
17  # For upgrade studies:
18 # PFClustersHCAL = cms.InputTag("particleFlowHCALSuperClusterDualTime"),
19  PFClustersHFEM = cms.InputTag("particleFlowClusterHFEM"),
20  PFClustersHFHAD = cms.InputTag("particleFlowClusterHFHAD"),
21  PFClustersPS = cms.InputTag("particleFlowClusterPS"),
22  EGPhotons = cms.InputTag("mustachePhotons"),
23  #disable dierct import of SuperCluster collections for now until effect on blocks can be
24  #evaluated
25  useSuperClusters = cms.bool(False),
26  #current egamma superclusters
27  SCBarrel = cms.InputTag('particleFlowSuperClusterECAL:particleFlowSuperClusterECALBarrel'),
28  SCEndcap = cms.InputTag('particleFlowSuperClusterECAL:particleFlowSuperClusterECALEndcapWithPreshower'),
29  #pfbox superclusters, will switch to this in the near future
30  #SCBarrel = cms.InputTag("particleFlowSuperClusterECAL:particleFlowSuperClusterECALBarrel"),
31  #SCEndcap = cms.InputTag("particleFlowSuperClusterECAL:particleFlowSuperClusterECALEndcapWithPreshower"),
32 
33  #since we are using ParticleFlow SuperClusters everywhere, match to PFClusters by reference using
34  #the required ValueMap
35  #n.b This requires that PF SuperCluseters are used for both the directly imported SuperClusters or photons
36  #AND for the imported electron seeds
37  SuperClusterMatchByRef = cms.bool(True),
38  PFClusterAssociationEBEE = cms.InputTag('particleFlowSuperClusterECAL:PFClusterAssociationEBEE'),
39 
40  # input tracks
41  GsfRecTracks = cms.InputTag("pfTrackElec"),
42  ConvBremGsfRecTracks = cms.InputTag("pfTrackElec","Secondary"),
43  useConvBremGsfTracks = cms.bool(False),
44  RecTracks = cms.InputTag("pfTrack"),
45  useConvBremPFRecTracks = cms.bool(True),
46 
47  # input nuclear interactions
48  PFNuclear = cms.InputTag("pfDisplacedTrackerVertex"),
49  useNuclear = cms.bool(True),
50 
51  # This parameters defines the level of purity of
52  # nuclear interactions choosen.
53  # Level 1 is only high Purity sample labeled as isNucl
54  # Level 2 isNucl + isNucl_Loose (2 secondary tracks vertices)
55  # Level 3 isNucl + isNucl_Loose + isNucl_Kink
56  # (low purity sample made of 1 primary and 1 secondary track)
57  # By default the level 1 is teh safest one.
58 
59  nuclearInteractionsPurity = cms.uint32(1),
60 
61  # input muons
62  RecMuons = cms.InputTag("muons1stStep"),
63 
64  # input conversions
65  PFConversions = cms.InputTag("pfConversions"),
66  useConversions = cms.bool(True),
67 
68  # Glowinski & Gouzevitch
69  useKDTreeTrackEcalLinker = cms.bool(True),
70 
71  # input V0
72  PFV0 = cms.InputTag("pfV0"),
73  useV0 = cms.bool(False),
74 
75  # Track Quality Cut: Tracks are kept if DPt/Pt < sigma * Cut
76  # and if nHit >= cut
77  pf_DPtoverPt_Cut = cms.vdouble(-1.0,-1.0,-1.0,1.0,1.0),
78  pf_NHit_Cut = cms.vuint32(3,3,3,3,3),
79 
80  # Run particle flow at HLT (hence no RecMuons, no GSF tracks)
81  usePFatHLT = cms.bool(False),
82 
83  # Turn of track quality cuts that require iterative tracking for heavy-ions
84  useIterTracking = cms.bool(True),
85 
86  # Photon selection. Et cut; Track iso (cste;slope), Ecal iso (cste, slope), Hcal iso (cste, slope), H/E
87  # just put infinite Et cut to disable the photon import
88  useEGPhotons = cms.bool(True),
89  PhotonSelectionCuts = cms.vdouble(1,-99.,2.0, 0.001, 4.2, 0.003, 2.2, 0.001, 0.05, 99999., 99999.)
90 )
91 
92