CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
calotowerremaker_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 ct2ct = cms.EDProducer("CaloTowersReCreator",
4  # Weighting factor for EB
5  EBWeight = cms.double(1.0),
6  HBGrid = cms.vdouble(0.0, 2.0, 4.0, 5.0, 9.0,
7  20.0, 30.0, 50.0, 100.0, 1000.0),
8  # energy scale for each subdetector (only Eb-Ee-Hb-He interpolations are available for now)
9  HBEScale = cms.double(50.0),
10  EEWeights = cms.vdouble(0.51, 1.39, 1.71, 2.37, 2.32,
11  2.2, 2.1, 1.98, 1.8),
12  HF2Weights = cms.vdouble(1.0, 1.0, 1.0, 1.0, 1.0),
13  HOWeights = cms.vdouble(1.0, 1.0, 1.0, 1.0, 1.0),
14  EEGrid = cms.vdouble(2.0, 4.0, 5.0, 9.0, 20.0,
15  30.0, 50.0, 100.0, 300.0),
16  # Weighting factor for HE 10-degree cells
17  HEDWeight = cms.double(1.0),
18  # Weighting factor for EE
19  EEWeight = cms.double(1.0),
20  HBWeights = cms.vdouble(2.0, 1.86, 1.69, 1.55, 1.37,
21  1.19, 1.13, 1.11, 1.09, 1.0),
22  # Weighting factor for HF long-fiber readouts
23  HF1Weight = cms.double(1.0),
24  HF2Grid = cms.vdouble(-1.0, 1.0, 10.0, 100.0, 1000.0),
25  HEDWeights = cms.vdouble(1.7, 1.57, 1.54, 1.49, 1.41,
26  1.26, 1.19, 1.15, 1.12, 1.0),
27  HF1Grid = cms.vdouble(-1.0, 1.0, 10.0, 100.0, 1000.0),
28  EBWeights = cms.vdouble(0.86, 1.47, 1.66, 2.01, 1.98,
29  1.86, 1.83, 1.74, 1.65),
30  # Weighting factor for HO
31  HOWeight = cms.double(1.0),
32  # Weighting factor for HE 5-degree cells
33  HESWeight = cms.double(1.0),
34  # Weighting factor for HF short-fiber readouts
35  HF2Weight = cms.double(1.0),
36  # Label of input CaloTowerCollection to use
37  caloLabel = cms.InputTag("calotowermaker"),
38  HF1Weights = cms.vdouble(1.0, 1.0, 1.0, 1.0, 1.0),
39  HESEScale = cms.double(50.0),
40  HESGrid = cms.vdouble(0.0, 2.0, 4.0, 5.0, 9.0,
41  20.0, 30.0, 50.0, 100.0, 1000.0),
42  HEDEScale = cms.double(50.0),
43  HESWeights = cms.vdouble(1.7, 1.57, 1.54, 1.49, 1.41,
44  1.26, 1.19, 1.15, 1.12, 1.0),
45  HEDGrid = cms.vdouble(0.0, 2.0, 4.0, 5.0, 9.0,
46  20.0, 30.0, 50.0, 100.0, 1000.0),
47  EBEScale = cms.double(50.0),
48  # Weighting factor for HB
49  HBWeight = cms.double(1.0),
50  EEEScale = cms.double(50.0),
51  HOGrid = cms.vdouble(-1.0, 1.0, 10.0, 100.0, 1000.0),
52  # Energy dependent weights and energy scale to be used
53  EBGrid = cms.vdouble(2.0, 4.0, 5.0, 9.0, 20.0,
54  30.0, 50.0, 100.0, 300.0),
55  # momentum assignment
56  # Method for momentum reconstruction
57  MomConstrMethod = cms.int32(1),
58  # Depth, fraction of the respective calorimeter [0,1]
59  MomHBDepth = cms.double(0.2),
60  MomHEDepth = cms.double(0.4),
61  MomEBDepth = cms.double(0.3),
62  MomEEDepth = cms.double(0.0),
63  HcalPhase = cms.int32(0)
64 )
65 
66