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