CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
particleFlowCluster_cff.py
Go to the documentation of this file.
2 
3 import Geometry.HcalEventSetup.hcalTopologyIdeal_cfi
4 
11 
18 
19 pfClusteringECAL = cms.Sequence(particleFlowRecHitECAL*particleFlowClusterECAL)
20 #pfClusteringHCAL = cms.Sequence(particleFlowRecHitHCAL*particleFlowClusterHCAL)
21 pfClusteringHCALall = cms.Sequence(particleFlowClusterHCAL+particleFlowClusterHFHAD+particleFlowClusterHFEM)
22 pfClusteringHCAL = cms.Sequence(particleFlowRecHitHCAL*pfClusteringHCALall)
23 pfClusteringHO = cms.Sequence(particleFlowRecHitHO*particleFlowClusterHO)
24 
25 #pfClusteringHCAL = cms.Sequence(particleFlowRecHitHCAL*particleFlowClusterHCAL*particleFlowClusterHFHAD*particleFlowClusterHFEM)
26 pfClusteringPS = cms.Sequence(particleFlowRecHitPS*particleFlowClusterPS)
27 
28 
29 towerMakerPF = calotowermaker.clone()
30 
31 # Changed values
32 # Don't use calotowers for HO, instead we use RecHits directly, and perform the links with tracks and HCAL clusters.
33 towerMakerPF.UseHO = False
34 # Energy threshold for HB Cell inclusion
35 towerMakerPF.HBThreshold = 0.4
36 # Energy threshold for HE (S = 5 degree, D = 10 degree, in phi) Cell inclusion
37 towerMakerPF.HESThreshold = 0.4
38 towerMakerPF.HEDThreshold = 0.4
39 
40 # Default values
41 # Energy threshold for HO cell inclusion [GeV]
42 towerMakerPF.HOThreshold0 = 0.2
43 towerMakerPF.HOThresholdPlus1 = 0.8
44 towerMakerPF.HOThresholdMinus1 = 0.8
45 towerMakerPF.HOThresholdPlus2 = 0.8
46 towerMakerPF.HOThresholdMinus2 = 0.8
47 # Weighting factor for HO
48 towerMakerPF.HOWeight = 1.0
49 towerMakerPF.HOWeights = (1.0, 1.0, 1.0, 1.0, 1.0)
50 # Weighting factor for HF short-fiber readouts
51 towerMakerPF.HF2Weight = 1.0
52 towerMakerPF.HF2Weights = (1.0, 1.0, 1.0, 1.0, 1.0)
53 # Weighting factor for HF long-fiber readouts
54 towerMakerPF.HF1Weight = 1.0
55 towerMakerPF.HF1Weights = (1.0, 1.0, 1.0, 1.0, 1.0)
56 # Energy threshold for long-fiber HF readout inclusion [GeV]
57 towerMakerPF.HF1Threshold = 1.2
58 # Energy threshold for short-fiber HF readout inclusion [GeV]
59 towerMakerPF.HF2Threshold = 1.8
60 # Weighting factor for HB cells
61 towerMakerPF.HBWeight = 1.0
62 towerMakerPF.HBWeights = (1.0, 1.0, 1.0, 1.0, 1.0)
63 # Weighting factor for HE 5-degree cells
64 towerMakerPF.HESWeight = 1.0
65 towerMakerPF.HESWeights = (1.0, 1.0, 1.0, 1.0, 1.0)
66 # Weighting factor for HE 10-degree cells
67 towerMakerPF.HEDWeight = 1.0
68 towerMakerPF.HEDWeights = (1.0, 1.0, 1.0, 1.0, 1.0)
69 # Global energy threshold on Hcal [GeV]
70 towerMakerPF.HcalThreshold = -1000.0
71 # Global energy threshold on tower [GeV]
72 towerMakerPF.EcutTower = -1000.0
73 # parameters for handling of anomalous cells
74 # acceptable severity level
75 towerMakerPF.HcalAcceptSeverityLevel = 11
76 # use of recovered hits
77 towerMakerPF.UseHcalRecoveredHits = True
78 # flag to allow/disallow missing inputs
79 towerMakerPF.AllowMissingInputs = False
80 
81 particleFlowClusterWithoutHO = cms.Sequence(
82  #caloTowersRec*
83  towerMakerPF*
84  pfClusteringPS*
85  pfClusteringECAL*
86  pfClusteringHCAL
87 )
88 
89 particleFlowCluster = cms.Sequence(
90  #caloTowersRec*
91  towerMakerPF*
92  pfClusteringPS*
93  pfClusteringECAL*
94  pfClusteringHCAL*
95  pfClusteringHO
96 )
97 
98