CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
towerMakerPF_cfi.py
Go to the documentation of this file.
1 ##
2 ##
3 ## Tower maker customized for particle flow
4 ##
5 ##
6 
9 
10 towerMakerPF = calotowermaker.clone()
11 
12 # Changed values
13 # Don't use calotowers for HO, instead we use RecHits directly, and perform the links with tracks and HCAL clusters.
14 towerMakerPF.UseHO = False
15 # Energy threshold for HB Cell inclusion
16 towerMakerPF.HBThreshold = 0.4
17 # Energy threshold for HE (S = 5 degree, D = 10 degree, in phi) Cell inclusion
18 towerMakerPF.HESThreshold = 0.4
19 towerMakerPF.HEDThreshold = 0.4
20 
21 # Default values
22 # Energy threshold for HO cell inclusion [GeV]
23 towerMakerPF.HOThreshold0 = 0.2
24 towerMakerPF.HOThresholdPlus1 = 0.8
25 towerMakerPF.HOThresholdMinus1 = 0.8
26 towerMakerPF.HOThresholdPlus2 = 0.8
27 towerMakerPF.HOThresholdMinus2 = 0.8
28 # Weighting factor for HO
29 towerMakerPF.HOWeight = 1.0
30 towerMakerPF.HOWeights = (1.0, 1.0, 1.0, 1.0, 1.0)
31 # Weighting factor for HF short-fiber readouts
32 towerMakerPF.HF2Weight = 1.0
33 towerMakerPF.HF2Weights = (1.0, 1.0, 1.0, 1.0, 1.0)
34 # Weighting factor for HF long-fiber readouts
35 towerMakerPF.HF1Weight = 1.0
36 towerMakerPF.HF1Weights = (1.0, 1.0, 1.0, 1.0, 1.0)
37 # Energy threshold for long-fiber HF readout inclusion [GeV]
38 towerMakerPF.HF1Threshold = 1.2
39 # Energy threshold for short-fiber HF readout inclusion [GeV]
40 towerMakerPF.HF2Threshold = 1.8
41 # Weighting factor for HB cells
42 towerMakerPF.HBWeight = 1.0
43 towerMakerPF.HBWeights = (1.0, 1.0, 1.0, 1.0, 1.0)
44 # Weighting factor for HE 5-degree cells
45 towerMakerPF.HESWeight = 1.0
46 towerMakerPF.HESWeights = (1.0, 1.0, 1.0, 1.0, 1.0)
47 # Weighting factor for HE 10-degree cells
48 towerMakerPF.HEDWeight = 1.0
49 towerMakerPF.HEDWeights = (1.0, 1.0, 1.0, 1.0, 1.0)
50 # Global energy threshold on Hcal [GeV]
51 towerMakerPF.HcalThreshold = -1000.0
52 # Global energy threshold on tower [GeV]
53 towerMakerPF.EcutTower = -1000.0
54 # parameters for handling of anomalous cells
55 # acceptable severity level
56 towerMakerPF.HcalAcceptSeverityLevel = 11
57 # use of recovered hits
58 towerMakerPF.UseHcalRecoveredHits = True
59 # flag to allow/disallow missing inputs
60 towerMakerPF.AllowMissingInputs = False